{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/components/admin/invoices/AddEditInvoice.vue?5780","webpack:///./src/components/admin/EFTManagement/EFTHistoryActionButtons.vue?6a42","webpack:///./src/components/admin/supplierManagement/SupplierList.vue?d619","webpack:///./src/components/client/widgets/BudgetPercentage.vue?6638","webpack:///./src/components/client/widgets/ClientFinanceApplicationListActionButtons.vue?d8ce","webpack:///./src/shared/components/charts/BarChart.vue?c5d2","webpack:///./src/components/admin/novationManagement/ServiceAgreementRecipient.vue?d628","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Income.vue?4897","webpack:///./src/components/shared/SystemTextNotes.vue?14d2","webpack:///./src/assets/img/errors/improve_ux.png","webpack:///./src/components/admin/EFTManagement/MarkTransactionCheckBox.vue?54be","webpack:///./src/shared/components/maps/GoogleMap.vue?31aa","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSelectList.vue?4241","webpack:///./src/components/admin/clientManagement/ClientVehicleTreeViewButton.vue?228a","webpack:///./src/assets/img/errors/403.png","webpack:///./src/components/errorPages/BrowserIncompatiblePage.vue?25ff","webpack:///./src/components/client/widgets/ClientFinanceApplicationWidget.vue?f9ee","webpack:///./src/components/client/widgets/ScheduledPaymentsWidget.vue?be40","webpack:///./src/components/supplier/widgets/BillsForPaymentWidget.vue?dcb5","webpack:///./src/components/admin/widgets/EntitiesWithoutInvoicesWidget.vue?389d","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleStatus.vue?6f5c","webpack:///./src/components/admin/vehicleLeaseManagement/LeaseReports.vue?0315","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentDetails.vue?bbaa","webpack:///./src/components/errorPages/Page404.vue?daf6","webpack:///./src/components/admin/address/AddressListActionButtons.vue?b780","webpack:///./src/components/admin/vehicleLeaseManagement/ManualLeasePayments.vue?3f8e","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleAuditLogs.vue?7517","webpack:///./src/shared/components/documentUploader/DocumentUploaderCommonControl.vue?ed8e","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/InitialDetails.vue?3b2b","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentListActionButtons.vue?d44d","webpack:///./src/components/admin/EFTManagement/EFTHistory.vue?be83","webpack:///./src/components/admin/settings/SystemValues.vue?609a","webpack:///./src/shared/components/notes/NotesCommonControl.vue?bbd0","webpack:///./src/components/auth/SetResetPassword.vue?1282","webpack:///./src/components/admin/bankAccount/BankAccounts.vue?ac85","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleListActionButtons.vue?a2d4","webpack:///./src/components/admin/finance/TransactionCategorySelect.vue?e33e","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControl.vue?d812","webpack:///./src/components/admin/finance/UnAllocatedTransactionList.vue?67d8","webpack:///./src/components/errorPages/Page500.vue?0bae","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyRepayments.vue?caa3","webpack:///./src/components/admin/FBTPeriod/FBTPeriodList.vue?fd41","webpack:///./src/components/admin/employerManagement/AddEditEmployer.vue?d019","webpack:///./src/shared/components/wizard/Wizard.vue?4adc","webpack:///./src/components/admin/EFTManagement/GenerateEFT.vue?d41a","webpack:///./src/components/admin/supplierManagement/AddEditSupplier.vue?13ec","webpack:///./src/shared/components/dataTable/GroupedDataTable.vue?b8f2","webpack:///./src/components/containers/DefaultHeaderDropdownAccnt.vue?7692","webpack:///./src/components/admin/invoices/InvoiceList.vue?36da","webpack:///./src/shared/components/selectRecord/SelectRecordCheckBox.vue?3f84","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationWizard.vue?a419","webpack:///./src/components/admin/finance/EntitiesWithOutstandingBalance.vue?caed","webpack:///./src/components/admin/bankReconciliation/BankReconciliation.vue?fc61","webpack:///./src/components/admin/activityStatment/ActivityStatementSelectRow.vue?198f","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPaymentsActionButtons.vue?26cd","webpack:///./src/components/admin/financierManagement/FinancierList.vue?775a","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentSchedule.vue?fff6","webpack:///./src/components/admin/employerManagement/EmployerListActionButtons.vue?e0cb","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Assets.vue?3005","webpack:///./src/components/admin/financierManagement/FinancierListActionButtons.vue?cadc","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYears.vue?c4cc","webpack:///./src/components/admin/applications/financeApplication/ApplicationStatusTrafficLight.vue?f114","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogsActionButton.vue?ac56","webpack:///./src/components/admin/motorVehicleManagement/AddEditMotorVehicle.vue?d4e6","webpack:///./src/components/admin/userManagement/UserList.vue?1b3e","webpack:///./src/components/admin/fuelCards/AddEditFuelCard.vue?29fa","webpack:///./src/components/admin/bankReconciliation/BankRecActionButtons.vue?f9a8","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogs.vue?99ed","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/components/admin/ApplicationStatusBarChartWidget.vue?60e4","webpack:///./src/shared/components/filterTextInput/FilterTextInput.vue?e3d9","webpack:///./src/components/shared/UserInactivityTracker.vue?5b89","webpack:///./src/components/admin/expenseClaims/submitExpenseClaimActionButtons.vue?9395","webpack:///./src/components/admin/employerManagement/clientEmployerList.vue?39eb","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAndClientDetailsList.vue?18f8","webpack:///./src/components/containers/DefaultContainer.vue?e75a","webpack:///./src/components/admin/novationManagement/NovationsList.vue?375f","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentSchdule.vue?8914","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleDetails.vue?a896","webpack:///./src/components/admin/clientManagement/ClientApplicationStatusTrafficLight.vue?5fff","webpack:///./src/shared/components/notes/Notes.vue?4a19","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSearchList.vue?b3ee","webpack:///./src/components/admin/clientManagement/ClientApplicationList.vue?22a2","webpack:///./src/components/admin/paymentManagement/PayMoney.vue?501b","webpack:///./src/components/admin/companyDetails/EditCompanyDetails.vue?24a8","webpack:///./src/components/admin/TemplatedReport/ReportTemplateActionList.vue?7154","webpack:///./src/shared/components/treeView/tree.vue?aff7","webpack:///./src/components/admin/finance/LedgerSelectList.vue?7ca5","webpack:///./src/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue?e8a5","webpack:///./src/components/admin/motorVehicleManagement/motorVehicleBudget.vue?bfad","webpack:///./src/components/supplier/widgets/ProfileSummaryWidget.vue?d4b3","webpack:///./src/components/admin/expenseClaims/submitExpenseClaim.vue?3c7b","webpack:///./src/assets/img/google-map/origin-marker.png","webpack:///./src/components/admin/expenseClaims/expenseClaimLineCard.vue?eb24","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleList.vue?a5a1","webpack:///./src/components/admin/financierManagement/AddEditFinancier.vue?a1a6","webpack:///./src/assets/img/errors/404.png","webpack:///./src/components/admin/novationManagement/AddEditNovation.vue?bdba","webpack:///./src/components/admin/signatories/SignatoriesListActionButtons.vue?e3cd","webpack:///./src/components/admin/TemplatedReport/AddEditReportTemplate.vue?927d","webpack:///./src/components/admin/motorVehicleManagement/MotorVehiclesSearchActionButtons.vue?aa56","webpack:///./src/components/admin/novationManagement/OdometerLogsActionButtons.vue?4de3","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleExpenseClaimsList.vue?b882","webpack:///./src/components/admin/novationManagement/OdometerLogs.vue?0165","webpack:///./src/components/admin/applications/financeApplication/BrokerageReconcilation.vue?5dcb","webpack:///./src/shared/components/imageCropper/ImageCropper.vue?8fcc","webpack:///./src/shared/components/auditHistory/AuditHistoryLogs.vue?56b5","webpack:///./src/components/admin/address/Addresses.vue?17f7","webpack:///./src/components/client/widgets/MyExpensesWidget.vue?b1c7","webpack:///./src/components/shared/SystemTextErrors.vue?1d65","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentPreview.vue?f1d4","webpack:///./src/components/admin/activityStatment/ActivityStatmentDetails.vue?ca41","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyExpenses.vue?622f","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/AddressDetails.vue?1d56","webpack:///./src/components/auth/Login.vue?1fb6","webpack:///./src/components/admin/applications/financeApplication/ApplicationDetails.vue?eef9","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationDetails.vue?66f6","webpack:///./src/components/admin/userManagement/UserDetails.vue?64c4","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListActionButtons.vue?a7d1","webpack:///./src/components/admin/settings/Theme.vue?4b02","webpack:///./src/components/client/widgets/CurrentLeaseWidget.vue?55f1","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/FinanceApplicationWizard.vue?c3b7","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/EmploymentDetails.vue?def6","webpack:///./src/components/admin/finance/GSTLedger.vue?40f4","webpack:///./src/components/admin/novationManagement/ExemptionRecordsActionButtons.vue?8c0c","webpack:///./src/components/admin/clientManagement/clientMotorVehicles.vue?1825","webpack:///./src/components/client/vehicle/VehicleLeasePaymentSchedule.vue?750e","webpack:///./src/components/admin/TemplatedReport/ReportPropertyKeyMappingTableView.vue?6be8","webpack:///./src/components/admin/fuelCards/FuelCardListActionButtions.vue?b8e8","webpack:///./src/components/admin/novationManagement/FBTDetails.vue?3f2b","webpack:///./src/components/admin/vehicleLeaseManagement/InvoicesListActionButtons.vue?5136","webpack:///./src/components/admin/vehicleLeaseManagement/EditLeasePrePaymentLink.vue?36b6","webpack:///./src/components/admin/userManagement/UserListActionButtons.vue?971f","webpack:///./src/components/admin/widgets/EntitiesWithOutstandingBalanceWidget.vue?b98c","webpack:///./src/components/admin/expenseClaims/AddEditInsuranceSchedule.vue?e419","webpack:///./src/components/admin/finance/VehicleLedgerSelectList.vue?a1c4","webpack:///./src/components/admin/expenseClaims/submitApproveExpenseClaim.vue?c369","webpack:///./src/components/admin/novationManagement/FBTRecords.vue?bca1","webpack:///./src/components/admin/applications/financeApplication/ApplicationsList.vue?deec","webpack:///./src/shared/components/selectRecord/SelectAllRecordsCheckBox.vue?8c72","webpack:///./src/components/admin/vehicleLeaseManagement/AddEditVehicleLease.vue?13c6","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationAddress.vue?658b","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseSearchList.vue?eb73","webpack:///./src/components/admin/bpayAccount/BPayAccounts.vue?2dea","webpack:///./src/components/admin/employerManagement/EmployerList.vue?03e5","webpack:///./src/shared/components/documentPreviewControl/DocumentPreviewControl.vue?602d","webpack:///./src/components/admin/clientManagement/AddEditClient.vue?d26c","webpack:///./src/shared/components/tabs/Tabs.vue?ed7c","webpack:///./src/components/errorPages/Page403.vue?1054","webpack:///./src/shared/components/fileUploader/FileUploader.vue?e387","webpack:///./src/assets/img/errors/500.png","webpack:///./src/components/admin/novationManagement/CustomizedReference.vue?f20f","webpack:///./src/components/auth/ForgotPassword.vue?2909","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MotorVehicleDetailsAndFinancedAmount.vue?9ca4","webpack:///./src/components/admin/bpayAccount/BPayAccountListActionButtons.vue?836d","webpack:///./src/components/client/scheduledPayments/InsuranceSchedule.vue?25d2","webpack:///./src/components/admin/vehicleLeaseManagement/InvoiceStatusSelectList.vue?ea0b","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentList.vue?15f3","webpack:///./src/components/admin/expenseClaims/ExpenseClaimSupportingDocRequirementText.vue?6bb4","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationSummary.vue?c2da","webpack:///./src/components/admin/widgets/ResidualDueLeasesWidget.vue?8377","webpack:///./src/components/client/widgets/ExpenseClaimsWidget.vue?98e9","webpack:///./src/components/admin/invoices/AddInvoiceSchedule.vue?79ad","webpack:///./src/shared/components/documentUploader/DocumentUploader.vue?d95d","webpack:///./src/components/admin/invoices/InoiceServiceActionButtons.vue?ca7c","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Liabilities.vue?3c29","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControlApplication.vue?32e6","webpack:///./src/components/admin/finance/NovationSelect.vue?5f13","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseDetails.vue?5f72","webpack:///./src/components/admin/activityStatment/ActivitySummary.vue?de20","webpack:///./src/components/admin/supplierManagement/SupplierListActionButtons.vue?65eb","webpack:///./src/components/admin/vehicleLeaseManagement/AddLeaseSchedule.vue?c40e","webpack:///./src/components/admin/widgets/NovationsExceedingFourFBTYearsWidget.vue?4a4b","webpack:///./src/shared/components/treeView/treeRow.vue?3bd2","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPayment.vue?164b","webpack:///./src/components/admin/bankReconciliation/BankFileStatusText.vue?cc85","webpack:///./src/App.vue?a011","webpack:///./src/components/auth/SetupAuthenticatorApp.vue?c4d5","webpack:///./src/components/client/novation/NovationDetails.vue?f12a","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseList.vue?25eb","webpack:///./src/components/admin/applicationManagement/sharedApplicationManagement/LeaseAndEmployment.vue?9bef","webpack:///./src/components/admin/novationManagement/NovationListActionButtons.vue?e02f","webpack:///./src/components/admin/novationManagement/FBTRecordsActionButtons.vue?53dd","webpack:///./src/components/admin/bpayAccount/AddEditBPayAccount.vue?20f1","webpack:///./src/components/admin/address/EditAddressLink.vue?3fdc","webpack:///./src/components/admin/clientManagement/ClientsList.vue?7ab5","webpack:///./src/shared/components/modal/Modal.vue?061e","webpack:///./src/components/client/scheduledPayments/VehicleInsuranceScheduleAuditLogs.vue?5b6e","webpack:///./src/components/admin/bankReconciliation/BankRecAndUploadBankFile.vue?1839","webpack:///./src/components/admin/schedules/ScheduleList.vue?b342","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsList.vue?e252","webpack:///./src/components/admin/portalAccess/PortalAccess.vue?b4a6","webpack:///./src/shared/enums/financeApplicationStates.enum.ts","webpack:///./src/App.vue?1069","webpack:///./src/shared/services/cookieService.ts","webpack:///./src/store/modules/auth.ts","webpack:///./src/store/modules/busyIndicator.ts","webpack:///./src/shared/services/colorConvertService.ts","webpack:///./src/store/modules/themes.ts","webpack:///./src/shared/services/dirtyValidatorService.ts","webpack:///./src/shared/enums/userRoles.enum.ts","webpack:///./src/components/admin/Dashboard.vue?860f","webpack:///./src/shared/components/charts/BarChart.vue?e349","webpack:///./src/shared/components/charts/BarChart.vue?3e68","webpack:///./src/shared/components/charts/BarChart.vue?371c","webpack:///./src/shared/components/charts/BarChart.vue","webpack:///./src/components/client/widgets/VehicleBasicDetailsWidget.vue?8a3f","webpack:///./src/shared/components/fileUploader/FileUploader.vue?f957","webpack:///./src/app.config.ts","webpack:///./src/shared/components/fileUploader/FileUploader.vue?5b48","webpack:///./src/shared/components/fileUploader/FileUploader.vue?57a1","webpack:///./src/shared/components/fileUploader/FileUploader.vue","webpack:///./src/shared/components/imageCropper/ImageCropper.vue?a190","webpack:///./src/shared/components/modal/Modal.vue?ea09","webpack:///./src/shared/components/modal/Modal.vue?056b","webpack:///./src/shared/components/modal/Modal.vue?450a","webpack:///./src/shared/components/modal/Modal.vue","webpack:///./src/shared/components/imageCropper/ImageCropper.vue?5997","webpack:///./src/shared/enums/blobContainerTypes.enum.ts","webpack:///./src/shared/enums/fileTypes.enum.ts","webpack:///./src/shared/enums/relatedTables.enum.ts","webpack:///./src/shared/components/imageCropper/ImageCropper.vue?787a","webpack:///./src/shared/components/imageCropper/ImageCropper.vue","webpack:///./src/shared/services/azureBlobStorageService.ts","webpack:///./src/filters/stringFilter.ts","webpack:///./src/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue?21be","webpack:///./src/shared/enums/applicationTypes.enum.ts","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentWizard.vue?b948","webpack:///./src/shared/components/wizard/Wizard.vue?0383","webpack:///./src/shared/components/wizard/Wizard.vue?e848","webpack:///./src/shared/components/wizard/Wizard.vue?8fb0","webpack:///./src/shared/components/wizard/Wizard.vue","webpack:///./src/shared/components/wizard/WizardTab.vue?670f","webpack:///./src/shared/components/wizard/WizardTab.vue?d9a0","webpack:///./src/shared/enums/recurringScheduledPaymentStates.enum.ts","webpack:///./src/shared/components/wizard/WizardTab.vue?a897","webpack:///./src/shared/components/wizard/WizardTab.vue","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentDetails.vue?f60d","webpack:///./src/components/admin/clientManagement/ClientsList.vue?c493","webpack:///./src/shared/enums/dataTableActionTypes.enum.ts","webpack:///./src/shared/components/dataTable/DataTable.vue?39d4","webpack:///./src/shared/components/dataTable/DataTable.vue?cc29","webpack:///./src/shared/components/dataTable/DataTable.vue?40d0","webpack:///./src/shared/components/dataTable/DataTable.vue","webpack:///./src/shared/components/filterTextInput/FilterTextInput.vue?51a7","webpack:///./src/shared/components/filterTextInput/FilterTextInput.vue?2709","webpack:///./src/shared/components/filterTextInput/FilterTextInput.vue?4d84","webpack:///./src/shared/components/filterTextInput/FilterTextInput.vue","webpack:///./src/components/admin/clientManagement/ClientListActionButtons.vue?f5ba","webpack:///./src/components/admin/clientManagement/clientMotorVehicles.vue?3c99","webpack:///./src/shared/components/treeView/tree.vue?86b7","webpack:///./src/shared/components/treeView/treeRow.vue?40af","webpack:///./src/shared/components/treeView/treeRow.vue?0308","webpack:///./src/shared/components/treeView/treeRow.vue?c00f","webpack:///./src/shared/components/treeView/treeRow.vue","webpack:///./src/shared/components/treeView/tree.vue?6d5b","webpack:///./src/shared/enums/vehicleStatuses.enum.ts","webpack:///./src/shared/components/treeView/tree.vue?793b","webpack:///./src/shared/components/treeView/tree.vue","webpack:///./src/components/admin/clientManagement/clientMotorVehicles.vue?0863","webpack:///./src/components/admin/clientManagement/clientMotorVehicles.vue?bb1d","webpack:///./src/components/admin/clientManagement/clientMotorVehicles.vue","webpack:///./src/components/shared/SystemTextErrors.vue?0381","webpack:///./src/filters/dateFilter.ts","webpack:///./src/components/shared/SystemTextErrors.vue?1e13","webpack:///./src/shared/enums/viewModes.enum.ts","webpack:///./src/components/shared/SystemTextErrors.vue?d5dd","webpack:///./src/components/shared/SystemTextErrors.vue","webpack:///./src/components/admin/clientManagement/ClientListActionButtons.vue?d135","webpack:///./src/components/admin/clientManagement/ClientListActionButtons.vue?e8be","webpack:///./src/components/admin/clientManagement/ClientListActionButtons.vue","webpack:///./src/components/admin/clientManagement/EditClientLink.vue?870c","webpack:///./src/components/admin/clientManagement/EditClientLink.vue?5cdc","webpack:///./src/shared/enums/clientStatuses.enum.ts","webpack:///./src/shared/enums/initialClientStatusFilterSelectModes.enum.ts","webpack:///./src/components/admin/clientManagement/EditClientLink.vue?1332","webpack:///./src/components/admin/clientManagement/EditClientLink.vue","webpack:///./src/components/admin/clientManagement/ClientStatusSelectList.vue?c92b","webpack:///./src/shared/filtrations.ts","webpack:///./src/shared/constants.ts","webpack:///./src/shared/services/fieldValidationService.ts","webpack:///./src/shared/enums/transaction.enum.ts","webpack:///./src/shared/enums/activityStatementCategoryTypes.enum.ts","webpack:///./src/shared/enums/otherCategoryTypes.enum.ts","webpack:///./src/shared/enums/expenseClaims.enum.ts","webpack:///./src/shared/services/lookupService.ts","webpack:///./src/components/admin/clientManagement/ClientStatusSelectList.vue?3b15","webpack:///./src/components/admin/clientManagement/ClientStatusSelectList.vue?eda2","webpack:///./src/components/admin/clientManagement/ClientStatusSelectList.vue","webpack:///./src/components/admin/clientManagement/ClientsList.vue?6488","webpack:///./src/components/admin/clientManagement/ClientsList.vue?3768","webpack:///./src/components/admin/clientManagement/ClientsList.vue","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControl.vue?c952","webpack:///./src/shared/services/fileViewerService.ts","webpack:///./src/shared/components/documentPreviewControl/DocumentPreviewControl.vue?fe36","webpack:///./src/shared/components/documentPreviewControl/DocumentPreviewControl.vue?4444","webpack:///./src/shared/components/documentPreviewControl/DocumentPreviewControl.vue?c067","webpack:///./src/shared/components/documentPreviewControl/DocumentPreviewControl.vue","webpack:///./src/components/shared/SystemTextNotes.vue?ccbf","webpack:///./src/components/shared/SystemTextNotes.vue?1c3f","webpack:///./src/components/shared/SystemTextNotes.vue?9d05","webpack:///./src/components/shared/SystemTextNotes.vue","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControl.vue?7acd","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControl.vue?643f","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControl.vue","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentDetails.vue?6271","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentDetails.vue?54ae","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentDetails.vue","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentSchedule.vue?e748","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentSchedule.vue?11b5","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentSchedule.vue?5c72","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentSchedule.vue","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentPreview.vue?cc03","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentPreview.vue?4a99","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentPreview.vue?7b3e","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentPreview.vue","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentWizard.vue?f3c0","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentWizard.vue?12dc","webpack:///./src/components/admin/recurringScheduledPayment/RecurringScheduledPaymentWizard.vue","webpack:///./src/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue?8cfb","webpack:///./src/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue?7285","webpack:///./src/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue","webpack:///./src/components/client/widgets/VehicleBasicDetailsWidget.vue?63f2","webpack:///./src/components/client/widgets/VehicleBasicDetailsWidget.vue?a27f","webpack:///./src/components/client/widgets/VehicleBasicDetailsWidget.vue","webpack:///./src/components/supplier/widgets/BillsForPaymentWidget.vue?3cf5","webpack:///./src/shared/components/busyIndicator/WidgetBusyIndicator.vue?bd66","webpack:///./src/shared/components/busyIndicator/WidgetBusyIndicator.vue?6fa4","webpack:///./src/shared/components/busyIndicator/WidgetBusyIndicator.vue?cb36","webpack:///./src/shared/components/busyIndicator/WidgetBusyIndicator.vue","webpack:///./src/shared/components/currency/ApexCurrency.vue?6cd8","webpack:///./src/filters/currencyFilter.ts","webpack:///./src/shared/components/currency/ApexCurrency.vue?cd09","webpack:///./src/shared/components/currency/ApexCurrency.vue?2096","webpack:///./src/shared/components/currency/ApexCurrency.vue","webpack:///./src/components/supplier/widgets/BillsForPaymentWidget.vue?9a73","webpack:///./src/components/supplier/widgets/BillsForPaymentWidget.vue?ca42","webpack:///./src/components/supplier/widgets/BillsForPaymentWidget.vue","webpack:///./src/components/supplier/widgets/ProfileSummaryWidget.vue?bf4b","webpack:///./src/components/supplier/widgets/ProfileSummaryWidget.vue?d2f3","webpack:///./src/components/supplier/widgets/ProfileSummaryWidget.vue?cc7c","webpack:///./src/components/supplier/widgets/ProfileSummaryWidget.vue","webpack:///./src/components/admin/ApplicationStatusBarChartWidget.vue?88a1","webpack:///./src/components/admin/ApplicationStatusBarChartWidget.vue?81eb","webpack:///./src/components/admin/ApplicationStatusBarChartWidget.vue?d27c","webpack:///./src/components/admin/ApplicationStatusBarChartWidget.vue","webpack:///./src/components/admin/widgets/EntitiesWithoutInvoicesWidget.vue?bbc3","webpack:///./src/components/admin/widgets/EntitiesWithoutInvoicesWidget.vue?fb79","webpack:///./src/components/admin/widgets/EntitiesWithoutInvoicesWidget.vue?4b32","webpack:///./src/components/admin/widgets/EntitiesWithoutInvoicesWidget.vue","webpack:///./src/components/admin/widgets/EntitiesWithOutstandingBalanceWidget.vue?ee07","webpack:///./src/components/admin/widgets/EntitiesWithOutstandingBalanceWidget.vue?31f2","webpack:///./src/components/admin/widgets/EntitiesWithOutstandingBalanceWidget.vue?b3aa","webpack:///./src/components/admin/widgets/EntitiesWithOutstandingBalanceWidget.vue","webpack:///./src/components/admin/widgets/EntitiesWithoutServiceAgreementWidget.vue?d299","webpack:///./src/components/admin/widgets/EntitiesWithoutServiceAgreementWidget.vue?3e2e","webpack:///./src/components/admin/widgets/EntitiesWithoutServiceAgreementWidget.vue?039d","webpack:///./src/components/admin/widgets/EntitiesWithoutServiceAgreementWidget.vue","webpack:///./src/components/admin/widgets/EntitiesWithoutAdminFeeWidget.vue?bf2c","webpack:///./src/components/admin/widgets/EntitiesWithoutAdminFeeWidget.vue?417e","webpack:///./src/shared/enums/clientFinanceApplicationStates.enum.ts","webpack:///./src/components/admin/widgets/EntitiesWithoutAdminFeeWidget.vue?9b0e","webpack:///./src/components/admin/widgets/EntitiesWithoutAdminFeeWidget.vue","webpack:///./src/components/client/widgets/ClientFinanceApplicationWidget.vue?4636","webpack:///./src/components/client/widgets/ClientFinanceApplicationListActionButtons.vue?3019","webpack:///./src/components/client/widgets/ClientFinanceApplicationListActionButtons.vue?846b","webpack:///./src/components/client/widgets/ClientFinanceApplicationListActionButtons.vue?1ee0","webpack:///./src/components/client/widgets/ClientFinanceApplicationListActionButtons.vue","webpack:///./src/components/client/widgets/ClientFinanceApplicationWidget.vue?4eee","webpack:///./src/components/client/widgets/ClientFinanceApplicationWidget.vue?130c","webpack:///./src/components/client/widgets/ClientFinanceApplicationWidget.vue","webpack:///./src/components/admin/widgets/ResidualDueLeasesWidget.vue?63a8","webpack:///./src/components/admin/widgets/ResidualDueLeasesWidget.vue?c26e","webpack:///./src/components/admin/widgets/ResidualDueLeasesWidget.vue?1eac","webpack:///./src/components/admin/widgets/ResidualDueLeasesWidget.vue","webpack:///./src/components/admin/widgets/NovationsExceedingFourFBTYearsWidget.vue?e94f","webpack:///./src/components/admin/widgets/NovationsExceedingFourFBTYearsWidget.vue?bc1c","webpack:///./src/components/admin/widgets/NovationsExceedingFourFBTYearsWidget.vue?9312","webpack:///./src/components/admin/widgets/NovationsExceedingFourFBTYearsWidget.vue","webpack:///./src/components/admin/Dashboard.vue?908b","webpack:///./src/components/admin/Dashboard.vue?bcb8","webpack:///./src/components/admin/Dashboard.vue","webpack:///./src/components/admin/userManagement/UserDetails.vue?62d7","webpack:///./src/components/admin/userManagement/AddEditUser.vue?2f4c","webpack:///./src/components/admin/userManagement/AddEditUser.vue?52e0","webpack:///./src/components/admin/userManagement/AddEditUser.vue?487f","webpack:///./src/components/admin/userManagement/AddEditUser.vue","webpack:///./src/shared/components/tabs/Tabs.vue?9db5","webpack:///./src/shared/components/tabs/Tabs.vue?b928","webpack:///./src/shared/components/tabs/Tabs.vue?7180","webpack:///./src/shared/components/tabs/Tabs.vue","webpack:///./src/shared/components/tabs/Tab.vue?3a43","webpack:///./src/shared/components/tabs/Tab.vue?47a4","webpack:///./src/shared/components/tabs/Tab.vue?336f","webpack:///./src/shared/components/tabs/Tab.vue","webpack:///./src/components/admin/portalAccess/PortalAccess.vue?ea12","webpack:///./src/components/admin/portalAccess/OpenLoginLocationLink.vue?a8bf","webpack:///./src/components/admin/portalAccess/OpenLoginLocationLink.vue?af0f","webpack:///./src/shared/services/passwordStrengthService.ts","webpack:///./src/components/admin/portalAccess/OpenLoginLocationLink.vue?cd46","webpack:///./src/components/admin/portalAccess/OpenLoginLocationLink.vue","webpack:///./src/components/auth/SetupAuthenticatorApp.vue?c7ba","webpack:///./src/components/auth/SetupAuthenticatorApp.vue?85fe","webpack:///./src/components/auth/SetupAuthenticatorApp.vue?e98e","webpack:///./src/components/auth/SetupAuthenticatorApp.vue","webpack:///./src/components/admin/portalAccess/PortalAccess.vue?a3a4","webpack:///./src/shared/enums/signInUserRoles.enum.ts","webpack:///./src/components/admin/portalAccess/PortalAccess.vue?24d8","webpack:///./src/components/admin/portalAccess/PortalAccess.vue","webpack:///./src/components/admin/userManagement/UserDetails.vue?7d17","webpack:///./src/components/admin/userManagement/UserDetails.vue?35ac","webpack:///./src/components/admin/userManagement/UserDetails.vue","webpack:///./src/components/admin/clientManagement/ClientDetails.vue?159e","webpack:///./src/components/admin/clientManagement/AddEditClient.vue?3a34","webpack:///./src/components/admin/clientManagement/AddEditClient.vue?9815","webpack:///./src/components/admin/clientManagement/AddEditClient.vue?f601","webpack:///./src/components/admin/clientManagement/AddEditClient.vue","webpack:///./src/components/admin/bankAccount/BankAccounts.vue?0ab2","webpack:///./src/components/admin/bankAccount/BankAccountListActionButtons.vue?4a68","webpack:///./src/components/admin/bankAccount/BankAccountListActionButtons.vue?1a3c","webpack:///./src/components/admin/bankAccount/BankAccountListActionButtons.vue?f570","webpack:///./src/components/admin/bankAccount/BankAccountListActionButtons.vue","webpack:///./src/components/admin/bankAccount/AddEditBankAccount.vue?741d","webpack:///./src/components/admin/bankAccount/AddEditBankAccount.vue?8137","webpack:///./src/components/admin/bankAccount/AddEditBankAccount.vue?22bf","webpack:///./src/components/admin/bankAccount/AddEditBankAccount.vue","webpack:///./src/components/admin/bankAccount/EditBankAccountLink.vue?5e5b","webpack:///./src/components/admin/bankAccount/EditBankAccountLink.vue?b84d","webpack:///./src/components/admin/bankAccount/EditBankAccountLink.vue?219f","webpack:///./src/components/admin/bankAccount/EditBankAccountLink.vue","webpack:///./src/components/admin/bankAccount/AvailableBalanceTemplate.vue?a3f1","webpack:///./src/components/admin/bankAccount/AvailableBalanceTemplate.vue?b0f1","webpack:///./src/components/admin/bankAccount/AvailableBalanceTemplate.vue?4923","webpack:///./src/components/admin/bankAccount/AvailableBalanceTemplate.vue","webpack:///./src/components/admin/bankAccount/BankAccounts.vue?c572","webpack:///./src/components/admin/bankAccount/BankAccounts.vue?1925","webpack:///./src/components/admin/bankAccount/BankAccounts.vue","webpack:///./src/components/admin/address/Addresses.vue?bd16","webpack:///./src/components/admin/address/EditAddressLink.vue?35d3","webpack:///./src/components/admin/address/EditAddressLink.vue?8ccc","webpack:///./src/components/admin/address/EditAddressLink.vue?37a7","webpack:///./src/components/admin/address/EditAddressLink.vue","webpack:///./src/components/admin/address/AddressListActionButtons.vue?4d5d","webpack:///./src/components/admin/address/AddressListActionButtons.vue?a625","webpack:///./src/components/admin/address/AddressListActionButtons.vue?cf76","webpack:///./src/components/admin/address/AddressListActionButtons.vue","webpack:///./src/shared/components/address/AutoCompleteAddressSearch.vue?5e77","webpack:///./src/shared/components/address/AutoCompleteAddressSearch.vue?6a9f","webpack:///./src/shared/components/address/AutoCompleteAddressSearch.vue?0b4d","webpack:///./src/shared/components/address/AutoCompleteAddressSearch.vue","webpack:///./src/components/admin/address/Addresses.vue?f5ed","webpack:///./src/components/admin/address/Addresses.vue?59f3","webpack:///./src/components/admin/address/Addresses.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleList.vue?7f0e","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleListActionButtons.vue?3f38","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleListActionButtons.vue?2af2","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleListActionButtons.vue?a8cf","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleListActionButtons.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleList.vue?5dc6","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleList.vue?db90","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleList.vue","webpack:///./src/components/admin/clientManagement/ClientApplicationList.vue?56d0","webpack:///./src/components/admin/clientManagement/ClientApplicationStatusTrafficLight.vue?7057","webpack:///./src/components/admin/clientManagement/ClientApplicationStatusTrafficLight.vue?87c8","webpack:///./src/components/admin/clientManagement/ClientApplicationStatusTrafficLight.vue?92fb","webpack:///./src/components/admin/clientManagement/ClientApplicationStatusTrafficLight.vue","webpack:///./src/components/admin/clientManagement/ClientApplicationList.vue?be3b","webpack:///./src/components/admin/clientManagement/ClientApplicationList.vue?b69e","webpack:///./src/components/admin/clientManagement/ClientApplicationList.vue","webpack:///./src/shared/components/tabs/TopTab.vue?13d3","webpack:///./src/shared/components/tabs/TopTab.vue?0c46","webpack:///./src/shared/components/tabs/TopTab.vue?bf0f","webpack:///./src/shared/components/tabs/TopTab.vue","webpack:///./src/shared/components/tabs/TopTabs.vue?5674","webpack:///./src/shared/components/tabs/TopTabs.vue?edb4","webpack:///./src/shared/enums/buttonTypes.enum.ts","webpack:///./src/shared/components/tabs/TopTabs.vue?3637","webpack:///./src/shared/components/tabs/TopTabs.vue","webpack:///./src/shared/components/notes/Notes.vue?7259","webpack:///./src/shared/components/notes/NotesCommonControl.vue?8299","webpack:///./src/shared/components/notes/NotesCommonControl.vue?1ac2","webpack:///./src/shared/components/notes/NotesCommonControl.vue?96f2","webpack:///./src/shared/components/notes/NotesCommonControl.vue","webpack:///./src/shared/components/notes/Notes.vue?449b","webpack:///./src/shared/components/notes/Notes.vue?3ec6","webpack:///./src/shared/components/notes/Notes.vue","webpack:///./src/shared/components/documentUploader/DocumentUploader.vue?b246","webpack:///./src/shared/components/documentUploader/DocumentListActionButtons.vue?d185","webpack:///./src/shared/components/documentUploader/DocumentListActionButtons.vue?21fc","webpack:///./src/shared/components/documentUploader/DocumentListActionButtons.vue?3cc2","webpack:///./src/shared/components/documentUploader/DocumentListActionButtons.vue","webpack:///./src/shared/components/documentUploader/EditDocumentLink.vue?1091","webpack:///./src/shared/components/documentUploader/EditDocumentLink.vue?ec07","webpack:///./src/shared/components/documentUploader/EditDocumentLink.vue?ff57","webpack:///./src/shared/components/documentUploader/EditDocumentLink.vue","webpack:///./src/shared/components/documentUploader/DocumentUploaderCommonControl.vue?4dcf","webpack:///./src/shared/components/documentUploader/DocumentImagePreview.vue?e5e2","webpack:///./src/shared/services/systemSettingsService.ts","webpack:///./src/shared/services/documentService.ts","webpack:///./src/shared/components/documentUploader/DocumentImagePreview.vue?cb0a","webpack:///./src/shared/components/documentUploader/DocumentImagePreview.vue?d763","webpack:///./src/shared/components/documentUploader/DocumentImagePreview.vue","webpack:///./src/shared/components/documentUploader/DocumentUploaderCommonControl.vue?7d3b","webpack:///./src/shared/components/documentUploader/DocumentUploaderCommonControl.vue?1b8d","webpack:///./src/shared/components/documentUploader/DocumentUploaderCommonControl.vue","webpack:///./src/shared/components/documentUploader/DocumentUploader.vue?97f2","webpack:///./src/shared/components/documentUploader/DocumentUploader.vue?60d1","webpack:///./src/shared/components/documentUploader/DocumentUploader.vue","webpack:///./src/components/admin/bpayAccount/BPayAccounts.vue?c704","webpack:///./src/components/admin/bpayAccount/BPayAccountListActionButtons.vue?4047","webpack:///./src/components/admin/bpayAccount/BPayAccountListActionButtons.vue?6ef6","webpack:///./src/components/admin/bpayAccount/BPayAccountListActionButtons.vue?115a","webpack:///./src/components/admin/bpayAccount/BPayAccountListActionButtons.vue","webpack:///./src/components/admin/bpayAccount/AddEditBPayAccount.vue?3c65","webpack:///./src/components/admin/bpayAccount/AddEditBPayAccount.vue?40fa","webpack:///./src/components/admin/bpayAccount/AddEditBPayAccount.vue?0e06","webpack:///./src/components/admin/bpayAccount/AddEditBPayAccount.vue","webpack:///./src/components/admin/bpayAccount/BPayAccounts.vue?7a84","webpack:///./src/components/admin/bpayAccount/BPayAccounts.vue?b52d","webpack:///./src/components/admin/bpayAccount/BPayAccounts.vue","webpack:///./src/components/admin/clientManagement/ClientVehicleTreeViewButton.vue?dd52","webpack:///./src/components/admin/clientManagement/ClientVehicleTreeViewButton.vue?2573","webpack:///./src/shared/enums/clientCommunicationTypes.enum.ts","webpack:///./src/components/admin/clientManagement/ClientVehicleTreeViewButton.vue?55d7","webpack:///./src/components/admin/clientManagement/ClientVehicleTreeViewButton.vue","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogs.vue?adc3","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogsActionButtons.vue?ce0b","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogsActionButtons.vue?468c","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogsActionButtons.vue?4c5c","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogsActionButtons.vue","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogs.vue?c875","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogs.vue?661a","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogs.vue","webpack:///./src/components/admin/clientManagement/ClientDetails.vue?59f9","webpack:///./src/components/admin/clientManagement/ClientDetails.vue?a08a","webpack:///./src/components/admin/clientManagement/ClientDetails.vue","webpack:///./src/components/containers/DefaultContainer.vue?5880","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSearchList.vue?b4fc","webpack:///./src/components/admin/motorVehicleManagement/MotorVehiclesSearchActionButtons.vue?350d","webpack:///./src/components/admin/motorVehicleManagement/MotorVehiclesSearchActionButtons.vue?0be8","webpack:///./src/components/admin/motorVehicleManagement/MotorVehiclesSearchActionButtons.vue?0c51","webpack:///./src/components/admin/motorVehicleManagement/MotorVehiclesSearchActionButtons.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSearchList.vue?4a7b","webpack:///./src/shared/enums/vehicleLeaseTypes.enum.ts","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSearchList.vue?5b8f","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSearchList.vue","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseSearchList.vue?7d9b","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseSearchList.vue?2c96","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseSearchList.vue?9bf9","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseSearchList.vue","webpack:///./src/components/shared/UserInactivityTracker.vue?dbb9","webpack:///./src/shared/services/authService.ts","webpack:///./src/components/shared/UserInactivityTracker.vue?6e8c","webpack:///./src/components/shared/UserInactivityTracker.vue?761d","webpack:///./src/components/shared/UserInactivityTracker.vue","webpack:///./src/shared/components/busyIndicator/BusyIndicator.vue?f49b","webpack:///./src/shared/components/busyIndicator/BusyIndicator.vue?0a36","webpack:///./src/shared/enums/addNavigationTypes.enum.ts","webpack:///./src/shared/components/busyIndicator/BusyIndicator.vue?fc55","webpack:///./src/shared/components/busyIndicator/BusyIndicator.vue","webpack:///./src/components/containers/DefaultAddNewButton.vue?faad","webpack:///./src/components/containers/DefaultAddNewButton.vue?7207","webpack:///./src/components/containers/DefaultAddNewButton.vue?7207*","webpack:///./src/components/containers/DefaultAddNewButton.vue","webpack:///./src/components/containers/DefaultHeaderDropdownAccnt.vue?178b","webpack:///./src/components/containers/DefaultHeaderDropdownAccnt.vue?c2f4","webpack:///./src/components/containers/DefaultHeaderDropdownAccnt.vue?fc78","webpack:///./src/components/containers/DefaultHeaderDropdownAccnt.vue","webpack:///./src/components/containers/DefaultContainer.vue?a2ea","webpack:///./src/components/containers/DefaultContainer.vue?2283","webpack:///./src/components/containers/DefaultContainer.vue","webpack:///./src/components/containers/AuthContainer.vue?70ef","webpack:///./src/components/containers/AuthContainer.vue?a3e2","webpack:///./src/components/containers/AuthContainer.vue?5dc8","webpack:///./src/components/containers/AuthContainer.vue","webpack:///./src/components/auth/Login.vue?bc28","webpack:///./src/components/auth/Login.vue?ba61","webpack:///./src/components/auth/Login.vue?c9c6","webpack:///./src/components/auth/Login.vue","webpack:///./src/components/auth/Register.vue?770f","webpack:///./src/components/auth/Register.vue?ad97","webpack:///./src/components/auth/Register.vue?6709","webpack:///./src/components/auth/Register.vue","webpack:///./src/components/auth/SetPassword.vue?db2c","webpack:///./src/components/auth/SetResetPassword.vue?8160","webpack:///./src/components/auth/SetResetPassword.vue?7c2d","webpack:///./src/components/auth/SetResetPassword.vue?49b9","webpack:///./src/components/auth/SetResetPassword.vue","webpack:///./src/components/auth/SetPassword.vue?5fb2","webpack:///./src/components/auth/SetPassword.vue?d0ca","webpack:///./src/components/auth/SetPassword.vue","webpack:///./src/components/errorPages/Page404.vue?30fb","webpack:///src/components/errorPages/Page404.vue","webpack:///./src/components/errorPages/Page404.vue?0c72","webpack:///./src/components/errorPages/Page404.vue","webpack:///./src/components/errorPages/Page500.vue?34b0","webpack:///src/components/errorPages/Page500.vue","webpack:///./src/components/errorPages/Page500.vue?6426","webpack:///./src/components/errorPages/Page500.vue","webpack:///./src/components/errorPages/Page403.vue?fe74","webpack:///src/components/errorPages/Page403.vue","webpack:///./src/components/errorPages/Page403.vue?3537","webpack:///./src/components/errorPages/Page403.vue","webpack:///./src/components/errorPages/ServerNotFound.vue?71eb","webpack:///src/components/errorPages/ServerNotFound.vue","webpack:///./src/components/errorPages/ServerNotFound.vue?9338","webpack:///./src/components/errorPages/ServerNotFound.vue","webpack:///./src/components/errorPages/ServerError.vue?8a2f","webpack:///src/components/errorPages/ServerError.vue","webpack:///./src/components/errorPages/ServerError.vue?602f","webpack:///./src/components/errorPages/ServerError.vue","webpack:///./src/components/errorPages/BrowserIncompatiblePage.vue?e547","webpack:///src/components/errorPages/BrowserIncompatiblePage.vue","webpack:///./src/components/errorPages/BrowserIncompatiblePage.vue?c84b","webpack:///./src/components/errorPages/BrowserIncompatiblePage.vue","webpack:///./src/components/admin/userManagement/UserList.vue?cd5d","webpack:///./src/components/admin/userManagement/UserListActionButtons.vue?59e4","webpack:///./src/components/admin/userManagement/UserListActionButtons.vue?25d5","webpack:///./src/components/admin/userManagement/UserListActionButtons.vue?26a3","webpack:///./src/components/admin/userManagement/UserListActionButtons.vue","webpack:///./src/components/admin/userManagement/UserList.vue?b4d2","webpack:///./src/components/admin/userManagement/UserList.vue?37b4","webpack:///./src/components/admin/userManagement/UserList.vue","webpack:///./src/components/auth/ForgotPassword.vue?3c82","webpack:///./src/components/auth/ForgotPassword.vue?8ef8","webpack:///./src/components/auth/ForgotPassword.vue?808d","webpack:///./src/components/auth/ForgotPassword.vue","webpack:///./src/components/auth/ResetPassword.vue?f0bd","webpack:///./src/components/auth/ResetPassword.vue?b549","webpack:///./src/components/auth/ResetPassword.vue?1eb2","webpack:///./src/components/auth/ResetPassword.vue","webpack:///./src/components/auth/ChangeEmail.vue?84bd","webpack:///./src/components/auth/ChangeEmail.vue?30e1","webpack:///./src/components/auth/ChangeEmail.vue?a07a","webpack:///./src/components/auth/ChangeEmail.vue","webpack:///./src/components/admin/settings/Theme.vue?46bd","webpack:///./src/components/admin/settings/Theme.vue?baf0","webpack:///./src/components/admin/settings/Theme.vue?31c3","webpack:///./src/components/admin/settings/Theme.vue","webpack:///./src/components/admin/TemplatedReport/UploadReportTemplate.vue?d1e6","webpack:///./src/models/BaseModels/baseEntity.model.ts","webpack:///./src/models/BaseModels/auditedDbEntityModel.ts","webpack:///./src/models/TemplatedReport/templatedReportConfiuguration.model.ts","webpack:///./src/models/TemplatedReport/templateReportType.model.ts","webpack:///./src/components/admin/TemplatedReport/AddEditReportTemplate.vue?a1a4","webpack:///./src/shared/blobContainerNames.ts","webpack:///./src/components/admin/TemplatedReport/ReportPropertyKeyMappingTableView.vue?4921","webpack:///./src/components/admin/TemplatedReport/ReportPropertyKeyMappingTableView.vue?d3f9","webpack:///./src/components/admin/TemplatedReport/ReportPropertyKeyMappingTableView.vue?d022","webpack:///./src/components/admin/TemplatedReport/ReportPropertyKeyMappingTableView.vue","webpack:///./src/components/admin/TemplatedReport/AddEditReportTemplate.vue?530b","webpack:///./src/components/admin/TemplatedReport/AddEditReportTemplate.vue?f522","webpack:///./src/components/admin/TemplatedReport/AddEditReportTemplate.vue","webpack:///./src/components/admin/TemplatedReport/ReportTemplateActionList.vue?86f5","webpack:///./src/components/admin/TemplatedReport/ReportTemplateActionList.vue?80a5","webpack:///./src/components/admin/TemplatedReport/ReportTemplateActionList.vue?8fbe","webpack:///./src/components/admin/TemplatedReport/ReportTemplateActionList.vue","webpack:///./src/components/admin/TemplatedReport/UploadReportTemplate.vue?295b","webpack:///./src/components/admin/TemplatedReport/UploadReportTemplate.vue?520c","webpack:///./src/components/admin/TemplatedReport/UploadReportTemplate.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleDetails.vue?b76d","webpack:///./src/components/admin/motorVehicleManagement/AddEditMotorVehicle.vue?162f","webpack:///./src/components/admin/motorVehicleManagement/AddEditMotorVehicle.vue?d233","webpack:///./src/components/admin/motorVehicleManagement/AddEditMotorVehicle.vue?8313","webpack:///./src/components/admin/motorVehicleManagement/AddEditMotorVehicle.vue","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseList.vue?de96","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListActionButtons.vue?6584","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListActionButtons.vue?89dc","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListActionButtons.vue?0e4f","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListActionButtons.vue","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListType.vue?63ff","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListType.vue?429e","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListType.vue?edd4","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseListType.vue","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseList.vue?638b","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseList.vue?9854","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseList.vue","webpack:///./src/components/admin/motorVehicleManagement/motorVehicleBudget.vue?5c96","webpack:///./src/components/admin/motorVehicleManagement/motorVehicleBudget.vue?dbf7","webpack:///./src/components/admin/motorVehicleManagement/motorVehicleBudget.vue?712e","webpack:///./src/components/admin/motorVehicleManagement/motorVehicleBudget.vue","webpack:///./src/components/admin/fuelCards/FuelCardList.vue?3e3d","webpack:///./src/components/admin/fuelCards/AddEditFuelCard.vue?62b3","webpack:///./src/components/admin/fuelCards/AddEditFuelCard.vue?d417","webpack:///./src/components/admin/fuelCards/AddEditFuelCard.vue?3545","webpack:///./src/components/admin/fuelCards/AddEditFuelCard.vue","webpack:///./src/components/admin/fuelCards/FuelCardListActionButtions.vue?6579","webpack:///./src/components/admin/fuelCards/FuelCardListActionButtions.vue?52a7","webpack:///./src/components/admin/fuelCards/FuelCardListActionButtions.vue?46a4","webpack:///./src/components/admin/fuelCards/FuelCardListActionButtions.vue","webpack:///./src/components/admin/fuelCards/FuelCardList.vue?74e0","webpack:///./src/components/admin/fuelCards/FuelCardList.vue?a539","webpack:///./src/components/admin/fuelCards/FuelCardList.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAdminFeeChargeList.vue?d926","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAdminFeeChargeList.vue?0325","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAdminFeeChargeList.vue?08ad","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAdminFeeChargeList.vue","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPayment.vue?ea41","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPaymentsActionButtons.vue?7336","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPaymentsActionButtons.vue?4245","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPaymentsActionButtons.vue?fa52","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPaymentsActionButtons.vue","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPayment.vue?028b","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPayment.vue?1b29","webpack:///./src/components/admin/vehicleLeaseManagement/ScheduledPayment.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleExpenseClaimsList.vue?0de5","webpack:///./src/components/admin/expenseClaims/expenseClaimsList.vue?53b9","webpack:///./src/components/admin/expenseClaims/expenseClaimLink.vue?0907","webpack:///./src/components/admin/expenseClaims/expenseClaimLink.vue?f0d0","webpack:///./src/components/admin/expenseClaims/expenseClaimLink.vue?2a06","webpack:///./src/components/admin/expenseClaims/expenseClaimLink.vue","webpack:///./src/components/admin/expenseClaims/expenseClaimsAuditLogsActionButton.vue?8347","webpack:///./src/components/admin/expenseClaims/expenseClaimAuditLogs.vue?bc37","webpack:///./src/components/admin/expenseClaims/expenseClaimAuditLogs.vue?722b","webpack:///./src/components/admin/expenseClaims/expenseClaimAuditLogs.vue?cef5","webpack:///./src/components/admin/expenseClaims/expenseClaimAuditLogs.vue","webpack:///./src/components/admin/expenseClaims/expenseClaimsAuditLogsActionButton.vue?a148","webpack:///./src/components/admin/expenseClaims/expenseClaimsAuditLogsActionButton.vue?7f85","webpack:///./src/components/admin/expenseClaims/expenseClaimsAuditLogsActionButton.vue","webpack:///./src/components/admin/expenseClaims/expenseClaimsList.vue?cf6d","webpack:///./src/components/admin/expenseClaims/expenseClaimsList.vue?d67b","webpack:///./src/components/admin/expenseClaims/expenseClaimsList.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleExpenseClaimsList.vue?787b","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleExpenseClaimsList.vue?d0d2","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleExpenseClaimsList.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleDetails.vue?3ad9","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleDetails.vue?4063","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleDetails.vue","webpack:///./src/components/admin/employerManagement/EmployerList.vue?5dd2","webpack:///./src/components/admin/employerManagement/EmployerListActionButtons.vue?e1bc","webpack:///./src/components/admin/employerManagement/EmployerListActionButtons.vue?9e0d","webpack:///./src/components/admin/employerManagement/EmployerListActionButtons.vue?5432","webpack:///./src/components/admin/employerManagement/EmployerListActionButtons.vue","webpack:///./src/components/admin/employerManagement/EditEmployerLink.vue?3e15","webpack:///./src/components/admin/employerManagement/EditEmployerLink.vue?1b5b","webpack:///./src/components/admin/employerManagement/EditEmployerLink.vue?0f3e","webpack:///./src/components/admin/employerManagement/EditEmployerLink.vue","webpack:///./src/components/admin/employerManagement/EmployerList.vue?abe5","webpack:///./src/components/admin/employerManagement/EmployerList.vue?d025","webpack:///./src/components/admin/employerManagement/EmployerList.vue","webpack:///./src/components/admin/employerManagement/EmployerDetails.vue?7142","webpack:///./src/components/admin/employerManagement/AddEditEmployer.vue?1225","webpack:///./src/shared/services/customValidationService.ts","webpack:///./src/components/admin/employerManagement/AddEditEmployer.vue?00c4","webpack:///./src/components/admin/employerManagement/AddEditEmployer.vue?473e","webpack:///./src/components/admin/employerManagement/AddEditEmployer.vue","webpack:///./src/components/admin/employerManagement/RelatedNovationList.vue?7fab","webpack:///./src/components/admin/employerManagement/RelatedNovationList.vue?25c9","webpack:///./src/components/admin/employerManagement/RelatedNovationList.vue?227c","webpack:///./src/components/admin/employerManagement/RelatedNovationList.vue","webpack:///./src/components/admin/employerManagement/EmployerDetails.vue?45dd","webpack:///./src/components/admin/employerManagement/EmployerDetails.vue?70a5","webpack:///./src/components/admin/employerManagement/EmployerDetails.vue","webpack:///./src/components/admin/companyDetails/CompanyDetails.vue?5569","webpack:///./src/components/admin/companyDetails/EditCompanyDetails.vue?b4a6","webpack:///./src/components/admin/companyDetails/EditCompanyDetails.vue?c3d8","webpack:///./src/components/admin/companyDetails/EditCompanyDetails.vue?2ca4","webpack:///./src/components/admin/companyDetails/EditCompanyDetails.vue","webpack:///./src/components/admin/finance/Ledger.vue?2427","webpack:///./src/shared/components/customTableHeaders/ReferenceCustomHeader.vue?839f","webpack:///./src/shared/components/customTableHeaders/ReferenceCustomHeader.vue?ef22","webpack:///./src/shared/components/customTableHeaders/ReferenceCustomHeader.vue?42ce","webpack:///./src/shared/components/customTableHeaders/ReferenceCustomHeader.vue","webpack:///./src/shared/components/customTableHeaders/ProcessedDateCustomHeader.vue?9489","webpack:///./src/shared/components/customTableHeaders/ProcessedDateCustomHeader.vue?c65b","webpack:///./src/shared/components/customTableHeaders/ProcessedDateCustomHeader.vue?1402","webpack:///./src/shared/components/customTableHeaders/ProcessedDateCustomHeader.vue","webpack:///./src/components/admin/finance/UpcomingLeasePaymentRecord.vue?b625","webpack:///./src/components/admin/finance/UpcomingLeasePaymentRecord.vue?e67f","webpack:///./src/components/admin/finance/UpcomingLeasePaymentRecord.vue?4906","webpack:///./src/components/admin/finance/UpcomingLeasePaymentRecord.vue","webpack:///./src/components/admin/finance/TransactionCategorySelect.vue?56b4","webpack:///./src/components/admin/finance/TransactionCategorySelect.vue?7ee5","webpack:///./src/components/admin/finance/TransactionCategorySelect.vue?3784","webpack:///./src/components/admin/finance/TransactionCategorySelect.vue","webpack:///./src/components/admin/finance/NovationSelect.vue?f7e7","webpack:///./src/components/admin/finance/NovationSelect.vue?9ebb","webpack:///./src/shared/enums/fileExtensionTypes.enum.ts","webpack:///./src/components/admin/finance/NovationSelect.vue?b9cf","webpack:///./src/components/admin/finance/NovationSelect.vue","webpack:///./src/components/admin/finance/TransferLedgerBalanceModal.vue?df64","webpack:///./src/components/admin/finance/TransferLedgerBalanceModal.vue?6627","webpack:///./src/components/admin/finance/TransferLedgerBalanceModal.vue?07c1","webpack:///./src/components/admin/finance/TransferLedgerBalanceModal.vue","webpack:///./src/components/admin/finance/Ledger.vue?b0f0","webpack:///./src/shared/enums/companyConfig.enum.ts","webpack:///./src/shared/enums/bankAccountTypes.enum.ts","webpack:///./src/components/admin/finance/Ledger.vue?8167","webpack:///./src/components/admin/finance/Ledger.vue","webpack:///./src/components/admin/companyDetails/CompanyConfig.vue?6d7a","webpack:///./src/components/admin/companyDetails/CompanyConfig.vue?1f9d","webpack:///./src/components/admin/companyDetails/CompanyConfig.vue?a292","webpack:///./src/components/admin/companyDetails/CompanyConfig.vue","webpack:///./src/components/admin/finance/GSTLedger.vue?a171","webpack:///./src/components/admin/finance/GSTLedger.vue?09e4","webpack:///./src/components/admin/finance/GSTLedger.vue?c85b","webpack:///./src/components/admin/finance/GSTLedger.vue","webpack:///./src/components/admin/signatories/Signatories.vue?85a8","webpack:///./src/components/admin/signatories/AddEditSignatory.vue?901f","webpack:///./src/components/admin/signatories/AddEditSignatory.vue?0667","webpack:///./src/components/admin/signatories/AddEditSignatory.vue?a826","webpack:///./src/components/admin/signatories/AddEditSignatory.vue","webpack:///./src/components/admin/signatories/SignatoriesListActionButtons.vue?6610","webpack:///./src/components/admin/signatories/SignatoriesListActionButtons.vue?238a","webpack:///./src/components/admin/signatories/SignatoriesListActionButtons.vue?4db8","webpack:///./src/components/admin/signatories/SignatoriesListActionButtons.vue","webpack:///./src/components/admin/signatories/Signatories.vue?3717","webpack:///./src/components/admin/signatories/Signatories.vue?2eba","webpack:///./src/components/admin/signatories/Signatories.vue","webpack:///./src/components/admin/companyDetails/CompanyDetails.vue?9c81","webpack:///./src/components/admin/companyDetails/CompanyDetails.vue?cb40","webpack:///./src/components/admin/companyDetails/CompanyDetails.vue","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/FinanceApplicationWizard.vue?61bc","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/InitialDetails.vue?76d2","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/InitialDetails.vue?2660","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/InitialDetails.vue?6137","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/InitialDetails.vue","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/RequestInvoice.vue?db8c","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/RequestInvoice.vue?abbe","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/RequestInvoice.vue?566c","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/RequestInvoice.vue","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/ReviseApplication.vue?2bcd","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/ReviseApplication.vue?a96f","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/ReviseApplication.vue?ab75","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/ReviseApplication.vue","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/SignatureAndSubmission.vue?ea8f","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/SignatureAndSubmission.vue?7550","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/SignatureAndSubmission.vue?9569","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/SignatureAndSubmission.vue","webpack:///./src/components/admin/applicationManagement/sharedApplicationManagement/LeaseAndEmployment.vue?ff57","webpack:///./src/components/admin/vehicleLeaseManagement/AddEditVehicleLease.vue?8fe3","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentList.vue?23f9","webpack:///./src/components/admin/vehicleLeaseManagement/EditLeasePrePaymentLink.vue?49b1","webpack:///./src/components/admin/vehicleLeaseManagement/EditLeasePrePaymentLink.vue?7d83","webpack:///./src/components/admin/vehicleLeaseManagement/EditLeasePrePaymentLink.vue?a434","webpack:///./src/components/admin/vehicleLeaseManagement/EditLeasePrePaymentLink.vue","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentListActionButtons.vue?adf2","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentListActionButtons.vue?4df7","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentListActionButtons.vue?5179","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentListActionButtons.vue","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentList.vue?bb2c","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentList.vue?1e92","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePrePaymentList.vue","webpack:///./src/components/admin/vehicleLeaseManagement/AddEditVehicleLease.vue?9a92","webpack:///./src/components/admin/vehicleLeaseManagement/AddEditVehicleLease.vue?3a4e","webpack:///./src/components/admin/vehicleLeaseManagement/AddEditVehicleLease.vue","webpack:///./src/components/admin/novationManagement/AddEditNovation.vue?74fe","webpack:///./src/components/admin/novationManagement/FBTApplicableRecords.vue?31a3","webpack:///./src/components/admin/novationManagement/FBTApplicableRecords.vue?14ce","webpack:///./src/shared/enums/fbtMethodTypes.enum.ts","webpack:///./src/components/admin/novationManagement/FBTApplicableRecords.vue?6673","webpack:///./src/components/admin/novationManagement/FBTApplicableRecords.vue","webpack:///./src/components/admin/novationManagement/AddEditFBTCostBase.vue?f11e","webpack:///./src/components/admin/novationManagement/AddEditFBTCostBase.vue?5e14","webpack:///./src/components/admin/novationManagement/AddEditFBTCostBase.vue?ec0d","webpack:///./src/components/admin/novationManagement/AddEditFBTCostBase.vue","webpack:///./src/components/admin/novationManagement/AddEditNovation.vue?ff8b","webpack:///./src/components/admin/novationManagement/AddEditNovation.vue?e571","webpack:///./src/components/admin/novationManagement/AddEditNovation.vue","webpack:///./src/components/admin/applicationManagement/sharedApplicationManagement/LeaseAndEmployment.vue?4595","webpack:///./src/components/admin/applicationManagement/sharedApplicationManagement/LeaseAndEmployment.vue?2c71","webpack:///./src/components/admin/applicationManagement/sharedApplicationManagement/LeaseAndEmployment.vue","webpack:///./src/components/admin/invoices/InvoiceList.vue?9547","webpack:///./src/components/admin/invoices/EditInvoiceLink.vue?44c3","webpack:///./src/components/admin/invoices/EditInvoiceLink.vue?97b1","webpack:///./src/components/admin/invoices/EditInvoiceLink.vue?7838","webpack:///./src/components/admin/invoices/EditInvoiceLink.vue","webpack:///./src/components/admin/invoices/InvoiceActionButtons.vue?e5a2","webpack:///./src/components/admin/invoices/InvoiceActionButtons.vue?59be","webpack:///./src/components/admin/invoices/InvoiceActionButtons.vue?ea91","webpack:///./src/components/admin/invoices/InvoiceActionButtons.vue","webpack:///./src/components/admin/invoices/InvoiceServiceType.vue?f046","webpack:///./src/components/admin/invoices/InvoiceServiceType.vue?ef2f","webpack:///./src/components/admin/invoices/InvoiceServiceType.vue?f77c","webpack:///./src/components/admin/invoices/InvoiceServiceType.vue","webpack:///./src/components/admin/invoices/InvoiceServiceQuantity.vue?31fd","webpack:///./src/components/admin/invoices/InvoiceServiceQuantity.vue?0827","webpack:///./src/components/admin/invoices/InvoiceServiceQuantity.vue?6810","webpack:///./src/components/admin/invoices/InvoiceServiceQuantity.vue","webpack:///./src/components/admin/invoices/InvoiceServiceUnitCost.vue?e1c5","webpack:///./src/components/admin/invoices/InvoiceServiceUnitCost.vue?556a","webpack:///./src/components/admin/invoices/InvoiceServiceUnitCost.vue?379c","webpack:///./src/components/admin/invoices/InvoiceServiceUnitCost.vue","webpack:///./src/components/admin/invoices/InoiceServiceActionButtons.vue?ae14","webpack:///./src/components/admin/invoices/InoiceServiceActionButtons.vue?e04f","webpack:///./src/components/admin/invoices/InoiceServiceActionButtons.vue?ff36","webpack:///./src/components/admin/invoices/InoiceServiceActionButtons.vue","webpack:///./src/components/admin/invoices/InvoiceList.vue?ba62","webpack:///./src/components/admin/invoices/InvoiceList.vue?e69e","webpack:///./src/components/admin/invoices/InvoiceList.vue","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/FinanceApplicationWizard.vue?2b55","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/FinanceApplicationWizard.vue?d394","webpack:///./src/components/admin/applicationManagement/financeApplicationManagement/FinanceApplicationWizard.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationWizard.vue?9e5d","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/DocumentRepository.vue?8c8b","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControlApplication.vue?7bd9","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControlApplication.vue?4493","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControlApplication.vue?98b2","webpack:///./src/shared/components/dragAndDropControl/DragAndDropControlApplication.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/DocumentRepository.vue?811f","webpack:///./src/shared/enums/clientApplicationFileTypes.enum.ts","webpack:///./src/shared/enums/australianStates.enum.ts","webpack:///./src/shared/enums/australianResidencyStatus.enum.ts","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/DocumentRepository.vue?cffb","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/DocumentRepository.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/PersonalDetails.vue?e66c","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFAAuditHistory.vue?f62a","webpack:///./src/shared/components/auditHistory/AuditHistoryLogs.vue?7bcd","webpack:///./src/shared/components/auditHistory/AuditHistoryLogs.vue?dfc0","webpack:///./src/shared/components/auditHistory/AuditHistoryLogs.vue?a1ca","webpack:///./src/shared/components/auditHistory/AuditHistoryLogs.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFAAuditHistory.vue?2dc6","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFAAuditHistory.vue?9cb4","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFAAuditHistory.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/PersonalDetails.vue?674b","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/PersonalDetails.vue?df12","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/PersonalDetails.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/AddressDetails.vue?f507","webpack:///./src/models/address.model.ts","webpack:///./src/models/clientFinanceApplication.model.ts","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationAddress.vue?8af8","webpack:///./src/models/applicationAddress.model.ts","webpack:///./src/shared/enums/addressTypes.enum.ts","webpack:///./src/shared/enums/clientAddressTypes.enum.ts","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFATableAuditHistory.vue?9909","webpack:///./src/shared/components/auditHistory/GroupedAuditHistoryLogs.vue?47cb","webpack:///./src/shared/components/auditHistory/GroupedAuditHistoryLogs.vue?8c35","webpack:///./src/shared/components/auditHistory/GroupedAuditHistoryLogs.vue?dc05","webpack:///./src/shared/components/auditHistory/GroupedAuditHistoryLogs.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFATableAuditHistory.vue?e311","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFATableAuditHistory.vue?4f95","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFATableAuditHistory.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationAddress.vue?7ad8","webpack:///./src/shared/enums/monthlyRepaymentTypes.enum.ts","webpack:///./src/shared/enums/monthlyExpenseTypes.enum.ts","webpack:///./src/shared/enums/employmentTypes.enum.ts","webpack:///./src/shared/enums/saleTypes.enum.ts","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationAddress.vue?39f6","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationAddress.vue","webpack:///./src/shared/services/clientFinanceApplicationValidationService.ts","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/TableActionButtons.vue?e112","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/TableActionButtons.vue?7d63","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/TableActionButtons.vue?194e","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/TableActionButtons.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/AddressDetails.vue?80b3","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/AddressDetails.vue?4439","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/AddressDetails.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/EmploymentDetails.vue?edba","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationEmployment.vue?c815","webpack:///./src/models/applicationEmploymentLine.model.ts","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationEmployment.vue?c039","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationEmployment.vue?90db","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationEmployment.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/EmploymentDetails.vue?7b6e","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/EmploymentDetails.vue?e1d8","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/EmploymentDetails.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Income.vue?6c35","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Income.vue?6f85","webpack:///./src/shared/enums/clientFinanceApplicationAssetCategoryTypes.enum.ts","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Income.vue?2a09","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Income.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Assets.vue?0280","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Assets.vue?ac30","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Assets.vue?82cb","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Assets.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Liabilities.vue?d13c","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyRepayments.vue?32fd","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyRepayments.vue?644f","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyRepayments.vue?5d87","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyRepayments.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyExpenses.vue?6673","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyExpenses.vue?a53c","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyExpenses.vue?a04f","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyExpenses.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Liabilities.vue?5f50","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Liabilities.vue?ea80","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/Liabilities.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MotorVehicleDetailsAndFinancedAmount.vue?23f2","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MotorVehicleDetailsAndFinancedAmount.vue?cec1","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MotorVehicleDetailsAndFinancedAmount.vue?187e","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/MotorVehicleDetailsAndFinancedAmount.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ChangeInCircumstances.vue?6055","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ChangeInCircumstances.vue?0cbb","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ChangeInCircumstances.vue?8387","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ChangeInCircumstances.vue","webpack:///./src/shared/components/auditHistory/AnnatureAuditLogs.vue?b9dc","webpack:///./src/shared/components/auditHistory/AnnatureAuditLogs.vue?cd1d","webpack:///./src/shared/components/auditHistory/AnnatureAuditLogs.vue?2886","webpack:///./src/shared/components/auditHistory/AnnatureAuditLogs.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogsActionButton.vue?fe8f","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogs.vue?3bd5","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogs.vue?6213","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogs.vue?b5e1","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogs.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogsActionButton.vue?8f34","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogsActionButton.vue?90d6","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogsActionButton.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationNotes.vue?946b","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationNotes.vue?e6c4","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationNotes.vue?3fbd","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationNotes.vue","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationWizard.vue?d6bb","webpack:///./src/shared/enums/bankStatementTransactionStatus.enum.ts","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationWizard.vue?0046","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationWizard.vue","webpack:///./src/components/admin/bankReconciliation/BankRecAndUploadBankFile.vue?afa3","webpack:///./src/components/admin/bankReconciliation/BankReconciliation.vue?799a","webpack:///./src/components/admin/bankReconciliation/BankRecActionButtons.vue?c869","webpack:///./src/components/admin/bankReconciliation/BankRecActionButtons.vue?a8e6","webpack:///./src/components/admin/bankReconciliation/BankRecActionButtons.vue?3470","webpack:///./src/components/admin/bankReconciliation/BankRecActionButtons.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAndClientDetailsList.vue?d711","webpack:///./src/shared/components/selectRecord/SelectRecordCheckBox.vue?b04c","webpack:///./src/shared/components/selectRecord/SelectRecordCheckBox.vue?93ce","webpack:///./src/shared/components/selectRecord/SelectRecordCheckBox.vue?b93f","webpack:///./src/shared/components/selectRecord/SelectRecordCheckBox.vue","webpack:///./src/shared/components/selectRecord/SelectAllRecordsCheckBox.vue?6bd7","webpack:///./src/shared/components/selectRecord/SelectAllRecordsCheckBox.vue?07f3","webpack:///./src/shared/components/selectRecord/SelectAllRecordsCheckBox.vue?ba5e","webpack:///./src/shared/components/selectRecord/SelectAllRecordsCheckBox.vue","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAndClientDetailsList.vue?495e","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAndClientDetailsList.vue?0105","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleAndClientDetailsList.vue","webpack:///./src/components/admin/bankReconciliation/NavigateToLedgerActionButton.vue?2aee","webpack:///./src/components/admin/bankReconciliation/NavigateToLedgerActionButton.vue?54ef","webpack:///./src/components/admin/bankReconciliation/NavigateToLedgerActionButton.vue?a300","webpack:///./src/components/admin/bankReconciliation/NavigateToLedgerActionButton.vue","webpack:///./src/components/admin/finance/LedgerSelectList.vue?c251","webpack:///./src/components/admin/finance/LedgerSelectList.vue?3d6e","webpack:///./src/components/admin/finance/LedgerSelectList.vue?31dc","webpack:///./src/components/admin/finance/LedgerSelectList.vue","webpack:///./src/components/admin/finance/VehicleLedgerSelectList.vue?dfb6","webpack:///./src/components/admin/finance/VehicleLedgerSelectList.vue?f143","webpack:///./src/components/admin/finance/VehicleLedgerSelectList.vue?bcb5","webpack:///./src/components/admin/finance/VehicleLedgerSelectList.vue","webpack:///./src/shared/components/dataTable/GroupedDataTable.vue?7fab","webpack:///./src/shared/components/dataTable/GroupedDataTable.vue?093f","webpack:///./src/shared/components/dataTable/GroupedDataTable.vue?94ac","webpack:///./src/shared/components/dataTable/GroupedDataTable.vue","webpack:///./src/components/admin/bankReconciliation/BankReconciliation.vue?113e","webpack:///./src/shared/enums/bankStatementInfoFileStatus.enum.ts","webpack:///./src/components/admin/bankReconciliation/BankReconciliation.vue?8199","webpack:///./src/components/admin/bankReconciliation/BankReconciliation.vue","webpack:///./src/components/admin/bankReconciliation/BankFileUpload.vue?ec7a","webpack:///./src/components/admin/bankReconciliation/BankFileStatusText.vue?a111","webpack:///./src/components/admin/bankReconciliation/BankFileStatusText.vue?cdfa","webpack:///./src/components/admin/bankReconciliation/BankFileStatusText.vue?3a4d","webpack:///./src/components/admin/bankReconciliation/BankFileStatusText.vue","webpack:///./src/components/admin/bankReconciliation/BankFileUpload.vue?0d2e","webpack:///./src/components/admin/bankReconciliation/BankFileUpload.vue?b845","webpack:///./src/components/admin/bankReconciliation/BankFileUpload.vue","webpack:///./src/components/admin/bankReconciliation/BankBalances.vue?6849","webpack:///./src/components/admin/bankReconciliation/BankBalances.vue?97ab","webpack:///./src/components/admin/bankReconciliation/BankBalances.vue?58d2","webpack:///./src/components/admin/bankReconciliation/BankBalances.vue","webpack:///./src/components/admin/bankReconciliation/BankTransactions.vue?70d6","webpack:///./src/components/admin/bankReconciliation/BankTransactionActionButtons.vue?9e79","webpack:///./src/components/admin/bankReconciliation/BankTransactionActionButtons.vue?ef21","webpack:///./src/components/admin/bankReconciliation/BankTransactionActionButtons.vue?6e3a","webpack:///./src/components/admin/bankReconciliation/BankTransactionActionButtons.vue","webpack:///./src/components/admin/bankReconciliation/BankTransactions.vue?6eb5","webpack:///./src/components/admin/bankReconciliation/BankTransactions.vue?941b","webpack:///./src/components/admin/bankReconciliation/BankTransactions.vue","webpack:///./src/components/admin/bankReconciliation/BankRecAndUploadBankFile.vue?aeb3","webpack:///./src/components/admin/bankReconciliation/BankRecAndUploadBankFile.vue?8a4d","webpack:///./src/components/admin/bankReconciliation/BankRecAndUploadBankFile.vue","webpack:///./src/components/admin/financierManagement/FinancierList.vue?9275","webpack:///./src/components/admin/financierManagement/FinancierListActionButtons.vue?230e","webpack:///./src/components/admin/financierManagement/FinancierListActionButtons.vue?68f4","webpack:///./src/components/admin/financierManagement/FinancierListActionButtons.vue?438c","webpack:///./src/components/admin/financierManagement/FinancierListActionButtons.vue","webpack:///./src/components/admin/financierManagement/EditFinancierLink.vue?1246","webpack:///./src/components/admin/financierManagement/EditFinancierLink.vue?5201","webpack:///./src/components/admin/financierManagement/EditFinancierLink.vue?be40","webpack:///./src/components/admin/financierManagement/EditFinancierLink.vue","webpack:///./src/components/admin/financierManagement/FinancierList.vue?6cd3","webpack:///./src/components/admin/financierManagement/FinancierList.vue?38d5","webpack:///./src/components/admin/financierManagement/FinancierList.vue","webpack:///./src/components/admin/financierManagement/FinancierDetails.vue?caab","webpack:///./src/components/admin/financierManagement/AddEditFinancier.vue?33cd","webpack:///./src/components/admin/financierManagement/AddEditFinancier.vue?a6b8","webpack:///./src/components/admin/financierManagement/AddEditFinancier.vue?1bcb","webpack:///./src/components/admin/financierManagement/AddEditFinancier.vue","webpack:///./src/components/admin/financierManagement/FinancierDetails.vue?2c91","webpack:///./src/components/admin/financierManagement/FinancierDetails.vue?5732","webpack:///./src/components/admin/financierManagement/FinancierDetails.vue","webpack:///./src/components/admin/supplierManagement/SupplierList.vue?5589","webpack:///./src/components/admin/supplierManagement/SupplierListActionButtons.vue?498b","webpack:///./src/components/admin/supplierManagement/SupplierListActionButtons.vue?7e45","webpack:///./src/components/admin/supplierManagement/SupplierListActionButtons.vue?40e8","webpack:///./src/components/admin/supplierManagement/SupplierListActionButtons.vue","webpack:///./src/components/admin/supplierManagement/EditSupplierLink.vue?4515","webpack:///./src/components/admin/supplierManagement/EditSupplierLink.vue?04cb","webpack:///./src/components/admin/supplierManagement/EditSupplierLink.vue?ab34","webpack:///./src/components/admin/supplierManagement/EditSupplierLink.vue","webpack:///./src/components/admin/supplierManagement/SupplierList.vue?f556","webpack:///./src/components/admin/supplierManagement/SupplierList.vue?e87f","webpack:///./src/components/admin/supplierManagement/SupplierList.vue","webpack:///./src/components/admin/supplierManagement/SupplierDetails.vue?594c","webpack:///./src/components/admin/supplierManagement/AddEditSupplier.vue?18cb","webpack:///./src/components/admin/supplierManagement/AddEditSupplier.vue?48fc","webpack:///./src/components/admin/supplierManagement/AddEditSupplier.vue?31c8","webpack:///./src/components/admin/supplierManagement/AddEditSupplier.vue","webpack:///./src/components/admin/supplierManagement/SupplierDetails.vue?3254","webpack:///./src/components/admin/supplierManagement/SupplierDetails.vue?4c9b","webpack:///./src/components/admin/supplierManagement/SupplierDetails.vue","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseDetails.vue?da07","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentSchdule.vue?a358","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleAuditLogs.vue?2ae8","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleAuditLogs.vue?2977","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleAuditLogs.vue?e44a","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleAuditLogs.vue","webpack:///./src/components/admin/vehicleLeaseManagement/ManualLeasePayments.vue?d8a3","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleStatus.vue?43ff","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleStatus.vue?bdc2","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleStatus.vue?af1a","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentScheduleStatus.vue","webpack:///./src/components/admin/vehicleLeaseManagement/ManualLeasePayments.vue?29be","webpack:///./src/components/admin/vehicleLeaseManagement/ManualLeasePayments.vue?d3d4","webpack:///./src/components/admin/vehicleLeaseManagement/ManualLeasePayments.vue","webpack:///./src/components/admin/vehicleLeaseManagement/AddLeaseSchedule.vue?e1c6","webpack:///./src/components/admin/vehicleLeaseManagement/AddLeaseSchedule.vue?4aaf","webpack:///./src/components/admin/vehicleLeaseManagement/AddLeaseSchedule.vue?6aff","webpack:///./src/components/admin/vehicleLeaseManagement/AddLeaseSchedule.vue","webpack:///./src/components/client/vehicle/ScheduledPaymentStatusSelectList.vue?b5b6","webpack:///./src/components/client/vehicle/ScheduledPaymentStatusSelectList.vue?aa67","webpack:///./src/components/client/vehicle/ScheduledPaymentStatusSelectList.vue?9e3c","webpack:///./src/components/client/vehicle/ScheduledPaymentStatusSelectList.vue","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentSchdule.vue?74f3","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentSchdule.vue?a0c8","webpack:///./src/components/admin/vehicleLeaseManagement/LeasePaymentSchdule.vue","webpack:///./src/components/admin/novationManagement/NovationsList.vue?6687","webpack:///./src/components/admin/novationManagement/NovationListActionButtons.vue?9c9b","webpack:///./src/components/admin/novationManagement/NovationListActionButtons.vue?16c4","webpack:///./src/components/admin/novationManagement/NovationListActionButtons.vue?d342","webpack:///./src/components/admin/novationManagement/NovationListActionButtons.vue","webpack:///./src/components/admin/novationManagement/NovationsList.vue?3e83","webpack:///./src/shared/enums/leaseReportTypes.enum.ts","webpack:///./src/components/admin/novationManagement/NovationsList.vue?b632","webpack:///./src/components/admin/novationManagement/NovationsList.vue","webpack:///./src/components/admin/vehicleLeaseManagement/LeaseReports.vue?d639","webpack:///./src/components/admin/vehicleLeaseManagement/LeaseReports.vue?954c","webpack:///./src/components/admin/vehicleLeaseManagement/LeaseReports.vue?3402","webpack:///./src/components/admin/vehicleLeaseManagement/LeaseReports.vue","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseDetails.vue?1a3c","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseDetails.vue?736b","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseDetails.vue","webpack:///./src/components/admin/novationManagement/NovationDetails.vue?a32e","webpack:///./src/components/admin/novationManagement/OdometerLogs.vue?e455","webpack:///./src/components/admin/novationManagement/EditOdometerLogLink.vue?3b62","webpack:///./src/components/admin/novationManagement/EditOdometerLogLink.vue?347b","webpack:///./src/components/admin/novationManagement/EditOdometerLogLink.vue?79df","webpack:///./src/components/admin/novationManagement/EditOdometerLogLink.vue","webpack:///./src/components/admin/novationManagement/OdometerLogsActionButtons.vue?b465","webpack:///./src/components/admin/novationManagement/OdometerLogsActionButtons.vue?099c","webpack:///./src/shared/enums/odometerLogTypes.enum.ts","webpack:///./src/components/admin/novationManagement/OdometerLogsActionButtons.vue?a44d","webpack:///./src/components/admin/novationManagement/OdometerLogsActionButtons.vue","webpack:///./src/components/admin/novationManagement/OdometerLogs.vue?f71e","webpack:///./src/shared/enums/fbtRecordUpdateTypes.enum.ts","webpack:///./src/components/admin/novationManagement/OdometerLogs.vue?eea7","webpack:///./src/components/admin/novationManagement/OdometerLogs.vue","webpack:///./src/components/admin/novationManagement/FBTDetails.vue?419c","webpack:///./src/components/admin/novationManagement/FBTRecords.vue?5795","webpack:///./src/components/admin/novationManagement/FBTRecordsActionButtons.vue?94ac","webpack:///./src/components/admin/novationManagement/FBTRecordsActionButtons.vue?8b7d","webpack:///./src/components/admin/novationManagement/FBTRecordsActionButtons.vue?4071","webpack:///./src/components/admin/novationManagement/FBTRecordsActionButtons.vue","webpack:///./src/components/admin/novationManagement/FBTRecords.vue?7c5d","webpack:///./src/components/admin/novationManagement/FBTRecords.vue?a471","webpack:///./src/components/admin/novationManagement/FBTRecords.vue","webpack:///./src/components/admin/novationManagement/FBTExemptionRecords.vue?501b","webpack:///./src/components/admin/novationManagement/ExemptionRecordsActionButtons.vue?c5f4","webpack:///./src/components/admin/novationManagement/ExemptionRecordsActionButtons.vue?b9ee","webpack:///./src/components/admin/novationManagement/ExemptionRecordsActionButtons.vue?ccd2","webpack:///./src/components/admin/novationManagement/ExemptionRecordsActionButtons.vue","webpack:///./src/components/admin/novationManagement/FBTExemptionRecords.vue?c08d","webpack:///./src/components/admin/novationManagement/FBTExemptionRecords.vue?17a2","webpack:///./src/components/admin/novationManagement/FBTExemptionRecords.vue","webpack:///./src/components/admin/novationManagement/FBTDetails.vue?00a3","webpack:///./src/shared/enums/revenueCategories.enum.ts","webpack:///./src/shared/enums/invoiceStatuses.enum.ts","webpack:///./src/components/admin/novationManagement/FBTDetails.vue?f55c","webpack:///./src/components/admin/novationManagement/FBTDetails.vue","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseInvoices.vue?0fc6","webpack:///./src/components/admin/vehicleLeaseManagement/InvoicesListActionButtons.vue?3228","webpack:///./src/components/admin/vehicleLeaseManagement/InvoicesListActionButtons.vue?c9b5","webpack:///./src/shared/enums/invoiceLineCategoryType.enum.ts","webpack:///./src/components/admin/vehicleLeaseManagement/InvoicesListActionButtons.vue?91e1","webpack:///./src/components/admin/vehicleLeaseManagement/InvoicesListActionButtons.vue","webpack:///./src/components/admin/invoices/AddEditInvoice.vue?a283","webpack:///./src/components/admin/invoices/AddEditInvoice.vue?adc8","webpack:///./src/components/admin/invoices/AddEditInvoice.vue?e1ec","webpack:///./src/components/admin/invoices/AddEditInvoice.vue","webpack:///./src/components/admin/invoices/AddInvoiceSchedule.vue?1333","webpack:///./src/components/admin/invoices/InvoiceSchedulePreview.vue?a8e2","webpack:///./src/components/admin/invoices/InvoiceSchedulePreview.vue?c323","webpack:///./src/shared/enums/invoiceFrequencyTypes.enum.ts","webpack:///./src/components/admin/invoices/InvoiceSchedulePreview.vue?4005","webpack:///./src/components/admin/invoices/InvoiceSchedulePreview.vue","webpack:///./src/components/admin/invoices/AddInvoiceSchedule.vue?2f90","webpack:///./src/components/admin/invoices/AddInvoiceSchedule.vue?870b","webpack:///./src/components/admin/invoices/AddInvoiceSchedule.vue","webpack:///./src/components/admin/vehicleLeaseManagement/InvoiceStatusSelectList.vue?5c4b","webpack:///./src/components/admin/vehicleLeaseManagement/InvoiceStatusSelectList.vue?b424","webpack:///./src/components/admin/vehicleLeaseManagement/InvoiceStatusSelectList.vue?6a91","webpack:///./src/components/admin/vehicleLeaseManagement/InvoiceStatusSelectList.vue","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseInvoices.vue?f306","webpack:///./src/shared/enums/novationReportTypes.enum.ts","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseInvoices.vue?765a","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseInvoices.vue","webpack:///./src/components/admin/novationManagement/NovationReports.vue?051e","webpack:///./src/components/admin/novationManagement/InvoiceAndPaymentSummaryReport.vue?78f2","webpack:///./src/components/admin/novationManagement/UnallocatedTransactionsLink.vue?b289","webpack:///./src/components/admin/novationManagement/UnallocatedTransactionsLink.vue?c028","webpack:///./src/components/admin/novationManagement/UnallocatedTransactionsLink.vue?48aa","webpack:///./src/components/admin/novationManagement/UnallocatedTransactionsLink.vue","webpack:///./src/components/admin/novationManagement/CustomizedReference.vue?b480","webpack:///./src/components/admin/novationManagement/CustomizedReference.vue?2ea1","webpack:///./src/components/admin/novationManagement/CustomizedReference.vue?e7df","webpack:///./src/components/admin/novationManagement/CustomizedReference.vue","webpack:///./src/components/admin/novationManagement/InvoiceAndPaymentSummaryReport.vue?59da","webpack:///./src/components/admin/novationManagement/InvoiceAndPaymentSummaryReport.vue?50ea","webpack:///./src/components/admin/novationManagement/InvoiceAndPaymentSummaryReport.vue","webpack:///./src/components/admin/novationManagement/NovationReports.vue?9677","webpack:///./src/shared/enums/serviceAgreementRecipients.enum.ts","webpack:///./src/components/admin/novationManagement/NovationReports.vue?2fff","webpack:///./src/components/admin/novationManagement/NovationReports.vue","webpack:///./src/components/admin/novationManagement/ServiceAgreementRecipient.vue?4fd3","webpack:///./src/components/admin/novationManagement/ServiceAgreementRecipient.vue?a0be","webpack:///./src/components/admin/novationManagement/ServiceAgreementRecipient.vue?b6e1","webpack:///./src/components/admin/novationManagement/ServiceAgreementRecipient.vue","webpack:///./src/components/admin/novationManagement/RelatedEntityAdminFeeChargeList.vue?ff38","webpack:///./src/components/admin/novationManagement/RelatedEntityAdminFeeChargeList.vue?0187","webpack:///./src/components/admin/novationManagement/RelatedEntityAdminFeeChargeList.vue?d1e5","webpack:///./src/components/admin/novationManagement/RelatedEntityAdminFeeChargeList.vue","webpack:///./src/components/admin/novationManagement/RelatedEntityEnvelopesList.vue?17f8","webpack:///./src/components/admin/novationManagement/RelatedEntityEnvelopesListActionButtons.vue?4ed9","webpack:///./src/shared/components/auditHistory/EnvelopeAuditLogs.vue?2042","webpack:///./src/shared/components/auditHistory/EnvelopeAuditLogs.vue?591c","webpack:///./src/shared/components/auditHistory/EnvelopeAuditLogs.vue?feff","webpack:///./src/shared/components/auditHistory/EnvelopeAuditLogs.vue","webpack:///./src/components/admin/novationManagement/RelatedEntityEnvelopesListActionButtons.vue?59d8","webpack:///./src/components/admin/novationManagement/RelatedEntityEnvelopesListActionButtons.vue?69b7","webpack:///./src/components/admin/novationManagement/RelatedEntityEnvelopesListActionButtons.vue","webpack:///./src/components/admin/novationManagement/RelatedEntityEnvelopesList.vue?7bba","webpack:///./src/components/admin/novationManagement/RelatedEntityEnvelopesList.vue?261e","webpack:///./src/components/admin/novationManagement/RelatedEntityEnvelopesList.vue","webpack:///./src/components/admin/novationManagement/NovationDetails.vue?b439","webpack:///./src/components/admin/novationManagement/NovationDetails.vue?7602","webpack:///./src/components/admin/novationManagement/NovationDetails.vue","webpack:///./src/components/client/novation/NovationDetails.vue?16a4","webpack:///./src/components/client/novation/NovationDetails.vue?414b","webpack:///./src/shared/enums/frequencyTypes.enum.ts","webpack:///./src/components/client/novation/NovationDetails.vue?9025","webpack:///./src/components/client/novation/NovationDetails.vue","webpack:///./src/components/admin/schedules/ScheduleList.vue?54df","webpack:///./src/components/admin/schedules/ScheduleListActionButtons.vue?7f20","webpack:///./src/shared/enums/scheduleTypes.enum.ts","webpack:///./src/components/admin/schedules/ScheduleListActionButtons.vue?1ae9","webpack:///./src/components/admin/schedules/ScheduleListActionButtons.vue?4be0","webpack:///./src/components/admin/schedules/ScheduleListActionButtons.vue","webpack:///./src/components/admin/schedules/ScheduleList.vue?b718","webpack:///./src/components/admin/schedules/ScheduleList.vue?1e3f","webpack:///./src/components/admin/schedules/ScheduleList.vue","webpack:///./src/components/admin/schedules/AddEditSchedule.vue?bfc2","webpack:///./src/components/admin/schedules/AddEditSchedule.vue?78e0","webpack:///./src/components/admin/schedules/AddEditSchedule.vue?fc11","webpack:///./src/components/admin/schedules/AddEditSchedule.vue","webpack:///./src/components/admin/EFTManagement/EFTDetails.vue?3b41","webpack:///./src/components/admin/EFTManagement/GenerateEFT.vue?9759","webpack:///./src/components/admin/EFTManagement/MarkTransactionCheckBox.vue?24f0","webpack:///./src/components/admin/EFTManagement/MarkTransactionCheckBox.vue?9c84","webpack:///./src/shared/enums/paymentMethods.enum.ts","webpack:///./src/components/admin/EFTManagement/MarkTransactionCheckBox.vue?dc43","webpack:///./src/components/admin/EFTManagement/MarkTransactionCheckBox.vue","webpack:///./src/components/admin/EFTManagement/GenerateEFT.vue?687c","webpack:///./src/components/admin/EFTManagement/GenerateEFT.vue?2511","webpack:///./src/components/admin/EFTManagement/GenerateEFT.vue","webpack:///./src/components/admin/EFTManagement/EFTHistory.vue?3534","webpack:///./src/components/admin/EFTManagement/EFTHistoryActionButtons.vue?4b36","webpack:///./src/components/admin/EFTManagement/EFTHistoryActionButtons.vue?dc16","webpack:///./src/components/admin/EFTManagement/EFTHistoryActionButtons.vue?c7fc","webpack:///./src/components/admin/EFTManagement/EFTHistoryActionButtons.vue","webpack:///./src/components/admin/EFTManagement/EFTHistory.vue?8053","webpack:///./src/components/admin/EFTManagement/EFTHistory.vue?e2a5","webpack:///./src/components/admin/EFTManagement/EFTHistory.vue","webpack:///./src/components/admin/EFTManagement/EFTDetails.vue?8daa","webpack:///./src/shared/enums/payeeTypes.enum.ts","webpack:///./src/components/admin/EFTManagement/EFTDetails.vue?f46a","webpack:///./src/components/admin/EFTManagement/EFTDetails.vue","webpack:///./src/components/admin/paymentManagement/PayMoney.vue?a9e0","webpack:///./src/components/admin/paymentManagement/PaymentRecord.vue?e15d","webpack:///./src/components/admin/employerManagement/clientEmployerList.vue?08ea","webpack:///./src/components/admin/employerManagement/clientEmployerList.vue?2d9b","webpack:///./src/components/admin/employerManagement/clientEmployerList.vue?e06a","webpack:///./src/components/admin/employerManagement/clientEmployerList.vue","webpack:///./src/components/admin/paymentManagement/PaymentRecord.vue?42dc","webpack:///./src/components/admin/paymentManagement/PaymentRecord.vue?4523","webpack:///./src/components/admin/paymentManagement/PaymentRecord.vue","webpack:///./src/components/admin/paymentManagement/PaymentListActionButtons.vue?eb75","webpack:///./src/components/admin/paymentManagement/PaymentListActionButtons.vue?5de0","webpack:///./src/components/admin/paymentManagement/PaymentListActionButtons.vue?ffd9","webpack:///./src/components/admin/paymentManagement/PaymentListActionButtons.vue","webpack:///./src/components/admin/paymentManagement/PayMoney.vue?c80b","webpack:///./src/components/admin/paymentManagement/PayMoney.vue?5e33","webpack:///./src/components/admin/paymentManagement/PayMoney.vue","webpack:///./src/components/admin/profile/MyProfile.vue?abed","webpack:///./src/components/admin/profile/MyProfile.vue?142a","webpack:///./src/shared/enums/expenseClaimActionTypes.enum.ts","webpack:///./src/components/admin/profile/MyProfile.vue?a60d","webpack:///./src/components/admin/profile/MyProfile.vue","webpack:///./src/components/admin/expenseClaims/submitApproveExpenseClaim.vue?20c1","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSelectList.vue?d6e4","webpack:///./src/shared/enums/vehicleSearchFilterTypes.enum.ts","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSelectList.vue?2ba1","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSelectList.vue?ede5","webpack:///./src/components/admin/motorVehicleManagement/MotorVehicleSelectList.vue","webpack:///./src/components/admin/expenseClaims/submitExpenseClaimActionButtons.vue?4c5e","webpack:///./src/components/admin/expenseClaims/submitExpenseClaimActionButtons.vue?8d70","webpack:///./src/components/admin/expenseClaims/submitExpenseClaimActionButtons.vue?8729","webpack:///./src/components/admin/expenseClaims/submitExpenseClaimActionButtons.vue","webpack:///./src/components/admin/expenseClaims/expenseClaimHistory.vue?541e","webpack:///./src/components/admin/expenseClaims/expenseClaimHistoryActionButton.vue?66f9","webpack:///./src/components/admin/expenseClaims/expenseClaimHistoryActionButton.vue?6e95","webpack:///./src/components/admin/expenseClaims/expenseClaimHistoryActionButton.vue?aba3","webpack:///./src/components/admin/expenseClaims/expenseClaimHistoryActionButton.vue","webpack:///./src/components/admin/expenseClaims/expenseClaimHistory.vue?6337","webpack:///./src/components/admin/expenseClaims/expenseClaimHistory.vue?b4dc","webpack:///./src/components/admin/expenseClaims/expenseClaimHistory.vue","webpack:///./src/components/admin/expenseClaims/AddEditInsuranceSchedule.vue?5d01","webpack:///./src/components/admin/expenseClaims/AddEditInsuranceSchedule.vue?6477","webpack:///./src/components/admin/expenseClaims/AddEditInsuranceSchedule.vue?8761","webpack:///./src/components/admin/expenseClaims/AddEditInsuranceSchedule.vue","webpack:///./src/components/admin/expenseClaims/InsuranceSchedulePreview.vue?a876","webpack:///./src/components/admin/expenseClaims/InsuranceSchedulePreview.vue?02c9","webpack:///./src/components/admin/expenseClaims/InsuranceSchedulePreview.vue?33e4","webpack:///./src/components/admin/expenseClaims/InsuranceSchedulePreview.vue","webpack:///./src/components/admin/expenseClaims/submitApproveExpenseClaim.vue?17d9","webpack:///./src/components/admin/expenseClaims/submitApproveExpenseClaim.vue?7dfc","webpack:///./src/components/admin/expenseClaims/submitApproveExpenseClaim.vue","webpack:///./src/components/admin/expenseClaims/reviewExpenseClaims.vue?875b","webpack:///./src/components/admin/expenseClaims/reviewExpenseClaims.vue?8036","webpack:///./src/components/admin/expenseClaims/reviewExpenseClaims.vue?2cb9","webpack:///./src/components/admin/expenseClaims/reviewExpenseClaims.vue","webpack:///./src/components/admin/applications/financeApplication/ApplicationDetails.vue?7e4c","webpack:///./src/components/admin/applications/financeApplication/ApplicationSummary.vue?5278","webpack:///./src/components/admin/applications/financeApplication/ApplicationSummary.vue?a0d0","webpack:///./src/components/admin/applications/financeApplication/ApplicationSummary.vue?cf82","webpack:///./src/components/admin/applications/financeApplication/ApplicationSummary.vue","webpack:///./src/components/admin/applications/financeApplication/ApplicationsList.vue?ca8e","webpack:///./src/components/admin/applications/financeApplication/ApplicationStatusTrafficLight.vue?cc26","webpack:///./src/components/admin/applications/financeApplication/ApplicationStatusTrafficLight.vue?60c8","webpack:///./src/components/admin/applications/financeApplication/ApplicationStatusTrafficLight.vue?1e1c","webpack:///./src/components/admin/applications/financeApplication/ApplicationStatusTrafficLight.vue","webpack:///./src/components/admin/applications/financeApplication/ApplicationsList.vue?90a4","webpack:///./src/components/admin/applications/financeApplication/ApplicationsList.vue?c974","webpack:///./src/components/admin/applications/financeApplication/ApplicationsList.vue","webpack:///./src/components/admin/applications/financeApplication/BrokerageReconcilation.vue?88ab","webpack:///./src/components/admin/applications/financeApplication/BrokerageReconcilation.vue?198f","webpack:///./src/components/admin/applications/financeApplication/BrokerageReconcilation.vue?ec38","webpack:///./src/components/admin/applications/financeApplication/BrokerageReconcilation.vue","webpack:///./src/components/admin/applications/financeApplication/ApplicationDetails.vue?5c07","webpack:///./src/components/admin/applications/financeApplication/ApplicationDetails.vue?3d00","webpack:///./src/components/admin/applications/financeApplication/ApplicationDetails.vue","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationDetails.vue?eabe","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationSummary.vue?45e8","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationSummary.vue?aece","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationSummary.vue?5afa","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationSummary.vue","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsList.vue?7b77","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsListActionButtons.vue?e8bf","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsListActionButtons.vue?642b","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsListActionButtons.vue?a067","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsListActionButtons.vue","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsList.vue?5ca7","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsList.vue?7dbb","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsList.vue","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationDetails.vue?c19a","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationDetails.vue?491b","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationDetails.vue","webpack:///./src/components/client/vehicle/MainVehicleUI.vue?e1c6","webpack:///./src/components/client/widgets/CurrentLeaseWidget.vue?ee85","webpack:///./src/components/client/widgets/CurrentLeaseWidget.vue?9178","webpack:///./src/components/client/widgets/CurrentLeaseWidget.vue?bc63","webpack:///./src/components/client/widgets/CurrentLeaseWidget.vue","webpack:///./src/components/client/widgets/CurrentNovationWidget.vue?6e2d","webpack:///./src/components/client/widgets/CurrentNovationWidget.vue?70ac","webpack:///./src/components/client/widgets/CurrentNovationWidget.vue?e812","webpack:///./src/components/client/widgets/CurrentNovationWidget.vue","webpack:///./src/components/client/widgets/MyExpensesWidget.vue?0af6","webpack:///./src/components/client/widgets/ActualSpentAmountCustomHeader.vue?667b","webpack:///./src/components/client/widgets/ActualSpentAmountCustomHeader.vue?e312","webpack:///./src/components/client/widgets/ActualSpentAmountCustomHeader.vue?8574","webpack:///./src/components/client/widgets/ActualSpentAmountCustomHeader.vue","webpack:///./src/components/client/widgets/BudgetPercentage.vue?8005","webpack:///./src/components/client/widgets/BudgetPercentage.vue?6390","webpack:///./src/components/client/widgets/BudgetPercentage.vue?f3d2","webpack:///./src/components/client/widgets/BudgetPercentage.vue","webpack:///./src/components/client/widgets/MyExpensesWidget.vue?a1a7","webpack:///./src/components/client/widgets/MyExpensesWidget.vue?012c","webpack:///./src/components/client/widgets/MyExpensesWidget.vue","webpack:///./src/components/client/widgets/ScheduledPaymentsWidget.vue?4ece","webpack:///./src/components/client/widgets/ScheduledPaymentsWidget.vue?10cd","webpack:///./src/components/client/widgets/ScheduledPaymentsWidget.vue?8cc4","webpack:///./src/components/client/widgets/ScheduledPaymentsWidget.vue","webpack:///./src/components/client/widgets/ExpenseClaimsWidget.vue?ea4b","webpack:///./src/components/client/widgets/ExpenseClaimsWidget.vue?cf78","webpack:///./src/components/client/widgets/ExpenseClaimsWidget.vue?f5cd","webpack:///./src/components/client/widgets/ExpenseClaimsWidget.vue","webpack:///./src/components/client/vehicle/MainVehicleUI.vue?5b1f","webpack:///./src/components/client/vehicle/MainVehicleUI.vue?f6dd","webpack:///./src/components/client/vehicle/MainVehicleUI.vue","webpack:///./src/components/admin/FBTPeriod/FBTPeriodList.vue?a73c","webpack:///./src/components/admin/FBTPeriod/FBTPeriodList.vue?fe1c","webpack:///./src/components/admin/FBTPeriod/FBTPeriodList.vue?4c48","webpack:///./src/components/admin/FBTPeriod/FBTPeriodList.vue","webpack:///./src/components/admin/FBTPeriod/AddEditFBTPeriod.vue?0d6b","webpack:///./src/components/admin/FBTPeriod/AddEditFBTPeriod.vue?6fc4","webpack:///./src/shared/enums/systemValues.enum.ts","webpack:///./src/components/admin/FBTPeriod/AddEditFBTPeriod.vue?aa07","webpack:///./src/components/admin/FBTPeriod/AddEditFBTPeriod.vue","webpack:///./src/components/admin/settings/SystemValues.vue?fa71","webpack:///./src/components/admin/settings/SystemValues.vue?662d","webpack:///./src/components/admin/settings/SystemValues.vue?719e","webpack:///./src/components/admin/settings/SystemValues.vue","webpack:///./src/components/admin/tenantManagement/TenantList.vue?8ee6","webpack:///./src/components/admin/tenantManagement/TenantList.vue?2564","webpack:///./src/components/admin/tenantManagement/TenantList.vue?f91d","webpack:///./src/components/admin/tenantManagement/TenantList.vue","webpack:///./src/components/admin/activityStatment/ActivityStatmentDetails.vue?f442","webpack:///./src/components/admin/activityStatment/ActivitySummary.vue?d773","webpack:///./src/components/admin/activityStatment/ActivitySummary.vue?b816","webpack:///./src/components/admin/activityStatment/ActivitySummary.vue?9a00","webpack:///./src/components/admin/activityStatment/ActivitySummary.vue","webpack:///./src/components/admin/activityStatment/ActivityTransactionList.vue?ddcf","webpack:///./src/components/admin/activityStatment/ActivityStatementSelectRow.vue?d1ed","webpack:///./src/components/admin/activityStatment/ActivityStatementSelectRow.vue?21f9","webpack:///./src/components/admin/activityStatment/ActivityStatementSelectRow.vue?44b8","webpack:///./src/components/admin/activityStatment/ActivityStatementSelectRow.vue","webpack:///./src/components/admin/activityStatment/SelectAllCustomHeader.vue?5d30","webpack:///./src/components/admin/activityStatment/SelectAllCustomHeader.vue?5f00","webpack:///./src/components/admin/activityStatment/SelectAllCustomHeader.vue?31e3","webpack:///./src/components/admin/activityStatment/SelectAllCustomHeader.vue","webpack:///./src/components/admin/activityStatment/ActivityTransactionList.vue?bbc0","webpack:///./src/components/admin/activityStatment/ActivityTransactionList.vue?c7d8","webpack:///./src/components/admin/activityStatment/ActivityTransactionList.vue","webpack:///./src/components/admin/activityStatment/ActivityStatmentDetails.vue?8d66","webpack:///./src/components/admin/activityStatment/ActivityStatmentDetails.vue?3fc2","webpack:///./src/components/admin/activityStatment/ActivityStatmentDetails.vue","webpack:///./src/components/client/vehicle/VehicleLeasePaymentSchedule.vue?0738","webpack:///./src/components/client/vehicle/VehicleLeasePaymentSchedule.vue?ba52","webpack:///./src/components/client/vehicle/VehicleLeasePaymentSchedule.vue?c9e5","webpack:///./src/components/client/vehicle/VehicleLeasePaymentSchedule.vue","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceList.vue?2c2b","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceListActionButtons.vue?368e","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceListActionButtons.vue?7495","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceListActionButtons.vue?4275","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceListActionButtons.vue","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceLineLink.vue?550c","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceLineLink.vue?2423","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceLineLink.vue?a95e","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceLineLink.vue","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceList.vue?bf2f","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceList.vue?bbe1","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceList.vue","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceLineList.vue?3175","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceLineList.vue?b697","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceLineList.vue?e74e","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceLineList.vue","webpack:///./src/components/admin/ledgerBalance/LedgerBalance.vue?7f79","webpack:///./src/components/admin/motorVehicleManagement/VehicleStatusSelectList.vue?be61","webpack:///./src/components/admin/motorVehicleManagement/VehicleStatusSelectList.vue?2594","webpack:///./src/components/admin/motorVehicleManagement/VehicleStatusSelectList.vue?479a","webpack:///./src/components/admin/motorVehicleManagement/VehicleStatusSelectList.vue","webpack:///./src/components/shared/NavigateToActiveClient.vue?8f23","webpack:///./src/components/shared/NavigateToActiveClient.vue?9cfe","webpack:///./src/components/shared/NavigateToActiveClient.vue?b54b","webpack:///./src/components/shared/NavigateToActiveClient.vue","webpack:///./src/components/shared/NavigateToActiveVehicle.vue?eab1","webpack:///./src/components/shared/NavigateToActiveVehicle.vue?9009","webpack:///./src/components/shared/NavigateToActiveVehicle.vue?d3b1","webpack:///./src/components/shared/NavigateToActiveVehicle.vue","webpack:///./src/components/shared/NavigateToNovationLedger.vue?3eea","webpack:///./src/components/shared/NavigateToNovationLedger.vue?2453","webpack:///./src/components/shared/NavigateToNovationLedger.vue?843c","webpack:///./src/components/shared/NavigateToNovationLedger.vue","webpack:///./src/components/admin/ledgerBalance/LedgerBalance.vue?9075","webpack:///./src/components/admin/ledgerBalance/LedgerBalance.vue?561c","webpack:///./src/components/admin/ledgerBalance/LedgerBalance.vue","webpack:///./src/components/admin/finance/UnAllocatedTransactionList.vue?5aec","webpack:///./src/components/admin/finance/UnAllocatedTransactionList.vue?c51a","webpack:///./src/components/admin/finance/UnAllocatedTransactionList.vue?00cc","webpack:///./src/components/admin/finance/UnAllocatedTransactionList.vue","webpack:///./src/components/admin/novationManagement/EntitiesWithoutInvoices.vue?4b62","webpack:///./src/components/shared/NavigateToNovationInvoices.vue?93bb","webpack:///./src/components/shared/NavigateToNovationInvoices.vue?86c2","webpack:///./src/components/shared/NavigateToNovationInvoices.vue?dd1c","webpack:///./src/components/shared/NavigateToNovationInvoices.vue","webpack:///./src/components/admin/novationManagement/EntitiesWithoutInvoices.vue?ed50","webpack:///./src/components/admin/novationManagement/EntitiesWithoutInvoices.vue?b92f","webpack:///./src/components/admin/novationManagement/EntitiesWithoutInvoices.vue","webpack:///./src/components/admin/novationManagement/EntitiesWithoutServiceAgreement.vue?7217","webpack:///./src/components/shared/NavigateToNovationDetails.vue?8d6d","webpack:///./src/components/shared/NavigateToNovationDetails.vue?6ec8","webpack:///./src/components/shared/NavigateToNovationDetails.vue?522d","webpack:///./src/components/shared/NavigateToNovationDetails.vue","webpack:///./src/components/admin/novationManagement/EntitiesWithoutServiceAgreement.vue?19dc","webpack:///./src/components/admin/novationManagement/EntitiesWithoutServiceAgreement.vue?c66b","webpack:///./src/components/admin/novationManagement/EntitiesWithoutServiceAgreement.vue","webpack:///./src/components/admin/finance/EntitiesWithOutstandingBalance.vue?d995","webpack:///./src/components/shared/NavigateToNovationReports.vue?9ba5","webpack:///./src/components/shared/NavigateToNovationReports.vue?c460","webpack:///./src/components/shared/NavigateToNovationReports.vue?2330","webpack:///./src/components/shared/NavigateToNovationReports.vue","webpack:///./src/components/admin/finance/EntitiesWithOutstandingBalance.vue?9191","webpack:///./src/components/admin/finance/EntitiesWithOutstandingBalance.vue?dbbb","webpack:///./src/components/admin/finance/EntitiesWithOutstandingBalance.vue","webpack:///./src/components/admin/novationManagement/EntitiesWithoutAdminFee.vue?0fc3","webpack:///./src/components/admin/novationManagement/EntitiesWithoutAdminFee.vue?ed15","webpack:///./src/components/admin/novationManagement/EntitiesWithoutAdminFee.vue?b497","webpack:///./src/components/admin/novationManagement/EntitiesWithoutAdminFee.vue","webpack:///./src/components/client/supplierLocator/SupplierLocator.vue?caf4","webpack:///./src/shared/components/maps/GoogleMap.vue?7131","webpack:///./src/shared/components/maps/GoogleMap.vue?d123","webpack:///./src/shared/components/maps/GoogleMap.vue?46ae","webpack:///./src/shared/components/maps/GoogleMap.vue","webpack:///./src/components/client/supplierLocator/SupplierLocator.vue?2737","webpack:///./src/components/client/supplierLocator/SupplierLocator.vue?2337","webpack:///./src/components/client/supplierLocator/SupplierLocator.vue","webpack:///./src/components/admin/vehicleLeaseManagement/ResidualDueReport.vue?6dd0","webpack:///./src/components/shared/NavigateToLeasesDetails.vue?2d9a","webpack:///./src/components/shared/NavigateToLeasesDetails.vue?a70c","webpack:///./src/components/shared/NavigateToLeasesDetails.vue?8440","webpack:///./src/components/shared/NavigateToLeasesDetails.vue","webpack:///./src/components/shared/NavigateToLease.vue?8930","webpack:///./src/components/shared/NavigateToLease.vue?f8c1","webpack:///./src/components/shared/NavigateToLease.vue?29ed","webpack:///./src/components/shared/NavigateToLease.vue","webpack:///./src/components/admin/vehicleLeaseManagement/ResidualDueReport.vue?50f6","webpack:///./src/components/admin/vehicleLeaseManagement/ResidualDueReport.vue?5e25","webpack:///./src/components/admin/vehicleLeaseManagement/ResidualDueReport.vue","webpack:///./src/components/admin/financierManagement/FinancierRemittanceAdvice.vue?b384","webpack:///./src/components/admin/financierManagement/FinancierRemittanceAdvice.vue?7dfa","webpack:///./src/components/admin/financierManagement/FinancierRemittanceAdvice.vue?95f4","webpack:///./src/components/admin/financierManagement/FinancierRemittanceAdvice.vue","webpack:///./src/components/client/vehicle/VehicleInsuranceSchedule.vue?f11d","webpack:///./src/components/client/scheduledPayments/InsuranceSchedule.vue?6a44","webpack:///./src/components/client/scheduledPayments/InsuranceSchedule.vue?1050","webpack:///./src/components/client/scheduledPayments/InsuranceSchedule.vue?151c","webpack:///./src/components/client/scheduledPayments/InsuranceSchedule.vue","webpack:///./src/components/client/scheduledPayments/VehicleInsuranceScheduleAuditLogs.vue?1947","webpack:///./src/components/client/scheduledPayments/VehicleInsuranceScheduleAuditLogs.vue?b71a","webpack:///./src/components/client/scheduledPayments/VehicleInsuranceScheduleAuditLogs.vue?b9ef","webpack:///./src/components/client/scheduledPayments/VehicleInsuranceScheduleAuditLogs.vue","webpack:///./src/components/client/vehicle/VehicleInsuranceSchedule.vue?1e72","webpack:///./src/components/client/vehicle/VehicleInsuranceSchedule.vue?ef43","webpack:///./src/components/client/vehicle/VehicleInsuranceSchedule.vue","webpack:///./src/components/admin/expenseClaims/submitExpenseClaim.vue?d3ed","webpack:///./src/components/admin/expenseClaims/expenseClaimLineCard.vue?8ebb","webpack:///./src/components/admin/expenseClaims/ExpenseClaimSupportingDocRequirementText.vue?f560","webpack:///./src/components/admin/expenseClaims/ExpenseClaimSupportingDocRequirementText.vue?79c4","webpack:///./src/components/admin/expenseClaims/ExpenseClaimSupportingDocRequirementText.vue?bca7","webpack:///./src/components/admin/expenseClaims/ExpenseClaimSupportingDocRequirementText.vue","webpack:///./src/components/admin/expenseClaims/expenseClaimLineCard.vue?c280","webpack:///./src/components/admin/expenseClaims/expenseClaimLineCard.vue?752e","webpack:///./src/components/admin/expenseClaims/expenseClaimLineCard.vue","webpack:///./src/components/admin/expenseClaims/submitExpenseClaim.vue?431c","webpack:///./src/components/admin/expenseClaims/submitExpenseClaim.vue?c804","webpack:///./src/components/admin/expenseClaims/submitExpenseClaim.vue","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYears.vue?b691","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYearsActionButtons.vue?96c0","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYearsActionButtons.vue?4b8f","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYearsActionButtons.vue?e3a3","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYearsActionButtons.vue","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYears.vue?41db","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYears.vue?29c7","webpack:///./src/components/admin/novationManagement/NovationsExceedingFourFBTYears.vue","webpack:///./src/router/router.ts","webpack:///./src/store/modules/financeApplication.ts","webpack:///./src/store/modules/invoice.ts","webpack:///./src/store/modules/leaseprepayments.ts","webpack:///./src/store/modules/treeView.ts","webpack:///./src/store/modules/notes.ts","webpack:///./src/store/modules/documents.ts","webpack:///./src/store/modules/profileInfo.ts","webpack:///./src/store/modules/applicationsList.ts","webpack:///./src/store/modules/eftDetails.ts","webpack:///./src/store/modules/activityStatement.ts","webpack:///./src/store/modules/ledgerFilters.ts","webpack:///./src/store/modules/addressAndRelatedEntity.ts","webpack:///./src/store/modules/clientFinanceApplication.ts","webpack:///./src/store/modules/dashboardInfo.ts","webpack:///./src/store/modules/recurringScheduledPayment.ts","webpack:///./src/store/store.ts","webpack:///./src/shared/services/apiService.ts","webpack:///./src/App.vue?60ad","webpack:///./src/App.vue?5197","webpack:///./src/App.vue","webpack:///./src/main.ts","webpack:///./src/components/admin/novationManagement/EditOdometerLogLink.vue?1621","webpack:///./src/components/admin/activityStatment/SelectAllCustomHeader.vue?c41f","webpack:///./src/components/admin/bankReconciliation/BankTransactions.vue?fb56","webpack:///./src/shared/components/tabs/TopTabs.vue?6592","webpack:///./src/components/admin/invoices/InvoiceActionButtons.vue?3c5a","webpack:///./src/shared/components/currency/ApexCurrency.vue?bfa2","webpack:///./src/components/client/widgets/CurrentNovationWidget.vue?7e91","webpack:///./src/components/admin/signatories/AddEditSignatory.vue?c801","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/TableActionButtons.vue?c967","webpack:///./src/components/admin/novationManagement/FBTExemptionRecords.vue?f854","webpack:///./src/components/admin/bankReconciliation/BankFileUpload.vue?010e","webpack:///./src/components/admin/clientManagement/ClientCommunicationLogsActionButtons.vue?7e4b","webpack:///./src/components/admin/applicationManagement/clientFinanceApplicationManagement/PersonalDetails.vue?2569","webpack:///./src/components/admin/invoices/EditInvoiceLink.vue?71fd","webpack:///./src/components/admin/bankAccount/AddEditBankAccount.vue?dcf2","webpack:///./src/components/admin/Dashboard.vue?a376","webpack:///./src/components/client/supplierLocator/SupplierLocator.vue?a123","webpack:///./src/components/admin/novationManagement/NovationDetails.vue?5e7b","webpack:///./src/components/admin/bankReconciliation/NavigateToLedgerActionButton.vue?9fce","webpack:///./src/components/admin/applications/clientFinanceApplication/ApplicationsListActionButtons.vue?7b59","webpack:///./src/components/admin/paymentManagement/PaymentRecord.vue?b538","webpack:///./src/components/admin/companyDetails/CompanyConfig.vue?9405","webpack:///./src/shared/components/dataTable/DataTable.vue?bf78","webpack:///./src/shared/components/documentUploader/DocumentListActionButtons.vue?4104","webpack:///./src/shared/components/busyIndicator/WidgetBusyIndicator.vue?54d3","webpack:///./src/components/admin/finance/Ledger.vue?cd9e","webpack:///./src/components/admin/finance/TransferLedgerBalanceModal.vue?0e6e","webpack:///./src/components/client/vehicle/VehicleInsuranceSchedule.vue?97cc","webpack:///./src/components/admin/bankReconciliation/BankTransactionActionButtons.vue?5d3a","webpack:///./src/components/client/widgets/VehicleBasicDetailsWidget.vue?7056","webpack:///./src/components/admin/novationManagement/NovationReports.vue?ead7","webpack:///./src/components/client/vehicle/MainVehicleUI.vue?c411","webpack:///./src/components/admin/expenseClaims/expenseClaimsAuditLogsActionButton.vue?605c","webpack:///./src/components/admin/schedules/ScheduleListActionButtons.vue?1dd1","webpack:///./src/components/admin/paymentManagement/PaymentListActionButtons.vue?85ee","webpack:///./src/components/client/vehicle/ScheduledPaymentStatusSelectList.vue?4f00","webpack:///./src/shared/components/busyIndicator/BusyIndicator.vue?e089","webpack:///./src/components/admin/novationManagement/AddEditFBTCostBase.vue?e37a","webpack:///./src/components/admin/applications/financeApplication/ApplicationSummary.vue?9cd1","webpack:///./src/components/admin/bankAccount/BankAccountListActionButtons.vue?31a2","webpack:///./src/components/admin/widgets/EntitiesWithoutAdminFeeWidget.vue?5bde","webpack:///./src/shared/components/address/AutoCompleteAddressSearch.vue?ba1a","webpack:///./src/components/admin/RCTIInvoice/RCTIInvoiceListActionButtons.vue?cdf7","webpack:///./src/components/admin/widgets/EntitiesWithoutServiceAgreementWidget.vue?14aa","webpack:///./src/components/admin/clientManagement/ClientListActionButtons.vue?cec4","webpack:///./src/shared/components/auditHistory/GroupedAuditHistoryLogs.vue?48c5","webpack:///./src/components/admin/EFTManagement/EFTDetails.vue?9d73","webpack:///./src/components/admin/clientManagement/ClientDetails.vue?40ad","webpack:///./src/components/admin/vehicleLeaseManagement/VehicleLeaseInvoices.vue?cba1","webpack:///./src/components/admin/signatories/Signatories.vue?1255"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","map","webpackContext","req","id","webpackContextResolve","e","Error","code","keys","resolve","FinanceApplicationStates","FinanceApplicationStatusOptions","ApplicationType","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","staticRenderFns","CookieService","cookies","arguments","undefined","JsCookies","_classCallCheck","_createClass","expirationTime","set","expires","remove","cookieService","state","token","JSON","parse","namespaced","getters","isAuthorizedRole","role","userRoleList","access","includes","String","isAuthorized","roleList","some","isAuthenticated","getToken","mutations","setToken","actions","fetchToken","context","signInInfo","apiService","sendPostRequest","credentials","clientInfo","storeToken","commit","rememberMe","destroyToken","removeToken","AuthModule","isBusy","count","getIsBusy","setIsBusyValue","storeIsBusyValue","BusyIndicatorModule","ColorConvertService","hex","alpha","parseInt","g","b","col","amt","darkenColor","toString","colorConvertService","baseColorCode","sessionStorage","getItem","baseSuccessColorCode","baseWarningColorCode","baseErrorColourCode","baseNoteColorCode","favIconImageUri","logoImageUri","getBaseColorCode","getBaseSuccessColorCode","getBaseWarningColorCode","getBaseErrorColorCode","getLogoImageUri","getFavIconImageUri","setBaseColorCode","selectedColor","selectedSuccessColor","selectedWarningColor","selectedErrorColor","selectedNoteColor","setLogoImageUri","setFavIconImageUri","changeBaseColorCodes","appDiv","document","getElementById","style","setProperty","hexToRGB","darkPrimary","lightenDarkenColor","setItem","changeLogoImageUri","changeFavIconImageUri","changeSystemSettings","sendGetRequest","then","response","themeColor","params","successColor","warningColor","errorColor","noteColor","ThemeStoreModule","DirtyValidatorService","currentReferenceNumber","model","clearChanges","initialObject","cloneObject","list","initialObj","currentObj","objectColltoClone","tmpObj","prop","Array","clonedArray","referenceNumbers","message","isDirty","isPageDirty","isAllModelsDirty","isYes","confirm","clearAllChanges","clearChangesAllByReferences","_step","_iterator","_createForOfIteratorHelper","done","objArrayItem","curObj","iniObj","err","f","modelvalidatorServiceReference","useStrictComparison","isDirtyWithStrictComparison","modelvalidatorServiceReferenceArray","_this","forEach","referenceNumber","isModelDirty","index","objectcoll","UserRoles","dirtyValidatorService","on","navigateToExpenseClaims","_v","_s","systemWideDashboardInfo","pendingApprovalExpenseClaimReimbursementCount","pendingApprovalExpenseClaimBillCount","entitiesWithoutInvoicesCount","navigateToEFT","pendingFundTransferCountEFT","pendingFundTransferAmountEFT","pendingFundTransferCountBPay","pendingFundTransferAmountBPay","entitiesWithOutstandingBalanceCount","navigeteToBankReconciliation","unpostedBankTransactionCount","getDate","lastBankTransactionReceivedDate","getTime","entitiesWithoutServiceAgreement","_e","residualDueLeasesCount","entitiesWithOutAdminFeeCount","novationsExceedingFourFBTYearsCount","$store","getUserDisplayName","clientDashboardInfo","displayClientPortalInfo","clientPortalInfoText","isBankAccountAvailable","onChangeVehiclesFilterToggler","callback","$$v","isVehiclesFilterTogglerActive","expression","vehicleDetailsWidgets","$event","navigateToSupplierLocator","_l","widgetData","vehicleCount","supplierId","barChartType","ref","BarChart","_Vue","_callSuper","_inherits","loadChart","$refs","horizontalBar","renderChart","labels","datasets","backgroundColor","backgroundColors","label","options","verticalBar","Vue","__decorate","Prop","Watch","Component","components","HorizontalBar","Bar","component","vehicleImageSource","onCropVehicleImage","onCancelCropVehicleImage","slot","showDeleteImageConfirmation","okayToDeleteImage","hideFooter","showRecurringScheduledPaymentPopup","motorVehicleId","navigateToVehicleDashboard","truncateVehicleDisplayName","vehicleDisplayName","showResidualDueMessages","showInsuranceRenewalMsg","showRegoRenewalMsg","scopedSlots","_u","fn","proxy","class","regoRenewalOverdue","regoRenewalMsg","insuranceRenewalOverdue","insuranceRenewalMsg","getResidualMsgDataList","leaseDetails","leaseId","residualDueOverdue","residualDueMsg","vehicleImageUri","initialVehicleImageUri","avatarMode","fileExists","onImageChanged","onCropModalOpen","onCropModalClose","onDeleteVehicleImage","plateNumber","vin","regoRenewalDisplayDate","insuranceRenewalDisplayDate","pendingExpenseClaimCount","goToReimbursementClaim","goToBillExpenseClaim","staticStyle","accept","filesChange","target","files","selectedFile","imgUri","fileUploaded","avatarContainerClass","fromClientDashboard","temporaryImage","onUploadButtonClicked","onDeleteButtonClicked","width","height","fontSize","_f","size","deleteFile","changeLabelClass","changeLabel","altImage","dummyImage","excludeResponsivePB","additionalMessage","errorMessage","AppSettings","defaultGridSize","reducedGridSize","reducedLedgerGridSize","maxFileUploadSizeInMB","eftTableGridSize","maxFileUploadLimit","FileUploader","assignedWidth","assignedHeight","assignedChangeLabel","validateFileTypes","$notify","group","modalMode","title","type","duration","OnOpenCropper","readURL","onFileChanged","fileUploader","_this2","$nextTick","dataURItoBlob","file","acceptList","split","toLowerCase","validCount","element","replace","click","keepDummy","onDeleteFile","input","reader","FileReader","onload","readAsDataURL","dataURI","byteString","atob","mimeString","ab","ArrayBuffer","ia","Uint8Array","charCodeAt","Blob","Emit","filters","fileSizeFilter","toFixed","imageURL","OnOkayToCancelImageCrop","OnOkayToCropImage","maxWidth","minHeight","minWidth","maxHeight","top","_t","Modal","default","ImageCropper","isNewImageUploaded","croppedImageURL","cropper","croppedImage","image","URL","createObjectURL","imageSrc","imageCrop","Cropper","zoomable","scalable","aspectRatio","crop","canvas","getCroppedCanvas","toDataURL","onCropImage","onCancelCrop","BlobContainerType","FileTypes","RelatedTables","AzureBlobStorageService","apiServiceInstance","axios","timeout","headers","withCredentials","baseURL","process","sasTokenProperties","method","url","blobUri","sasToken","containerType","blobContainerType","containerName","blobContainerName","blobCount","_guid","guid","sendDeleteRequest","fileId","documentId","blobService","TruncateString","showEllipsis","substr","ClientApplicationTypes","clientName","novationId","reimburseToAccountId","clientId","vehicleId","onCloseModal","showGoBackConfirmation","onOkayToGoBackDetails","isRecurringScheduledPaymentEnabled","recurringScheduledPaymentDisabledMessage","dirtyValidationRefNumbers","getRecurringScheduledPaymentStatus","disableSave","onTabChanged","onCurrentTabSelected","clients","recurringScheduledPaymenDocumentsIndex","onRecurringScheduledPaymentEligibilityChange","detailsStatus","scheduleStatus","currentTab","backDisabled","goBack","nextDisabled","goForward","totalTabs","onCreateRecurringScheduledPayment","showTabChangeConfirmation","wizardClass","tab","tabWidth","applicationType","clientFinanceApplication","isActive","completed","applicationId","changeTab","validateMandatoryFields","Wizard","tabs","financeApplication","Finance","ClientFinance","$children","$route","routerDisplayName","selectedTabName","selectedTabRouterName","isModalWizard","selectedTab","tabValidationResult","okayToNavigate","applicationStatus","$slots","componentInstance","updateModel","routeName","currentRoute","$router","currentStep","onCustomButtonClicked","updateModelOnSave","validateToComplete","onComplete","WizardTab","selected","RecurringScheduledPaymentStates","showSelectClientModal","modalModeClientListView","allowedStatusFilterSelectMode","onClientSelect","showDocumentRequirementModal","details","onSelectClientBtnClicked","$set","validateRequiredField","$v","$dirty","minValue","vehicles","onChangeVehicle","domProps","relatedEntityId","groupedRelatedEntityList","onChangeRelatedEntity","clientBankAccounts","clientBankAccountsLoaded","onChangeReimburseToAccount","categoryId","categoryList","onCategoryChange","textInput","requiredField","companyName","trim","required","startDate","dates","todayDateLocal","includeDisabled","disabledStartDates","changeStartDate","monthlyDueDate","monthlyDueDates","changeMonthlyDueDate","endDateMonthComponent","calendarMonths","changeEndDate","endDateYearComponent","disabledEndDates","gstInclusiveAmount","isDecimal","gstAmount","isValidTotalAmount","calculateGSTAmount","supportingDocsAvailable","recurringPaymentScheduleRelatedTable","selectedDocType","onDocumentsChanged","DataTableActionTypes","localViewMode","normalMode","filterGrid","onClientStatusChanged","resetButtonDisabled","resetSelectedClientStatusList","isAddButtonDisabled","navigateToAddClient","items","fields","totalRows","perPage","sortBy","globalSearchMode","selectMode","sortDesc","customTemplateList","showEmptyBanner","trClass","onPageChange","onSortingChange","onCustomDataTableEvent","emptyBanner","selectable","responsiveBreakPoint","perPageSize","table_sortBy","table_sortDesc","onRowSelected","sortingChanged","customTemplateSlot","item","customTemplate","tag","viewMode","customEvent","customHeaderTemplate","maxPageSize","hidePaginator","pageSizesList","perPageSizeChanged","paginationColor","paginationChanged","currentPage","fromIndex","toIndex","DataTable","customHeaderTemplatesCopy","customTemplatesCopy","customTemplateSlotsCopy","lastCustomAction","RowSelect","text","customHeaderTemplates","customTemplates","customTemplateSlots","selectableTable","selectRow","event","stopPropagation","clearSelected","page","ctx","onSortingChanged","resetPaginator","getClass","autofocus","placeHolder","idAppend","nativeOn","startTimer","filter","FilterTextInput","timeLeft","charCountToFilter","minCharCountToFilter","clearInterval","filterTimer","setInterval","onOkayToFilter","focus","targetString","iconClass","vehicleStatusTypes","selectedVehicleStatusType","onCloseMotorVehicles","relatedTable","deleteClient","errorsList","error","onCloseDelete","ViewVehicle","isStandardUser","emailConfirmed","getClientDeleteValidation","navigateToClient","treeDisplayData","onNodeSelected","emptyRecordsText","callapseTree","node","refInFor","onNodeClick","nodeClass","nodeTitle","toggleEvent","directives","rawName","child","onChildNodeClick","TreeRow","expanded","subscribe","mutation","TreeViewModule","showAllNodes","nodes","eventType","emitNodeClick","childNode","Tree","expandNodes","treeNodes","showAll","dispatch","VehicleStatuses","VehicleTypes","ClientMotorVehicles","motorVehicleList","loadMotorVehicles","val","oldVal","vehicleStatusTypeChanged","relatedID","selectedVehicleStatus","obj","status","navigateToNewTab","routeData","Vehicle","vehicleID","topRouteDisplayName","open","href","VehicleLease","leaseID","Novation","novationID","Inactive","Active","useSlotProps","isIncludeDate","boldText","text1","amount","text2","formatDate","text3","ApexDateTimeFormat","monthNames","date","Date","hours","getHours","minutes","getMinutes","ampm","minutesString","strTime","getMonth","getFullYear","ApexDateFormat","zeroPad","ApexMillisecondesToDaysConverter","num","places","zero","join","SystemTextErrors","PaymentRecordViewModes","BrokerageReconciliationViewModes","ClientsListViewModes","ClientsListActionButtons","showDeleteClientConfirmationModal","showClientMotorVehiclesModal","Client","Normal","ModalMode","GlobalSearchMode","isClientDeletable","StandardUser","clientID","onAction","ActionButtonSelect","catch","ResetActionButtton","_data","_type","Delete","firstName","selectClient","EditClientLink","onSelectClient","Select","ClientStatuses","InitialClientStatusFilterSelectModes","AllowedStatusFilterSelectModes","clientStatusFilterList","isPanelOpen","values","preventDefault","removeSelectedClientStatusList","selectedClientStatusFilterList","Filtrations","CLIENT_STATUSES","CLIENT_FILTER","EMPLOYER_FILTER","FINANCIER_FILTER","SUPPLIER_FILTER","CLIENT_APPLICATION_FILTER","MOTOR_VEHICLE_STATUS_FILTER","USER_STATUS","USER_FILTER","SCHEDULE_SHOW_INACTIVE","SCHEDULE_FILTER","EXPENSE_CLAIM_REVIEW","EXPENSE_CLAIM_FILTER","EXPENSE_CLAIM_FROM_DATE","EXPENSE_CLAIM_TO_DATE","EXPENSE_CLAIM_STATUS","EXPENSE_CLAIM_TYPE","EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST","GST_LEDGER_FILTER","GST_LEDGER_FROM_DATE","GST_LEDGER_TO_DATE","GST_LEDGER_STATUS","APPLICATION_STATUS","APPLICATION_FILTER","APPLICATION_SHOW_INACTIVE","ApexConstants","TENANTADMINROLE","CLIENTNROLE","STANDARDUSERROLE","SYSTEMADMINROLE","SUPPLIERROLE","CLIENT_ENTITY_TYPE","FINANCE_APPLICATIONS_WIDGET_PENDING_RECONCILIATION_BAR_INDEX","DEFAULT_COUNTRY_CENTER_LATITUDE","DEFAULT_COUNTRY_CENTER_LONGITUDE","MAP_RESULTS_ZOOM_LEVEL_1","MAP_RESULTS_ZOOM_LEVEL_2","DEFAULT_MAP_ZOOM_LEVEL","DEFAULT_RESIDUAL_DUE_DATE_WARNING_PERIOD","LEVEL_1_DISTANCE_FROM_ORIGIN","LEVEL_2_DISTANCE_FROM_ORIGIN","DEFAULT_COUNTRY","GROUP_KEY_SEPARATOR","GENERATE_PAYMENT_FILE_WARNING_THRESHOLD","ADDRESS_STATE_OTHER_TYPE","DATE_MATCHING_PATTERN","DATE_MATCHING_PATTERN_WITH_GMT_TIME","CFA_MONTHLY_REPAYMENTS_IDENTIFIER","CFA_MONTHLY_EXPENSES_IDENTIFIER","CFA_PREVIOUS_ADDRESS_IDENTIFIER","CFA_CURRENT_ADDRESS_IDENTIFIER","CFA_PREVIOUS_EMPLOYMENT_IDENTIFIER","CFA_CURRENT_EMPLOYMENT_IDENTIFIER","SA_CLIENT_RECIPIENT_EMAIL_BODY","SA_AUTHORIZED_RECIPIENT_EMAIL_BODY","SA_EMPLOYER_RECIPIENT_EMAIL_BODY","ANNATURE_ENVELOPE_EVENTS","TransactionDirection","TransactionStatus","TransactionCategoryTypes","TransactionTypes","ActivityStatementCategoryTypes","OtherCategories","ExpenseCategories","ExpenseClaimTypes","ExpenseClaimStatuses","ExpenseClaimCreationMethod","FieldValidationService","test","isValidText","startsWith","fieldValidations","email","moment","year","matchingFound","match","LookUpService","bankList","financierList","leaseTypesList","scheduleTypes","scheduleFrequencyTypes","saleTypesList","payrollSoftwareList","taxCalculationMethodList","novationReportList","leaseReportList","paymentMethodsList","payeeTypesList","userLoginStatusList","transactionTypesList","bankStatementInfoStatusList","expenseClaimTypesList","expenseClaimCategoryList","expenseCategoryList","expenseClaimStatusList","transactionStatusList","expenseClaimStatusWithoutCountList","expenseClaimStatusWithCountList","companyId","bankAccountTypes","addressStates","addressStatesWithOtherType","financeApplicationStatusList","otherCategoriesList","revenueCategoriesList","expenseAndOtherCategoriesList","expenseAndOtherCategoriesListWithNone","expenseAndRevenueCategoriesListWithNone","gstLedgerCategories","transactionCategoryTypesList","fuelCardBrandTypesList","adminFeeAndFrequency","standardUserSelectList","standardUsersAndTenantAdminsSelectList","GSTCalculationPeriodList","ActivityStatementFilterTypes","clientStatusSearchList","clientStatusList","vehicleConditionTypes","vehicleTypes","vehicleBodyTypes","vehicleTransmissionTypes","vehicleFuelTypes","vehicleColours","applicationTypesList","novationColorList","invoiceStatusesList","calendarMonthsList","vehicleSearchFilterTypes","fbtMethodList","reportTypesList","clientFinanceApplicationStatusesWithCount","clientFinanceApplicationStatusesWithoutCount","maritalStatuses","driverLicenseTypes","australianResidencyStatuses","monthlyRepayments","monthlyExpenses","assetsCategories","clientAddressTypes","vehicleStatusList","employmentTypes","invoiceFrequencies","Promise","reject","GetAllAddressStates","_this3","stateObj","_this4","reload","_this5","_this6","relatedId","relatedEntityLedgerBalances","_this7","_this8","_this9","item1","item2","_this10","_this11","getDisabledBankAccounts","companyBankAccountList","companyBankAccounts","v","disabled","Company","includeInactiveAccounts","_this12","_this13","_this14","_this15","_this16","_this17","_this18","_this19","_this20","_this21","_this22","_this23","_this24","_this25","_this26","_this27","_this28","_this29","promise1","GetExpenseCategoryList","promise2","GetOtherCategoriesList","all","expepenseCategories","a","x","category","Expense","otherCategories","Other","noneCategory","concat","_this30","_this31","GetRevenueCategoriesList","promise3","Revenue","_this32","LeasePayment","otherCategory","PaymentRefund","_this33","_this34","_this35","_this36","_this37","_this38","GetClientFinanceApplicationStatusListWithAndWithoutCount","_this39","_this40","_this41","_this42","_this43","_this44","_this45","lists","frequencyTypesList","scheduleTypesList","payrollSoftwareTypesList","taxCalculationMethodsList","transactionMatchedStatususList","monthList","_this46","_this47","_this48","_this49","clearCache","_this50","GetClientStatusListAndStatusSearchList","_this51","_this52","indexOfDeletedStatus","Deleted","_this53","_this54","_this55","_this56","_this57","_this58","_this59","_this60","_this61","_this62","_this63","_this64","_this65","reportTypes","reportData","reportType","_this66","_this67","_this68","_this69","_this70","_this71","lookupService","ClientStatusSelectList","initialClientStatusFilterSelectList","loadClientFilterList","loadInitialDetails","setInitialClientStatusSelectFilters","initialClientStatusFilterMode","OnlyActive","All","Prospect","GetClientStatusSearchList","setAllowedStatusFilters","userChanged","clientStatuses","query","isValidCommaSeparatedNumberList","queryStatusStrIds","expStatus","find","selectedClientStatusFilterIdList","clientStatusChanged","GetClientStatusList","filterList","statusFilter","userChange","ClientsList","sortable","validateAndAssignQueryParams","refreshGrid","FromIndex","Count","SortBy","SortDesc","SearchByString","RelatedId","Status","updateURL","resetTable","clientStatusMultiSelectFilterParams","resultDto","filterTextInput","resetFilterString","resetActiveFilter","rawLocation","clientsTable","setLastCustomAction","resetLastCustomAction","onDeleteClient","onViewClient","queryData","isSuccess","filterString","selectAllActiveFilters","reset","clientFilter","qp","URLSearchParams","history","replaceState","showPreviewController","dragging","isDragging","OnDragEnter","OnDragLeave","onDropDocument","uploaderEnabled","isMaxFilesExceed","clientFinanceApplicationRelatedTable","isFileMandatory","documentList","multipleAllowed","uploaderIdentifier","onInputClick","onInputChange","isAnyDocumentAvailable","showDocumentGrid","filteredDocumentTypes","onPreviewDocument","fileName","locked","fileType","docTypes","onChangeDocumentType","setNewDocumentTypeByID","createdByUserName","createdOnUtc","isDocumentDownloadButtonEnabled","onDownloadDocument","OpenDeleteConfirmation","noOfFilesAllowedToUploadText","docPreviewFileName","docPreviewURL","closeDocumentPreviewControl","showDeleteConfirmation","OnClickDeleteFile","deletingDocIndex","deletingDoc","FileViewerService","fileContent","fileExtention","appendExtention","ViewPDF","PreViewImage","pdfURL","GetViewPDFUrl","imgURL","GetPreviewImageUrl","navigator","msSaveOrOpenBlob","byteCharacters","byteNumbers","byteArray","blob","newWindow","write","encodeURI","documentUrl","doc","link","createElement","download","dispatchEvent","MouseEvent","bubbles","cancelable","view","docLink","setAttribute","display","body","appendChild","removeChild","fileViewer","DocumentPreviewControl","onCloseDocumentPreviewControl","SystemTextNotes","DragAndDropControl","dragCount","isValidDocumentList","isMaximumFileReached","ClientFinanceApplication","loadDocumentsList","filterByRelatedId","loadDocTypes","defaultDocType","fileViewerService","GetURLToPreviewDocument","documentContentString","documentName","documentExtention","GetPreviewDocumentByFile","DownloadDocument","DownloadDocumentByFile","docId","format","documents","from","AddDocumentToList","dataTransfer","getsasAndGuid","Private","docSas","newDocument","blobGuid","fileExtension","getFileExtension","uri","getDataURI","concurrencyKey","localStorage","loggedInUserName","lastUpdateByName","lastUpdatedDate","mimeType","isAcknowledgeEnabled","onChangeDocument","Save","UpdateDocumentListInStore","UploadNewDocument","onDocumentsAdded","isValidDocuments","getDocumentsByIndex","wordList","DeleteExistingDocumentList","Edit","UpdateExistingDocument","uploadFile","docParams","sendPutRequest","response2","docs","RecurringScheduledPaymentDetails","isAdmin","isClient","stepNo","Details","RecurringPaymentSchedule","relatedEntityList","to","selectedRelatedEntity","gstRate","dirtyValidatorRefNo","vehicleName","reimburseToAccountText","relatedEntityName","categoryText","clientsProp","TenantAdmin","lastName","loadLatestVehicleNovations","res","getActiveRecurringPaymentSchedulesByVehicleId","checkRecurringPaymentsEligibility","Insurance","setNewDocumentType","loadCalendarMonths","loadCategoryLists","assign","getRecurringScheduledPaymentDetails","loadVehicleList","getSelectedRelatedEntityDetails","setInitialDisabledDates","setDisabledEndDates","setDisabledStartDates","loadReimburseToAccounts","GetCalendarMonths","expenseClaimCategories","GetExpenseClaimCategoryList","getTextValueOfSelectedFields","getClientName","names","loadGroupedNovations","isLatest","onlyActiveNovations","getLatestNovations","groupList","_toConsumableArray","selectedRelatedEntities","toDate","endDate","startOf","setupRelatedEntityISODatesToLocal","endOf","isValidDate","isValidNumber","finalPaymentDueYear","finalPaymentDueDate","subtract","finalLeasePaymentDueYear","add","maxFinalPaymentDueDate","scheduleStartDate","isValidDecimal","parseFloat","saveOnUpdate","nextStep","validateStep","isValid","$invalid","isValidateDocumentList","checkValidations","relatedEntityStartDate","calculatedGSTAmount","messageText","showErrorMessage","recurringPaymentDragDropDocumentControl","getDocumentList","claimCategory","Fuel","Registration","RegistrationPapers","CTPI","InsurancePolicy","RoadSideAssistance","Washing","TyresAndService","Repairs","isEligible","mixins","validationMixin","validations","IsPreviewMode","onAddRecord","row","rowNumber","dueDate","disabledDates","$each","gstExlusiveAmount","$touch","onRemoveRecord","RecurringScheduledPaymentSchedule","Schedule","schedule","scheduleLines","recordToBeEdited","scheduleDetails","setupScheduleDates","getRecurringScheduledPaymentSchedule","createSchedules","finalScheduleDueDate","month","startScheduleDueDate","isAddedfromSchedule","nextPaymentDueDate","isSameOrBefore","rowNo","indexOf","isSameOrAfter","sort","row1","row2","isBefore","isAfter","sortSchedule","validateFields","errorRows","line","errorLines","totalGSTInclusiveAmount","RecurringScheduledPaymentPreview","Preview","preview","calculateTotalAmount","lines","formatDateValues","onShowGrowlNotification","paymentLines","startMonth","startDay","startYear","payment","day","paymentDueDate","messageType","messageTitle","RecurringScheduledPaymentWizard","previewStatus","wizardLoaded","createByName","createdDate","activeRecurringPaymentSchedules","dirtyValidationRefNos","loadClients","refNo","selectedStep","recurringScheduledPaymentWizard","changeTabByIndex","onSave","AddRecurringScheduledPayment","VehicleBasicDetailsWidget","vehicleImageChanged","isImageCropperOpened","truncateVehicleName","imageInfo","vehicleLeasesDetails","vd","showResidualDueMsg","vl","uploadVehicleImage","vehicleImageUploader","OnCropImage","promise","getsasForExisting","ProfilePicContainer","vehicleImageSas","response1","addImageReference","addReferenceResult","profilePicParams","ProfilePic","setAltImg","sasInfo","isImageChanged","resetUploder","CWidgetIcon","CBadge","busy","WidgetBusyIndicator","spinnerColor","OrbitSpinner","positiveValueClass","getCurrencyText","ApexCurrencyFormat","appendSign","minusSymbol","ApexCurrency","customPositiveValueClass","defaultReturnValue","BillsForPaymentWidget","formatter","statusText","paymentDate","CRow","CCol","CButton","navigateToProfile","supplier","primaryPersonFirstName","primaryPersonLastName","workPhone","ProfileSummaryWidget","abn","acn","mobilePhone","homePhone","webSiteURL","createdByName","lastUpadteByName","tags","loadSupplierDetails","assigneeList","onAssigneeChanged","assignee","onShowInactiveChanged","showInactive","statusLabels","statusData","barChartColor","statusBarOptions","ApplicationStatusBarChartWidget","statusWithCountList","applicationTypeCode","typeList","scales","yAxes","ticks","beginAtZero","stepSize","gridLines","drawOnChartArea","barThickness","xAxes","fontFamily","maxRotation","minRotation","legend","position","onClick","maintainAspectRatio","responsive","routeOnBarClicked","_index","onHover","array","cursor","loadAssigneeList","loadApplicationCount","GetStandardUserList","localeCompare","assigneeId","createApplicationStatusBarChart","barIndex","Completed","clickedBarIndex","navigateToEntitiesWithoutInvoicesReport","EntitiesWithoutInvoicesWidget","navigateToEntitiesOutstandingBalanceReport","EntitiesWithOutstandingBalanceWidget","navigateToEntitiesWithoutServiceAgreementReport","entitiesWithoutServiceAgreementCount","EntitiesWithoutServiceAgreementWidget","navigateToEntitiesWithoutAdminFee","EntitiesWithoutAdminFeeWidget","ClientFinanceApplicationStates","ClientFinanceApplicationQueryActionType","cfaStatusFilterList","onCfaStatusChanged","removeSelectedCfaStatusList","selectedCfaStatusFilterList","onClickNewClientApplication","deleteClientFinanceApplication","reinstateClientFinanceApplication","onCloseReinstate","changeInCircumstancesStatus","onDeleteClientFinanceApplicationClick","widthdrawnStatus","lastUpdatedByUserId","onClickReinstateCFA","ClientFinanceApplicationListActionButtons","showDeleteClientFinanceApplicationConfirmation","showReinstateCFA","ChangeInCircumstances","Withdrawn","Reinstate","ClientFinanceApplicationWidget","dateSubmitted","routeNames","initialCfaStatusFilterList","Queried","AwaitingSignature","loadClientFinanceApplicationStatusList","selectedCfaStatusFilterIdList","changeCfaStatus","clientFinanceApplicationsTable","onDeleteClientFinanceApplication","onReinstateClientFinanceApplication","application","CDropdown","CDropdownItem","Multiselect","navigateToResidualDueReport","residualDueLeaseCount","ResidualDueLeasesWidget","navigateToNovationsExceedingFourFBTYearsReport","NovationsExceedingFourFBTYearsWidget","Dashboard","listitem","uploadedDate","uploaded","pendingApprovalExpenseClaimCount","pendingReconciliationChartData","isTenantAdmin","isSupplier","isSystemAdmin","isBarChartLoaded","bankFileUploadedDatesInfoList","bankFileUploadedDatesInfo","barChartData","drawBorder","Supplier","SystemAdmin","loadBarChartData","loadClientWidgetDetails","getVehiclesFilterToggler","vehicle","filteredVehicleDetails","createChartLabels","labelList","dataList","labelName","Key","createdLabel","Math","max","clientParams","EntitiesWithoutInvoicesWidge","dirtyValidationConfirmation","navigateBack","userId","userName","routerNavigateBack","selectedTabRouteName","onIdUpdated","personalTabDirtySet","onUserNameUpdated","portalAccessTabDirtySet","userRole","onSubmit","user","$error","updateUserName","pendingChangeEmail","userRoles","buttonType","AddEditUser","userRoleText","activationEmailSent","actionType","loadUserDetails","setInitialModel","dirtyValidatorNoSet","loadUserRoles","updateExistingUser","addNewUser","updatedByName","resetModelValidator","$reset","onEmitName","getUserName","el","first","substring","toUpperCase","last","between","selectedUserRole","onOkayToChangeTab","selectTab","showBadge","badgeText","badgeTitle","selectedTabDetailsClass","Tabs","dirtyValidatorRefNumbers","tabDetailsClass","Tab","showCancelConfirmation","resetForm","showChangePasswordCancelConfirmation","resetChangePasswordForm","qrCode","authenticatorAppVerified","cancelTwoFAConfigModal","completeTwoFAConfiguration","portalAccess","onChangePassword","changePasswordModel","oldPassword","newPassword","checkPasswordStrength","passwordStrength","passwordStrengthVarient","showPasswordValidationWarning","passwordValidationWarning","confirmPassword","sameAsPassWord","isChangePasswordModelDirty","onCancelChangePassword","IsProfileMode","isArray","twoFactorAuthEnabled","_i","$$a","$$el","$$c","checked","$$i","onChangedTwoFactorAuthEnabled","saveUserDetailsByRelatedId","loginEnabled","resetPassword","invitedToApex","changeLoginEnabled","changeTwoFactorEnabled","hasSetupTwoFactorApp","resetTwoFactorConfiguration","statusList","pendingInvitation","resendActivationEmail","latitude","longitude","navigationLink","OpenLoginLocationLink","PasswordCheckStrength","PasswordStrengthService","passwordErrorMsg","commonPasswordPatterns","password","passwordModel","currentPasswordStrength","Short","Empty","MinimumLength","middleName","dateOfBirth","yearOfBirth","Strong","passwordStrengthService","isResponsive","verifyAuthenticator","configureTwoFAThroughPortalAccess","showSuccessMessage","verificationCode","recoveryCodeList","backToLogin","SetupAuthenticatorApp","enableTwoFA","recoveryCodes","QrcodeVue","PortalAccess","twoFactorEnabled","initialPortalAccess","initialChangePasswordModel","changePasswordDirtyValidationNo","isNormalUser","showSetUpAuthenticatorApp","showTwoFAConfigModalCancelButton","getLoggedInUserDetails","SetPasswordModel","loadUserLoginInfo","loadLoginStatusList","tableFilterParams","username","GetUserLoginStatusList","sendPostRequestWithQueryParams","twoFaEnabled","configureAuthenticatorApp","qrCodeData","getPasswordErrorMsg","UserId","EmailConfirmationToken","Password","ConfirmPassword","minLength","vm","SignInUserRoles","UserDetails","userUserType","User","loadUserNameByUserID","userFilter","userStatus","topTabdirtyValidationRefNumbers","selectedTopTabRouteName","ClientId","onClientNameUpdated","addressTabDirtySet","bankTabDirtySet","pendingApplicationCount","clientApplicationQueryData","clientRole","proPicImageSrc","onCropProPic","onCancelCropPropic","client","crn","todayDateUTC","isRequired","numeric","profilePicUri","initialProfilePicUri","onProPicChanged","onCancel","AddEditClient","birthDate","displayName","titleList","profilePicInfo","isProPicUpdated","clientTitles","selectedProfilePic","profilePicChanged","profilePicSettings","todayDate","UTC","fromDate","setFullYear","loadClientStatusList","loadClientDetails","updateExistingClient","addNewClient","uploadProfilePic","proPicUploadResult","profilePicUploader","profilePicSas","now","middle","selectedClientTitle","bankRequired","filterBankAccountType","isReadOnlyMode","bankAccount","createBankAccount","updateBankAccount","closeAddBankAccountPanel","showAddBankAccountPanel","onAddBankAccount","deleteBankAccount","onDeleteBankAccountClick","BankAccountListActionButtons","showDeleteBankAccountConfirmation","onDeleteBankAccount","bankID","banksList","accountName","isValidAccountName","bankAccountBSB","accountNumber","companyRelatedTable","bankAccountType","bankAccountTypesList","isModelInvalid","createdBy","updatedBy","updatedDate","AddEditBankAccount","isIncludedForBankAPI","loadBanksAccountTypeList","loadBanksList","originalBankAccount","GetBankAccountTypesDropDownList","GetBanksDropDownList","onBankAccountAdded","onBankAccountUpdated","onOkayToCancel","ba","EditBankAccountLink","onSelectBankAccount","latestBankFileDate","availableBalance","AvailableBalanceTemplate","BankAccounts","intialBankAccount","loadBankAccountList","getBankAccountTypeText","bankAccountsTable","createdBankAccount","updatedBankAccount","getAccountById","itemsCopy","account","onEditBankAccount","closeAddAddressPanel","cancelDuplication","noDuplication","yesDuplicate","onSearchAddress","addressTypeOptions","selectedAddressType","address","addressType","addressLine1","suburb","stateId","postcode","showAddAddressPanel","onAddAddress","addressLine2","addressStateName","EditAddressLink","loadStates","GetAddressStatesList","deleteAddress","onDeleteAddressClick","AddressListActionButtons","showDeleteAddressConfirmation","onDeleteAddress","searchFieldClass","autoCompleteOptions","getAddressData","resetSearch","AutoCompleteAddressSearch","componentRestrictions","country","types","searchAddress","addressComponents","getAddressComponents","geoCoordinates","getGeoCoordinates","streetNumber","route","address_components","addressComponent","addressComponentType","long_name","short_name","geometry","location","lat","lng","autoCompleteAddressSearch","$el","onClearAddress","Addresses","newAddressModel","addressTypeText","duplicate","initialValidAddressTypeOptions","showDuplicateConfirmation","loadAddressList","useStore","loadAddressTypes","addressTable","updateAddress","createAddress","copyAddress","getAddressById","navigateToRelatedEntity","updateAddressTypes","keepType","removeAddressTypeOption","increment","onEditAddress","maxLength","navigateToAddMotorVehicle","onCloseLease","deleteMotorVehicle","viewVehicleLease","getMotorVehivleDeleteValidation","navigateToVehicle","MotorVehicleListActionButtons","showDeleteMotorVehicleConfirmationModal","showVehicleLeaseModal","isMotorVehicleDeletable","onMotorVehicleDeleted","_item","MotorVehicleList","vehicleList","vehiclesTable","motorVehicleStatusFilter","_m","resetFilterTextInput","prospectApplicationType","mandatoryFieldsFilled","ClientApplicationStatusTrafficLight","ClientApplicationList","getApplicationTypeText","getStatusText","financeApplicationStatusListWithoutCount","selectedStatus","financeApplicationRouteNames","clientApplicationTypes","loadApplicationStatusList","loadApplicationTypes","onViewApplication","financeApplicationStatus","leaseApplicationTable","GetFinanceApplicationStatusList","GetClientApplicationTypes","clientApplicationFilter","TopTab","TopTabs","reloadPage","routeUrl","NoteAndDocumentButtonTypes","iconButtonType","showNotesPopup","NotesButtonText","addToolTip","openNotesPopup","textButtonType","isReadOnly","gridButtonType","notesCount","colorToIndicateAvailability","modalTitle","onNoteChanged","onNotesCountChanged","modelChangedToDirty","closeNotes","showPopupCancelConfirmation","closeEditCancelConfirmation","showNotesList","onAddNote","noteList","showAddNote","addEditNote","noteText","modifiers","composing","noteAddingStart","$forceUpdate","addEditNoteTitle","onCancelSave","onSaveNote","note","showActionButtons","onEditNote","onDeleteConfirm","closePopupCancelConfirmation","showEditCancelConfirmation","cancelDeleteConfirmation","onDeleteNote","NotesCommonControl","deleteNoteID","deleteNoteIndex","sendDirtyToParent","newNote","loadNoteList","getNotesByIndex","fromSubmitApproveExpenseClaim","getNoteByID","noteID","noteIndex","AddNewNoteToStore","EditNoteInStore","AddNewNote","EditNote","notes","refreshList","Notes","modelIsDirty","IconButton","TextButton","GridButton","externalNotesCount","showDocumentsPopup","DocumentButtonText","openDocumentsPopup","formFieldAppenedButtonType","documentCount","fileUploadButtonType","displayPopover","hidePopover","popoverText","acceptedFileTypes","isFilterByRelatedId","onDocumentDeletedWithFileTypeAndId","onDocumentChanged","onDocumentsCountChanged","onDocumentSaved","onEditDocumentMode","closeDocumentsPopup","editMode","onDownloadAllDocuments","closePopup","deleteDocument","onEditDocument","onDeleteDocClick","DocumentListActionButtons","showDeleteDocumentConfirmation","onDocumentAction","removeExtension","EditDocumentLink","closeCancelConfirmation","showDocumentsList","docFileTypeImageAddress","onDocumentSelected","editDocumentTitle","isOkayToDisable","onSaveDocument","OnDocumentsDragged","isDraggedDocumentsValid","OnSaveDocumentsDragged","documentsDragged","onCustomDataTableAction","SystemSettingsService","systemSettings","systemSettingsService","DocumentService","LoadAllSystemSettings","apexBaseImageUrl","ApexWebsiteHostedUrl","documentService","DocumentImagePreview","getImageUrl","getDocumentThumbnailUrl","DocumentUploaderCommonControl","docChanged","docUri","editIndex","getDocTypeName","ClearDocsDragged","docUploader","dragDropControl","ClearDocumentListWithoutValidation","extensionLength","documentTable","onDocumentDeleted","docType","setDocumentThumbnail","getDocumentById","PreviewDocument","PreviewDocumentByFile","docsCount","isEditMode","DocumentUploader","FormFieldAppenedButtonType","FileUploadButton","externalDocumentCount","iconToolTip","documentUploaderCommonControl","editModeEnable","DownloadZipFile","closeAddBPayAccountPanel","bpayAccount","createBPayAccount","updateBPayAccount","showAddBPayAccountPanel","onAddBPayAccount","deleteBPayAccount","showDeleteBPayAccountConfirmation","BPayAccountListActionButtons","onDeleteBPayAccount","billerCode","AddEditBPayAccount","initialBPayAccount","originalBPayAccount","onBPayAccountAdded","onBPayAccountUpdated","BPayAccounts","bpayAccountsList","loadBPayAccountList","onEditBPayAccount","onSelectBPayAccount","ClientVehicleTreeViewButton","ClientCommunicationTypes","disabledFromDates","fromDateChanged","disabledToDates","toDateChanged","resetFilterParams","onCloseClientEmailModal","content","ViewEmail","ClientCommunicationLogsActionButtons","showClientEmailModal","ClientCommunicationLogs","communicationType","Email","eventDate","loadCommunicationLogsList","FromDate","ToDate","dateChanged","ClientDetails","clientUserType","loadClientBasicDetailsByClientID","onToggle","onAddApplicationClick","onShowSelectClientPopupClick","toggled","path","getSelectedGlobalSearchTypeText","closeSelectClientPopup","globalSearchTypes","selectedGlobalSearchType","getWebSiteVersion","onVehicleStatusChanged","removeSelectedVehicleStatus","selectedVehicleStatusFilterList","resetFiltrations","OnStopClickPropagation","clientShortName","MotorVehiclesSearchActionButtons","MotorVehicleSearchList","selectedVehicleStatusFilterIdList","loadVehicleStatuses","vehicleStatusMultiSelectFilterParams","onViewVehicle","GetVehicleStatusList","VehicleLeaseTypes","mvLeaseTypes","onLeaseTypeChanged","removeSelectedLeaseType","selectedLeaseTypesFilterList","VehicleLeaseSearchList","getTypeName","getFinancierName","leaseStartDate","leaseEndDate","financiers","loadLeaseTypes","loadFinanciers","selectedLeaseTypesFilterIdList","GetLeaseTypesList","GetFinanciersList","NovatedFullyMaintained","financier","vehicleLeasesTable","onViewVehicleLease","remainingSecondsToLogOut","onClickLogout","continueSession","AuthService","store","router","authService","UserInactivityTracker","events","warningTimer","logoutInterval","showUserInactivityWarning","userInactivitySessionExpirationMinutes","secondsToLogOut","windowFocusEvent","windowBeforeUnloadEvent","generateTabId","getUserInactivitySessionExpirationMinutes","initialize","addEventListener","resetWarningTimer","setCurrentTab","resetCurrentTab","setWarningTimer","floor","random","setTimeout","setLogoutTimer","clearTimeout","logout","removeEventListener","BusyIndicator","AddNavigationTypes","doNavigate","addNavigationTypes","Employer","Financier","Payment","BankFile","Reimbursement","Bill","FinanceApplication","DefaultAddNewButton","navigationType","uploadBankFile","onAddApplication","showSelectClientPopup","profileurl","DefaultHeaderDropdownAccnt","getProfilePicUrl","CDropdownHeader","CHeaderNavLink","DefaultContainer","standardMenuEnabled","settingsMenuEnabled","selectedNavigationType","searchTypeText","CHeader","CFooter","AuthContainer","onSubmitLogin","showTwoFactorCodeSection","useRecoveryCodes","rememberDevice","errorTwoFactorLoginMessage","showPassword","toggleShowPassword","forgotPassword","Login","onError","showSetupAuthenticatorSection","onErrorTwoFactorLogin","geolocation","getCurrentPosition","locationCallBack","twoFactorLogin","login","isRememberMe","clientApp","getBrowserInfo","osInfo","getOsInfo","requiresTwoFactor","twoFactorSetupData","twoFactorConfigured","profilePicUrl","LoadAllSelectItemLists","proPicUri","TwoFactorCode","UseRecoveryCode","RememberMachine","tem","ua","userAgent","M","exec","version","appName","appVersion","OSName","coords","Register","showSetUpAuthenticator","OnSuccessSetPassword","activateUser","setPassword","passwordText","confirmPasswordText","successMessage","SetResetPassword","showSetPasswordForm","showErrorBanner","showSuccessBanner","passwordResetToken","userID","resetToken","operationResult","PasswordResetToken","generateTwoFactorData","showTwoFactorSetup","twoFactorData","sameAs","SetPassword","Page404","_class","Page500","Page403","ServerNotFound","ServerError","BrowserIncompatiblePage","back","userStatusList","onUserStatusChanged","selectedUserStatus","resetSelectedUserStatusList","navigateToAddUser","deleteUser","onCloseResendEmailModal","resendUserActivationEmail","onCloseResendChangeEmailModal","resendEmailChangedVerification","showActivateUserConfirmationModal","viewResendEmailConfirmationModal","viewResendChangeEmailModal","loggedInUserId","onDeleteUserClick","UserListActionButtons","showDeleteUserConfirmationModal","showResendEmailConfirmationModal","showResendEmailChangedVerification","onCustomEvent","Activate","ResendEmail","ResendVerification","UserList","filterText","userTable","viewUserDetails","refreshAndReset","SendForgotPasswordEmail","ForgotPassword","isFormInvalid","ResetPassword","ChangeEmail","useremail","backNavigationConfirmation","onOkayToGoBack","onColorSelect","onLogoSelected","onFavIconSelected","onSuccessColorSelect","onWarningColorSelect","onErrorColorSelect","onNoteColorSelect","lastUpadatedBy","logoChanged","favIconChanged","colorChanged","successColorChanged","warningColorChanged","errorColorChanged","noteColorChanged","ManageTheme","initialBaseColor","initialBaseSuccessColor","initialBaseWarningColor","initialBaseErrorColor","initialBaseNoteColor","fileUploaderRef","selectedLogo","selectedFavIcon","logoSettings","favIconSettings","logoUploaded","favIconUploaded","loadThemeSettings","logoUploader","favIconUploader","logoSas","favIconSas","Public","imgUploadPromise1","imgUploadPromise2","logoParams","SystemLogo","favIconParams","SystemFavIcon","changeColor","updateByUser","lastUpdatedDateTime","uploadTemplate","closeUploadTemplatePanel","onReportTemplateUploaded","onReportTemplateUpdated","showUploadReportTemplatePanel","onUploadReportTemplate","BaseEntityModel","AuditedDbEntityModel","_BaseEntityModel","TemplatedReportConfigurationModel","_AuditedDbEntityModel","TemplateReportTypeModel","templateId","reportName","templatedReportConfigurationId","templatedReportConfiguration","onReportTypeChanged","downloadTemplate","isSaveButtonClicked","selectedReportId","selectedReportConfigurationPayload","BlobContainerNames","REPORT_TEMPLATE_CONTAINER_NAME","TENANT_DOCUMENTS_CONTAINER_NAME","staticItems","dynamicItems","dynamicTable","TableHeaderName","TableRowPropertyName","ZeroBasedValuesPlaceHolderRowIndex","TableRowKeyMappings","ReportPropertyKeyMappingTableView","parsedObj","StaticPropertyKeyMappings","DynamicTablePropertyKeyMappings","AddEditReportTemplate","selectedReportType","loadReportTypeList","originalUploadTemplate","GetReportTypes","getTemplatedReportConfiguration","templateToObjectMappingJsonString","updateReportTemplate","onUploadNewReportTemplate","getSasAndGuidByBlobContainerName","deleteFileByContainerName","ConcurrencyKey","updateReportTemplateData","lowerCasedFileName","formattedFileName","deleteTemplate","ReportTemplateActionList","UploadReportTemplate","initialUploadTemplate","loadReportTemplateList","onEditReportTemplate","getTemplateById","template","uploadedReportedTemplate","updatedReportTemplate","headerTitleText","detailsTabDirtySet","onVehicleNameUpdated","budgetTabDirtySet","queryParams","fuelCardTabDirtySet","leasesTabDirtySet","vehicleImageSrc","onSubmitVehicle","financeApplicationType","getFinanceApplicationIsLeaseCreated","VehicleStatusNonactive","getIsFinanceApplicationConvertedApplication","getFinanceApplicationIsFinanceOnly","onSelectedVehicleTypeChange","selectedVehicleType","existingVehicleType","selectedVehicle","onSelectedVehicleChange","redirectToVehicleDetails","newVehicleType","make","allVehicleMakes","checkValidationMessages","allVehicleModels","variant","vehicleColors","yearDateTime","clearButtonEnabled","isValidPlateNumber","vehicleIDNumber","isValidID","triggerStatusChangeVaidation","possibleToChangeNonActive","trackStatusChangeActiveToNonActive","reason","AddEditMotorVehicle","mvrn","engineNumber","regoRenewalDate","insuranceRenewalDate","clientid","administrationFeeStartDate","administrationFeeEndDate","administrationFeeAmount","administrationFeeChargeFrequency","administrationFeeAmountWithFrequency","isAdministrationFeeAmountOverridden","condition","bodyType","transmission","fuelType","colour","isCreatedByFinanceApplication","isPossibleToInactiveVehicle","isImageUploadedByApplication","initialVehicleDetails","allVehicleMakesAndModels","onSuccess","selectedVehicleImage","vehicleImageSettings","isLedgerBlanaceZero","isPendingExpenceClaimExist","nonActiveReasonText","NewVehicle","ExistingVehicle","loadVehicleTypes","loadAllVehicleMakesAndModels","loadVehicleConditionTypes","loadVehicleBodyTypes","loadVehicleTransmissionTypes","loadVehicleFuelTypes","loadVehicleColours","loadVehicleStatusList","VehicleDetails","getFinanceApplicationVehicleDetails","dirtyValidationNo","loadVehicleDetails","inputValue","getFinanceApplicationStatus","Rejected","isSaveMode","isOkayToComplete","updatedVehicleDetails","GetVehicleConditionTypes","GetVehicleTypes","GetVehicleBodyTypes","GetVehicleTransmissionTypes","GetVehicleFuelTypes","GetVehicleColours","filterModels","models","onEmitVehicleName","checkIsPossibleStatusToNonActive","updateVehicle","addNewVehicle","vehicleImageParams","_refNo","_vehicleName","maxAllowedLeaseCountExceeded","allLeasesAndNovationsHaveEndDate","onAddVehicleLease","showLeaseAddingPriorValidationNote","getLeaseAddingPriorValidationNote","deleteVehicleLease","onDeleteLeaseClick","VehicleLeaseListActionButtons","showDeleteVehicleLeaseConfirmation","isLeaseDeletable","getDeleteNovationValidations","onVehicleLeaseDeleted","_id","VehicleLeaseListType","loadLeaseAndFinanceTypes","VehicleLeaseList","mvFinanceTypes","residualDueDate","loadFinanceTypes","loadVehicleLeaseList","leaseTable","leases","onOkayToContinue","updatedCategory","showPopulateConfirmation","onUpdateAnnualBudget","showAnnualBudgetSaveConfirmation","onSaveAnnualBudget","showBudgetLockConfirmation","setBudgetLock","novationSelectGroupList","onSelectedNovationChange","selectedNovationId","firstPeriodStartDate","minStartDate","onClickPreviousYear","year1HeaderName","year2HeaderName","year3HeaderName","thirdPeriodEndDate","maxEndDate","novationEndDate","onClickNextYear","budgetLocked","isNewBudget","isAllAnnualBudgetFieldsFiled","vehicleNovationList","isFirstNovation","rollOverFromPreviousBudget","isValidAmount","annualBudget","budgetAmount","onClickAnnualBudget","onChangeAnnualBudget","year1Budget","onArrears","year1ActualAmount","year2Budget","fbtPeriodCount","year2ActualAmount","year3Budget","year3ActualAmount","annualBudgetTotal","year1BudgetTotal","year1ActualTotal","year2BudgetTotal","year2ActualTotal","year3BudgetTotal","year3ActualTotal","onSaveUpdateBudget","onCancelUpdateBudget","lastUpdatedBy","MotorVehicleBudget","middleYear","novationStartDate","dataBeforeChange","selectedCategoryList","selectedNovation","updatedAnnualBudget","isClickedNext","isClickedPrevious","loadAllVehicleNovations","vehicleBudgetLines","stringify","firstStartDate","thirdEndDate","year1HeaderText","year2HeaderText","year3HeaderText","CalculateTotalAmounts","minBudgetPeriodStartDate","maxBudgetPeriodEndDate","_this5$vehicleNovatio","loadMinMaxFBTYearsForNovation","loadBudgetData","onPreviousYear","onNextYear","isValidAmounts","lastFbtPeriodEndDate","onUpdateBudget","AnnualBudgetData","categoryDisplayText","actualAmount","Category","CategoryType","categoryType","getPreviousNovationId","amountFromPreviousBudget","selectedNovationIndex","findIndex","y","fuelCard","createFuelCard","updateFuelCard","closeAddFuelCardPanel","showAddFuelCardPanel","navigateToAddFuelCard","brand","fuelCardBrandTypeList","cardNumber","onChangeMonth","expireMonth","expiryMonth","onChangeExpiryYear","customEditorToolbar","AddEditFuelCard","expiryYear","brandDisplayText","expiryDate","closingDate","initialFuelCard","testDate","loadFualCardBrandList","loadMonthList","originalFuelCard","getFormattedClosingDate","GetFuelCardBrandTypeList","GetMonthList","addNewFuelCard","onCheckClosingDateChange","formattedClosingDate","getValidClosingDate","toUTCString","onFuelCardAdded","onFuelCardUpdated","deletFuelCard","showNoteModal","onDeleteFuelCardClick","FuelCardListActionButtons","showDeleteFuelCardConfirmation","onDeleteFuelCard","FuelCardList","FuelCardListActionButtions","loadFuelCardList","fuelCardsTable","onEditFuelCard","createdFuelCard","updatedFuelCard","fuelcard","showInvoiced","MotorVehicleAdminFeeChargeList","recordCreatedDate","invoicedDate","isTableDataLoaded","ShowInactive","adminFeeChargesTable","deletedReason","onCloseReason","onShowReasonClick","ScheduledPaymentsActionButtons","showDeletedReasonPopup","ScheduledPayment","finalMonthInsuranceDueDate","finalMonthInsuranceDueMonthComponent","monthlyInsuranceDueDate","nextPaymentDue","tdClass","showInactiveSchedules","scheduledPaymentsTable","vehicleInsuranceId","insuranceScheduleId","CSwitch","showDirtyValidationConfirmation","closeModal","isDisabled","onChangeCategoryStatus","onClickCancelToggleCategoryModal","isClaimCategoryDirty","updateDisabledExpenseClaimCategories","updateClaimNoteDirtyValidation","claimNote","onClickCancelClaimNote","isClaimNoteDirty","updateClaimNote","loadExpenseClaimCategories","loadClaimNote","expenseClaimTypes","onExpenseClaimTypeChanged","onChangeResetButton","selectedExpenseClaimType","expenseClaimStatuses","onExpenseClaimStatusChanged","selectedExpenseClaimStatus","onTransactionCategoryChanged","removeSelectedList","selectedExpenseClaimCategoryList","resetFilters","ecrn","ExpenseClaimLink","onSelectExpenseClaim","showExpenseClaimAuditLogsModal","viewExpenseClaimAuditLogs","ExpenseClaimAuditLogs","expenseClaimId","ExpenseClaimsAuditLogsActionButton","ExpenseClaimsList","convertedFrom","convertedTo","loadExpenseClaimTypes","loadExpenseClaimStatusList","loadTransactionCategoryList","convertFromAndToDates","VehicleId","Type","TransactionCategoryList","selecetedCategoryList","expenseClaimsTable","GetExpenseClaimTypesList","GetExpenseClaimStatusWithoutCountList","transactionCategoryList","isValidCommaSeparatedList","queryTransactionCategoryList","expCategory","MotorVehicleExpenseClaimsList","showToggleCategoriesModal","showAddClaimNoteModal","initialClaimNote","claimNoteDirtyValidationRefNumber","claimCatgoriesDirtyValidationRefNumber","ClaimNote","disabledCategoryIds","DisabledExpenseClaimCategories","MotorVehicleDetails","loadClientNameByVehicleID","loadClientNameByClientID","navigateToAddEmployer","deleteEmployer","navigateToEmployer","onDeleteEmployerClick","EmployerListActionButtons","showDeleteEmployerConfirmationModal","onDeleteEmployer","onSelectEmployerClick","businessName","EditUserLink","onSelectEmployer","EmployerList","EditEmployerLink","employerTable","onViewEmployer","employerFilter","employerID","employerBusinessName","onBusinessNameUpdated","employer","validateABN","invalidABNMessage","validateACN","invalidACNMessage","payrollSoftware","isInvalidABN","employerId","CustomValidationService","abnValidationWeights","isNaN","diff","zeroString","numberList","Number","sum","validationMessage","isInvalidACN","acnValidationWeights","complement","customValidations","AddEditEmployer","initialEmployer","loadEmployerDetails","loadPayrollSoftwareList","updateExistingEmployer","addNewEmployer","onEmployerSaved","GetPayrollSoftwareList","customValidationService","employerName","onShowInactiveNovationsChanged","showInactiveNovations","RelatedNovationList","getNovationEndDate","subjectToFBT","getFBTMethodName","fbtMethod","loadFBTMethods","GetFBTMethodList","onViewNovation","routerData","relatedNovationsTable","fbtMethodName","EmployerDetails","loadEmployerName","companyID","bPayAccountTabDirtySet","companyConfigTabDirtySet","signatoryTabDirtySet","onSubmitCompanyDetails","company","companyPhone","validationUrl","contactUsEmail","EditCompanyDetails","websiteUrl","initialCompany","invalidURLErrorMsg","loadCompanyDetails","computed","validateUrl","ClientMode","groupedNovationList","onCompanyBankAccountChanged","selectedCompanyBankAccount","onTransactionStatusSelected","selectedTransactionStatus","selectedTransactionCategoryList","vehicleRelatedTable","generateCSVReport","generatePDFReport","isBalanceTransferedOut","loadInitialData","viewBalanceTransferedLedger","customHeaderTemplateList","slotProps","getCreditValue","transactionDirection","getDebitValue","getRunningBalaceValue","transactionStatus","runningBalance","ReferenceCustomHeader","ProcessedDateCustomHeader","UpcomingLeasePaymentRecord","loadUpcomingPayment","Credit","Debit","categories","onCategoryUpdated","TransactionCategorySelect","categoryTypeMapping","showLabel","getCategoryText","relatedExpenseClaimId","reference","GetExpenseAndOtherCategoriesList","filteredCategory","transactionId","onNovationChanged","onCloseModel","isModalDirty","onChangeNovation","onClickActionButton","getBalanceTransferedRows","NovationSelect","novationColor","onShowNovationListModal","isLoaded","clientMode","_this2$vehicleNovatio","Cancel","TransactionId","NovationId","FileExtensionTypes","TransferBalanceModal","checkIsActiveNovation","Ledger","displayDate","tdAttr","toNovationId","currentBalance","processedDate","displayProcessedDate","statusField","getTransactionStatusText","getVehicleId","getfilterDate","getReference","calculateRunningBalance","checkToCalculateRunningBalance","manageRunningBalanceColumn","utcDate","removeItem","validateFromDate","validateToDate","getShowUnAllocatedTransactions","GetTransactionStatusList","loadCompanyBankAccountList","RelatedTable","CalculateRunningBalance","CompanyBankAccountId","ExpenseClaimCategoryList","expenseCalimCategoryList","OtherCategoryList","otherCategoryList","IncludeNullTransactionCategories","isIncludeNullTransactionCategory","loadTransactionCatogoryList","_this3$vehicleNovatio","filterResults","isBalanceTransfered","New","_rowVariant","ledgerTable","Generated","Matched","keepColumn","pop","GetCompanyBankAccountsList","companyBankAaccountsList","op","GetExpenseAndOtherCategoriesIncludingNoneList","generateLedgerReport","CSV","PDF","extensionType","FileExtension","reportContentString","CompanyConfigs","BankAccountTypes","companyConfig","onSaveCompanyConfig","commissionBankAccounts","administrationFeeReceiveBankAccount","failNotificationToAddress","invoicePaymentDueDays","maximumOverdraftValue","privateBlobContainerName","profilePicBlobContainerName","rctiToAddress","rCTIToAddress","reminderWidgetDuration","residualDueDateNotificationOffset","maximumOutstandingValue","maximumOutstandingValueConfig","maximumOutstandingDays","maximumOutstandingDaysConfig","beforeDueVehicleReminderOffsets","afterDueVehicleReminderOffsets","expenseClaimActionReminderDays","isPositiveInteger","bankFileNotificationToAddress","reimbursementReminderAfterDueOffset","isValidPositiveInteger","repaymentReminderBeforeDueOffsets","CompanyConfig","insuranceReimbursementReminderDays","insuranceRepaymentFirstReminderDays","insuranceRepaymentSecondReminderDays","clientPortalInfo","InvoicePaymentDueDays","FailNotificationToAddress","MaximumOverdraftValue","ReminderWidgetDuration","ResidualDueDateNotificationOffset","PrivateBlobContainerName","ProfilePicBlobContainerName","AdministrationFeeAmount","AdministrationFeeReceiveBankAccount","RCTIToAddress","MaximumOutstandingValue","MaximumOutstandingDays","BeforeDueVehicleReminderOffsets","AfterDueVehicleReminderOffsets","ExpenseClaimActionReminderDays","BankFileNotificationToAddress","ReimbursementReminderAfterDueOffset","RepaymentReminderBeforeDueOffsets","DisplayClientPortalInfo","ClientPortalInfoText","loadCompanyConfigDetails","Commission","companySettingType","Value","initialPerPage","gstOnExpenses","searchByString","RevenueCategoryList","revenueCategoryList","initialDate","GetGSTLedgerCategories","categoryTypeId","signatory","createSignatory","updateSignatory","closeAddSignatoryPanel","showAddSignatoryPanel","onAddSignatory","signatoryName","signatoryEmail","AddEditSignatory","originalSignatory","onSignatoryAdded","onSignatoryUpdated","deleteSignatory","onDeleteSignatoryClick","SignatoriesListActionButtons","showDeleteSignatoryConfirmation","onDeleteSignatory","Signatories","initialSignatory","loadSignatoriesList","signatoriesTable","createdSignatory","updatedSignatory","onEditSignatory","CompanyDetails","GSTLedger","selectedBrokerageReceivedDate","showSetBrokerageReceivedDateModal","brokerageReceivedDateInValid","setBrokerageReceivedDate","getFinanceApplicationApplicationName","isFinanceApplicationMandatoryFieldsFilled","stepNames","getFinanceApplicationTotalInvoiceAmount","getFinanceApplicationBrokerageReceivedDate","showSetBrokerageReceivedDate","getFinanceApplicationID","getFinanceApplicationARN","downloadApplication","isFinanceOnlyApplication","reloadAppInfo","onRejectedRouteBack","dirtyValidatorRefNoSet","initialDetailsStatus","rejectedStatus","withdrawnStatus","vehicleDetailsStatus","requestInvoiceStatus","reviseApplicationStatus","signatureAndSubmissionStatus","getFinanceApplicationIsVehicleExisted","onLeaseAndEmploymentEditMode","getFinanceApplicationVehicleDetailsIsAnExistingVehicle","getFinanceApplicationLeaseCreatedByName","getFinanceApplicationLeaseCreatedDate","getFinanceApplicationCreatedByName","getFinanceApplicationCreatedDate","getFinanceApplicationUpdatedByName","getFinanceApplicationUpdatedDate","isLeaseAndEmploymentEditMode","getFinanceApplicationIsLeaseAndEmploymentFilled","onSaveWizard","completedStatus","rejectApplication","withdrawApplication","revertToInitial","getFinanceApplicationIsLeaseAndEmploymentValid","onCompleteBtnClicked","showCustomButton","customButtonName","onConvertToNonFinanceApplication","showDirtyNavigationConfirmation","onOkayToNavigate","actionText","onApplicationAction","applicationActionModel","isApplicationActionModelDirty","onApplicationActionCancel","showConfirmationOnRejected","onChangedIsFinanceOnly","applicationInfo","initialDetails","onAssigneeChange","getFinanceApplicationInitialDetailsValidations","showAssigneeErrorMessage","receivedDate","showReceivedDateErrorMessage","submittedDate","showSubmittedDateErrorMessage","showFinancierErrorMessage","saleType","saleTypeList","showSaleTypeErrorMessage","showReferenceErorMessage","showTotalFinancedAmountErorMessage","totalFinancedAmount","showTotalFinancedAmountErrorMessage","approvedDate","showApprovedDateErorMessage","InitialDetails","isFinanceOnly","applicationInfoDirtyValidatorRefNo","statusDateOptions","Approved","openDate","getFinanceApplicationInfo","getFinanceApplicationInitialDetails","loadSaleTypes","getFinanceApplicationFinancierTypes","loadAssignees","isOkayToCreateVehicle","isOkayToCreateLease","onRejected","getStatus","fieldValidationService","validateSaveStep","validStep","showTotalFinanceAmountErorMessage","GetStandardUsersAndTenantAdminsList","LeaseAndEmployment","SignatureAndSubmission","GetSaleTypesList","requestInvoice","invoiceRequestedDate","getFinanceApplicationRequestInvoiceValidations","showInvoiceRequestedDateErrorMessage","invoiceReceivedDate","RequestInvoice","getFinanceApplicationRequestInvoice","FinanceApplicationModule","showInvoiceReceivedDateErrorMessage","financierUpdatedLabel","reviseApplication","updatedDatePlaceholder","getFinanceApplicationReviseInvoiceValidations","showUpdatedDateErrorMessage","financierName","generatedDate","showGeneratedDateErrorMessage","signedDate","showSignedDateErrorMessage","ReviseApplication","getFinanceApplicationReviseApplication","financierId","getFinanceApplicationFinancier","financierTypes","signatureAndSubmission","documentSubmittedDate","getFinanceApplicationSignatureAndSubmissionValidations","settlementDate","showSettlementDateErrorMessage","getFinanceApplicationSignatureAndSubmission","showDuplicateVehicleConfirmation","onOkayToDuplicateVehicle","duplicateVehicles","duplicateVehicleOption","duplicateVehicleSelectedOption","onlyCreateLeaseAndNovationOption","selectedDuplicateVehicle","onCancelOnlyCreateLeaseConfirmation","onlyCreateLeaseConfirmationOnCreate","isLeaseCreated","leaseItems","leaseTableFields","onCustomLeaseDataTableEvent","leaseEditMode","vehicleLease","onLeaseFormSubmit","onVehicleLeaseTypeUpdated","onCancelForm","isNovationCreated","onAddNovation","novationItems","novationTableFields","onCustomNovationDataTableEvent","novationEditMode","novation","onNovationFormSubmit","applicationRelatedTable","applicationRelatedId","leasePrePaymentsDirtySet","onLeasePrePaymentChange","closeLeasePrePayments","showDirtyLeasePrePayments","closeDirtyLeasePrePayments","canUpdateLeaseFinancierAccount","leaseBankAccountRelatedId","leaseBankAccountRelatedTable","leaseRelatedAccountDetails","onLeaseFinancierBankAccountUpdated","onNewLeaseFinancierBankAccountAdded","showAddBankAccountModal","motorVehicleLeaseTypes","MadeAvailable","RunningCostOnly","onChangeFinancier","leaseBankAccountLoaded","showLeaseFinancierAccountErrorMsg","leaseBankAccountId","leaseBankAccountList","leaseBankAccountSelected","leaseRelatedBankAccount","onAddEditLeaseBankAccount","purchaseTypeList","purchaseType","mvLeaseEstAnnualKm","isValidLeaseDates","onStartDateChanged","onEndDateChanged","term","monthsDeferredList","hasScheduleCreated","showSecondPaymentDueDateError","secondPaymentDueDate","onSecondPaymentDueDateChanged","mvLeasePaymentDate","mvLeaseDates","leasePaymentAmount","runningCost","leaseAmountPaidExternal","openLeasePrePayments","residualAmount","isSaveButtonDisabled","isUpdateMode","onCreatePaymentSchedule","closeAddLeasePrePaymentPanel","leasePrePayment","paidDate","totalAmount","comment","addAnother","showAddLeasePrePaymentsPanel","onAddPrePayment","EditLeasePrePaymentLink","editLeasePrePayment","showDeleteLeasePrePaymentConfirmation","deleteLeasePrePayment","LeasePrePaymentListActionButtons","onDeletePrePayment","LeasePrePaymentList","addNewLeasePrePayment","gstInclusive","RelatedID","loadLeasePrePayments","onDelete","calculateTotal","OnLeasePrePaymentChange","getLeasePrepayments","updateLeasePrePayment","createLeasePrePayment","lp","getLeasePrePaymentByID","prePayment","onEditPrePayment","onDeletePrePayments","leasePrepaymentID","total","AddEditVehicleLease","monthsDeferred","motorVehicleID","mvLeaseFBTCostBase","residualDueNotificationSent","ResidualDueDateDisplayText","ResidualAmountGstInclusive","LeasePaymentGstInclusive","showLeasePrePayments","showOverrideAdminFee","leasePrePaymentsDirtyValRefNo","administrationFeeAmountOld","showDirtyOverrideAdminFee","isAdminFeeChargeModelEnabled","leaseNewBankAccountId","previousLeaseHasNoEndDate","monthlyRunningCost","loadPurchaseTypes","loadActiveFinancierTypes","getFinanceApplicationLeaseAndEmploymentLeaseType","financeApplicationLeaseId","getFinanceApplicationLeaseId","lease","loadLeaseFinancierAccountList","loadPreviousAndNextLeases","onVehicleIdUpdated","loadLeaseDetails","previousLease","minimumLeaseStartDate","startEndDate","nextLease","maximumLeaseEndDate","bankAccountId","newBankAccount","onFormSubmit","form","updateVehicleLease","createVehicleLease","LeaseNewBankAccountId","leasePrePayments","isWarning","onLeaseTypeUpdated","resetFields","loadActiveAndSelectedFinancierTypes","setDisabledDates","clearLeasePrePayments","mvLeaseStartingODO","calculateTerm","isValidSecondPaymentDueDate","LeasPaymentDate","monthDiff","sendPutRequestWithQueryParams","submission","this$1","warningMessage","onAcknowledgeWarning","onAddEmployerDirtySet","closeAddEmployerModal","showAddEmployerCancelConfirmation","onOkayToCloseAddEmployerModal","previousNovationEndDate","showEndDatePreviousNovationConfirmation","createNovation","pendingInvoicesCount","onClickNoToUpdatePendingInvoiceEmails","onClickYesToUpdatePendingInvoiceEmails","closeOverrideAdminFee","isAdminFeeAmountModelDirty","onUpdateAdministrationFeeForRelatedEntity","payCycle","leaseType","isInvoiceScheduleGenerated","onSaveFBTRecords","closeOverrideFBTCostBaseOfVehicle","closeDirtyOverrideAdminFee","hasEffectiveRecord","novationTypes","isPayrollReportGenerated","onNovationTypeChanged","leaseStartingODO","disableOdometer","relatedTables","employersList","employerSelected","showAddEmployerModal","emailInvoicesTo","emailList","selectExistingEmailAddress","typeEmailAddress","dropDownCloses","canGeneratePayrollReport","payCycleList","isAdminFeeChargeScheduleAvailable","isAdministrationStartDateEnabled","disabledAdminFeeStartDates","onAdminFeeStartDateChanged","isAdministrationFeeEndDateRequired","disabledAdminFeeEndDates","openOverrideAdministrationFee","taxCalculationMethod","openOverrideFBTCostBaseOfVehicle","effectiveDate","onSubjectToFTBChange","employeeContribution","EmployeeContributionAmount","isFBTExemptionApply","openFBTApplicableRecords","getEditMode","onAddService","fbtApplicableRecords","fbtApplicableFields","fbtApplicableRecordsCustomTemplateList","onCustomDataTableEventFBTApplicableRecords","onCloseFBTApplicableRecords","FBTApplicableRecords","showFBTApplicableRecords","FBTMethodTypes","addButtonDisabled","onAddItem","fBTCostBaseList","lineNumber","currentFBTCostBaseRecord","onChangeFBTAmount","isAmountValid","isAmountDirty","fbtCostBaseRecordRelatedTable","leaseTypes","onGeneratePayrollReport","getPayrollReport","isCurrentRecordValid","onUpdateFBTCostBase","AddEditFBTCostBases","fBTLineItemCount","payrollReportGeneratedDate","lastExistingFBTCostBaseRecord","isNewRecordAdded","showDefaultStartDate","isStartDateDirty","FBTCostBaseRecord","lastRecordStartDate","rec","FBTCostBaseEvidence","checkValidRecord","nextLineNumber","newfbtLineItem","lastRecordId","onSaveFBTRecord","fbtCostBaseRecord","fbtCostBaseRecordId","reportFormat","fbtCostBaseRecordID","AddEditNovation","currentFBTLineItem","rern","vehicleLeaseID","odometerConcurrencyKey","isServiceAgreementDocumentAvailable","oldestFBTExStartDate","latestFBTExEndDate","IsUpdatePendingInvoiceEmailAddress","novationDocumentsList","isNewFBTRecordAdded","addEmployerDirtyNumber","optionsList","previousNovationHasNoEndDate","StatutoryRatePercentage","employerEmailLoaded","showWarningMessage","isSavedNewNovation","fbtApplicable","FBTApplicable","EmployeeContribution","showUpdateEmailConfirmation","previousNovationEmailAddress","novationRelatedTable","FBTCostBaseEvidenceDocumentCount","showOverrideFBTCostBase","administrationFeeAmountPrevious","loadNovationDetails","createNovationTypesList","loadSystemSettings","loadTaxCalculationMethodSelectList","loadFBTMethodSelectList","loadPayCycleList","loadActiveEmployerSelectList","checkActiveAdminFeeChargeSchedules","novationProp","leaseTypeProp","getFinanceApplicationLeaseAndEmploymentNovationRelatedId","loadLeaseRelatedEntityCount","loadPendingInvoicesCount","loadLeaseType","adjustNovationTypeList","employerType","clientType","multiselect","search","onUploadNovationDocument","addNewEmailAddress","newEmail","newEmailObj","selectedOption","selectedEmployer","emailObj","DaysInYear","_typeof","GetTaxCalculationMethodList","Exempt","GetScheduleLookupValues","updateNovation","resetEmailInvoicesTo","latestExcemptionEndDate","oldestExemptionStartDate","onLeaseIdUpdated","loadActiveAndSelectedEmployerSelectList","getEffectiveFBTCostBaseRecord","setDisabledAdminFeeEndDates","isValidAndNotMinimumDate","GetAdminFeeAndFrequency","adminFeeStartDate","adminFeeScheduleStartDate","adminFeeChargeAmount","adminFeeChargeFrequency","vehicleLeaseTypes","vehicleLeaseType","getLeaseTypeName","getEndDate","getEntityName","leaseAndEmployment","clientList","showOnlyCreateLeaseConfirmation","loadEmployerSelectList","getFinanceApplicationLeaseAndEmployment","onEditMode","vehicleDetails","motorVehicle","item3","showInvoicesPopup","errorMessageOnNoRelatedID","openInvoicesPopup","onAddInvoice","invoiceItems","invoiceFields","invoiceCustomTemplateList","showInvoiceEmptyBanner","onCustomDataTableEventInvoice","showNoRelatedIDMessage","getInvoiceID","bankAccounts","getInvoiceGeneratedFlag","onBankAccountChanged","selectedBankAccountId","getInvoiceServiceEditMode","serviceItems","serviceFields","serviceCustomTemplateList","onCustomDataTableEventInvoiceService","onCloseInvoice","showConfirmationOnCancel","closeInvoice","number","EditInvoiceLink","editInvoice","showDeleteInvoiceConfirmation","deleteInvoice","generated","onPreviewInvoice","onSaveInvoice","onDeleteInvoice","InvoiceActionButtons","onActionEvent","invoiceID","getItemEditMode","invoiceServiceLine","allServiceTypes","onChangeType","serviceTypeText","InvoiceServiceType","serviceTypes","getServiceTypeList","getInvoiceLineByID","SetServiceTypes","GetServiceTypeText","quantity","onChange","InvoiceServiceQuantity","unitCost","InvoiceServiceUnitCost","showDeleteInvoiceServiceConfirmation","deleteInvoiceService","onEdit","onEditService","onSaveService","onCancelService","onDeleteService","InoiceServiceActionButtons","onDeleteInvoiceService","edit","validateService","onSaveInvoiceService","onCancelInvoiceService","InvoiceList","showServiceEmptyBanner","showAddInvoicePanel","newServiceInvoiceLine","showAddService","invoiceService","getBankAccounts","loadInvoiceList","onInvoicesRefresh","invoiceId","loadInvoiceData","invoiceItem","loadInvoiceServiceList","onEditInvoice","onRefreshInvoice","cancelInvoiceService","saveInvoice","saveInvoiceService","getRelatedTable","getRelatedID","FinanceApplicationWizard","showWizard","leaseAndEmploymentStatus","initialApplicationActionModel","reverted","showFinanceApplicationActionModal","applicationActionDirtyValidationNo","actionDate","brokerageReceivedDate","applicationName","okayToComplete","okayToCreateVehicleLeaseAndNovation","okayToCreateLeaseAndNovation","vehicleLeaseId","leaseCreatedDate","leaseCreatedByName","totalInvoiceAmount","clientFinanceApplicationARN","generatedFrom","initialDetailsValidations","requestInvoiceValidations","reviseApplicationValidations","signatureAndSubmissionValidations","applicationInfoDirtyValidationRefNo","isLeaseAndEmploymentFilled","loadData","loadApplication","relaodApplicationInfo","dirtyValidatorRefNos","getFinanceApplicationDirtyValidationRefNos","applicationInfoDirtyValRefNo","getFinanceApplicationInfoDirtyValidationRefNo","getQueryData","financeApplicationId","onCompleteApplication","getFinanceApplication","okayToCreateVehicleAndLease","initialApplication","requiresInvoice","errorMsgs","errorMsg","leaseApplication","getFinanceApplicationMandatoryFieldsFilled","financeApplicationWizard","applicationARN","queryNoteText","showQueryCFANoteModal","onQueryCFA","withdrawNoteText","showWithdrawCFANoteModal","onWithdrawCFA","rejectNoteText","showRejectCFANoteModal","onRejectCFA","onCloseAnnatureAuditLogsModal","onCloseDocumentRepository","getClientFinanceApplicationStatus","documentQueriedStatus","informationQueriedStatus","getClientFinanceApplicationARN","awaitingSignatureStatus","readyForSubmissionStatus","awaitingFinancierApprovalStatus","financierApprovedStatus","convertedStatus","showDocumentRepositoryModal","downloadCreditGuide","getClientFinanceApplicationCreditGuideDownloadedDate","onShowAnnatureAuditLogs","mandatoryFieldsValidation","personalDetails","onValidatePersonalDetails","getClientFinanceApplicationEditedSteps","addressStatus","addressDetails","onValidateAddressDetails","employmentStatus","employment","onValidateEmployment","incomeStatus","income","onValidateIncome","assetsStatus","assets","onValidateAssets","liabilitiesStatus","liabilities","onValidateLiabilityDetails","motorVehicleDetailsAndFinancedAmountStatus","motorVehicleDetailsAndFinancedAmount","onValidateMotorVehicleDetailsAndFinancedAmountDetails","changeInCircumstances","onValidateChangeInCircumstances","getClientFinanceApplicationId","getClientFinanceApplicationCreatedByName","getClientFinanceApplicationCreatedDate","getClientFinanceApplicationUpdatedByName","getClientFinanceApplicationUpdatedDate","onDisableSubmitButton","onSubmitCFA","submitBtnText","isAllowedToFinancierApprove","rejectCFA","isAllowedToQuery","queryCFA","queryActionTypeDocument","queryActionTypeInformation","isAllowedToWithdraw","withdrawCFA","onFinancierApprove","isAllowedToConvert","onConvertCFA","isAllowedToSubmitForBank","onBankSubmitCFA","isAllowedToApprove","onApproveCFA","docRepositoryUploaderEnabled","docRepositoryMode","onCancelEditDocument","DragAndDropControlApplication","docCategoryTypes","selectedForEditDocumentFileName","loadDocCategoryTypes","applicationStep","relatedStep","documentType","clientFinanceApplicationState","deleteClientFinanceApplicationFile","clientFinanceApplicationId","isEmitEnabled","onLoadDocumentList","DocumentRepository","ClientApplicationFileTypes","AustralianStates","AustralianResidencyStatus","maritalStatus","dependantsAge","driversLicenseNumber","licenseIssuingState","licenseStates","onIssuingStateChange","LicenceIssuingStateOther","licenseIssuingDetails","driversLicenseType","residencyStatus","onResidencyStateChange","ResidencyStatus","residencyStatusDetails","docRequiredText","onCustomDocumentEvent","validatePersonalDetailsStep","stepName","auditHistoryIdentifier","isAuditHistoryAvailable","openHistoryLogsPopup","field","auditDateTime","viewAuditHistory","closeAuditHistoryPopup","fieldIndex","getChangedCellClass","closeAuditLogDetailsPopup","AuditHistoryLogs","auditLogHistoryItems","auditLogHistoryFields","auditedDate","auditLogDetailsFields","setCustomDataFormats","auditLogDetailsItems","entityFields","showAuditLogHistoryPopup","showAuditLogDetailsPopup","loadHistoryLogs","relatedStatus","oldValue","newValue","auditLogs","isValidDateFormat","isValidDateFormatWithGMTTime","CFAAuditHistory","PersonalDetails","Visa","driversLicenseFileType","DriversLicenseOrPassport","medicareCardFileType","MedicareCard","currentIndex","routerName","dependantlimit","getClientFinanceApplicationPersonalDetails","getIsReadOnly","loadAustralianResidencyStatuses","loadLicenseStates","loadMaritalStatuses","loadDriverLicenceTypesStatuses","onLoadPersonalDetails","editedSteps","onValidateDocumentList","clientFinanceApplicationStep","clientData","validateOnSave","onNavigate","onSaveClientFinanceApplication","isValidEmail","isValidOrNullNumber","step","requestedRouterName","personalDetailsDocuments","onValidateStep","saveMode","stepIndexToNavigate","GetMaritalStatuses","GetDriverLicenseTypes","GetAustralianResidencyStatuses","GetAddressStatesWithOtherType","personalDetailsDocs","validateFromStore","documentValidationDictionary","driversLicenseOrPassportFileType","validationTextArray","distinctValidations","Set","validationText","currentAddress","selectedRowData","isShowAddEditAddressButton","applicationAddressLinesChanged","onCancelAddressTableRowSelected","addressLinesFields","AddressModel","MotorVehicleDetailsAndFinancedAmountModel","EmploymentDetailsModel","timeAtAddressYears","timeAtAddressMonths","monthsPerYear","clientAddressType","rentClientAddressType","landlordName","landlordContactNumber","showAddEditAddressButton","isModelInvalidForAddAddress","addEditAddressLine","onCancelEditAddress","AddressTypes","ClientAddressTypes","ApplicationAddressModel","_AddressModel","tableName","onOpenAuditHistoryModal","groupIdentifier","onCloseAuditHistoryModal","viewGroupedAuditHistory","onCloseGroupedAuditHistoryModal","GroupedAuditHistoryLogs","groupedAuditHistoryItems","groupedAuditHistoryFields","showGroupedAuditHistory","auditHistoryGroups","CFATableAuditHistory","ApplicationAddress","residentialAddressType","Residential","Rent","newApplicationAddressModel","previousAddressNotAvailable","selectedRow","initialAddress","loadClientAddressTypes","GetClientAddressTypes","editedAddressLine","getClientAddressTypeText","newAddressLine","clearApplicationAddressFields","applicationAddressLines","MonthlyRepaymentTypes","MonthlyExpenseTypes","EmploymentTypes","SaleTypes","ClientFinanceApplicationValidations","validatePersonalDetailsDocumentList","liabilityDependency","isValidMonthlyRepayments","isValidMonthlyExpenses","assetItems","currencyAmount","ownedOutright","grossAnnualIncome","monthlyNetIncome","otherIncome","otherIncomeDetails","balanceAmount","monthlyRepaymentAmount","MotorVehicleLoan","RecreationalAssetLoan","PlantAndEquipmentLoan","payout","CreditCard","limitAmount","me","GeneralLivingExpenses","isRentOrBoard","RentOrBoard","motorVehicleDetailsAndFinancedAmountDetails","amountSeekingPreApproval","costVehicleIncludingGST","Refinance","sellerDetails","contactPerson","contactNumber","isValidOrNullEmail","motorVehicleDetails","isValidNumberOrZero","termOfLease","isValidAddress","addressLines","employmentDetails","isValidEmployment","employmentLines","employmentType","employmentTypeDetails","employerContactName","lengthOfEmploymentYears","lengthOfEmploymentMonths","changeInCircumstance","changeInCircumstancesAgreement","creditGuideDownloadAndReadComplete","clientFinanceApplicationValidations","onEditTableLineClick","deleteTableLine","TableActionButtons","showDeleteTableLineConfirmationModal","ExpenseClaim","onDeleteTableLineAction","onEditTableLineAction","AddressDetails","Address","isAddressesLoaded","isPreviousAddressNeeded","initialApplicationAddressObj","addressStatesList","getState","getClientFinanceApplicationAddressDetails","onLoadExistingAddressDetails","addressLineRecords","selectFirstRow","itemIndex","resetTableRowNumbers","onValidateAddressListAfterAction","getAddressDetails","clientFinanceApplicationValidationService","isValidAddressDetails","currentEmployment","isShowAddEditEmploymentButton","applicationEmploymentLinesChanged","onCancelEmploymentTableRowSelected","paySlipFileType","employmentLinesFields","onEmploymentTypeChange","EmploymentTypeOther","showAddEditEmploymentButton","isModelInvalidForAddEmployment","addEditEmploymentLine","onCancelEditEmployment","ApplicationEmploymentLineModel","ApplicationEmployment","newEmploymentModel","newApplicationEmploymentLineModel","initialEmployment","loadEmploymentTypes","GetEmploymentTypes","editedEmploymentLine","newEmploymentLine","clearApplicationEmploymentFields","applicationEmploymentLines","EmploymentDetails","Employment","Payslip","isEmploymentLoaded","initialApplicationEmploymentObj","getClientFinanceApplicationEmploymentDetails","employmentLineRecords","getEmploymentDetails","employmentDetailsDocs","isValidEmploymentDetails","onValidateEmploymentListAfterAction","spousalGrossAnnualIncome","spousalMonthlyNetIncome","investmentPropertyIncome","superannuationIncome","governmentBenefitIncome","investmentIncome","resetIncomeDetails","validateIncomeStep","Income","otherIncomeFileType","OtherIncome","bankStatementFileType","BankStatement","spouceRecentPaySlipFileType","SpouceRecentPaySlip","getClientFinanceApplicationIncome","incomeDocs","AssetCategoryTypes","onAddAsset","onCategoryChanged","calculateTotalCurrencyAmount","otherAssetCategoryType","onDeleteAssetItem","totalCurrencyAmount","Assets","maxRowNumber","homePropertyFileType","HomeProperty","loadAssetCategories","getClientFinanceApplicationAssets","rowNumberField","assetItem","emptyAssetItems","isEmptyAssetItem","getAmountValue","getAssetData","assetsDocuments","isValidAssetsItems","removeEmptyAssetItems","GetAssetsCategories","monthlyRepaymentItems","monthlyExpenseItems","validateLiablilitiesStep","monthlyRepaymentsIdenifier","onAddMonthlyRepaymentItem","onCategorychanged","monthlyRepaymentTypes","calculateTotalBalanceAmount","isEndDateMandatory","isLimitAmountMandatory","calculateTotalLimitAmount","calculateTotalMonthlyRepaymentAmount","isPayoutMandatory","onDeleteLiabilityItem","totalBalanceAmount","totalMonthlyRepaymentAmount","totalLimitAmount","MonthlyRepayments","loadMonthlyRepayments","monthlyRepaymentItem","monthlyRepayment","emptyMonthlyRepaymentList","isEmptyMonthlyRepayment","GetMonthlyRepayments","removeEmptyMonthlyRepayments","monthlyExpensesIdenifier","onAddMonthlyExpenseItem","showCategoryInfo","onCategoryInfoClicked","monthlyExpenseTypes","acknowledgementMessageMinWidth","acknowledgementMessage","showAcknowledgementMessage","MonthlyExpenses","monthlyExpenseItem","monthlyExpense","emptyMonthlyExpenseList","isEmptyMonthlyExpense","GetMonthlyExpenses","getCategoryInfoText","removeEmptyMonthlyExpenses","Liablilities","Liabilities","maxMonthlyRepaymentsRowNumber","maxMonthlyExpensesRowNumber","otherFileType","HomePropertyLoan","getClientFinanceApplicationLiabilities","loadRequiredMonthlyExpenseCategories","onAddNewMonthlyExpenseCategory","ad","Board","getLiabilityDetails","getMonthlyRepayments","getMonthlyExpenses","saleTypes","onChangeSalesType","validateMotorVehicleDetailsAndFinancedAmountStep","MotorVehicleDetailsAndFinancedAmount","taxInvoiceFileType","TaxInvoice","onShowSellerDetails","getClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount","isValidVehicleIDNumber","ariaDescribedby","onChangeAgreementOption","changeInCirumstanceNote","getClientFinanceApplicationChangeInCircumstance","AnnatureAuditLogs","utc","eventDateTime","local","RelatedIdList","relatedIdList","showClientFinanceApplicationAuditLogsModal","viewClientFinanceApplicationAuditLogs","ClientFinanceApplicationAuditLogs","ClientFinanceApplicationAuditLogsActionButton","ClientFinanceApplicationNotes","notesTableFilterParams","ClientFinanceApplicationWizard","personalDetailsStatus","Converted","awaitingReviewStatus","AwaitingReview","ReadyForSubmission","AwaitingFinancierApproval","FinancierApproved","InformationQueried","DocumentQueried","isAllowedToReject","Information","Document","arn","isSubmit","creditGuideDownloadedDate","replacementOrAdditionalVehicle","onValidateClientFinanceApplication","applicationData","isValidPersonalDetails","isValidAssetDetails","isValidIncomeDetails","previousAddress","isValidLiabilityDetails","isValidMotorVehicleDetailsAndFinancedAmountDetails","isValidChangeInCircumstance","appData","getClientFinanceApplication","getClientFinanceApplicationDirtyValidationRefNos","applicationFilter","applicationShowInactive","getClientFinanceApplicationIsSubmit","clientFinanceApplicationWizard","incomeDetails","liabilityDetails","onUpdateCreditGuideDownloadedDate","getClientFinanceApplicationConcurrencyKey","changeInCircumstanceStep","getChangeInCircumstanceData","queryActionType","BankStatementTransactionStatus","bankRecTabDirtySet","isUploadBankFileView","uploadBankFileTabDirtySet","hideLedgerModalFooter","onClosePopup","ledgerTypesList","onLedgerTypeChanged","selectedLedgerType","getTransferTransactionDateText","transactionToTransfer","getTransactionDirectionText","ledgerRelatedTable","ledgerRelatedId","selectedCompanyBankAccountId","onLedgerTransactionChecked","selectedVehicleLedgerIdList","onMatchTransactionsToVehicleLedgers","onCancelVehicleLedgerSelectList","motorVehicleRelatedTable","bankStatementTransactionRelatedTable","transferTransactionId","onAllocateLedgerCreateAndMatch","onAllocateLedgerCreateNewTransaction","onCompanyBankAccountSelected","onCancelLedgerSelectList","createNewTransaction","checkedTransactionSum","matchTransactions","newTransactionSelectedCategory","newTransactionDescription","newTransactionGSTInclusive","onCancelCreateNewTransactionInputModal","onOkayCreateNewTransactionInputModal","cancelTransferTransactionConfirmation","onConfirmTransferTransaction","okayToTransferTransaction","okayToBasRefundPaymentTransaction","transferTransactionCategory","cancelTransferTransaction","onTransferTransaction","showVehicleLedgerSelectList","showVehicleLedgerListForCreateNewTransaction","showCancelVehcileLedgerMatchConfirmation","onOkCancelLedger","showMatchTransferConfirmation","okayToMatchTransactions","onHideTransactionDetailsModal","matchedVehicleDetails","vehicleFields","frontHeaderActionSlots","transactionDetailsCustomTemplates","navigateToLedger","matchedAccountDetails","accountFields","accountGridTotalRows","filterGridByRefAndDescription","filterGridByAmount","bankStatementInfoFileSelectList","onBankFileChanged","bankInfoId","onStatusChanged","showUnmatchTransactionConfirmation","unmatchTransaction","bankTransactionStatus","postedStatus","viewMatchedTransaction","documentsCount","BankRecActionButtons","unpostedStatus","Unposted","Posted","BankStatementTransaction","Unmatch","Transfer","View","onShowFuelCardBrands","showFuelCardBrands","fuelCardBrandList","onFuelCardBrandChanged","selectedFuelCardBrand","vehicleLedgerIdList","onAllocateLedgerSelectedForCreateAndMatch","isAllItemsChecked","isCreateOnly","isChecked","isInvalid","SelectRecordCheckBox","ItemChecked","SelectAllRecordsCheckBox","AllItemChecked","MotorVehicleAndClientDetailsList","checkedItems","SelectAllRecordCheckBox","vehicleItemList","SelectedFuelCardBrand","records","vehicleIdList","fuelCardBrand","NavigateToLedgerActionButton","LedgerSelectList","companyAccountId","itemChecked","isHeader","addNewTransaction","isFooter","onCheckLedgerItem","selectedRelatedEntityText","selectedRelatedEntityId","relatedEntityGroupedList","changeRelatedEntity","description","categoryMapping","CategoryList","onAmountChange","fuelCardNumbers","card","RemainingAmountToAllocate","hasValidNewTransactions","onAllocate","onCancelLedger","VehicleLedgerSelectList","checkedLedgerItemIdList","checkedLedgerItemList","initialItemList","fuelCategory","expenseTransactionCategoryType","secondFilterString","totalChecked","bankStatementTransaction","IsAllVehiclesChecked","SearchBySecondString","VehicleIdList","IsCreateOnly","loadCategories","defaultCategory","transactionResults","itemList","transaction","_this3$items","newTransactionList","vehicleGroupList","groupId","headerItem","isValidItems","relatedEntities","getRelatedEntitiesFromGroupedList","newTransaction","defaultGSTInclusive","defaultDescription","itemPageNumber","currentRelatedEntity","showRelatedEntityWarning","groupedRelatedEntities","newItems","validateNewTrasactionRecord","onAllocateLedger","cancelLedger","groupHeaderClass","actionSlot","headerName","BankReconciliation","commonFilter","amountFilter","selectedLedgerId","selectedVehicleLedgerItemList","actionCol","actionColTemplate","showSelectLedgerModal","showTransactionTransferConfirmation","vehicleGridTotalRows","showMatchedTransactionInfoModal","showVehicleDetailsGrid","showAccountDetailsGrid","showLedgerWithCheckBox","showBasRefundPaymentConfirmation","checkedTransactionsList","categoryTypes","showTransactionTransferModal","selectedVehicleLedgerItems","showClosePopup","showCreateNewTransactionDefaultInputsModal","getBankSatementInfoFileList","GetCompanyId","SearchByString2","loadSelectLists","manageActionColumn","transactionsTable","commonFilterRef","amountFilterRef","hideActionColumn","actionColIndex","getColIndex","onUnmatchTransaction","loadMatchedTransactionDetails","transferTransaction","BasRefundPayment","companyBankAccountId","bankStatementTransactionId","matchTransactionsToVehicleLedgers","matchCompanyLedgerTransactions","matchedTransactionIdList","matchedTransactions","closeSelectLedger","vehicleLedgerSelectList","GetTransactionCategoryTypesList","GroupedDataTable","BankStatementInfoFileStatus","duplicateFileExists","showUploadPanel","showUploadBankFilePanel","deleteRecord","showDeleteBankFileConfirmationModal","failedStatus","failureReason","BankFileStatusText","Failed","GetBankStatementInfoStatusList","onDeleteRecord","BankFileUpload","processedStatus","Processed","getFileTypeName","uploadedDateTime","loadAcceptedFileTypes","getBankAccountsIntoSelectList","bankFilesTable","BankStatementInfo","checkForDuplicate","LeaseTransactions","deleteBankFile","ledgerBalance","fundsHold","BankBalances","dateDisplayText","selectedFilterString","selectedFuelBrand","onNewTransactionCategoryChanged","isCategorySelected","syncWithBankInfo","syncWithBankDateChanged","showSyncWithBankModal","bankSyncDaysInvalid","onClickSync","onClickSyncWithBank","bankTransactionRelatedTable","BankTransactionActionButtons","BankTransaction","BankTransactions","dirtyValidationRefNo","transactionDisplayDate","diffDays","BankRecAndUploadBankFile","deleteFinancier","navigateToFinancier","onDeleteFinancierClick","FinancierListActionButtons","showDeleteFinancierConfirmationModal","selectFinancier","EditFinancierLink","onSelectFinancier","FinancierList","financierTable","onViewFinancier","financierFilter","financierID","reFinanceAmountLimit","isModelInValid","AddEditFinancier","initialFinancier","loadFinancierDetails","updateExistingFinancier","addNewFinancier","FinancierDetails","loadFinancierName","navigateToAddSupplier","deleteSupplier","navigateToSupplier","onDeleteSupplierClick","SupplierListActionButtons","showDeleteSupplierConfirmationModal","selectSupplier","EditSupplierLink","onSelectSupplier","SupplierList","supplierTable","onViewSupplier","supplierFilter","supplierID","supplierName","getIsValidSupplier","getIsRelatedEntityFailedToCreate","onNameUpdated","supplierRole","supplierTags","opt","AddEditSupplier","initialSupplier","initialSupplierAndAdressObject","isRelatedEntityFailedToCreate","loadSupplierTags","getSupplierDetails","updateExistingSupplier","addNewSupplier","ex","SupplierDetails","SupplierIdProp","loadSupplierName","scheduleTabDirtySet","onCancelDelete","deleteScheduleRecord","leaseDueDate","leasePaymentDate","leaseScheduleItemCountProp","onDirtyRefNoChanged","onLeaseScheduleCreate","selectedLeaseSchedulePaymentIdList","selectedManualPaymentIdList","onClickDeleteSchedules","loadManualPayments","onSelectLeasePayment","onScheduledPaymentStatusChanged","resetSelectedScheduledPaymentStatusList","onAddLeasePaymentSchedule","openLeaseScheduleModal","todayDateInUTC","onSelectAll","isSelectAll","totalAmountPayable","isRecordAddEditDeleteAllowed","onEditRecord","onSaveRecord","onCancelEditRecord","totalGstAmount","viewLeasePaymentAuditLogs","LeasePaymentScheduleAuditLogs","showLeasePaymentAuditLogsModal","LeasePaymentScheduleStatus","ManualLeasePayments","isShedulePayment","selectedLeasePaymentIdList","showDeletePaymentConfirmationModal","isAllowedToEditRecord","isAllowedDeleteRecord","LeaseSchedulePaymentStatus","selectedDataField","loadManualPaymentList","isInValid","leaseSchedule","leasePaymentDueDate","$required","disabledLeasePaymentDueDates","monthlyLeasePaymentDueDate","monthlyLeasePaymentDueDates","changeFinalLeasePaymentDueDate","finalLeasePaymentDueMonthComponent","finalLeasePaymentDueYearComponent","finalLeasePaymentDueDates","disabledFinalLeasePaymentDueDates","saveDisabled","showAddleasepaymentButton","onAddOneMoreItem","showLeasePayments","leasePaymentNumber","leasePaymentNumberSelectList","isMaxLeaseScheduleCountReached","disableCreateButton","AddLeaseSchedule","entity","addDisabled","novationType","maxDayComponentValue","showInvalidTermErrorMessage","leaseScheduleItemCount","filteredFields","leaseScheduleItem","updateExtendedLeaseDueDate","isRowDirty","nextLeasePaymentNumber","getMaxTerm","createLeaseSchedule","changeLeasePaymentDate","maxTerms","checkLeasePaymentListCountIsValid","amountToReduce","dayComponent","isCountValid","scheduledPaymentStatusFilterList","removeSelectedScheduledPaymentStatusList","selectedScheduledPaymentStatusFilterList","ScheduledPaymentStatusSelectList","initialScheduledPaymentStatusFilterSelectList","loadScheduledPaymentFilterList","setInitialScheduledPaymentStatusSelectFilters","selectedScheduledPaymentStatusFilterIdList","scheduledPaymentStatusChanged","LeasePaymentSchdule","newLeasePaymentSchedule","amountPayable","manualPayments","recordToBeDeleted","showDeleteScheduleConfirmationModal","isLeaseGstInclusive","isRecordEditable","selectedPaymentScheduleStatusFilterIdList","isGetAllStatuses","rowNumbers","loadLeasePaymentSchedule","paymentScheduleStatusList","isValidSchedule","round","deletePaymentModel","LeaseSchedulePaymentIdList","ManualPaymentIdList","showMaxNovationReachedNote","addNewNovation","deleteNovation","onDeleteNovationClick","NovationListActionButtons","showDeleteNovationConfirmation","isNovationDeletable","onNovationDeleted","NovationsList","loadNovationsList","novationTable","leaseNovationList","novations","LeaseReportTypes","client_view","user_view","onChangeReportType","leaseReportType","getLeasePaymentReport","LeaseReports","showReport","showReportData","showLeasePaymentReportInfoText","loadLeaseReportSelectList","GetLeaseReportList","LeasePaymentsReport","generateLeasePaymentReport","VehicleLeaseDetails","showScheduleAndReportTabs","loadClientNameByLeaseID","dirtyValidationServiceAgreementConfirmation","closeServiceAgreementPopupWindow","showCreateServiceAgreementConfirmation","createServiceAgreement","addExtraRecipientConfirmation","addExtraRecipient","serviceAgreementIdList","serviceAgreementRelatedTable","serviceAgreement","onDocumentAdded","emailSubject","recipient","signingOrder","serviceAgreementRecipients","signatoryEmailSelectList","relatedEntityType","recipients","updateRecipient","removeRecipient","showAddExtraRecipientConfirmationPopup","closeCreateServiceAgreementConfirmationPopup","showCreateServiceAgreementConfirmationPopup","topTabDirtyValidationRefNumbers","isReloadNovationDetails","odometerLogTabDirtySet","exemptionsTabDirtySet","envelopeCount","showAddServiceAgreementButton","showServiceAgreementPopupWindow","closeAddOdometerLogPanel","odometerLog","availableTypes","odometer","$anyError","showAddOdometerLogPanel","onAddOdometerLog","EditOdometerLogLink","editOdoMeterLogs","deleteOdometerLog","onDeleteLogsClick","OdometerLogsActionButtons","showDeleteOdometerLogConfirmation","onDeleteOdometerLog","OdometerLogTypes","OdometerLogs","odometerLogTypes","loadOdometerLogTypes","loadOdometerLogsList","odometerLogsTable","updateOdometerLog","createOdometerLog","getOdometerLogById","removeUnwantedTypes","log","onEditOdometerLog","Start","removeType","End","FBTRecordUpdateTypes","showFBTRecordCancelConfirmation","closeAddEditFBTRecordPanel","onSubmitFBTRecord","fbtPeriodList","fbtRecord","fbtPeriodID","fbtStartDateInputClass","disabledFBTStartDates","onEnterFBTStartDate","fbtStartDateErrorMessage","fbtEndDateInputClass","disabledFBTEndDates","onEnterFBTEndDate","fbtEndDateErroMessage","isFBTModelDirty","onCancelFBTRecord","showAddEditFBTRecordPanel","onAddFBTRecord","fbtItems","fbtTableFields","fbtTotalRows","fbtSortBy","fbtSortDesc","fbtCustomTemplateList","showFBTEmptyBanner","onFBTTableCustomEvent","onFBTTablePageChange","onFBTTableSortingChange","deleteFBTRecord","recalculateFBTRecord","onCloseRecalculate","onReCalculateFBTClick","onDeleteFBTClick","FBTRecordsActionButtons","showDeleteFBTRecordConfirmation","showRecalculateFBTRecordConfirmation","onActionFbtRecord","Recalculate","isRecalculation","FBTExemptionRecords","sortableFields","fbtRecordDirtyValidatorRefNo","showFBTStartDateErrorMessage","showFBTEndDateErrorMessage","getPeriodName","loadFBTPeriodsList","refreshFBTGrid","NovationID","fbtTable","updateFBTRecord","Update","createFBTRecord","onDeleteFBTRecord","onEditFBTRecord","updateType","getFBTRecordById","record","periodId","showExemptionCancelConfirmation","closeAddEditExemptionRecordPanel","onSubmitFBTExemption","exemptionStartDateInputClass","disabledExemptionStartDates","onEnterExemptionStartDate","fbtExemptionRecord","exemptionStartDateErrorMessage","exemptionEndDateInputClass","disabledExemptionEndDates","onEnterExemptionEndDate","exemptionEndDateErroMessage","isExemptionModelDirty","onCancelExemption","showAddEditExemptionRecordPanel","onAddFBTExemptionRecord","fbtExemptionItems","fbtExemptionTableFields","exemptionTotalRows","exemptionSortBy","exemptionSortDesc","exemptionCustomTemplateList","showExemptionEmptyBanner","onExemptionTableCustomEvent","onExemptionTablePageChange","onExemptionTableSortingChange","deleteExemptionRecord","ExemptionRecordsActionButtons","showDeleteExemptionRecordConfirmation","onDeleteFbtExemptionRecord","days","exemptionDirtyValidatorRefNo","showExemptionStartDateErrorMessage","showExemptionEndDateErrorMessage","refreshExemptionGrid","getNovationStartEndDates","fbtExemptionTable","updateExemptionRecord","createExemptionRecord","onDeleteFBTExemptionRecord","onEditFBTExemptionRecord","er","getExemptionRecordById","_MS_PER_DAY","utc1","utc2","calculateDays","FBTDetails","FBTRecords","RevenueCategories","InvoiceStatuses","selectedInvoicesIdList","onClickDeleteInvoices","onInvoiceStatusChanged","resetSelectedInvoiceStatusList","newInvoiceType","revenueCategories","Invoice","CreditNote","openInvoiceScheduleModal","isOkToCreateInvoiceSchedule","isExpanded","columnSet_1","columnSet_3","columnSet_2","onDataTableCustomEvent","toggleAmountColumn","amountInclGst","leaseAmount","leaseGST","leaseTotal","runCostAmount","runCostGST","runCostTotal","refundLeaseAmt","refundLeaseGST","refundLeaseTotal","refundRunCostAmount","refundRunCostGST","refundRunCostTotal","totalLeaseAmt","totalLeaseGST","totalLeaseTotal","totalRunCostAmt","totalRunCostGST","totalRunCostTotal","totalAmountincGST","editInvoiceID","refreshInvoiceGrid","invoiceScheduleItemCount","lastInvoiceDate","lastInvoiceDueDate","onInvoiceScheduleCreate","showDeleteInvoicesConfirmation","deleteSelectedInvoices","onClickAcknowledgement","voidedReasonModalReadOnlyMode","invoiceVoidedReason","closeVoidedReasonModal","markInvoiceAsVoided","GenerateOrSendEmail","invoiceStatuses","Pending","onEditInvoiceClick","isOkToGenerate","invoiceType","onClickGenerateOrEmail","Emailed","Voided","onMarkInvoiceAsVoided","viewVoidedReasonModalInReadOnlyMode","voidedReason","InvoicesListActionButtons","showSendEmailConfirmation","showVoidInvoiceConfirmation","sendEmail","Refresh","InvoiceLineCategoryType","invoice","onEnterDate","disabledDueDates","onEnterDueDate","emailInvoiceTo","novatedFullyMaintained","isInvoice","itemDescription","totalAmountGreaterThanZero","isDirtyItems","AddEditInvoice","getRelatedEntityScheduleNextStartDate","loadInvoiceDataByNovation","isDirtyItem","getLeaseType","addInvoiceLines","leasePayment","gSTInclusive","RunningCost","leasePaymentsOverpaid","runningCostOverpaid","relatedEntityScheduleNextStartDate","fullName","maxItemCount","runningCostItem","isLeasePaymentExist","isItemCategoryExist","isRunningCostExist","leasePaymentItem","itemCategory","isExist","addNewManualInvoice","updateInvoice","validItems","reduce","previewData","onPreviewCancel","createInvoiceSchedule","invoiceSchedule","isExtendedSchedule","firstInvoiceDate","disabledFirstInvoiceDates","changeFirstInvoiceDate","firstInvoiceDueDate","disabledFirstInvoiceDueDates","changeFirstInvoiceDueDate","invoiceFrequency","onInvoiceFrequencyChange","monthly","monthlyInvoiceDueDate","monthlyInvoiceDueDates","changeFinalInvoiceDueDate","finalInvoiceDueMonthComponent","finalInvoiceDueYearComponent","disabledFinalInvoiceDueDates","fortnightly","weekly","finalInvoiceDueDate","showAddInvoiceButton","invoiceNumber","invoiceNumberSelectList","isMaxInvoiceScheduleCountReached","runningCostAmount","onPreview","invoiceDateDisplayText","getDueDate","getTotal","InvoiceSchedulePreview","acc","InvoiceFrequencyTypes","AddInvoiceSchedule","isPreviewMode","Monthly","Fortnightly","Weekly","showInvoiceSchedulePreview","invoiceScheduleItemCountProp","isOkToCreateExtendedInvoiceSchedule","getLastInvoiceDueDateComponent","updateExtendedFirstInvoiceDueDate","updateExtendedFirstInvoiceDate","getInvoiceFrequencies","invoiceScheduleItem","leasePaymentGSTInclusive","runningCostGSTInclusive","GetInvoiceFrequencyList","nextInvoiceNumber","getInvoiceSchedulePreview","checkInvoiceListCountIsValid","weeks","isSame","trunc","amountToAdd","finalInvoiceDueYear","extendedNextDueDate","extendedNextInvoiceDate","ackMessage","invoiceStatusFilterList","removeSelectedInvoiceStatusList","selectedInvoiceStatusFilterList","InvoiceStatusSelectList","initialInvoiceStatusFilterSelectList","loadInvoiceFilterList","setInitialInvoiceStatusSelectFilters","GetInvoiceStatusesList","selectedInvoiceStatusFilterIdList","invoiceStatusChanged","VehicleLeaseInvoices","emailSendDateDisplayText","getInvoiceStatusText","currentInvoiceSchedule","creditNoteCount","loadLeaseAndNovationDetails","loadInvoiceStatuses","invoiceStatusList","invoicesTable","setDefaultTotals","isCreditNoteIncluded","isCreatedBySchedule","invoiceDate","deleteInvoicseModel","NovationReportTypes","novationReportType","invoiceAndPaymentSummaryReport","onGeneratePDFReport","isLoading","totalAmountOwed","invoicePaymentAmount","unAllocatedTrasactionCount","onNavigateToLedger","unAllocatedTransactionCount","UnallocatedTransactionsLink","CustomizedReference","InvoiceAndPaymentSummaryReport","paymentReceivedText","invoiceAmountText","novationReconciliationRecords","amountOwedToDate","NovationReports","payrollSetupreport","PayrollSetupReport","showPayRollInfoText","isNovationPayrollGenerated","isSelectInvoicePaymentSummary","loadNovationReportSelectList","GetNovationReportList","ServiceAgreementRecipients","removeRecipientConfirmation","recipientType","authorizedSignatoryRecipientType","recipientSignatoryId","emitRecipientData","placeholder","clientRecipientType","employerRelatedEntityTable","employerRecipientType","emailBodyInfo","serviceAgreementCurrentRecipientCount","showRemoveRecipientPopup","ServiceAgreementRecipient","AuthorizedSignatory","otherRecipientType","initialRecipient","serviceAgreementRecipient","RelatedEntityAdminFeeChargeList","showAddEnvelope","onAddEnvelope","showVoidEnvelopeConfirmation","voidEnvelope","showEnvelopeAuditLogModal","envelopeId","EnvelopeAuditLogs","EnvelopeId","RelatedEntityEnvelopesListActionButtons","isVoidEnabled","lastEnvelopeEvent","Void","RelatedEntityEnvelopesList","loadEnvelopes","ServiceAgreement","NovationDetails","clientEmail","showServiceAgreementPopup","documentsChanged","isDocumentsReadOnly","initialServiceAgreement","initialServiceAgreementRecipients","isRecipientValid","showAuditlogHistory","relatedEntityEmailInvoiceTo","uniqueIndexCount","signatoryEmailList","initialSignatoryModel","selectedSignatory","loadClientNameByLeaseId","loadClientNameByNovationId","loadServiceAgreementRecipients","loadServiceAgreementByNovationId","loadSignatoryEmailSelectList","loadSignatoryEmailList","loadServiceAgreementRelatedDetails","activeServiceAgreementList","serviceAgreementsList","relatedIds","relatedEntityInfo","entityType","isManualServiceAgreementAvailable","addInitialServiceAgreementRecipients","serviceAgreementRecipientAuthorizedSignatory","serviceAgreementRecipientClient","serviceAgreementRecipientEmployer","extraRecipient","updatedRecipientSigningOrder","clearServiceAgreementDocuments","validateDetails","console","isInvalidDocuments","isValidDocumentsList","getDocumentCount","validate","elementIndex","filterSignatoryEmail","manufactureYear","loadVehicleDetailsByVehicleID","FrequencyTypes","navigateToAddSchedule","ScheduleTypes","leasePaymentScheduleType","onDownloadUpcomingLeasePaymentsReport","ScheduleListActionButtons","LeasePayments","ScheduleList","getNextPeriodText","nextStartDate","frequency","nextDueDate","onViewSchedule","scheduleTable","frequencyType","Quarterly","scheduleFilter","lastExecutedDate","onTypeChanged","scheduleId","changeNextRunDate","filteredFrequencyTypes","dueDayOffSet","isInteger","AddEditSchedule","frequencyTypes","loadScheduleDetails","loadLookupValues","updateExistingSchedule","addNewSchedule","scheduleShowInactive","AdministrationFeeInvoice","RelatedEntityAdministrationFeeInvoice","validFrequencyTypes","AdministrationFeeCharge","RelatedEntityInvoice","RelatedEntityAdministrationFeeCharge","Daily","GSTCalculationPeroid","abs","navigateToPayMoney","closeBankAccountSelectConfirmation","onGenerateBankFile","closeBankBalanceExceedingWarning","onContinue","showSelectBankAccountModal","leaseTransactionAccountType","onBankAccountSelect","showInsufficientBalanceModal","selectedHeaderData","onCloseMotorVehiclesModal","clientRelatedTable","eftPaymentMethod","onPaymentTypeChanged","selectedPaymentMethod","getTransactionMethodCount","bpayPaymentMethod","onTransactionTypeChanged","selectedTransactionType","getTransactionTypeCount","leasePaymentTransactionType","manualPaymentTransactionType","adminFeeTransactionType","filterGridByPayeeAndRef","onClickAutoSelect","isAutoSelectClicked","expandAll","onExpandOrCollapseAll","checkedCount","onGenerateBankFileClick","checkedAmount","latestAvailableBalance","getAllChcekedTransactionIds","showHeaderTemplate","onClickCheckBox","gstExclusiveAmount","vehicleHeaderName","withdrawalLimit","nextLeasePaymentsDetails","viewVehicle","onExpandOrCollapseHeader","MarkTransactionCheckBox","PaymentMethods","GenerateEFT","groups","allTransactions","generateBankFileConfirmation","refAndPayeeFilter","EFT","groupTransactionsDic","checkedGroupTransactionsDic","groupTransactionCheckedSumDic","checkedGroupKeys","isAction","useCustomHeader","selectedBankAccountID","transactionTypes","maximumOverdraftAmount","BPAY","isOnlyBankAccount","ManualPayment","AdministrationFee","showBankBalanceExceedingWarningDialog","fromRowCheckBox","selectedHeaderId","showTxUpdateTimeWarningMessage","loadTransactionMethodsAndTypesWithCount","loadMaximumOverdraftAmount","refAndPayeeFilterValue","getAmountFilterValue","TransactionType","PaymentMethod","getFromDate","getToDate","resetCheckedTransactions","generatePaymentTransactionsTable","collapedGroups","getActivePaymentListForVehicle","selectedHeader","selectedGroupedTxIndexList","transactionGroups","vehicleTransactionIds","companyTransactionIds","txGroup","VehicleTransactionIds","CompanyTransactionIds","expandedTransactions","_this5$items","groupTransactions","tx","groupKey","getGroupKey","headerIndex","checkAlreadyCheckedTransactions","setExpandAllFlag","autoSelectTransactions","getAutoSelectedTransactions","calculateCheckedTransactionCount","calculateCheckedTransactionAmount","autoSelectedTxGroups","transactionIds","checkedSum","expandAllTemp","groupCheckedTxs","getCheckedTransactionIdListByGroupKey","gropuTxs","getTransactionListByGroupKey","groupValidTxs","getValidTransactionListByGroupKey","allCheckedTransactionIds","transactionGroupList","transactionGroup","getRelatedIdByGroupKey","transactionIdList","payeeRefFilterText","amountFilterText","getCheckedGroupTransactionSumByGroupKey","checkedGroupTransactionIds","getItemById","getGroupByItemRelatedTableAndRelatedId","currentCheckedSum","onHeaderChecked","onTransactionChecked","onHeaderUnChecked","onTransactionUnChecked","validateSelectedTransactions","getTransactionGroupList","bankAccountID","paymentMethod","relatedtable","getGroupTransactionCheckedSumByGroupKey","groupCheckedSum","transactionTypeSelectItems","revertTransactionConfirmation","onOkayToRevert","showRevertAllTransactionsConfirmation","revertTransactions","bankAccountList","onBankAccountChange","selectedBankAccount","fileNameList","onFileChange","selectedFileId","DownloadGeneratedBankFile","eftBankFileRelatedTable","displayConfirmationReportPopover","atleastOneIsMatched","showRevertTransactionConfirmation","revertTransaction","isMatched","vehicleTable","routeToLedger","EFTHistoryActionButtons","onRevertTransaction","Revert","BankFileInfo","areAllMatched","recentlyGeneratedMode","bankAccountChangedAutomatically","getSelectedBankAccountId","ConfirmationReport","eftTransactionHistoryTbl","filteredByKey","eftTransactionsTbl","getBankFileNameList","transactionID","revertAll","bankFileID","EFTDetails","EFTHistory","PayeeTypes","paymentRecordViewMode","payees","recordToEdit","payeeId","onAddPayment","onClosePaymentModal","onViewGeneratePaymentFile","onViewLedger","onCreateNewPayment","paymentMethods","paymentRecords","onSelectVehicle","relatedEntity","balance","onAddPaymentRecord","payeeTypeText","showSelectPayeeModal","paymentRecord","payeeType","financierPayeeType","onPayeeSelect","supplierPayeeType","clientPayeeType","employerPayeeType","selectedRelatedTable","closeAddBankAccountModal","closeAddBPayAccountModal","showAddBPayAccountModal","billExpenseClaimViewMode","reimbursementExpenseClaimViewMode","payMoneyViewMode","payeeTypes","onPayeeTypeChange","payeeTypesEnum","onSelectPayeeBtnClicked","canAddPayee","accountId","accounts","showAddAccountModal","isBPay","isValidReference","ClientEmployerList","PaymentRecord","tempId","payeeName","initialModel","PayMoney","BillExpenseClaim","ReimbursementExpenseClaim","newAddedAccountId","allCategories","paymentAccountRelatedId","getLeaseFinancierBankAccounts","getBPayAccounts","loadPayeeTypes","loadCategoryList","selectedBankAccountName","getAccountName","setCategories","getPayeeName","paymentAccountId","GetPayeeTypesList","deletePayment","editPayment","PaymentListActionButtons","onDeletePayment","onEditPayment","paymentTypes","employers","showAddEditPaymentModal","showSuccessModal","loadPayementMethodsList","processedPaymentRecords","isLeasePayment","GetPaymentMethodList","getRelatedEntityLedgerBalance","GetRelatedEntityLedgerBalance","inclusiveBalance","getPaymentRecordIndex","MyProfile","ExpenseClaimActionTypes","showCancelEditReimbursementLine","expenseClaim","cancelEditExpenseClaim","cancelUpdateReimbursement","showSelectVehicleModal","ShowLowLedgerBalance","approveExpenseClaim","rejectOrQueryModalText","expenseClaimReImbursementType","expenseClaimLines","expenseClaimLinesRejectOrQueryNoteFields","expenseClaimBillType","rejectOrQueryNoteText","onClickCancelRejectOrQueryExpenseClaim","rejectOrQueryModalMode","queriedStatus","onDisableRejectOrQueryBtn","rejectOrQueryExpenseClaim","regoRenewalType","insuranceRenewalType","registrationCategory","showSetRenewalDatesModal","showRegoRenewalDatePicker","showInsuranceRenewalDatePicker","addAnotherBill","disableUpdateAndApproveButton","updateAndOnExpenseClaimAction","ingoreAndOnExpenseClaimAction","multipleECLinesActionText","onCancelMultipleECLinesAction","onConfirmMultipleECLinesAction","revertToPendingApprovalNoteText","onClickCancelRevertToPendingApprovalStatusExpenseClaim","onRevertToPendingApprovalStatusExpenseClaim","getInsuranceScheduleExistText","showActiveOrPendingInsuranceExistsModal","showInsuranceScheduleConsentModal","onInsuranceScheduleConsentModalYesClick","showDeleteExpenseClaimConfirmation","onDeleteExpenseClaim","showScheduledInsuranceExpenseClaimApproveConfirmationPopup","onClickedSubmitApprove","showInvalidIncurredDateModal","onCloseInvalidIncurredDateModal","vehicleInsurance","showInsuranceSchedulePreview","typeDisplayText","onVehicleNameClick","insuranceCategory","expenseClaimCreationMethod","expenseClaimCreationMethodInsuranceScheduler","pendingApprovalStatus","showInsuranceScheduleModal","recurringPaymentScheduleId","viewInsuranceSchedule","isShowResidualDueDateErrorMessage","residualDueDateErrorMessage","pendingClientApprovalStatus","expenseClaimFields","clientRejectedStatus","clientQueriedStatus","expenseClaimStatusDisplayText","expenseClaimsTotal","getRelatedEntityName","novationLedgerBalance","onSelectVehicleBtnClicked","isFieldDisable","onChangeVehicleNovation","incurredDate","isFieldEnableForRecurringPaymentClaims","onIncurredDateChange","showInvalidIncurredDateWarning","isCategoryDisable","ctpiCategory","period","periodsList","isDescriptionRequired","select","submittedByUserRole","supplierUserRole","accountID","expenseClaimBankAccounts","paymentMethodType","bPayAccount","expenseClaimBankAccountsLoaded","isValidInsuranceDocumentsExist","expenseClaimLineRelatedTable","selectedExpenseClaimLineId","PendingApproval","isDocumentsAndNotesReadOnly","isReImbursementClaimLineDirty","isModelInvalidForAddClaim","addEditExpenseClaimLine","onCancelEditExpenseClaim","showPopOverMsg","showAddEditReimbursementButton","showSubTotalSection","expenseClaimSubTotal","expenseClaimGSTTotal","expenseClaimDeclarationText","updateExistingExpenseClaimLine","onCancelUpdateReimbursement","notifyExpenseClaimCreatedByScheduledInsuranceAndApprove","showApproveSection","showQueryButton","isInvalidDocument","onClickQueryExpenseClaim","expenseClaimApprovedStatus","onClickRejectExpenseClaim","onClickDeleteExpenseClaim","expenseClaimRevertToPendingApprovalStatus","isResubmitButtonDisabled","expenseClaimLineChanged","onExpenseClaimAction","showResubmitPopOverMsg","onClickedSubmitApproveAndAddAnother","VehicleSearchFilterTypes","onVehicleSearchFilterTypeChanged","selectedVehicleSearchFilterType","resetSearchFilters","MotorVehicleSelectList","getVehicleBodyTypeText","MVRN","loadVehicleSelectFilterTypes","GetVehicleSearchFilterTypes","PlateNumber","vehcileBodyTypeText","vehicleSelectTable","deleteExpenseClaim","onDeleteClaimLineClick","SubmitExpenseClaimActionButtons","showDeleteExpenseClaimConfirmationModal","expenseClaimHistoryActionButton","review","ExpenseClaimHistory","checkToRefreshGrid","claimId","CategoryId","catergoryId","ClaimId","toISOString","onExpenseClaimHistoryLoaded","insuranceCompany","nextMonthInsuranceDueDate","getNextMonthDueDatePopoverText","disabledNextMonthInsuranceDueDates","changeNextMonthInsuranceDueDate","finalMonthInsuranceDueYearComponent","finalMonthInsuranceDueDates","changeFinalInsuranceDueDate","disabledFinalMonthInsuranceDueDates","monthlyInsuranceDueDates","modalSubmitButtonText","AddEditInsuranceSchedule","expenseClaimReimbursementType","currentVehicleInsurance","expenseClaimType","updateVehicleInsuranceMetaData","validateInsuranceMetaData","onVehicleInsuranceScheduleUpdate","onVehicleInsuranceCreate","validateTerm","finalMonthInsuranceDueYear","InsuranceSchedulePreview","loadInsuranceScheduleData","vehicleInsuranceSchedules","SubmitApproveExpenseClaim","ExpenseClaimLine","currentDate","setHours","initialExpenseClaim","eCRN","notesList","createdByUserId","ctpiProvider","updateRenewalDates","newExpenseClaimLine","expenseClaimID","rejectOrQueryNote","expenseClaimLinesCategoryList","claimLineDirtyValidationRefNo","showPaymentRecord","showAddPaymentRecord","showClaimHistory","getCategoryName","showDeleteButton","showRevertToPendingApproval","showRejectOrQueryExpenseNoteModal","ClientQueried","ClientRejected","PendingClientApproval","expenseClaimPaidStatus","Paid","InsuranceScheduleReminder","reviewMode","notesChanged","showSubmitSection","isActiveOrPendingInsuranceExists","expenseClaimWithInsuranceSchedule","selectedClientName","editRecord","declarationText","isClaimLineBeingUpdated","submittedByUserId","forceUserToResubmit","showMultipleECLinesActionConfirmation","showRevertToPendingApprovalStatusConfirmation","multipleECLinesAction","disabledIncurredDates","isEnabledExpenseClaimCategorySelected","enabledExpenseClaimCategoryList","allExpenseClaimCategoryList","loadDropDownLists","loadExpenseClaimBankAccounts","isInsuranceScheduleAvailable","loadExpenseClaimDetails","GetSubmittedExpenseClaimsCountBySupplierId","expenseClaimsCount","padStart","validateTotalGSTAmount","Approve","SubmitAndApprove","onSubmitAndApproveOrApproveEC","gstCalculatedAmount","Query","onQueryExpenseClaim","Reject","onRejectExpenseClaim","loadVehicleRenewalDates","onSubmitAndAddAnother","submitExpenseClaim","clearClaimInfoNotesAndDocuments","updateRenewalDate","onResubmitExpenseClaim","isInsuranceCategoryPresent","newDate","editExpenseClaimLine","expenseClaimRecords","showPopoverMessage","removeAddedClaimCategoriesFromList","calculateTotalAmounts","insurancePolicyDocIndex","repaymentPolicyDocIndex","InsuranceMonthlyRepaymentSchedule","_this$expenseClaimCat","claimLine","catg","disabledCategory","_objectSpread","registrationCount","insuaranceCount","countOfRenewal","setSelectedClientName","reviewExpenseClaimRecords","checkIncurredDateIsValid","setDocumentList","notesControl","setNotesList","gstTotal","loadClaimCategoryList","getExpenseClaimSubmittedUserDetails","ca","setExpenseClaimStatus","Manual","setResidualDueDate","differenceInDays","relatedTableForBanckAccount","getRelatedTableByUserRole","isExpenseClaimCreated","GSTRate","claimLineConcurrencyKey","addAnotherClaim","clearNotesWithoutValidation","ClearDocumentList","clearNotesList","resubmitExpenseClaim","appoveExpenseClaim","rejectExpenseClaim","queryExpenseClaim","_this35$vehicleNovati","getExpenseClaimsDeclaration","getValidNovation","isIncurredDateValid","getFormattedDate","isDocumentCountNull","isDocumentAvailable","exLines","onClearExpenseClaimLineRejectOrQueryNote","ReviewExpenseClaims","GetExpenseClaimStatusWithCountList","reviewExpenseClaimsTable","defaultApplicationStatus","pendingReconciliationMode","reconciledMode","customTemplatesList","ApplicationSummary","loadApplicationSummary","offsetClass","ApplicationStatusTrafficLight","ApplicationsList","selectedType","statusWithoutCountList","showGrid","receivedStatus","getSelectedStatus","applicationTable","loadApplicationStatus","showBrokerageReceivedDateErrorMessage","shouldMarkApplicationsComplete","onCancelSetBrokerageReceivedDate","DisplayMode","appliationStatusList","selectedApplicationStatuses","selecetedAssigneeList","groupByDateSelectList","groupByDateOption","selectedApplicationList","onSetBrokerageReceivedDateBtnClicked","onCheckBoxChanged","totalInvoicedAmount","searchedGroupByDateOption","BrokerageReconciliation","applicationStatusList","selectedApplicationStatus","includeWithBrokerageReceivedDate","defaultSelectedStatuses","Reconciled","brokerageReceivedDateField","settlementDateYear","settlementDateMonth","applicationListIds","setApplicationsComplete","GroupByDateOption","IncludeWithBrokerageReceivedDate","StatusList","SelectedApplicationStatusList","AssigneeList","SelectedAssigneeList","generateReport","FilterParams","FileType","ApplicationDetails","BrokerageReconcilation","counter","attachIdWithItem","onShowSubmittedToBankModal","onSubmittedToBankCFA","onClickSubmittedToBank","ApplicationListActionButtons","clientFinanceApplicationTable","navigateDashboard","hasActiveLease","goToSchedule","nextLeasePaymentDate","getProgressPercentageLabel","totalTransactions","progressPercentageValue","CurrentLeaseWidget","loadWidgetData","CProgress","onClickNovationReports","CurrentNovationWidget","showProgress","loadNovationDetailsByVehicleID","fromYear","toYear","yearPercentage","progressBarLable","previousEndDate","goToPreviousYear","goToNextYear","budget","ActualSpentAmountCustomHeader","getLabel","BudgetPercentage","MyExpensesWidget","ActialSpentAmountCustomHeader","minFBTYear","maxFBTYear","today","currentStartDate","currentEndDate","isFBTPeriodAvailable","loadMinMaxFBTYears","goToNext","presentPeriod","previousPeriodEndDate","nextPeriodStartDate","currentPeriodStartDate","currentPeriodEndDate","todayDateTime","currentDateTime","dateDiff","percentage","ScheduledPaymentsWidget","onShowUnApprovedExpClaims","showUnApprovedExpClaims","ExpenseClaimsWidget","ShowUnApprovedExpClaims","MainVehicleUI","navigateToAddPeriod","FBTPeriodList","taxRate","fbtPeriodTable","onViewFBTRecord","fbtPeriod","startDateChanged","endDateChanged","type1GrossUpRate","type2GrossUpRate","fbtRecordId","AddEditFBTPeriod","loadFBTPeriodDetails","updateExistingFBTPeriod","addNewFBTPeriod","start","end","SystemValuesEnums","systemValues","sendGridApiKey","onSaveSystemValue","sendGridAdminTemplateId","sendGridTenantTemplateId","apexAdminEmailSettingsFromAddress","apexAdminEmailSettingsFromDisplay","apexAdminWebsiteHostedUrl","apexEmailSettingsFromAddress","apexWebsiteHostedUrl","storageConnectionString","blobStorageBasePath","apexWebsiteVersion","statutaryRatePercentage","atoResidualRate","effectiveLife","daysInYear","publicBlobContainerName","bankStatementProcessorQueueName","allowedBankFileTypes","dashboardUpdaterQueueName","dashboardInfoTable","apexAdminEmailSettingsBCCAddress","websiteDomain","sameSitePolicy","SystemValues","SendGridApiKey","SendGridTenantTemplateId","SendGridAdminTemplateId","ApexAdminEmailSettingsFromAddress","ApexAdminEmailSettingsFromDisplay","ApexAdminWebsiteHostedUrl","ApexEmailSettingsFromAddress","ApexWebsiteVersion","StorageConnectionString","BlobStorageBasePath","GstRate","StatutaryRatePercentage","PublicBlobContainerName","BankStatementProcessorQueueName","AllowedBankFileTypes","DashboardUpdaterQueueName","DashboardInfoTable","ApexAdminEmailSettingsBCCAddress","WebsiteDomain","SameSitePolicy","AtoResidualRate","EffectiveLife","loadSystemValues","$anyDirty","systemValueType","SystemValueType","cSwitch","TenantList","enabled","loadTenantList","lodgeDate","closeLodgeDateSelectModal","OnLodgeGSTCalculationPeriod","onSelectedPeriodChange","selectedGSTCalculationPeriodId","isPeriodLodged","onClickLodgePeriod","periodLodgedDate","loadGSTCalculationSummary","showAgentData","ActivitySummary","gstCalculationPeriodId","includeAgentFields","selectedId","sectionFilterList","onSectionChanged","removeSelectedSectionList","selectedSectionFilterList","ActivityStatementSelectRow","SelectAllCustomHeader","selectAll","ActivityTransactions","selectedSectionFilterIdList","includeGSTOnIncome","includeGSTFreeIncome","includeGSTOnExpenses","includeGSTFreeExpenses","getGSTCalculationPeriodId","gstPeriodTransactionFilterParams","GetExpenseAndRevenueCategoriesIncludingNoneList","loadActivityStatementFilterList","section","GSTCalculationPeriodId","IncludeGSTOnIncome","IncludeGSTFreeIncome","IncludeGSTOnExpenses","IncludeGSTFreeExpenses","ActivityStatementFilters","transactionGSTTable","GetActivityStatementFilterTypesList","None","ActivityStatementDetails","showLodgeDateSelectModal","loadGSTCalculationPeriodList","selectedPeriod","isLodged","lodgedDate","GetGSTCalculationPeriodList","GSTPeriodId","LodgeDate","onLodgeGSTPeriod","ActivityTransactionList","navigateBackToVehicleDetails","VehicleLeasePaymentSchedule","LeasePaymentSchedule","RCTIInvoiceListActionButtons","RCTIInvoiceLineLink","RCTIInvoiceList","adminFeeRCTIInvoicesTable","getInvoicePeriod","RCTIInvoiceLineList","getDescriptionWithoutPeriod","showInvoiceData","getRCTIInvoiceData","onGSTStatusSelected","isGSTIncluded","loadDeleted","isDeletedRelatedEntitiesIncluded","onGenerateCSVReport","VehicleStatusSelectList","vehicleStatusChanged","isActiveClient","navigateToEditClient","NavigateToActiveClient","isActiveVehicle","navigateToEditVehicle","NavigateToActiveVehicle","isActiveRelatedEntity","navigateToNovationLedger","NavigateToNovationLedger","LedgerBalance","relatedEntityEndDate","nextLeasePaymentAmount","nextLeaseDueMessage","leaseTypeText","filterParams","ledgerBalanceTable","onAllocatedToRelatedEntity","selectedTransactionIdList","isCheckBoxDisabled","getCategory","onHeaderCheckBoxChanged","clientHeaderName","creditAmount","debitAmount","UnAllocatedTransactionList","selectedVehicleId","isNovationListLoaded","_this4$vehicleNovatio","onCheckUnCheckTransactionList","onDisableCheckBoxes","onCheckUnCheckHeader","unAllocatedTransactionTable","navigateToNavationInvoices","NavigateToNovationInvoices","isActiveLease","isActiveNovation","EntitiesWithoutInvoices","entitiesWithoutInvoicesTable","navigateToEditActiveNovation","NavigateToNovationDetails","EntitiesWithoutServiceAgreement","entitiesWithoutServiceAgreementTable","initialClientStatusFilterSelectMode","loadDeletedNovations","isIncludeDeletedNovations","navigateToNovation","NavigateToNovationReporsts","EntitiesWithOutstandingBalance","entityName","lastPaymentDateText","NavigateToNovationReports","entitiesWithOutstandingBalanceTable","isNovationDeleted","EntitiesWithoutAdminFee","navigateBackToDashboard","supplierCategories","onChangedSupplierCategories","selectedSupplierCategories","setSearchAddress","onClickSearch","mapMarkers","zoomLevel","centerCoordinates","center","getMarkerIcon","openInfoWindowTemplate","infoWindow","pixelOffset","phone","distance","GoogleMap","currentPlace","markers","_this$mapMarkers$inde","marker","require","scaledSize","SupplierLocator","locationAddress","showMapComponent","originCoordinates","clearAddress","searchLocation","resetToInitialState","getMapMarkers","validateCenterCoordinatesAndMapZoomLevel","getOriginMarker","formattedAddress","distanceFromOriginLocalizedText","setFirstZoomLevel","setOriginAndZoomLevel","distanceFromOrigin","distanceFromOriginInMeters","statusFilterMode","onDateChanged","navigateToEditLease","NavigateToLeasesDetails","getText","NavigateToLease","getLeasePeriod","ResidualDueReport","isEmailSent","residualDueLeasesTable","onAddFinancierRemittanceAdviceItem","onGetFinancierList","onSaveRemittanceAdvice","onClickDeleteRemittanceAdvice","onClickCancel","onDeleteRemittanceAdvice","selectedItemId","selectedItemIndex","FinancierRemittanceAdvice","filteredFinancierList","selectededCompanyName","onLoadRemittanceAdviceList","onLoadFinancierList","financierRemittanceAdvice","isEnableRemittanceAdvice","onLoadFinancierEmail","remittanceItem","onCreateFinanceRemittanceAdvice","onUpdateFinancierRemittanceAdvice","remittanceInfoItem","remittanceInfoId","selectedFinanciers","showPopupDeleteConfirmation","deleteScheduledPayments","PaymentScheduleList","onChangeSelectedPaymentSchedule","SelectedPaymentSchedule","scheduleEndDate","recurringPaymentRelatedTable","vehicleInsuranceScheduleListCount","onDownloadInsuranceSchedulePDF","selectedVehicleInsuranceIdList","isVehicleInsuranceActive","onClickDeleteScheduledPayments","refreshVehicleInsuranceScheduleGrid","SetVehicleInsuranceScheduleListCount","onSelectInsuranceScheduleItem","isItemSelectable","showSelectAllCheckBox","isAllSelected","onSelect","isEditable","isActiveExpenseClaim","expenseClaimStatus","setExpenseClaimStatusText","isRecordEditDeleteAllowed","InsuranceSchedule","selectedInsuranceScheduleIdList","paidStatus","loadVehicleInsuranceSchedule","onEmitItemCount","_defineProperty","itemCount","scheduleIdList","viewVehicleInsuranceAuditLogs","VehicleInsuranceScheduleAuditLogs","showVehicleInsuranceScheduleAuditLogsModal","VehicleInsuranceSchedule","isScheduledInsuranceReimbursement","expenseClaimRelatedTable","expenseClaimLineId","vehicleInsuranceDeletedReason","loadVehicleInsuranceSelectListByVehicleId","loadVehicleInsuranceDetailsByVehicleID","itemIdList","recurringPaymentIdList","relatedEntityLedgerBalance","showBalance","expenseClaimLine","OnShowLedgerBalance","deleteExpenseClaimLine","OnAddInsuranceScheduleExp","isModelDisabled","onClickAddReimbursement","documentsModalTitle","notesModalTitle","claimHistoryModalTitle","onCloseRecurringPaymentModal","expenseClaimLineIsReadOnly","getNotesCount","getDocumentsCount","onViewClaimHistory","onDeleteClaim","ExpenseClaimSupportingDocRequirementText","ExpenseClaimLineCard","filteredNovationId","expClientId","percentagePayableInvalidErrorMsg","percentagePayableEmptyErrorMsg","gstInclusiveRequestedAmountInvalidErrorMsg","gstInclusiveRequestedAmountEmptyErrorMsg","resetOnFieldChange","isIncurredDateValidForAdmin","onShowLedgerBalance","onAddInsuranceScheduleExp","arg0","arg1","getDocuments","deleteECLine","deletedIndex","isShow","SubmitExpenseClaim","initialExpenseClaimLinesCount","setInitialExpenseClaimLines","ecLine","nextIndex","calculatedGstAmount","_this20$vehicleNovati","fbtYearsList","onSelectedFBTYearsChanged","onClickCreateNewFBTCostBaserecord","CreateNewFBTCostBaserecord","onCloseConfirmation","NovationsExceedingFourFBTYearsActionButtons","showConfirmationModal","newAmount","NovationsExceedingFourFBTYears","SelectedNumberOfFBTYears","getStartDate","originalPush","Router","ifAuthenticated","next","meta","AllowAllAuthRoles","AuthRoles","ifAuthenticatedOnLogin","use","linkActiveClass","routes","redirect","children","beforeEnter","ClientNovationDetails","FinanceApplicationDetails","props","ClientFinanceApplicationDetails","getFinanceApplicationActionDate","getFinanceApplicationLeaseTypes","getFinanceApplicationReference","getFinanceApplicationFinancedAmount","getFinanceApplicationIsVehicleCreated","getIsFinanceApplicationConvertedFromProspect","getIsFinanceApplicationConvertedFromCFA","setFinanceApplicationInitialDetails","setFinanceApplicationInitialDetailsValidations","setFinanceApplicationVehicleDetails","setFinanceApplicationRequestInvoice","setFinanceApplicationRequestInvoiceValidations","setFinanceApplicationReviseApplication","setFinanceApplicationReviseApplicationValidations","setFinanceApplicationSignatureAndSubmission","setFinanceApplicationSignatureAndSubmissionValidations","setFinanceApplicationLeaseAndEmployment","setFinanceApplicationStatus","setFinanceApplicationActionDate","setFinanceApplication","setFinanceApplicationApplicationName","setFinanceApplicationApplicationAssignee","setFinanceApplicationState","initialState","setFinanceApplicationClientId","setFinanceApplicationFinancierTypes","setFinanceApplicationLeaseTypes","setFinanceApplicationDirtyValidationRefNos","stepNoObj","setFinanceApplicationInfoDirtyValidationRefNo","setFinanceApplicationId","setFinanceApplicationConcurrencyKey","setFinanceApplicationMotorVehicleID","setFinanceApplicationLeaseCreatedData","setFinanceApplicationAuditInfo","setFinanceApplicationBrokerageReceivedDate","setFinanceApplicationMandatoryFieldsFilled","setFinanceApplicationTotalInvoiceAmount","setFinanceApplicationVehicleDetailsImageInfo","vehicleImageId","vehicleImageConcurrencyKey","setFinanceApplicationVehicleDetailsIsAnExistingVehicle","setFinanceApplicationInfo","setFinanceApplicationIsLeaseAndEmploymentFilled","updateFinanceApplicationInitialDetails","updateFinanceApplicationInitialDetailsValidations","updateFinanceApplicationVehicleDetails","updateFinanceApplicationRequestInvoice","updateFinanceApplicationRequestInvoiceValidations","updateFinanceApplicationReviseApplication","updateFinanceApplicationReviseApplicationValidations","updateFinanceApplicationSignatureAndSubmission","updateFinanceApplicationSignatureAndSubmissionValidations","updateFinanceApplicationLeaseAndEmployment","updateFinanceApplicationLeaseAndEmploymentValidations","updateFinanceApplicationRequiresInvoiceValidations","updateFinanceApplicationStatus","updateFinanceApplicationActionDate","updateFinanceApplication","updateFinanceApplicationApplicationName","updateFinanceApplicationApplicationAssignee","resetFinanceApplicationToInitialState","updateFinanceApplicationClientId","updateFinanceApplicationTotalInvoiceAmount","updateFinanceApplicationFinancierTypesList","updateFinanceApplicationLeaseTypesList","updateFinanceApplicationDirtyValidatorRefNos","updateFinanceApplicationInfoDirtyValidatorRefNo","updateFinanceApplicationMandatoryFieldsFilled","updateFinanceApplicationVehicleDetailsIsAnExistingVehicle","saveFinanceApplication","updateFinanceApplicationMotorVehicleID","updateFinanceApplicationBrokerageReceivedDate","updateFinanceApplicationInfo","updateFinanceApplicationIsLeaseAndEmploymentFilled","invoiceServiceLines","serviceTypeList","invoiceList","invoiceGenerated","getInvoiceServiceLines","getInvoiceList","getClientID","getTotalInvoiceAmount","setServiceTypeList","setInvoiceServiceLineList","invoiceLines","setInvoiceList","setRelatedID","setRelatedTable","setClientID","setInvoiceID","setEditMode","setInvoiceGeneratedFlag","setQuantity","setUnitCost","setServiceType","setItemEditMode","setInvoiceServiceID","setInvoiceServiceConcurrencyKey","setTotalInvoiceAmount","setServiceTypes","setInvoiceServiceLines","invoices","updateQuantity","updateUnitCost","updateServiceType","updateInvoiceServiceID","updateInvoiceServiceConcurrencyKey","updateTotalInvoiceAmount","InvoiceModule","prepayments","setPrePaymentList","setLeasePrePayments","LeasePrepaymentModule","setShowAllNodes","getNotes","setNotes","setNotesByIndex","deleteNotesByIndex","updateNotes","updateNotesByIndex","NotesModule","docsList","setDocuments","setDocumentsByIndex","deleteDocumentsByIndex","updateDocuments","uploadDocuments","uploadCount","uploadDocumentsForClientFinanceApplication","updateDocumentsByIndex","DocumentsModule","setProfilePicUrl","setFirstName","setLastName","changeProfilePicUrl","changeFirstName","changeLastName","ProfileStoreModule","setSelectedStatusValue","storeSelectedStatusValue","ApplicationListModule","setSelectedBankAccountId","storeSelectedBankAccountId","EFTDetailsModule","setGSTCalculationPeriodIdValue","storeGSTCalculationPeriodIdValue","ActivityStatementStateModule","filterDate","showUnAllocatedTransactions","setLedgerFilterDate","setLedgerFilterReference","setLedgerFilterVehicleId","setShowUnAllocatedTransactions","storeLedgerFilterDate","storeLedgerFilterReference","storeLedgerFilterVehicleId","storeShowUnAllocatedTransactions","LedgerFilterStateModule","getSupplierName","getRelatedEntityAddressDetails","setSupplierDetails","setRelatedEntityAddressDetails","setRelatedEntityAddressState","setIsRelatedEntityFailedToCreate","setSupplierDetailsState","updateSupplierDetails","updateRelatedEntityAddressDetails","updateIsRelatedEntityFailedToCreate","resetRelatedEntityAddressDetails","resetSupplierDetails","saveRelatedAddress","saveRelatedEntityAndAddress","AddressAndRelatedEntityModule","setClientFinanceApplicationPersonalDetails","setClientFinanceApplicationAddressDetails","setClientFinanceApplicationIncome","setClientFinanceApplicationEmploymentDetails","setClientFinanceApplicationAssets","setClientFinanceApplicationLiabilities","setClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount","setClientFinanceApplicationChangeInCircumstance","setClientFinanceApplicationStatus","setClientFinanceApplication","setClientFinanceApplicationClientId","setClientFinanceApplicationDirtyValidationRefNos","setClientFinanceApplicationId","setClientFinanceApplicationConcurrencyKey","setClientFinanceApplicationAuditInfo","setClientFinanceApplicationIsSubmit","setClientFinanceApplicationEditedSteps","setClientFinanceApplicationCreditGuideDownloadedDate","updateClientFinanceApplicationPersonalDetails","updateClientFinanceApplicationAddressDetails","updateClientFinanceApplicationEmploymentDetails","updateClientFinanceApplicationAssets","updateClientFinanceApplicationIncome","updateClientFinanceApplicationLiabilities","updateClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount","updateClientFinanceApplicationChangeInCircumstance","updateClientFinanceApplicationStatus","updateClientFinanceApplication","updateClientFinanceApplicationClientId","updateClientFinanceApplicationIsSubmit","saveClientFinanceApplication","aRN","updateClientFinanceApplicationEditedSteps","updateClientFinanceApplicationConcurrencyKey","updateClientFinanceApplicationCreditGuideDownloadedDate","ClientFinanceApplicationModule","setVehiclesFilterToggler","updateVehiclesFilterToggler","DashboardInfoModule","getRecurringScheduledPaymentID","getRecurringScheduledPaymentPreview","getRecurringScheduledPayment","getRecurringScheduledPaymentDirtyValidationRefNos","getRecurringScheduledPaymentCreatedByName","getRecurringScheduledPaymentUpdatedByName","getRecurringScheduledPaymentCreatedDate","getRecurringScheduledPaymentLeaseCreatedByName","getRecurringScheduledPaymentUpdatedDate","getActiveRecurringPaymentSchedules","isOverlappingScheduleExist","scheduleEndYear","setActiveRecurringPaymentSchedules","schedules","setRecurringScheduledPaymentDetails","setRecurringScheduledPaymentSchedule","setRecurringScheduledPaymentPreview","setRecurringScheduledPaymentStatus","setRecurringScheduledPayment","recurringScheduledPayment","setRecurringScheduledPaymentState","setRecurringScheduledPaymentDirtyValidationRefNos","setRecurringScheduledPaymentId","setRecurringScheduledPaymentConcurrencyKey","updateActiveRecurringPaymentSchedules","updateRecurringScheduledPaymentDetails","updateRecurringScheduledPaymentSchedule","updateRecurringScheduledPaymentPreview","updateRecurringScheduledPaymentStatus","updateRecurringScheduledPayment","resetRecurringScheduledPaymentToInitialState","updateRecurringScheduledPaymentDirtyValidatorRefNos","saveRecurringScheduledPayment","recurringPaymentScheduleDetails","recurringPaymentSchedule","recurringPaymentDocumentList","RecurringScheduledPaymentModule","Vuex","webSiteVersion","setWebSiteVersion","storeWebSiteVersion","Store","ApiService","interceptors","resp","latestAppVersion","config","controller","action","parameters","requestMethod","useQueryParams","contentType","sendHttpRequest","searchParams","append","handleErrors","sendApiRequest","ContentTypes","jsonencode","urlencode","multipartformdata","App","currentTheme","browserInfo","alreadyRedirected","VueGtag","BootstrapVue","Notifications","VueGoogleMaps","load","libraries","Datepicker","VueBootstrapTypeahead","VueEditor","devtools"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,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\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditInvoice.vue?vue&type=style&index=0&id=0e303b28&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTHistoryActionButtons.vue?vue&type=style&index=0&id=3490356a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierList.vue?vue&type=style&index=0&id=f23b7d9a&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetPercentage.vue?vue&type=style&index=0&id=0245c5c8&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationListActionButtons.vue?vue&type=style&index=0&id=147ce9d0&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=style&index=0&id=4981cb0a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ServiceAgreementRecipient.vue?vue&type=style&index=0&id=204d5a53&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Income.vue?vue&type=style&index=0&id=478347d3&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTextNotes.vue?vue&type=style&index=0&id=904548ea&prod&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/improve_ux.659ab920.png\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MarkTransactionCheckBox.vue?vue&type=style&index=0&id=2cb10c24&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleMap.vue?vue&type=style&index=0&id=3ab617f6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleSelectList.vue?vue&type=style&index=0&id=b1001076&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientVehicleTreeViewButton.vue?vue&type=style&index=0&id=aa6dd33a&prod&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/403.ee6e0707.png\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrowserIncompatiblePage.vue?vue&type=style&index=0&id=1b574791&prod&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationWidget.vue?vue&type=style&index=0&id=2280aa56&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentsWidget.vue?vue&type=style&index=0&id=1f4642b6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BillsForPaymentWidget.vue?vue&type=style&index=0&id=8409abae&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutInvoicesWidget.vue?vue&type=style&index=0&id=5450a3cc&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentScheduleStatus.vue?vue&type=style&index=0&id=fadff6bc&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeaseReports.vue?vue&type=style&index=0&id=36468c1c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentDetails.vue?vue&type=style&index=0&id=7c70eff4&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page404.vue?vue&type=style&index=0&id=2e70adfe&prod&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressListActionButtons.vue?vue&type=style&index=0&id=60df1cbe&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManualLeasePayments.vue?vue&type=style&index=0&id=04820b43&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentScheduleAuditLogs.vue?vue&type=style&index=0&id=64f46967&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentUploaderCommonControl.vue?vue&type=style&index=0&id=2c10a32d&prod&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InitialDetails.vue?vue&type=style&index=0&id=85723be0&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePrePaymentListActionButtons.vue?vue&type=style&index=0&id=68b6d26c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTHistory.vue?vue&type=style&index=0&id=08a91370&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemValues.vue?vue&type=style&index=0&id=0f86cffa&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotesCommonControl.vue?vue&type=style&index=0&id=99e2f92e&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetResetPassword.vue?vue&type=style&index=0&id=121edc3a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankAccounts.vue?vue&type=style&index=0&id=2298727a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleListActionButtons.vue?vue&type=style&index=0&id=7ee732b2&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategorySelect.vue?vue&type=style&index=0&id=4ab81546&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDropControl.vue?vue&type=style&index=0&id=5fb2ec7c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnAllocatedTransactionList.vue?vue&type=style&index=0&id=220e7b5f&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page500.vue?vue&type=style&index=0&id=7ada6e96&prod&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MonthlyRepayments.vue?vue&type=style&index=0&id=c9aab8e6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTPeriodList.vue?vue&type=style&index=0&id=61d70254&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditEmployer.vue?vue&type=style&index=0&id=16c2ce54&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Wizard.vue?vue&type=style&index=0&id=28847e74&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenerateEFT.vue?vue&type=style&index=0&id=4a0e3afc&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditSupplier.vue?vue&type=style&index=0&id=712b99e7&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupedDataTable.vue?vue&type=style&index=0&id=06f2e5d3&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultHeaderDropdownAccnt.vue?vue&type=style&index=0&id=7fa55ce1&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceList.vue?vue&type=style&index=0&id=6a9e4dcf&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectRecordCheckBox.vue?vue&type=style&index=0&id=2d4b793c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationWizard.vue?vue&type=style&index=0&id=64892724&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithOutstandingBalance.vue?vue&type=style&index=0&id=51565384&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankReconciliation.vue?vue&type=style&index=0&id=97acbf5a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivityStatementSelectRow.vue?vue&type=style&index=0&id=1c8b5cc4&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentsActionButtons.vue?vue&type=style&index=0&id=2dbe28ae&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierList.vue?vue&type=style&index=0&id=7022c2db&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentSchedule.vue?vue&type=style&index=0&id=5c6a5d93&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployerListActionButtons.vue?vue&type=style&index=0&id=0b4451b0&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Assets.vue?vue&type=style&index=0&id=4a3e0aa8&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierListActionButtons.vue?vue&type=style&index=0&id=bf6fb4f8&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsExceedingFourFBTYears.vue?vue&type=style&index=0&id=6cf01d3d&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationStatusTrafficLight.vue?vue&type=style&index=0&id=3aeef430&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationAuditLogsActionButton.vue?vue&type=style&index=0&id=424e10d0&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditMotorVehicle.vue?vue&type=style&index=0&id=4ed2660e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserList.vue?vue&type=style&index=0&id=45ec124d&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFuelCard.vue?vue&type=style&index=0&id=94e0d17c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankRecActionButtons.vue?vue&type=style&index=0&id=bd27eed4&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientCommunicationLogs.vue?vue&type=style&index=0&id=ea973da4&prod&lang=scss&scoped=true\"","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-ps\": \"4c98\",\n\t\"./ar-ps.js\": \"4c98\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn-bd\": \"9686\",\n\t\"./bn-bd.js\": \"9686\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-in\": \"ec2e\",\n\t\"./en-in.js\": \"ec2e\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./en-sg\": \"b7e9\",\n\t\"./en-sg.js\": \"b7e9\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-mx\": \"b5b7\",\n\t\"./es-mx.js\": \"b5b7\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fil\": \"d69a\",\n\t\"./fil.js\": \"d69a\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-deva\": \"aaf2\",\n\t\"./gom-deva.js\": \"aaf2\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku-kmr\": \"7558\",\n\t\"./ku-kmr.js\": \"7558\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./oc-lnc\": \"167b\",\n\t\"./oc-lnc.js\": \"167b\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tk\": \"5aff\",\n\t\"./tk.js\": \"5aff\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-mo\": \"3a6c\",\n\t\"./zh-mo.js\": \"3a6c\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationStatusBarChartWidget.vue?vue&type=style&index=0&id=77cf0990&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FilterTextInput.vue?vue&type=style&index=0&id=4b203dd4&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserInactivityTracker.vue?vue&type=style&index=0&id=0739b7d2&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitExpenseClaimActionButtons.vue?vue&type=style&index=0&id=1284eb8e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clientEmployerList.vue?vue&type=style&index=0&id=08a50215&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleAndClientDetailsList.vue?vue&type=style&index=0&id=38db792b&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultContainer.vue?vue&type=style&index=0&id=3f111595&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsList.vue?vue&type=style&index=0&id=3ebe21d6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentSchdule.vue?vue&type=style&index=0&id=382cb806&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleDetails.vue?vue&type=style&index=0&id=4fe21392&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientApplicationStatusTrafficLight.vue?vue&type=style&index=0&id=ba8f0dc2&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notes.vue?vue&type=style&index=0&id=54e0f800&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleSearchList.vue?vue&type=style&index=0&id=faf6ec82&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientApplicationList.vue?vue&type=style&index=0&id=fb91f01c&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PayMoney.vue?vue&type=style&index=0&id=b9491632&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditCompanyDetails.vue?vue&type=style&index=0&id=25005b5e&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportTemplateActionList.vue?vue&type=style&index=0&id=77907f51&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tree.vue?vue&type=style&index=0&id=1e6f7851&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LedgerSelectList.vue?vue&type=style&index=0&id=759dcdd4&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddRecurringScheduledPayment.vue?vue&type=style&index=0&id=6b335ad9&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./motorVehicleBudget.vue?vue&type=style&index=0&id=305f63b6&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileSummaryWidget.vue?vue&type=style&index=0&id=2ab0eab0&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitExpenseClaim.vue?vue&type=style&index=0&id=52b0ebb7&prod&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/origin-marker.beef1169.png\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimLineCard.vue?vue&type=style&index=0&id=097819e6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleList.vue?vue&type=style&index=0&id=62ac9a5e&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFinancier.vue?vue&type=style&index=0&id=1262f56a&prod&scoped=true&lang=css\"","module.exports = __webpack_public_path__ + \"img/404.9ce08ef1.png\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditNovation.vue?vue&type=style&index=0&id=6532d7a9&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignatoriesListActionButtons.vue?vue&type=style&index=0&id=94680808&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditReportTemplate.vue?vue&type=style&index=0&id=14453c8f&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehiclesSearchActionButtons.vue?vue&type=style&index=0&id=48a08c98&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OdometerLogsActionButtons.vue?vue&type=style&index=0&id=c5323b8e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleExpenseClaimsList.vue?vue&type=style&index=0&id=c5f9bf72&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OdometerLogs.vue?vue&type=style&index=0&id=4c5ed238&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrokerageReconcilation.vue?vue&type=style&index=0&id=46e7a285&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageCropper.vue?vue&type=style&index=0&id=99c00620&prod&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuditHistoryLogs.vue?vue&type=style&index=0&id=50817c92&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Addresses.vue?vue&type=style&index=0&id=7da5cf80&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyExpensesWidget.vue?vue&type=style&index=0&id=f030938c&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTextErrors.vue?vue&type=style&index=0&id=fb79b62c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentPreview.vue?vue&type=style&index=0&id=4641d066&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivityStatmentDetails.vue?vue&type=style&index=0&id=1f5f5260&prod&scoped=true&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MonthlyExpenses.vue?vue&type=style&index=0&id=b7181622&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressDetails.vue?vue&type=style&index=0&id=ccc15de6&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&id=4c5e3e21&prod&scoped=true&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationDetails.vue?vue&type=style&index=0&id=3aabb928&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationDetails.vue?vue&type=style&index=0&id=003870fb&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserDetails.vue?vue&type=style&index=0&id=7595d332&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseListActionButtons.vue?vue&type=style&index=0&id=86ffbc44&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Theme.vue?vue&type=style&index=0&id=fded789e&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CurrentLeaseWidget.vue?vue&type=style&index=0&id=4d483e5a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinanceApplicationWizard.vue?vue&type=style&index=0&id=01639866&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmploymentDetails.vue?vue&type=style&index=0&id=c8236ca2&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GSTLedger.vue?vue&type=style&index=0&id=400e68e0&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExemptionRecordsActionButtons.vue?vue&type=style&index=0&id=5ceb7869&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clientMotorVehicles.vue?vue&type=style&index=0&id=5ad1bbef&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeasePaymentSchedule.vue?vue&type=style&index=0&id=7904ef33&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportPropertyKeyMappingTableView.vue?vue&type=style&index=0&id=d876bc66&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FuelCardListActionButtions.vue?vue&type=style&index=0&id=42aa499c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTDetails.vue?vue&type=style&index=0&id=7ef50152&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoicesListActionButtons.vue?vue&type=style&index=0&id=7c79ea1a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditLeasePrePaymentLink.vue?vue&type=style&index=0&id=33df0d22&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserListActionButtons.vue?vue&type=style&index=0&id=2d681356&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithOutstandingBalanceWidget.vue?vue&type=style&index=0&id=2ae5394c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditInsuranceSchedule.vue?vue&type=style&index=0&id=39d8e7d6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLedgerSelectList.vue?vue&type=style&index=0&id=33dfcdcc&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitApproveExpenseClaim.vue?vue&type=style&index=0&id=24a499c3&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTRecords.vue?vue&type=style&index=0&id=7714b56c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsList.vue?vue&type=style&index=0&id=7fd128eb&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectAllRecordsCheckBox.vue?vue&type=style&index=0&id=999f3e4e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditVehicleLease.vue?vue&type=style&index=0&id=24e5b2b9&prod&scoped=true&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationAddress.vue?vue&type=style&index=0&id=6be4f1a3&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseSearchList.vue?vue&type=style&index=0&id=0d4447e2&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BPayAccounts.vue?vue&type=style&index=0&id=21d71fac&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployerList.vue?vue&type=style&index=0&id=fe44d68e&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentPreviewControl.vue?vue&type=style&index=0&id=5e7d874b&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditClient.vue?vue&type=style&index=0&id=dba8da40&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tabs.vue?vue&type=style&index=0&id=6014bf12&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page403.vue?vue&type=style&index=0&id=5f14de63&prod&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileUploader.vue?vue&type=style&index=0&id=32be0fc0&prod&lang=scss&scoped=true\"","module.exports = __webpack_public_path__ + \"img/500.e3cbcb29.png\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomizedReference.vue?vue&type=style&index=0&id=2c18507b&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPassword.vue?vue&type=style&index=0&id=7a1bc9f6&prod&scoped=true&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleDetailsAndFinancedAmount.vue?vue&type=style&index=0&id=71bb806a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BPayAccountListActionButtons.vue?vue&type=style&index=0&id=c5201138&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsuranceSchedule.vue?vue&type=style&index=0&id=eccbd9fa&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceStatusSelectList.vue?vue&type=style&index=0&id=e3ceaf64&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePrePaymentList.vue?vue&type=style&index=0&id=3c3c5252&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExpenseClaimSupportingDocRequirementText.vue?vue&type=style&index=0&id=6cba0c84&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationSummary.vue?vue&type=style&index=0&id=c971f48e&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResidualDueLeasesWidget.vue?vue&type=style&index=0&id=c91cb35e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExpenseClaimsWidget.vue?vue&type=style&index=0&id=5afc736e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddInvoiceSchedule.vue?vue&type=style&index=0&id=343bd330&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentUploader.vue?vue&type=style&index=0&id=72408d74&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InoiceServiceActionButtons.vue?vue&type=style&index=0&id=32d5d2c7&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Liabilities.vue?vue&type=style&index=0&id=36de0418&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDropControlApplication.vue?vue&type=style&index=0&id=34cf9964&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationSelect.vue?vue&type=style&index=0&id=1f06384e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseDetails.vue?vue&type=style&index=0&id=fc68b1bc&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivitySummary.vue?vue&type=style&index=0&id=3029b5be&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierListActionButtons.vue?vue&type=style&index=0&id=a38fd096&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddLeaseSchedule.vue?vue&type=style&index=0&id=417b1abf&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsExceedingFourFBTYearsWidget.vue?vue&type=style&index=0&id=a99add74&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./treeRow.vue?vue&type=style&index=0&id=eec998be&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPayment.vue?vue&type=style&index=0&id=44419480&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankFileStatusText.vue?vue&type=style&index=0&id=ffa0c3be&prod&lang=scss&scoped=true\"","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=17d332ff&prod&lang=scss\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetupAuthenticatorApp.vue?vue&type=style&index=0&id=3e3ac296&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationDetails.vue?vue&type=style&index=0&id=83ff063e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseList.vue?vue&type=style&index=0&id=67ab2306&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeaseAndEmployment.vue?vue&type=style&index=0&id=4e21f979&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationListActionButtons.vue?vue&type=style&index=0&id=b326840e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTRecordsActionButtons.vue?vue&type=style&index=0&id=be439f5c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditBPayAccount.vue?vue&type=style&index=0&id=7c5b631f&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditAddressLink.vue?vue&type=style&index=0&id=70a0f0cf&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsList.vue?vue&type=style&index=0&id=1f2637ca&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=style&index=0&id=75cac94a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleInsuranceScheduleAuditLogs.vue?vue&type=style&index=0&id=367a64d1&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankRecAndUploadBankFile.vue?vue&type=style&index=0&id=2bbb7b26&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduleList.vue?vue&type=style&index=0&id=0df487fe&prod&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsList.vue?vue&type=style&index=0&id=4e0c8ab7&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortalAccess.vue?vue&type=style&index=0&id=f5e5a2c6&prod&scoped=true&lang=css\"","export enum FinanceApplicationStates\r\n{\r\n InitialDetails = 1,\r\n VehicleDetails = 2,\r\n RequestInvoice = 3,\r\n ReviseApplication = 4,\r\n SignatureAndSubmission = 5,\r\n LeaseAndEmployment = 6,\r\n Completed = 7,\r\n Rejected = 8,\r\n Withdrawn = 9\r\n}\r\n\r\nexport enum FinanceApplicationStatusOptions\r\n{\r\n Approved = 1, \r\n Rejected = 2\r\n}\r\n\r\nexport enum ApplicationType\r\n{\r\n Finance = 1,\r\n Prospect = 2,\r\n ClientFinance = 3,\r\n}\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"customTheme\",attrs:{\"id\":\"appDiv\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import * as JsCookies from 'js-cookie'\r\n\r\nclass CookieService{\r\n private cookies: typeof JsCookies;\r\n\r\n constructor(cookies: typeof JsCookies = JsCookies) {\r\n this.cookies = cookies;\r\n }\r\n\r\n get(key: string): string | undefined {\r\n return this.cookies.get(key);\r\n }\r\n\r\n set(key: string, value: string,expirationTime:number) {\r\n this.cookies.set(\r\n key,\r\n value,\r\n ({\r\n expires: expirationTime > 0 ? expirationTime:undefined\r\n }),\r\n );\r\n }\r\n\r\n remove(key: string): void {\r\n this.cookies.remove(\r\n key\r\n );\r\n }\r\n}\r\n\r\nconst cookieService = new CookieService();\r\nexport default cookieService;","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { AuthState } from '../types';\r\nimport { RootState } from '../types';\r\nimport cookieService from '@/shared/services/cookieService'\r\nimport apiService from '@/shared/services/apiService'\r\n\r\nexport const state: AuthState = {\r\n token : cookieService.get('ApexToken') == null ? null : JSON.parse(cookieService.get('ApexToken')),\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nexport const getters:GetterTree = {\r\n isAuthorizedRole(state){\r\n return (role:any) => { \r\n if(state.token && state.token.userRoleList)\r\n { \r\n var access = false;\r\n if(state.token.userRoleList.length > 0 && (role != undefined || role != null))\r\n {\r\n access = state.token.userRoleList.includes(String(role));\r\n }\r\n return access; \r\n }\r\n return false;\r\n }\r\n }, \r\n\r\n isAuthorized(state){\r\n return (roleList:any[]) => { \r\n if(state.token && state.token.userRoleList)\r\n { \r\n var access = false;\r\n if(state.token.userRoleList.length > 0 && (roleList.length > 0))\r\n {\r\n roleList.some(role => {\r\n access = state.token.userRoleList.includes(String(role));\r\n if(access)\r\n return access;\r\n });\r\n }\r\n return access; \r\n }\r\n return false;\r\n }\r\n }, \r\n\r\n isAuthenticated(state)\r\n {\r\n return state.token !== null;\r\n },\r\n getToken(state)\r\n {\r\n return state.token;\r\n }\r\n}\r\n\r\nexport const mutations:MutationTree = {\r\n setToken(state,token)\r\n {\r\n state.token = token;\r\n },\r\n}\r\n\r\nexport const actions: ActionTree ={\r\n fetchToken(context,signInInfo)\r\n {\r\n return apiService.sendPostRequest('Account','SignIn',{\r\n credentials: signInInfo.credentials,\r\n clientInfo: signInInfo.clientInfo\r\n })\r\n },\r\n storeToken(context,data)\r\n {\r\n context.commit('setToken',data.token);\r\n cookieService.set('ApexToken',data.token,data.rememberMe ? 14:0);\r\n },\r\n destroyToken(context)\r\n {\r\n return apiService.sendPostRequest('Account','SignOut')\r\n },\r\n removeToken(context)\r\n {\r\n cookieService.remove('ApexToken');\r\n cookieService.remove('ApexCookie');\r\n context.commit('setToken',null);\r\n },\r\n}\r\n\r\nexport const AuthModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};\r\n","import { Module, StoreOptions, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { BusyState } from '../types';\r\nimport { RootState } from '../types';\r\n\r\nexport const state: BusyState = {\r\n isBusy:false\r\n};\r\n\r\nconst namespaced: boolean = false;\r\nvar count:number = 0;\r\nexport const getters:GetterTree = {\r\n getIsBusy(state){\r\n return state.isBusy\r\n }\r\n}\r\n\r\nexport const mutations:MutationTree = {\r\n setIsBusyValue(state,value)\r\n {\r\n state.isBusy = value;\r\n \r\n }\r\n}\r\n\r\n\r\nexport const actions: ActionTree ={\r\n storeIsBusyValue(context,value)\r\n { \r\n if(value){\r\n count++; \r\n context.commit('setIsBusyValue',value)\r\n }\r\n else{\r\n if(count > 0 && --count == 0){\r\n context.commit('setIsBusyValue',value)\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport const BusyIndicatorModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","class ColorConvertService{\r\n hexToRGB(hex, alpha) {\r\n var r = parseInt(hex.slice(1, 3), 16),\r\n g = parseInt(hex.slice(3, 5), 16),\r\n b = parseInt(hex.slice(5, 7), 16);\r\n\r\n if (alpha) {\r\n return \"rgba(\" + r + \", \" + g + \", \" + b + \", \" + alpha + \")\";\r\n } else {\r\n return \"rgb(\" + r + \", \" + g + \", \" + b + \")\";\r\n }\r\n }\r\n // lightenDarkenColor(col, amt) {\r\n \r\n // var usePound = false;\r\n \r\n // if (col[0] == \"#\") {\r\n // col = col.slice(1);\r\n // usePound = true;\r\n // }\r\n \r\n // var num = parseInt(col,16);\r\n \r\n // var r = (num >> 16) + amt;\r\n \r\n // if (r > 255) r = 255;\r\n // else if (r < 0) r = 0;\r\n \r\n // var b = ((num >> 8) & 0x00FF) + amt;\r\n \r\n // if (b > 255) b = 255;\r\n // else if (b < 0) b = 0;\r\n \r\n // var g = (num & 0x0000FF) + amt;\r\n \r\n // if (g > 255) g = 255;\r\n // else if (g < 0) g = 0;\r\n \r\n // return (usePound?\"#\":\"\") + (g | (b << 8) | (r << 16)).toString(16);\r\n // }\r\n\r\n lightenDarkenColor(col,amt) {\r\n col = parseInt(col.slice(1),16);\r\n var darkenColor = (((col & 0x0000FF) + amt) | ((((col>> 8) & 0x00FF) + amt) << 8) | (((col >> 16) + amt) << 16)).toString(16);\r\n return '#'+(darkenColor.length==6?darkenColor:'0'+darkenColor);\r\n }\r\n}\r\n\r\nconst colorConvertService = new ColorConvertService();\r\nexport default colorConvertService;","import { Module, StoreOptions, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { ThemeState } from '../types';\r\nimport { RootState } from '../types';\r\nimport colorConvertService from '@/shared/services/colorConvertService';\r\nimport apiService from '@/shared/services/apiService';\r\n\r\nexport const state: ThemeState = {\r\n baseColorCode: sessionStorage.getItem(\"baseColorCode\") || '#000000',\r\n baseSuccessColorCode: sessionStorage.getItem(\"baseSuccessColorCode\") || '#000000',\r\n baseWarningColorCode: sessionStorage.getItem(\"baseWarningColorCode\") || '#000000',\r\n baseErrorColourCode: sessionStorage.getItem(\"baseErrorColorCode\") || '#000000',\r\n baseNoteColorCode: sessionStorage.getItem(\"baseNoteColorCode\") || '#000000',\r\n favIconImageUri: sessionStorage.getItem(\"favIconImageUri\")||'',\r\n logoImageUri: sessionStorage.getItem(\"logoImageUri\")||''\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nexport const getters:GetterTree = {\r\n getBaseColorCode(state){\r\n return state.baseColorCode\r\n },\r\n getBaseSuccessColorCode(state){\r\n return state.baseColorCode\r\n },\r\n getBaseWarningColorCode(state){\r\n return state.baseColorCode\r\n },\r\n getBaseErrorColorCode(state){\r\n return state.baseColorCode\r\n },\r\n getLogoImageUri(state){\r\n return state.logoImageUri\r\n },\r\n getFavIconImageUri(state){\r\n return state.favIconImageUri\r\n }\r\n}\r\n\r\nexport const mutations:MutationTree = {\r\n setBaseColorCode(state,value)\r\n {\r\n state.baseColorCode = value.selectedColor;\r\n state.baseSuccessColorCode = value.selectedSuccessColor;\r\n state.baseWarningColorCode = value.selectedWarningColor;\r\n state.baseErrorColourCode = value.selectedErrorColor;\r\n state.baseNoteColorCode = value.selectedNoteColor;\r\n },\r\n setLogoImageUri(state,value)\r\n {\r\n state.logoImageUri = value;\r\n },\r\n setFavIconImageUri(state,value)\r\n {\r\n state.favIconImageUri = value;\r\n }\r\n}\r\n\r\nexport const actions: ActionTree ={\r\n changeBaseColorCodes(context,value){\r\n var appDiv = document.getElementById(\"appDiv\");\r\n appDiv.style.setProperty('--primary',value.selectedColor);\r\n appDiv.style.setProperty('--primary-rgba',colorConvertService.hexToRGB(value.selectedColor,0.85));\r\n appDiv.style.setProperty('--primary-light',colorConvertService.hexToRGB(value.selectedColor,0.6));\r\n var darkPrimary = colorConvertService.lightenDarkenColor(value.selectedColor,-15);\r\n appDiv.style.setProperty('--primary-dark-rgba',colorConvertService.hexToRGB(darkPrimary,0.85));\r\n appDiv.style.setProperty('--box-shadow-rgba',colorConvertService.hexToRGB(value.selectedColor,0.25));\r\n appDiv.style.setProperty('--apex-success',value.selectedSuccessColor);\r\n appDiv.style.setProperty('--apex-warning',value.selectedWarningColor);\r\n appDiv.style.setProperty('--apex-error',value.selectedErrorColor);\r\n appDiv.style.setProperty('--apex-note-color', value.selectedNoteColor);\r\n sessionStorage.setItem(\"baseColorCode\",value.selectedColor);\r\n context.commit('setBaseColorCode',value);\r\n sessionStorage.setItem(\"baseSuccessColorCode\",value.selectedSuccessColor);\r\n sessionStorage.setItem(\"baseWarningColorCode\",value.selectedWarningColor);\r\n sessionStorage.setItem(\"baseErrorColorCode\",value.selectedErrorColor);\r\n sessionStorage.setItem(\"baseNoteColorCode\",value.selectedNoteColor);\r\n },\r\n changeLogoImageUri(context,value){\r\n context.commit('setLogoImageUri',value);\r\n sessionStorage.setItem(\"logoImageUri\",value);\r\n },\r\n changeFavIconImageUri(context,value){\r\n context.commit('setFavIconImageUri',value);\r\n sessionStorage.setItem(\"favIconImageUri\",value);\r\n },\r\n\r\n changeSystemSettings(context,value){\r\n apiService.sendGetRequest('Public','ThemeSettings',{}).then(response=>{\r\n if(response.data){\r\n var appDiv = document.getElementById(\"appDiv\");\r\n appDiv.style.setProperty('--primary',response.data.themeColor);\r\n appDiv.style.setProperty('--primary-rgba',colorConvertService.hexToRGB(response.data.themeColor,0.85));\r\n appDiv.style.setProperty('--primary-light',colorConvertService.hexToRGB(response.data.themeColor,0.6));\r\n var darkPrimary = colorConvertService.lightenDarkenColor(response.data.themeColor,-15);\r\n appDiv.style.setProperty('--primary-dark-rgba',colorConvertService.hexToRGB(darkPrimary,0.85));\r\n appDiv.style.setProperty('--box-shadow-rgba',colorConvertService.hexToRGB(response.data.themeColor,0.25));\r\n var params = {\r\n selectedColor: response.data.themeColor,\r\n selectedSuccessColor: response.data.successColor,\r\n selectedWarningColor: response.data.warningColor,\r\n selectedErrorColor: response.data.errorColor,\r\n selectedNoteColor: response.data.noteColor\r\n };\r\n context.commit('setBaseColorCode',params);\r\n sessionStorage.setItem(\"baseColorCode\",response.data.themeColor);\r\n sessionStorage.setItem(\"baseSuccessColorCode\",response.data.successColor);\r\n sessionStorage.setItem(\"baseWarningColorCode\",response.data.warningColor);\r\n sessionStorage.setItem(\"baseErrorColorCode\",response.data.errorColor);\r\n sessionStorage.setItem(\"baseNoteColorCode\",response.data.noteColor);\r\n context.commit('setLogoImageUri',response.data.logoImageUri);\r\n sessionStorage.setItem(\"logoImageUri\",response.data.logoImageUri);\r\n context.commit('setFavIconImageUri',response.data.favIconImageUri);\r\n sessionStorage.setItem(\"favIconImageUri\",response.data.favIconImageUri);\r\n appDiv.style.setProperty('--apex-success',response.data.successColor);\r\n appDiv.style.setProperty('--apex-warning',response.data.warningColor);\r\n appDiv.style.setProperty('--apex-error',response.data.errorColor);\r\n appDiv.style.setProperty('--apex-note-color', response.data.noteColor);\r\n\r\n }\r\n });\r\n }\r\n}\r\n\r\nexport const ThemeStoreModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","class DirtyValidatorService {\r\n\r\n static list: IModelValidatorComparer[] = [];\r\n \r\n /**\r\n * Returns the new array index of the model object.\r\n * @param model Model object\r\n */\r\n setInitialModel(currentReferenceNumber: number, model: any) {\r\n // ref number must be greater than -1 and a whole number\r\n if (currentReferenceNumber && currentReferenceNumber > -1 && currentReferenceNumber % 1 == 0) {\r\n this.clearChanges(currentReferenceNumber)\r\n }\r\n let initialObject = this.cloneObject(model);\r\n \r\n let length = DirtyValidatorService.list.push({ initialObj: initialObject, currentObj: model});\r\n return (length - 1); // returns the index\r\n }\r\n \r\n private cloneObject(objectColltoClone: any) {\r\n let tmpObj: any = {};\r\n for (var prop in objectColltoClone) {\r\n if (objectColltoClone[prop] instanceof Array || objectColltoClone[prop] instanceof Object) {\r\n let clonedArray = this.cloneObject(objectColltoClone[prop]);\r\n tmpObj[prop] = clonedArray;\r\n }\r\n else {\r\n tmpObj[prop] = objectColltoClone[prop];\r\n }\r\n }\r\n return tmpObj;\r\n }\r\n \r\n canCancelDirtyView(referenceNumbers: number[] = [], message: string = \"\"): boolean {\r\n \r\n if (message == \"\")\r\n message = \"You have some unsaved changes. Are you sure you want to cancel?\";\r\n \r\n var isDirty = referenceNumbers == null ? this.isPageDirty() : this.isAllModelsDirty(referenceNumbers);\r\n \r\n if (isDirty) {\r\n var isYes = confirm(message);\r\n if (isYes) {\r\n if (referenceNumbers == null)\r\n this.clearAllChanges();\r\n else\r\n this.clearChangesAllByReferences(referenceNumbers);\r\n }\r\n return isYes;\r\n }\r\n else {\r\n return true;\r\n }\r\n }\r\n \r\n \r\n isPageDirty(): boolean {\r\n var isDirty = false;\r\n for (let objArrayItem of DirtyValidatorService.list) {\r\n if (objArrayItem != null) {\r\n let curObj = objArrayItem.currentObj;\r\n let iniObj = objArrayItem.initialObj;\r\n isDirty = this.isDirty(curObj, iniObj);\r\n if (isDirty) {\r\n return isDirty;\r\n }\r\n }\r\n }\r\n \r\n return isDirty;\r\n }\r\n \r\n isModelDirty(modelvalidatorServiceReference: number,useStrictComparison:boolean = false): boolean {\r\n \r\n var isDirty = false;\r\n if (modelvalidatorServiceReference != null && DirtyValidatorService.list[modelvalidatorServiceReference] != null) {\r\n let curObj = DirtyValidatorService.list[modelvalidatorServiceReference].currentObj;\r\n let iniObj = DirtyValidatorService.list[modelvalidatorServiceReference].initialObj;\r\n isDirty = this.isDirtyWithStrictComparison(curObj, iniObj);\r\n if(useStrictComparison){\r\n isDirty = this.isDirtyWithStrictComparison(curObj, iniObj);\r\n } else {\r\n isDirty = this.isDirty(curObj, iniObj);\r\n }\r\n }\r\n return isDirty;\r\n }\r\n \r\n isAllModelsDirty(modelvalidatorServiceReferenceArray: number[]): boolean {\r\n var result = false;\r\n modelvalidatorServiceReferenceArray.forEach(referenceNumber => {\r\n result = result || this.isModelDirty(referenceNumber);\r\n });\r\n return result;\r\n }\r\n \r\n private isDirty(curObj: any, iniObj: any):any {\r\n var isDirty = false;\r\n for (let prop in iniObj) {\r\n\r\n if (curObj[prop] !== null && curObj[prop] === undefined && iniObj[prop] != undefined) {\r\n isDirty = true;\r\n return isDirty;\r\n }\r\n if (curObj[prop] !== null && iniObj[prop] === null && curObj[prop] !== undefined) {\r\n isDirty = true;\r\n return isDirty;\r\n }\r\n }\r\n for (let prop in curObj) {\r\n if (curObj[prop] !== null && iniObj[prop] === undefined && curObj[prop] != undefined) {\r\n isDirty = true;\r\n return isDirty;\r\n }\r\n if (curObj[prop] instanceof Array || curObj[prop] instanceof Object) {\r\n if(!(iniObj[prop] instanceof Object)){\r\n return true;\r\n }\r\n isDirty = this.isDirty(curObj[prop], iniObj[prop]);\r\n if (isDirty) {\r\n return isDirty;\r\n }\r\n }\r\n else if (iniObj[prop] != curObj[prop]) {\r\n isDirty = true;\r\n return isDirty;\r\n }\r\n }\r\n }\r\n\r\n private isDirtyWithStrictComparison(curObj: any, iniObj: any):any {\r\n var isDirty = false;\r\n for (let prop in iniObj) {\r\n if (curObj[prop] !== null && curObj[prop] === undefined && iniObj[prop] !== undefined) {\r\n isDirty = true;\r\n return isDirty;\r\n }\r\n if (curObj[prop] !== null && iniObj[prop] === null && curObj[prop] !== undefined) {\r\n isDirty = true;\r\n return isDirty;\r\n }\r\n }\r\n for (let prop in curObj) {\r\n if (curObj[prop] !== null && iniObj[prop] === undefined && curObj[prop] !== undefined) {\r\n isDirty = true;\r\n return isDirty;\r\n }\r\n if (curObj[prop] instanceof Array || curObj[prop] instanceof Object) {\r\n if(!(iniObj[prop] instanceof Object)){\r\n return true;\r\n }\r\n isDirty = this.isDirtyWithStrictComparison(curObj[prop], iniObj[prop]);\r\n if (isDirty) {\r\n return isDirty;\r\n }\r\n }\r\n else if (iniObj[prop] != curObj[prop] || (iniObj[prop] === 0 && curObj[prop] === \"\")){\r\n isDirty = true;\r\n return isDirty;\r\n }\r\n }\r\n }\r\n \r\n \r\n clearChangesAllByReferences(referenceNumbers: number[]) {\r\n referenceNumbers.forEach(referenceNumber => {\r\n DirtyValidatorService.list[referenceNumber] = null;\r\n });\r\n }\r\n \r\n clearChanges(referenceNumber: number) {\r\n //clear model with the referenceNumber\r\n //DirtyValidatorService.list.splice(index, index + 1);\r\n DirtyValidatorService.list[referenceNumber] = null;\r\n }\r\n \r\n clearAllChanges() {\r\n //clear all models\r\n DirtyValidatorService.list = [];\r\n }\r\n \r\n resetModelValidator(index: number) {\r\n let objectcoll = DirtyValidatorService.list[index];\r\n if (objectcoll) {\r\n objectcoll.initialObj = this.cloneObject(objectcoll.currentObj);\r\n }\r\n }\r\n }\r\n\r\n interface IModelValidatorComparer{\r\n currentObj:any;\r\n initialObj:any;\r\n }\r\n\r\nconst dirtyValidatorService = new DirtyValidatorService();\r\nexport default dirtyValidatorService;","export enum UserRoles{\r\n TenantAdmin = 1,\r\n Client = 2,\r\n StandardUser = 3,\r\n SystemAdmin = 4,\r\n Supplier = 5\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isTenantAdmin)?_c('b-row',{staticClass:\"db-item-row mt-5\"},[_c('b-col',{attrs:{\"lg\":\"12\",\"xl\":\"5\"}},[_c('b-row',[_c('b-col',{staticClass:\"pending-expense-claims-widget\",attrs:{\"lg\":\"7\"}},[_c('b-card',{staticClass:\"card db-item db-item-active pending-expense-claims-card\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigateToExpenseClaims}},[_c('b-card-body',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"9\",\"lg\":\"9\",\"md\":\"9\",\"sm\":\"9\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Pending Expense Claims\")])]),_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"3\",\"lg\":\"3\",\"md\":\"3\",\"sm\":\"3\"}},[_c('div',{staticClass:\"h1 text-muted text-right mb-4\"},[_c('i',{staticClass:\"far fa-money-bill-alt\",attrs:{\"aria-hidden\":\"true\"}})])])],1),_c('div',{staticClass:\"brand-card-body\"},[_c('div',[_c('span',{staticClass:\"text-value\",attrs:{\"title\":\"Count\"}},[_vm._v(\"\\n \"+_vm._s(_vm.systemWideDashboardInfo.pendingApprovalExpenseClaimReimbursementCount)+\"\\n \"),_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"REIMBURSEMENT\")])])]),_c('div',[_c('span',{staticClass:\"text-value\",attrs:{\"title\":\"Count\"}},[_vm._v(\"\\n \"+_vm._s(_vm.systemWideDashboardInfo.pendingApprovalExpenseClaimBillCount)+\"\\n \"),_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"BILL\")])])])])],1)],1)],1),_c('b-col',{staticClass:\"entities-without-invoices-widget\"},[_c('EntitiesWithoutInvoicesWidge',{attrs:{\"entitiesWithoutInvoicesCount\":_vm.systemWideDashboardInfo.entitiesWithoutInvoicesCount}})],1)],1),_c('b-row',[_c('b-col',{staticClass:\"pending-payments-widget\",attrs:{\"lg\":\"7\"}},[_c('b-card',{staticClass:\"card db-item db-item-active pending-payments-card\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigateToEFT}},[_c('b-card-body',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"9\",\"lg\":\"9\",\"md\":\"9\",\"sm\":\"9\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Pending Payments\")])]),_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"3\",\"lg\":\"3\",\"md\":\"3\",\"sm\":\"3\"}},[_c('div',{staticClass:\"h1 text-muted text-right mb-4\"},[_c('i',{staticClass:\"fas fa-exchange-alt\",attrs:{\"aria-hidden\":\"true\"}})])])],1),_c('div',{staticClass:\"brand-card-body\"},[_c('div',[_c('span',{staticClass:\"text-value\",attrs:{\"title\":\"Count\"}},[_vm._v(\"\\n \"+_vm._s(_vm.systemWideDashboardInfo.pendingFundTransferCountEFT)+\"\\n \"),_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"EFT\")])]),_c('span',{staticClass:\"text-value\",attrs:{\"title\":\"Count\"}},[_c('ApexCurrency',{attrs:{\"value\":_vm.systemWideDashboardInfo.pendingFundTransferAmountEFT}})],1)]),_c('div',[_c('span',{staticClass:\"text-value\",attrs:{\"title\":\"Amount\"}},[_vm._v(\"\\n \"+_vm._s(_vm.systemWideDashboardInfo.pendingFundTransferCountBPay)+\"\\n \"),_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"BPay\")])]),_c('span',{staticClass:\"text-value\",attrs:{\"title\":\"Amount\"}},[_c('ApexCurrency',{attrs:{\"value\":_vm.systemWideDashboardInfo.pendingFundTransferAmountBPay}})],1)])])],1)],1)],1),_c('b-col',{staticClass:\"entities-with-outstanding-balance-widget\"},[_c('EntitiesWithOutstandingBalanceWidget',{attrs:{\"entitiesWithOutstandingBalanceCount\":_vm.systemWideDashboardInfo.entitiesWithOutstandingBalanceCount}})],1)],1)],1),_c('b-col',{staticClass:\"bank-reconciliation-widget\",attrs:{\"lg\":\"6\",\"xl\":\"3\"}},[_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"card db-item db-item-active bank-rec-card\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigeteToBankReconciliation}},[_c('b-card-body',{staticClass:\"bank-rec-card-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"9\",\"lg\":\"9\",\"md\":\"9\",\"sm\":\"9\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Bank Reconciliation\")])]),_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"3\",\"lg\":\"3\",\"md\":\"3\",\"sm\":\"3\"}},[_c('div',{staticClass:\"h1 text-muted text-right mb-4\"},[_c('i',{staticClass:\"fas fa-file-invoice-dollar\"})])])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"brand-card-body\"},[_c('div',[_c('span',{staticClass:\"text-value\",attrs:{\"title\":\"Count\"}},[_vm._v(\"\\n \"+_vm._s(_vm.systemWideDashboardInfo.unpostedBankTransactionCount)+\"\\n \"),_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Unposted\")])])]),_c('div',[_c('span',{staticClass:\"text-value\",attrs:{\"title\":\"Date and Time\"}},[_c('p',{staticClass:\"banc-rec-date-text\"},[_vm._v(_vm._s(_vm.getDate(_vm.systemWideDashboardInfo.lastBankTransactionReceivedDate)))]),_c('p',{staticClass:\"banc-rec-date-text\"},[_vm._v(_vm._s(_vm.getTime(_vm.systemWideDashboardInfo.lastBankTransactionReceivedDate)))]),_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Last Received Date\")])])])])])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"xl\":\"12\",\"lg\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[_c('EntitiesWithoutServiceAgreementWidget',{attrs:{\"entitiesWithoutServiceAgreementCount\":_vm.systemWideDashboardInfo.entitiesWithoutServiceAgreement}})],1)],1)],1),_c('application-status-bar-chart-widget',{attrs:{\"label\":'Finance Applications',\"applicationType\":'FA'}})],1):_vm._e(),(_vm.isTenantAdmin)?_c('b-row',{staticClass:\"db-item-row\"},[_c('b-col',[_c('b-row',[_c('b-col',{staticClass:\"residual-due-report-widget\",attrs:{\"lg\":\"6\",\"xl\":\"6\"}},[_c('ResidualDueLeasesWidget',{attrs:{\"residualDueLeaseCount\":_vm.systemWideDashboardInfo.residualDueLeasesCount}})],1),_c('b-col',{staticClass:\"entities-without-admin-fee-widget\",attrs:{\"lg\":\"6\",\"xl\":\"6\"}},[_c('EntitiesWithoutAdminFeeWidget',{attrs:{\"entitiesWithOutAdminFeeCount\":_vm.systemWideDashboardInfo.entitiesWithOutAdminFeeCount}})],1),_c('b-col',{staticClass:\"novations-exceeding-four-FBT-years-count-widget\",attrs:{\"lg\":\"6\",\"xl\":\"6\"}},[_c('NovationsExceedingFourFBTYearsWidget',{attrs:{\"novationsExceedingFourFBTYearsCount\":_vm.systemWideDashboardInfo.novationsExceedingFourFBTYearsCount}})],1)],1)],1),_c('application-status-bar-chart-widget',{attrs:{\"label\":'Pending Finance Applications',\"applicationType\":'PFA'}})],1):_vm._e(),(_vm.isClient)?_c('b-row',{staticClass:\"db-item-row mt-3\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"font-weight-bold welcomeText d-flex justify-content-center\"},[_vm._v(\" Welcome, \"+_vm._s(this.$store.getters.getUserDisplayName))]),(_vm.clientDashboardInfo && _vm.clientDashboardInfo.displayClientPortalInfo && _vm.clientDashboardInfo.clientPortalInfoText != null && _vm.clientDashboardInfo.clientPortalInfoText != '')?_c('b-row',[_c('b-col',[_c('b-alert',{staticClass:\"client-info-text\",attrs:{\"show\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.clientDashboardInfo.clientPortalInfoText)+\"\\n \")])],1)],1):_vm._e(),(!_vm.clientDashboardInfo || (_vm.clientDashboardInfo && !_vm.clientDashboardInfo.isBankAccountAvailable))?_c('b-row',[_c('b-col',[_c('b-alert',{attrs:{\"variant\":\"warning\",\"show\":\"\"}},[_c('a',{staticClass:\"anchor-color\",attrs:{\"href\":\"/profile/bankAccounts\"}},[_c('u',[_vm._v(\"Click here\")])]),_vm._v(\" to add a new bank account for expense claim reimbursements\\n \")])],1)],1):_vm._e(),_c('b-row',[_c('b-col',[_c('div',{staticClass:\"mt-2\"},[_c('b-form-checkbox',{staticClass:\"mx-1\",attrs:{\"id\":\"toggle-ckeckbox\",\"switch\":\"\",\"inline\":\"\",\"size\":\"lg\"},on:{\"change\":_vm.onChangeVehiclesFilterToggler},model:{value:(_vm.isVehiclesFilterTogglerActive),callback:function ($$v) {_vm.isVehiclesFilterTogglerActive=$$v},expression:\"isVehiclesFilterTogglerActive\"}}),_c('label',{staticClass:\"toggle-checkbox\",attrs:{\"for\":\"toggle-ckeckbox\"}},[_vm._v(\"\\n Show Active Vehicles Only\\n \")])],1)]),_c('b-col',{staticClass:\"float-right\"},[(_vm.clientDashboardInfo && _vm.clientDashboardInfo.vehicleDetailsWidgets && _vm.clientDashboardInfo.vehicleDetailsWidgets.length > 0)?_c('b-button',{staticClass:\"supplier-locator btn-lg float-right mr-0\",attrs:{\"disabled\":false,\"title\":\"Search nearby suppliers\"},on:{\"click\":function($event){return _vm.navigateToSupplierLocator()}}},[_vm._v(\"\\n Supplier Locator \"),_c('i',{staticClass:\"fas fa-route\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)],1)],1),(_vm.clientDashboardInfo)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-row',[_c('b-col',{staticClass:\"mt-3\",attrs:{\"sm\":\"12\"}},[_c('ClientFinanceApplicationWidget')],1),_vm._l((_vm.filteredVehicleDetails),function(widgetData){return _c('b-col',{key:widgetData.id,attrs:{\"sm\":\"6\"}},[_c('div',{staticClass:\"mt-3\"},[_c('VehicleBasicDetailsWidget',{attrs:{\"widgetData\":widgetData,\"truncateVehicleName\":(_vm.vehicleCount > 1)}})],1)])})],2)],1):_vm._e()],1):_vm._e(),(_vm.isSystemAdmin)?_c('b-row',{staticClass:\"db-item-row mt-3\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"mb-3\"},[_c('span',{staticClass:\"font-weight-bold welcomeText\"})])])],1):_vm._e(),(_vm.isSupplier)?_c('b-row',{staticClass:\"db-item-row mt-3\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"mb-3\"},[_c('span',{staticClass:\"font-weight-bold welcomeText\"},[_c('p',{staticClass:\"text-center\"},[_vm._v(\" Welcome, \"+_vm._s(this.$store.getters.getUserDisplayName)+\" \")])])])]),_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"mt-3\"},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"12\",\"xl\":\"4\"}},[_c('ProfileSummaryWidget',{attrs:{\"supplierId\":_vm.supplierId}})],1),_c('b-col',{attrs:{\"lg\":\"12\",\"xl\":\"8\"}},[_c('BillsForPaymentWidget',{attrs:{\"supplierId\":_vm.supplierId}})],1)],1)],1)])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.barChartType == 1)?_c('HorizontalBar',{ref:\"horizontalBar\"}):(_vm.barChartType == 0)?_c('Bar',{ref:\"verticalBar\",staticClass:\"verticalbar-styles\"}):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\nimport { HorizontalBar, Bar } from 'vue-chartjs';\nimport {Component,Prop, Emit, Watch,Vue} from 'vue-property-decorator';\n\n@Component({\n components: {\n HorizontalBar,\n Bar\n }\n})\nexport default class BarChart extends Vue {\n @Prop() labels:any;\n @Prop() backgroundColors:any;\n @Prop() data:any;\n @Prop() options:any;\n @Prop() barChartType: number; // 0-Vertical , 1-Horizontal\n @Prop() label: string;\n\n @Watch('data') onDataChanged() {\n this.loadChart();\n }\n\n @Watch('options') onOptionsChanged() {\n this.loadChart();\n }\n\n mounted () { \n this.loadChart(); \n }\n\n loadChart() {\n if (this.barChartType == 1) {\n (this.$refs.horizontalBar as HorizontalBar).renderChart({\n labels: this.labels,\n datasets: [\n {\n backgroundColor: this.backgroundColors,\n data: this.data,\n label: this.label\n \n }\n ] \n },\n this.options\n );\n } else if (this.barChartType == 0) {\n (this.$refs.verticalBar as Bar).renderChart({\n labels: this.labels,\n datasets: [\n {\n backgroundColor: this.backgroundColors,\n data: this.data,\n label: this.label,\n }\n ]\n },\n this.options\n );\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BarChart.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BarChart.vue?vue&type=template&id=4981cb0a&scoped=true\"\nimport script from \"./BarChart.vue?vue&type=script&lang=ts\"\nexport * from \"./BarChart.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BarChart.vue?vue&type=style&index=0&id=4981cb0a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4981cb0a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"widget-body\"},[(_vm.isImageCropperOpened)?_c('ImageCropper',{attrs:{\"imageSrc\":_vm.vehicleImageSource},on:{\"onCropImage\":_vm.onCropVehicleImage,\"onCancelCrop\":_vm.onCancelCropVehicleImage}}):_vm._e(),(_vm.showDeleteImageConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"deleteImageConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the image?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"deleteImageConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteImageConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"deleteImageConf_OkButton\"},on:{\"click\":_vm.okayToDeleteImage}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showRecurringScheduledPaymentPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"recurringScheduledPaymentModalId\",\"maxWidth\":\"1890px\",\"minHeight\":\"660px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Add Recurring Scheduled Payment\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"recurringScheduledPaymentModal_CloseButton\"},on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddRecurringScheduledPayment',{attrs:{\"vehicleId\":_vm.widgetData.motorVehicleId},on:{\"onCloseModal\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"recurringScheduledPaymentModal_CloseButton\"},on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.widgetData)?_c('b-card',{staticClass:\"card db-item db-widget-active\",attrs:{\"no-body\":\"\"}},[_c('b-card-header',{staticClass:\"mt-1 mb-0 pt-0 pb-0 cursor-pointer\",attrs:{\"id\":\"clientCardHeader\"},on:{\"click\":function($event){return _vm.navigateToVehicleDashboard()}}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"text-muted text-uppercase db-item-name displayNameText\"},[_vm._v(_vm._s(_vm.truncateVehicleDisplayName(_vm.widgetData.vehicleDisplayName)))]),_c('span',{staticClass:\"ml-3 back-navigation\",attrs:{\"title\":\"View Vehicle Details\"},on:{\"click\":function($event){return _vm.navigateToVehicleDashboard()}}},[_c('i',{staticClass:\"far fa-arrow-alt-circle-right\"})]),_c('b-dropdown',{staticClass:\"back-navigation ml-2\",attrs:{\"disabled\":!(_vm.showResidualDueMessages() || _vm.widgetData.showInsuranceRenewalMsg || _vm.widgetData.showRegoRenewalMsg),\"id\":\"clientReminders\",\"right\":\"\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('i',{staticClass:\"far fa-bell fa-lg\"},[(_vm.showResidualDueMessages() || _vm.widgetData.showInsuranceRenewalMsg || _vm.widgetData.showRegoRenewalMsg)?_c('CBadge',{staticClass:\"client-dashboard-badge\",attrs:{\"color\":\"danger\"}},[_vm._v(\".\")]):_vm._e()],1)]},proxy:true}],null,false,2557459259)},[(_vm.widgetData.showRegoRenewalMsg)?_c('b-dropdown-item',{class:{ 'client-reminder-overdue': _vm.widgetData.regoRenewalOverdue}},[_vm._v(_vm._s(_vm.widgetData.regoRenewalMsg))]):_vm._e(),(_vm.widgetData.showInsuranceRenewalMsg)?_c('b-dropdown-item',{class:{ 'client-reminder-overdue': _vm.widgetData.insuranceRenewalOverdue}},[_vm._v(_vm._s(_vm.widgetData.insuranceRenewalMsg))]):_vm._e(),_vm._l((_vm.getResidualMsgDataList()),function(leaseDetails){return _c('b-dropdown-item',{key:leaseDetails.leaseId,class:{ 'client-reminder-overdue': leaseDetails.residualDueOverdue}},[_vm._v(_vm._s(leaseDetails.residualDueMsg))])})],2)],1)],1)],1),_c('hr',{attrs:{\"id\":\"cardHeaderDivider\"}}),_c('b-card-body',[_c('b-row',{staticClass:\"no-gutters\"},[_c('b-col',{attrs:{\"xl\":\"6\",\"lg\":\"6\",\"md\":\"5\",\"sm\":\"12\"}},[_c('FileUploader',{ref:\"vehicleImageUploader\",staticClass:\"pro-pic responsive-margin-top responsive-left-margin\",attrs:{\"align-h\":\"center\",\"modalMode\":false,\"label\":\"\",\"keepDummy\":true,\"imgUri\":_vm.vehicleImageUri,\"dummyImage\":_vm.initialVehicleImageUri,\"changeLabelClass\":\"ml-4\",\"accept\":\"image/*\",\"avatarMode\":_vm.avatarMode,\"fileExists\":_vm.fileExists,\"excludeResponsivePB\":true,\"avatarOverlayClass\":\"paddingLeft-5 sqaure-200\",\"avatarClass\":\"sqaure-200\",\"avatarContainerClass\":\"avatarContainerClassClient\",\"fromClientDashboard\":\"true\"},on:{\"onFileChanged\":_vm.onImageChanged,\"onCropModalOpen\":_vm.onCropModalOpen,\"onCropModalClose\":_vm.onCropModalClose,\"onDeleteFile\":_vm.onDeleteVehicleImage}})],1),_c('b-col',{staticClass:\"cursor-pointer \",attrs:{\"sm\":\"12\",\"md\":\"7\",\"lg\":\"6\",\"xl\":\"6\"},on:{\"click\":function($event){return _vm.navigateToVehicleDashboard()}}},[(!(!_vm.widgetData.plateNumber && _vm.widgetData.vin))?_c('CWidgetIcon',{staticClass:\"client-dahsboard-widget custom-client-dahsboard-widget\",attrs:{\"header\":_vm.widgetData.plateNumber ? _vm.widgetData.plateNumber : '-',\"text\":\"PLATE NUMBER\",\"color\":\"primary\",\"iconPadding\":false}},[_c('i',{staticClass:\"far widget-icon mr-0\"})]):_vm._e(),(!_vm.widgetData.plateNumber && _vm.widgetData.vin)?_c('CWidgetIcon',{staticClass:\"client-dahsboard-widget custom-client-dahsboard-widget\",attrs:{\"header\":_vm.widgetData.vin ? _vm.widgetData.vin : '-',\"text\":\"VIN\",\"color\":\"primary\",\"iconPadding\":false}},[_c('i',{staticClass:\"far widget-icon mr-0\"})]):_vm._e(),_c('CWidgetIcon',{staticClass:\"client-dahsboard-widget custom-client-dahsboard-widget\",attrs:{\"header\":_vm.widgetData.regoRenewalDisplayDate ? _vm.widgetData.regoRenewalDisplayDate : '-',\"text\":\"Rego Expiry Date\",\"color\":\"info\",\"iconPadding\":false}},[_c('i',{staticClass:\"far widget-icon mr-0\"})]),_c('CWidgetIcon',{staticClass:\"client-dahsboard-widget custom-client-dahsboard-widget\",attrs:{\"header\":_vm.widgetData.insuranceRenewalDisplayDate ? _vm.widgetData.insuranceRenewalDisplayDate : '-',\"text\":\"Insurance Expiry Date\",\"color\":\"info\",\"iconPadding\":false}},[_c('i',{staticClass:\"far widget-icon mr-0\"})]),_c('CWidgetIcon',{staticClass:\"client-dahsboard-widget custom-client-dahsboard-widget\",attrs:{\"header\":_vm.widgetData.pendingExpenseClaimCount.toString(),\"text\":\"unapproved Expenses\",\"color\":\"warning\",\"iconPadding\":false}},[_c('i',{staticClass:\"far widget-icon mr-0\"})])],1)],1),_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"5\",\"lg\":\"6\",\"xl\":\"6\"}},[_c('b-button',{staticClass:\"widget-btn mb-4 \",on:{\"click\":_vm.navigateToVehicleDashboard}},[_vm._v(\"View Details\")])],1),_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"7\",\"lg\":\"6\",\"xl\":\"6\"}},[(_vm.widgetData.isActiveLeaseAvailable)?_c('b-dropdown',{staticClass:\"widget-btn mb-4 mr-3\",attrs:{\"text\":\"Quick Actions\",\"dropup\":\"\"}},[_c('b-dropdown-item',{staticClass:\"widget-btn\",on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = true}}},[_vm._v(\"Add Recurring Scheduled Payment\")]),_c('b-dropdown-item',{staticClass:\"widget-btn\",on:{\"click\":_vm.goToReimbursementClaim}},[_vm._v(\"Submit Reimbursement\")]),_c('b-dropdown-item',{staticClass:\"widget-btn\",on:{\"click\":_vm.goToBillExpenseClaim}},[_vm._v(\"Submit Bill\")])],1):_vm._e()],1)],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',{attrs:{\"label\":_vm.label,\"label-for\":\"logo\"}},[_c('input',{ref:\"fileUploader\",staticClass:\"input-file\",staticStyle:{\"display\":\"none\"},attrs:{\"type\":\"file\",\"accept\":_vm.accept,\"id\":\"logo\"},on:{\"change\":function($event){return _vm.filesChange($event.target.files)}}}),(!_vm.selectedFile)?_c('div',[(_vm.imgUri != '' && !_vm.fileUploaded)?_c('div',[(!_vm.avatarMode)?_c('div',[_c('b-img',{attrs:{\"src\":_vm.imgUri,\"thumbnail\":\"\",\"width\":_vm.width,\"height\":_vm.height}}),_c('span',{staticClass:\"spanToLink changeImgTxt\",class:[_vm.changeLabelClass? _vm.changeLabelClass: 'ml-3'],style:({ fontSize: _vm.fontSize + 'pt'}),attrs:{\"title\":\"Change Image\"},on:{\"click\":_vm.onUploadButtonClicked}},[_vm._v(\"\\n \"+_vm._s(_vm.changeLabel)+\"\\n \")])],1):_c('div',{staticClass:\"avatarContainer\",class:{ 'responsive-padding-bottom': !_vm.excludeResponsivePB, 'avatarContainerClassClient': _vm.fromClientDashboard }},[_c('img',{class:{ 'avatar-client car-image':_vm.fromClientDashboard,'avatarImage avatar':!_vm.fromClientDashboard},attrs:{\"src\":_vm.imgUri,\"alt\":\"Avatar\"}}),_c('div',{class:{ 'avatarOverlay-client avatar-client':_vm.fromClientDashboard,'avatarOverlay avatar':!_vm.fromClientDashboard}},[(!_vm.fromClientDashboard)?_c('span',{staticClass:\"icon cursor-pointer\"},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\"},on:{\"click\":function($event){return _vm.onUploadButtonClicked();}}}),(_vm.fileExists)?_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\"},on:{\"click\":_vm.onDeleteButtonClicked}}):_vm._e()]):_vm._e(),(_vm.fromClientDashboard)?_c('span',{staticClass:\"vehicle-image-buttons cursor-pointer\"},[_c('b-button',{staticClass:\"change-btn col-6\",on:{\"click\":_vm.onUploadButtonClicked}},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists, 'change-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\",\"id\":\"changeImageIcon\"}}),_vm._v(\" CHANGE \")]),(_vm.fileExists)?_c('b-button',{staticClass:\"delete-btn col-6\",on:{\"click\":_vm.onDeleteButtonClicked}},[_c('i',{staticClass:\"far fa-trash-alt fa-sm\",class:{ 'mr-3': _vm.fileExists, 'delete-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\",\"id\":\"deleteImageIcon\"}}),_vm._v(\" DELETE \")]):_vm._e()],1):_vm._e()])])]):(_vm.fileUploaded)?_c('div',[(!_vm.avatarMode)?_c('div',[_c('b-img',{attrs:{\"src\":_vm.altImage,\"thumbnail\":\"\",\"width\":_vm.width,\"height\":_vm.height}}),_c('span',{staticClass:\"spanToLink changeImgTxt\",class:[_vm.changeLabelClass? _vm.changeLabelClass: 'ml-3'],style:({ fontSize: _vm.fontSize + 'pt'}),attrs:{\"title\":\"Change Image\"},on:{\"click\":_vm.onUploadButtonClicked}},[_vm._v(\"\\n \"+_vm._s(_vm.changeLabel)+\"\\n \")])],1):_c('div',{staticClass:\"avatarContainer\",class:_vm.avatarContainerClass},[_c('img',{class:{ 'avatar-client car-image':_vm.fromClientDashboard,'avatarImage avatar':!_vm.fromClientDashboard},attrs:{\"src\":_vm.altImage,\"alt\":\"Avatar\"}}),_c('div',{class:{ 'avatarOverlay-client avatar-client':_vm.fromClientDashboard,'avatarOverlay avatar':!_vm.fromClientDashboard}},[(!_vm.fromClientDashboard)?_c('span',{staticClass:\"icon cursor-pointer\"},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\"},on:{\"click\":_vm.onUploadButtonClicked}}),(_vm.fileExists)?_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\"},on:{\"click\":_vm.onDeleteButtonClicked}}):_vm._e()]):_vm._e(),(_vm.fromClientDashboard)?_c('span',{staticClass:\"vehicle-image-buttons cursor-pointer\"},[_c('b-button',{staticClass:\"change-btn col-6\",on:{\"click\":_vm.onUploadButtonClicked}},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists, 'change-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\",\"id\":\"changeImageIcon\"}}),_vm._v(\" CHANGE \")]),(_vm.fileExists)?_c('b-button',{staticClass:\"delete-btn col-6\",on:{\"click\":_vm.onDeleteButtonClicked}},[_c('i',{staticClass:\"far fa-trash-alt fa-sm\",class:{ 'mr-3': _vm.fileExists, 'delete-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\",\"id\":\"deleteImageIcon\"}}),_vm._v(\" DELETE \")]):_vm._e()],1):_vm._e()])])]):_c('div',[(_vm.keepDummy)?_c('div',[(!_vm.avatarMode)?_c('div',[_c('b-img',{attrs:{\"src\":_vm.dummyImage,\"thumbnail\":\"\",\"width\":_vm.width,\"height\":_vm.height}}),_c('span',{staticClass:\"spanToLink changeImgTxt\",class:[_vm.changeLabelClass? _vm.changeLabelClass: 'ml-3'],style:({ fontSize: _vm.fontSize + 'pt'}),attrs:{\"title\":\"Change Image\"},on:{\"click\":_vm.onUploadButtonClicked}},[_vm._v(\"\\n \"+_vm._s(_vm.changeLabel)+\"\\n \")])],1):_c('div',{staticClass:\"avatarContainer\",class:_vm.avatarContainerClass},[_c('img',{class:{ 'avatar-client car-image':_vm.fromClientDashboard,'avatarImage avatar':!_vm.fromClientDashboard},attrs:{\"src\":_vm.dummyImage,\"alt\":\"Avatar\"}}),_c('div',{class:{ 'avatarOverlay-client avatar-client':_vm.fromClientDashboard,'avatarOverlay avatar':!_vm.fromClientDashboard}},[(!_vm.fromClientDashboard)?_c('span',{staticClass:\"icon cursor-pointer\"},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\"},on:{\"click\":_vm.onUploadButtonClicked}}),(_vm.fileExists)?_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\"},on:{\"click\":_vm.onDeleteButtonClicked}}):_vm._e()]):_vm._e(),(_vm.fromClientDashboard)?_c('span',{staticClass:\"vehicle-image-buttons cursor-pointer\"},[_c('b-button',{staticClass:\"change-btn col-6\",on:{\"click\":_vm.onUploadButtonClicked}},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists, 'change-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\",\"id\":\"changeImageIcon\"}}),_vm._v(\" CHANGE \")]),(_vm.fileExists)?_c('b-button',{staticClass:\"delete-btn col-6\",on:{\"click\":_vm.onDeleteButtonClicked}},[_c('i',{staticClass:\"far fa-trash-alt fa-sm\",class:{ 'mr-3': _vm.fileExists, 'delete-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\",\"id\":\"deleteImageIcon\"}}),_vm._v(\" DELETE \")]):_vm._e()],1):_vm._e()])])]):_c('div',[_c('span',{staticStyle:{\"cursor\":\"pointer\"},attrs:{\"title\":\"Delete\"},on:{\"click\":_vm.onUploadButtonClicked}},[_c('i',{staticClass:\"fas fa-plus-circle primary-text fa-lg\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Browse a file\"}})]),_c('span',{staticClass:\"changeImgTxt\",staticStyle:{\"cursor\":\"pointer\"},style:({ fontSize: _vm.fontSize + 'pt'}),on:{\"click\":_vm.onUploadButtonClicked}},[_vm._v(\"\\n Please select a file\\n \")])])])]):_c('div',[(_vm.imgUri != '' && !_vm.fileUploaded)?_c('div',[(!_vm.avatarMode)?_c('div',[_c('b-img',{attrs:{\"src\":_vm.imgUri,\"thumbnail\":\"\",\"width\":_vm.width,\"height\":_vm.height}}),_c('span',{staticClass:\"spanToLink changeImgTxt\",class:[_vm.changeLabelClass? _vm.changeLabelClass: 'ml-3'],style:({ fontSize: _vm.fontSize + 'pt'}),attrs:{\"title\":\"Change Image\"},on:{\"click\":_vm.onUploadButtonClicked}},[_vm._v(\"\\n \"+_vm._s(_vm.changeLabel)+\"\\n \")])],1):_c('div',{staticClass:\"avatarContainer\",class:_vm.avatarContainerClass},[_c('img',{class:{ 'avatar-client car-image':_vm.fromClientDashboard,'avatarImage avatar':!_vm.fromClientDashboard},attrs:{\"src\":_vm.imgUri,\"alt\":\"Avatar\"}}),_c('div',{class:{ 'avatarOverlay-client avatar-client':_vm.fromClientDashboard,'avatarOverlay avatar':!_vm.fromClientDashboard}},[(!_vm.fromClientDashboard)?_c('span',{staticClass:\"icon cursor-pointer\"},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\"},on:{\"click\":_vm.onUploadButtonClicked}}),(_vm.fileExists)?_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\"},on:{\"click\":_vm.onDeleteButtonClicked}}):_vm._e()]):_vm._e(),(_vm.fromClientDashboard)?_c('span',{staticClass:\"vehicle-image-buttons cursor-pointer\"},[_c('b-button',{staticClass:\"change-btn col-6\",on:{\"click\":_vm.onUploadButtonClicked}},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists, 'change-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\",\"id\":\"changeImageIcon\"}}),_vm._v(\" CHANGE \")]),(_vm.fileExists)?_c('b-button',{staticClass:\"delete-btn col-6\",on:{\"click\":_vm.onDeleteButtonClicked}},[_c('i',{staticClass:\"far fa-trash-alt fa-sm\",class:{ 'mr-3': _vm.fileExists, 'delete-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\",\"id\":\"deleteImageIcon\"}}),_vm._v(\" DELETE \")]):_vm._e()],1):_vm._e()])])]):_c('div',[(!_vm.avatarMode)?_c('div',[_c('b-img',{attrs:{\"src\":_vm.temporaryImage,\"thumbnail\":\"\",\"width\":_vm.width,\"height\":_vm.height}}),_vm._v(\"\\n   \\n \"),_c('span',{staticClass:\"changeImgTxt\",style:({ fontSize: _vm.fontSize + 'pt'})},[_vm._v(\"\\n \"+_vm._s(_vm.selectedFile.name)+\" (\"+_vm._s(_vm._f(\"fileSizeFilter\")(_vm.selectedFile.size))+\"KB)\\n \")]),_c('span',{staticStyle:{\"cursor\":\"pointer\"},attrs:{\"title\":\"Remove Image\"},on:{\"click\":_vm.deleteFile}},[_c('i',{staticClass:\"fas fa-times fa-sm delete-button\"})])],1):_c('div',{staticClass:\"avatarContainer\",class:_vm.avatarContainerClass},[_c('img',{class:{ 'avatar-client car-image':_vm.fromClientDashboard,'avatarImage avatar':!_vm.fromClientDashboard},attrs:{\"src\":_vm.temporaryImage,\"alt\":\"Avatar\"}}),_c('div',{class:{ 'avatarOverlay-client avatar-client':_vm.fromClientDashboard,'avatarOverlay avatar':!_vm.fromClientDashboard}},[(!_vm.fromClientDashboard)?_c('span',{staticClass:\"icon cursor-pointer\"},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\"},on:{\"click\":_vm.onUploadButtonClicked}}),(_vm.fileExists)?_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\"},on:{\"click\":_vm.onDeleteButtonClicked}}):_vm._e()]):_vm._e(),(_vm.fromClientDashboard)?_c('span',{staticClass:\"vehicle-image-buttons cursor-pointer\"},[_c('b-button',{staticClass:\"change-btn col-6\",on:{\"click\":_vm.onUploadButtonClicked}},[_c('i',{staticClass:\"fas fa-camera fa-sm\",class:{ 'mr-3': _vm.fileExists, 'change-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Change Image\",\"id\":\"changeImageIcon\"}}),_vm._v(\" CHANGE \")]),(_vm.fileExists)?_c('b-button',{staticClass:\"delete-btn col-6\",on:{\"click\":_vm.onDeleteButtonClicked}},[_c('i',{staticClass:\"far fa-trash-alt fa-sm\",class:{ 'mr-3': _vm.fileExists, 'delete-image-icon':true },attrs:{\"aria-hidden\":\"true\",\"title\":\"Delete Image\",\"id\":\"deleteImageIcon\"}}),_vm._v(\" DELETE \")]):_vm._e()],1):_vm._e()])])])]),(_vm.showAdditionalMessage)?_c('p',{staticClass:\"additionalMessage\"},[_vm._v(_vm._s(_vm.additionalMessage))]):_vm._e(),(_vm.showErrorMessage)?_c('p',{staticClass:\"errorMessage\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default class AppSettings{\r\n public static readonly defaultGridSize:number = 10;\r\n public static readonly reducedGridSize:number = 7;\r\n public static readonly reducedLedgerGridSize:number = 5;\r\n public static readonly maxFileUploadSizeInMB:number = 15;\r\n public static readonly eftTableGridSize:number = 50;\r\n public static readonly maxFileUploadLimit:number = 5;\r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport blobService from '@/shared/services/azureBlobStorageService';\nimport AppSettings from '@/app.config';\n\n@Component({\n filters:{\n fileSizeFilter(value:any){\n if(value){\n return (value/1024).toFixed(2);\n }\n }\n }\n})\nexport default class FileUploader extends Vue{\n selectedFile:any = null; \n @Prop() label:any;\n @Prop() imgUri:any;\n @Prop() accept:any;\n @Prop() showAdditionalMessage:any;\n @Prop() additionalMessage:any;\n @Prop() showErrorMessage:any;\n @Prop() errorMessage:any;\n @Prop() fontSize:any;\n @Prop() modalMode:boolean;\n @Prop() assignedWidth:any;\n @Prop() assignedHeight:any;\n @Prop() assignedChangeLabel:any;\n @Prop() keepDummy:any;\n @Prop() dummyImage:any;\n @Prop() changeLabelClass:any;\n @Prop() avatarMode:any;\n @Prop() fileExists:any;\n @Prop() avatarOverlayClass:any;\n @Prop() avatarClass:any;\n @Prop() excludeResponsivePB:any;\n @Prop() avatarContainerClass:any;\n @Prop() fromClientDashboard:any;\n \n fileUploaded:boolean = false;\n temporaryImage:any = null;\n altImage:any = null;\n width:string = \"50px\";\n height:string = \"50px\";\n changeLabel:string = \"Change Image\";\n\n created(){\n this.width = (this.assignedWidth != null)? this.assignedWidth : this.width;\n this.height = (this.assignedHeight != null)? this.assignedHeight : this.height;\n this.changeLabel = (this.assignedChangeLabel != null)? this.assignedChangeLabel : this.changeLabel;\n }\n filesChange(files:any){\n if(files[0] && !this.validateFileTypes(files[0]))\n {\n this.$notify({\n group: this.modalMode ? 'modalGrowlNotification' : 'growlNotification',\n title: \"Invalid file type\",\n type: 'error',\n duration: 2000\n });\n }\n else if(files[0] && files[0].size < AppSettings.maxFileUploadSizeInMB*1024*1024){\n this.selectedFile = files[0];\n if(this.avatarMode==true)\n this.OnOpenCropper(this.selectedFile);\n else{\n this.readURL(files[0]);\n this.onFileChanged(this.selectedFile);\n }\n }\n else{\n this.$notify({\n group: this.modalMode ? 'modalGrowlNotification' : 'growlNotification',\n title: \"Maximum file size is \"+ AppSettings.maxFileUploadSizeInMB + \"MB.\",\n type: 'error',\n duration: 2000\n });\n }\n (this.$refs.fileUploader as any).value = \"\";\n }\n\n OnOpenCropper(data: any){\n this.$nextTick(() => {\n this.onCropModalOpen(data);\n })\n \n }\n\n OnCropImage(data:any){\n this.temporaryImage=data;\n this.selectedFile=this.dataURItoBlob(data);\n this.onFileChanged(this.selectedFile);\n this.onCropModalClose();\n }\n\n OnCancelImageCrop(){\n this.onCropModalClose();\n }\n\n validateFileTypes(file):boolean\n {\n if(this.accept == \"*\")\n {\n return true;\n }\n var acceptList = this.accept.split(',');\n\n if(this.accept.includes('.bal') && file.name.toLowerCase().includes('.bal'))\n {\n return true;\n }\n if(this.accept.includes('.docx') && file.name.toLowerCase().includes('.docx'))\n {\n return true;\n }\n \n if(acceptList.includes('image/*') && file.type.includes('image') > 0)\n {\n return true;\n }\n\n var validCount = 0;\n acceptList.forEach(element => {\n if(file.type.includes(element.replace('.','')))\n {\n validCount++;\n }\n });\n\n return validCount > 0 ? true : false;\n }\n\n onUploadButtonClicked(){\n (this.$refs.fileUploader as any).click();\n }\n\n onDeleteButtonClicked(){\n this.selectedFile = null;\n if(!this.keepDummy){\n this.temporaryImage = null;\n }\n this.altImage = this.dummyImage;\n (this.$refs.fileUploader as any).value = \"\";\n this.onDeleteFile();\n }\n\n deleteFile(){\n this.selectedFile = null;\n if(!this.keepDummy){\n this.temporaryImage = null;\n }\n this.onFileChanged(this.selectedFile);\n (this.$refs.fileUploader as any).value = \"\";\n }\n\n readURL(input) {\n var reader = new FileReader();\n \n reader.onload = function(e) {\n this.temporaryImage = reader.result;\n }.bind(this)\n\n reader.readAsDataURL(input);\n }\n\n resetUploder(){\n this.selectedFile = null;\n (this.$refs.fileUploader as any).value = \"\";\n }\n\n setAltImg(){\n this.altImage = this.temporaryImage;\n this.fileUploaded = true;\n }\n\n dataURItoBlob(dataURI) {\n var byteString = atob(dataURI.split(',')[1]);\n var mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0];\n var ab = new ArrayBuffer(byteString.length);\n var ia = new Uint8Array(ab);\n for (var i = 0; i < byteString.length; i++) {\n ia[i] = byteString.charCodeAt(i);\n }\n return new Blob([ab], {type: mimeString});\n }\n\n @Emit('onFileChanged') onFileChanged(file:any){}\n\n @Emit('onCropModalOpen') onCropModalOpen(data:any){}\n\n @Emit('onCropModalClose') onCropModalClose(){}\n\n @Emit('onDeleteFile') onDeleteFile(){}\n}\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileUploader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FileUploader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FileUploader.vue?vue&type=template&id=32be0fc0&scoped=true\"\nimport script from \"./FileUploader.vue?vue&type=script&lang=ts\"\nexport * from \"./FileUploader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FileUploader.vue?vue&type=style&index=0&id=32be0fc0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32be0fc0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isNewImageUploaded)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"cropImageModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Crop Image\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',[_c('div',{staticClass:\"img-container\"},[_c('img',{ref:\"imageCrop\",attrs:{\"src\":_vm.imageURL,\"crossorigin\":\"\"}})])])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cropImageModal_CancelButton\"},on:{\"click\":_vm.OnOkayToCancelImageCrop}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"cropImageModal_CropButton\"},on:{\"click\":_vm.OnOkayToCropImage}},[_vm._v(\"\\n Crop\\n \")])],1)]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-mask\"},[_c('div',{staticClass:\"modal-wrapper\"},[_c('div',{staticClass:\"modal-container\",staticStyle:{\"overflow-y\":\"auto\"},style:({'max-width':_vm.maxWidth,'min-height':_vm.minHeight,'min-width':_vm.minWidth, 'max-height':_vm.maxHeight, 'top':_vm.top})},[_c('div',{staticClass:\"modal-header\"},[_vm._t(\"modal-header\",function(){return [_vm._v(\"\\n default header\\n \")]})],2),_c('notifications',{attrs:{\"group\":\"modalGrowlNotification\",\"position\":\"top center\"}}),_c('div',{staticClass:\"modal-body\",style:({'min-height':_vm.minHeight})},[_vm._t(\"modal-body\",function(){return [_vm._v(\"\\n default body\\n \")]})],2),(!_vm.hideFooter)?_c('div',{staticClass:\"modal-footer\"},[_vm._t(\"modal-footer\")],2):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\n@Component\nexport default class Modal extends Vue{\n @Prop() maxWidth:any;\n @Prop() minHeight:any;\n @Prop() maxHeight:any;\n @Prop() hideFooter:any;\n @Prop() minWidth:any;\n @Prop({default: '0px'}) top:any;\n @Emit('onOkay') onOkay(){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Modal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Modal.vue?vue&type=template&id=75cac94a&scoped=true&name=modal\"\nimport script from \"./Modal.vue?vue&type=script&lang=ts\"\nexport * from \"./Modal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Modal.vue?vue&type=style&index=0&id=75cac94a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"75cac94a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport Cropper from \"cropperjs\";\n\n@Component({\n components: {\n Modal,\n },\n})\nexport default class ImageCropper extends Vue {\n @Prop() imageSrc:string;\n imageURL:string = \"\";\n isNewImageUploaded : boolean = false;\n croppedImageURL:string = \"\";\n cropper:any = {};\n croppedImage:string = \"\";\n image:any = {};\n\n mounted(){\n this.imageURL = URL.createObjectURL(this.imageSrc);\n this.isNewImageUploaded = true;\n this.$nextTick(()=>{\n this.image = this.$refs.imageCrop;\n this.cropper = new Cropper(this.image, {\n zoomable: true,\n scalable: false,\n aspectRatio: 1,\n crop: () => {\n const canvas = this.cropper.getCroppedCanvas();\n this.croppedImage = canvas.toDataURL(\"image/png\");\n }\n });\n })\n }\n\n OnOkayToCropImage(){\n this.isNewImageUploaded=false;\n this.onCropImage(this.croppedImage);\n }\n\n OnOkayToCancelImageCrop(){\n this.isNewImageUploaded=false;\n this.onCancelCrop();\n }\n\n @Emit('onCropImage') onCropImage(image:any){}\n\n @Emit('onCancelCrop') onCancelCrop(){}\n\n}\n","export enum BlobContainerType{\r\n Private = 1, \r\n Public = 2,\r\n ProfilePicContainer = 3\r\n}","export enum FileTypes\r\n{\r\n SystemLogo = 1,\r\n SystemFavIcon = 2,\r\n ApplicationForFinance = 3,\r\n NovatedLease = 4,\r\n NovationAgreement = 5,\r\n DriversLicense = 6,\r\n InsurancePolicy = 7,\r\n TaxInvoice_Dealership = 8,\r\n BrokerageInvoice = 9,\r\n Payslip = 10,\r\n CopyOfCurrentContract = 11,\r\n RedbookInspectionReport = 12,\r\n RegistrationPapers = 13,\r\n BankDepositSlip = 14,\r\n BankStatement = 15,\r\n TaxInvoice_Vendor = 16,\r\n Other = 17,\r\n MacquarieTransporterFile = 18,\r\n Fuel = 19,\r\n RoadSideAssistance = 20,\r\n Washing = 21,\r\n CTPI = 22,\r\n TyresAndService = 23,\r\n Repairs = 24,\r\n ProfilePic = 25,\r\n NOA = 26,\r\n TaxInvoice = 27,\r\n Receipt = 28,\r\n MotorVehicleMadeAvailable = 29,\r\n LeaseAgreement = 30,\r\n DeedOfNovation = 31,\r\n RequestForNewDeedNovation = 32,\r\n VehicleCostBaseSubstantiation = 33,\r\n PrivacyConsentForm = 34,\r\n LesseeAgreement​ = 35,\r\n LessorAgreement​ = 36,\r\n OdometerDeclaration​ = 37,\r\n ConfirmationReport = 38,\r\n ServiceAgreement = 39,\r\n MedicareCard = 40,\r\n InsuranceMonthlyRepaymentSchedule = 41,\r\n FBTCostBaseEvidence = 42\r\n}\r\n","export enum RelatedTables{\r\n Client = 1,\r\n Company = 2,\r\n Employer = 3,\r\n FinanceApplication = 4,\r\n VehicleLease = 5,\r\n LeaseApplicationInvoice = 6,\r\n Financier = 7,\r\n Vehicle = 8,\r\n BankFileInfo = 9,\r\n Supplier = 10,\r\n Novation = 11,\r\n BankStatementInfo = 12,\r\n ExpenseClaim = 13,\r\n ExpenseClaimLine = 14,\r\n BankStatementTransaction = 15,\r\n Invoice = 16,\r\n ProspectApplication = 17,\r\n BankTransaction = 18,\r\n ClientFinanceApplication = 19,\r\n ServiceAgreement = 20,\r\n User = 21,\r\n VehicleInsurance = 22,\r\n RecurringPaymentSchedule = 23,\r\n FBTCostBaseRecord = 24,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageCropper.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ImageCropper.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ImageCropper.vue?vue&type=template&id=99c00620\"\nimport script from \"./ImageCropper.vue?vue&type=script&lang=ts\"\nexport * from \"./ImageCropper.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ImageCropper.vue?vue&type=style&index=0&id=99c00620&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import { SasTokenProperties } from \"@/models/fileUpload.model\";\r\nimport axios, { AxiosInstance } from 'axios';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {BlobContainerType} from '@/shared/enums/blobContainerTypes.enum';\r\n\r\nexport class AzureBlobStorageService {\r\n\r\n // TODO: Contenet type should be set according to file content instead of hard coding\r\n apiServiceInstance:AxiosInstance;\r\n constructor( ) { \r\n this.apiServiceInstance = axios.create({\r\n timeout: 50000,\r\n headers: {\r\n 'x-ms-blob-type': 'BlockBlob',\r\n 'Content-Type': 'image/*'\r\n },\r\n withCredentials:true,\r\n baseURL: process.env.VUE_APP_WEB_API_URL\r\n })\r\n }\r\n\r\n //TODO: Add validation to ensure file is not null\r\n uploadFile(sasTokenProperties: SasTokenProperties, file: File, callbackOnUploadSucceeded = null, callbackOnUploadFailed = null, displayLoading = true):Promise {\r\n return this.apiServiceInstance({\r\n method:'put',\r\n url:sasTokenProperties.blobUri + sasTokenProperties.sasToken,\r\n data:file\r\n });\r\n }\r\n\r\n getsasAndGuid(containerType: BlobContainerType):Promise{\r\n return apiService.sendGetRequest('utility','SasAndGuid',{blobContainerType: containerType});\r\n }\r\n\r\n getSasAndGuidByBlobContainerName(containerName: string):Promise {\r\n return apiService.sendGetRequest('utility', 'SasAndGuidByBlobContainerName', {blobContainerName: containerName});\r\n }\r\n\r\n getNewSasAndGuidList(containerType: BlobContainerType, blobCount:number):Promise{\r\n return apiService.sendGetRequest('utility','SasAndGuid',{blobContainerType: containerType, count:blobCount});\r\n }\r\n \r\n getsasForExisting(containerType: BlobContainerType, _guid:string):Promise{\r\n return apiService.sendGetRequest('utility','SasForExisting',{blobContainerType: containerType, guid:_guid});\r\n } \r\n\r\n deleteFile(id:number):Promise{\r\n return apiService.sendDeleteRequest('utility','Document',{id:id});\r\n }\r\n\r\n deleteFileByContainerName(containerName: string, fileId: string):Promise {\r\n return apiService.sendDeleteRequest('utility', 'DeleteDocumentByDocumentId', {blobContainerName: containerName, documentId:fileId});\r\n }\r\n\r\n deleteClientFinanceApplicationFile(id:number):Promise{\r\n return apiService.sendDeleteRequest('utility','ClientApplicationDocuments',{id:id});\r\n }\r\n}\r\nconst blobService = new AzureBlobStorageService();\r\nexport default blobService;","export function TruncateString(input:string, count:number, showEllipsis:boolean = true) \r\n{\r\n if(input && input.length > count)\r\n {\r\n return input.substr(0, count) + (showEllipsis ? '...' : '');\r\n }\r\n else \r\n {\r\n return input;\r\n }\r\n\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"rps-wizard-content\"},[_c('RecurringScheduledPaymentWizard',{attrs:{\"clientName\":_vm.clientName,\"novationId\":_vm.novationId,\"reimburseToAccountId\":_vm.reimburseToAccountId,\"clientId\":_vm.clientId,\"vehicleId\":_vm.vehicleId},on:{\"onCloseModal\":_vm.onCloseModal}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum ClientApplicationTypes\r\n{\r\n Finance = 1,\r\n Prospect = 2,\r\n ClientFinance = 3,\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showGoBackConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showGoBackDetailsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Proceeding will erase all changes made. Continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showGoBackDetailsConf_CancelButton\"},on:{\"click\":function($event){_vm.showGoBackConfirmation = false;}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"showGoBackDetailsConf_okButton\"},on:{\"click\":_vm.onOkayToGoBackDetails}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[(this.$store.getters.isOverlappingScheduleExist)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-alert',{attrs:{\"variant\":\"warning\",\"show\":\"\"}},[_vm._v(\"\\n There is an existing Scheduled Payment record with overlapping periods.\\n \")])],1)],1):_vm._e(),(!_vm.isRecurringScheduledPaymentEnabled)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-alert',{attrs:{\"variant\":\"warning\",\"show\":\"\"}},[_vm._v(\"\\n \"+_vm._s(_vm.recurringScheduledPaymentDisabledMessage)+\"\\n \")])],1)],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[(_vm.wizardLoaded)?_c('Wizard',{ref:\"recurringScheduledPaymentWizard\",attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"applicationStatus\":this.$store.getters.getRecurringScheduledPaymentStatus,\"applicationType\":0,\"disableSave\":_vm.disableSave,\"validateToComplete\":true,\"isModalWizard\":true,\"wizardClass\":'rp-schedule-wizard'},on:{\"onTabChanged\":_vm.onTabChanged,\"onCurrentTabSelected\":_vm.onCurrentTabSelected}},[_c('WizardTab',{attrs:{\"name\":\"Details\",\"selected\":true,\"completed\":true,\"index\":0,\"modalWizardStepName\":\"details\"}},[_c('RecurringScheduledPaymentDetails',{attrs:{\"clientsProp\":_vm.clients,\"novationId\":_vm.novationId,\"clientName\":_vm.clientName,\"reimburseToAccountId\":_vm.reimburseToAccountId,\"clientId\":_vm.clientId,\"vehicleId\":_vm.vehicleId,\"recurringScheduledPaymenDocumentsIndex\":_vm.recurringScheduledPaymenDocumentsIndex},on:{\"recurringScheduledPaymentEligibility\":_vm.onRecurringScheduledPaymentEligibilityChange}})],1),_c('WizardTab',{attrs:{\"name\":\"Schedule\",\"selected\":false,\"completed\":this.$store.getters.getRecurringScheduledPaymentStatus > _vm.detailsStatus,\"index\":1,\"modalWizardStepName\":\"schedule\"}},[_c('RecurringScheduledPaymentSchedule')],1),_c('WizardTab',{attrs:{\"name\":\"Preview\",\"selected\":false,\"completed\":this.$store.getters.getRecurringScheduledPaymentStatus > _vm.scheduleStatus,\"index\":2,\"modalWizardStepName\":\"preview\"}},[_c('RecurringScheduledPaymentPreview',{attrs:{\"recurringScheduledPaymenDocumentsIndex\":_vm.recurringScheduledPaymenDocumentsIndex},on:{\"onCloseModal\":_vm.onCloseModal}})],1),_c('div',{attrs:{\"slot\":\"wizard-footer\"},slot:\"wizard-footer\"},[_c('b-row',[_c('b-col',{staticClass:\"pt-2 mb-2\"},[(_vm.currentTab && _vm.currentTab.index>0)?_c('b-btn',{staticClass:\"float-left ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":_vm.backDisabled,\"hidden\":false},on:{\"click\":_vm.goBack}},[_c('i',{staticClass:\"fas fa-arrow-left\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Back\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index < 2 && _vm.isRecurringScheduledPaymentEnabled)?_c('b-btn',{staticClass:\"float-right mr-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":_vm.nextDisabled,\"hidden\":false},on:{\"click\":_vm.goForward}},[_vm._v(\"\\n Next \"),_c('i',{staticClass:\"fas fa-arrow-right\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(!_vm.disableSave && _vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1))?_c('b-btn',{staticClass:\"float-right mr-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"hidden\":false},on:{\"click\":_vm.onCreateRecurringScheduledPayment}},[_vm._v(\"\\n Create\\n \")]):_vm._e()],1)],1)],1)],1):_vm._e()],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showTabChangeConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ChangeWizardConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unsaved Changes\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes in current tab. Are you sure you want to change tab?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ChangeWizardConf_CloseButton\"},on:{\"click\":function($event){_vm.showTabChangeConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"ChangeWizardConf_OkButton\"}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"tabbable\"},[_c('ul',{staticClass:\"nav nav-tabs wizard\",class:_vm.wizardClass},_vm._l((_vm.tabs),function(tab){return _c('li',{key:tab.name,class:{'mr-1':tab.name },style:({width:_vm.tabWidth})},[_c('a',{class:{'is-active':(_vm.applicationType != _vm.clientFinanceApplication && (tab.isActive || tab.completed)),'is-active-cfa':(_vm.applicationType == _vm.clientFinanceApplication && tab.isActive),'is-completed-cfa':(_vm.applicationType == _vm.clientFinanceApplication && !tab.isActive && tab.completed && _vm.applicationId > 0), 'text-nowrap':true},attrs:{\"aria-expanded\":\"true\",\"title\":tab.name},on:{\"click\":function($event){return _vm.changeTab(tab)}}},[(_vm.applicationType != _vm.clientFinanceApplication)?_c('span',{staticClass:\"nmbr\"},[_vm._v(_vm._s(tab.index+1))]):_vm._e(),(_vm.applicationType == _vm.clientFinanceApplication && !tab.validateMandatoryFields && tab.completed)?_c('span',{staticClass:\"nmbr\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle\"})]):_vm._e(),(_vm.applicationType == _vm.clientFinanceApplication && (!tab.completed || _vm.applicationId == 0))?_c('span',{staticClass:\"nmbr\"},[_vm._v(\" \"+_vm._s(tab.index+1)+\" \")]):_vm._e(),(_vm.applicationType == _vm.clientFinanceApplication && tab.validateMandatoryFields && tab.completed && _vm.applicationId > 0)?_c('span',{staticClass:\"nmbr\"},[_c('i',{staticClass:\"fas fa-check\"})]):_vm._e(),_c('span',{staticClass:\"tab-name\"},[_vm._v(_vm._s(tab.name))])])])}),0)]),_c('div',{staticClass:\"tabs-details\"},[_vm._t(\"default\")],2),_c('div',[_vm._t(\"wizard-footer\")],2),_c('div',[_vm._t(\"audit-info\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class Wizard extends Vue{\n @Prop() selectedTabRouterName:any;\n @Prop() routeName:any;\n @Prop() tabWidth:any;\n @Prop() disableSave:any;\n @Prop() validateToComplete:any;\n @Prop() applicationStatus:any;\n @Prop() applicationType:any;\n @Prop() wizardClass:any;\n @Prop() applicationId:any;\n @Prop({default:false}) isModalWizard:boolean;\n @Prop({default:null}) selectedModalWizardTab:any;\n tabs:any = [];\n selectedTab:any;\n currentTab:any = null;\n showTabChangeConfirmation:boolean = false;\n financeApplication:ClientApplicationTypes = ClientApplicationTypes.Finance;\n clientFinanceApplication:ClientApplicationTypes = ClientApplicationTypes.ClientFinance;\n\n created() {\n this.tabs = this.$children;\n var selectedTabName = this.$route.params.routerDisplayName;\n }\n mounted(){\n var selectedTabName = this.$route.params.routerDisplayName;\n if(selectedTabName == this.selectedTabRouterName){}\n var index = 0;\n if(!this.isModalWizard){\n this.tabs.forEach(tab => {\n if(tab.routerDisplayName == selectedTabName){\n this.currentTab = tab;\n this.onCurrentTabSelected(this.currentTab)\n }\n if(!tab.routerDisplayName){\n this.tabs.splice(index,1);\n index--;\n }\n index++;\n });\n if(this.currentTab.index != 0){\n this.changeTab(this.currentTab);\n }\n } \n else {\n this.currentTab = this.tabs[0];\n this.onCurrentTabSelected(this.currentTab)\n }\n }\n\n changeTab(selectedTab){\n if(this.applicationType != this.clientFinanceApplication) { \n var tabValidationResult = true;\n var okayToNavigate = true;\n if((selectedTab.index this.currentTab.index) && this.currentTab.$slots.default[0].componentInstance){\n tabValidationResult = this.currentTab.$slots.default[0].componentInstance.updateModel(true,selectedTab.index);\n okayToNavigate = false;\n }\n else if(selectedTab.index < this.currentTab.index && this.currentTab.index != (this.applicationStatus-1)){\n tabValidationResult = this.currentTab.$slots.default[0].componentInstance.updateModel(false,selectedTab.index);\n }\n } \n if(tabValidationResult){ \n this.tabs.forEach(tab => {\n tab.isActive = (tab.name == selectedTab.name);\n });\n this.currentTab = selectedTab;\n if(this.routeName){\n var currentRoute = this.$route.params.routerDisplayName;\n if(currentRoute != this.currentTab.routerDisplayName && okayToNavigate){\n this.$router.push({name:this.routeName,params:{id:this.$route.params.id,routerDisplayName:this.currentTab.routerDisplayName}});\n }\n } \n this.onTabChanged(this.currentTab);\n } \n } \n } else {\n var tabValidationResult = true;\n if(this.currentTab.$slots.default[0].componentInstance){\n tabValidationResult = this.currentTab.$slots.default[0].componentInstance.updateModel(true,selectedTab.index);\n }\n if(tabValidationResult){\n this.tabs.forEach(tab => {\n tab.isActive = (tab.name == selectedTab.name);\n });\n this.currentTab = selectedTab;\n var currentRoute = this.$route.params.routerDisplayName;\n // if(currentRoute != this.currentTab.routerDisplayName){\n // this.$router.push({name:this.routeName,params:{id:this.$route.params.id,routerDisplayName:this.currentTab.routerDisplayName}});\n // } \n this.onTabChanged(this.currentTab);\n } \n }\n }\n\n changeTabByIndex(index:number){\n this.changeTab(this.tabs[index]);\n }\n\n @Emit('onTabClicked') onTabClicked(){\n }\n \n @Emit('onComplete') onComplete(){\n }\n\n @Emit('onTabChanged') onTabChanged(currentStep:any){\n\n }\n\n @Emit('onCurrentTabSelected') onCurrentTabSelected(currentStep:any){\n\n }\n \n onCustomButtonClicked(){\n this.currentTab.$slots.default[0].componentInstance.onCustomButtonClicked();\n }\n\n onSave(){\n if(this.currentTab.$slots.default[0].componentInstance){\n this.currentTab.$slots.default[0].componentInstance.updateModelOnSave();\n }\n }\n\n onCompleteBtnClicked(applicationType:ClientApplicationTypes){\n if(applicationType == ClientApplicationTypes.Finance){\n if(this.validateToComplete){\n var tabValidationResult = this.currentTab.$slots.default[0].componentInstance.updateModel(false,0)\n if(tabValidationResult){\n this.onComplete();\n }\n }\n else{\n this.onComplete();\n }\n } else {\n this.onComplete();\n }\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Wizard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Wizard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Wizard.vue?vue&type=template&id=28847e74&scoped=true\"\nimport script from \"./Wizard.vue?vue&type=script&lang=ts\"\nexport * from \"./Wizard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Wizard.vue?vue&type=style&index=0&id=28847e74&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"28847e74\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isActive)?_c('div',[_vm._t(\"default\")],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n@Component(\n {\n components: {\n \n }\n }\n)\nexport default class WizardTab extends Vue{\n @Prop() name:any;\n @Prop() selected:any;\n @Prop() index:any;\n @Prop() disabled:any;\n @Prop() routerDisplayName:any;\n @Prop() modalWizardStepName:any;\n @Prop() completed:any;\n @Prop() showCustomButton:any;\n @Prop() customButtonTitle:any;\n @Prop() disableCustomButton:any;\n @Prop() customButtonName:any;\n @Prop({default:false}) validateMandatoryFields:boolean;\n isActive:boolean = false;\n mounted() {\n this.isActive = this.selected;\n }\n}\n","export enum RecurringScheduledPaymentStates\r\n{\r\n Details = 1,\r\n Schedule = 2,\r\n Preview = 3,\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WizardTab.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WizardTab.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./WizardTab.vue?vue&type=template&id=0db47fa6\"\nimport script from \"./WizardTab.vue?vue&type=script&lang=ts\"\nexport * from \"./WizardTab.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showSelectClientModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"1890px\",\"minHeight\":\"850px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Client\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":function($event){_vm.showSelectClientModal = false}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"client-select-modal-body\"},[_c('ClientsList',{attrs:{\"viewMode\":_vm.modalModeClientListView,\"allowedStatusFilterSelectMode\":_vm.allowedStatusFilterSelectMode},on:{\"onSelectClient\":_vm.onClientSelect}})],1)])]):_vm._e(),(_vm.showDocumentRequirementModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"supportingDocumentModal\",\"minWidth\":\"35rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Supporting Document/s Requirements:\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"documentRequirementModalCancelBtn\"},on:{\"click\":function($event){_vm.showDocumentRequirementModal = false;}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ul',[_c('li',[_vm._v(\" The document is intended to be a tax invoice \")]),_c('li',[_vm._v(\" The seller's identity \")]),_c('li',[_vm._v(\" The seller's Australian business number (ABN) \")]),_c('li',[_vm._v(\" The date the invoice was issued \")]),_c('li',[_vm._v(\" A brief description of the items sold, including the quantity (if applicable) and the price \")]),_c('li',[_vm._v(\" The GST amount (if any) payable – this can be shown separately or, if the GST amount is exactly one-eleventh of the total price, such as a statement which says 'Total price includes GST' \")]),_c('li',[_vm._v(\" The extent to which each sale on the invoice is a taxable sale \")]),_c('li',[_vm._v(\" Tax invoices for sales of $1,000 or more need to show the buyer's identity \")]),_c('li',[_vm._v(\" Document needs to be legible \")])])])]):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"6\",\"md\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"6\",\"md\":\"12\"}},[(_vm.isAdmin)?_c('b-row',[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Client\",\"label-for\":\"client\"}},[_c('b-input-group',{staticClass:\"textInput\"},[_c('b-form-input',{staticClass:\"cursor-pointer\",class:{ 'requiredField': (_vm.details.clientId == 0) },attrs:{\"id\":\"client\",\"type\":\"text\",\"placeholder\":\"Please select a client\",\"required\":\"\",\"plain\":true,\"options\":_vm.clients,\"readonly\":\"\",\"disabled\":false},on:{\"click\":_vm.onSelectClientBtnClicked},model:{value:(_vm.details.clientName),callback:function ($$v) {_vm.$set(_vm.details, \"clientName\", $$v)},expression:\"details.clientName\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-search cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"id\":\"selectClient\"},on:{\"click\":_vm.onSelectClientBtnClicked}})])],1)],1),((_vm.validateRequiredField || _vm.$v.details.clientId.$dirty) && !_vm.$v.details.clientId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Client is required.\\n \")]):_vm._e()],1)],1):_vm._e()],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Vehicle\",\"label-for\":\"vehicleSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.details.vehicleId == 0)},attrs:{\"id\":\"vehicleSelect\",\"plain\":true,\"options\":_vm.vehicles,\"required\":\"\",\"disabled\":_vm.details.clientId == 0},on:{\"change\":_vm.onChangeVehicle},model:{value:(_vm.details.vehicleId),callback:function ($$v) {_vm.$set(_vm.details, \"vehicleId\", $$v)},expression:\"details.vehicleId\"}},[(_vm.details.vehicleId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),((_vm.validateRequiredField ||_vm.$v.details.vehicleId.$dirty) && !_vm.$v.details.vehicleId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Related Entity\",\"label-for\":\"relatedEntitySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.details.relatedEntityId == 0)},attrs:{\"id\":\"relatedEntitySelect\",\"plain\":true,\"options\":_vm.groupedRelatedEntityList,\"required\":\"\",\"disabled\":_vm.details.vehicleId == 0 || !_vm.isRecurringScheduledPaymentEnabled},on:{\"change\":_vm.onChangeRelatedEntity},model:{value:(_vm.details.relatedEntityId),callback:function ($$v) {_vm.$set(_vm.details, \"relatedEntityId\", $$v)},expression:\"details.relatedEntityId\"}},[(_vm.details.relatedEntityId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),((_vm.validateRequiredField ||_vm.$v.details.relatedEntityId.$dirty) && !_vm.$v.details.relatedEntityId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Related Entity is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Reimburse To Account\",\"label-for\":\"reimbursementAccount\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{'requiredField': (_vm.details.reimburseToAccountId == 0)},attrs:{\"id\":\"reimbursementAccount\",\"plain\":true,\"options\":_vm.clientBankAccounts,\"disabled\":!_vm.clientBankAccountsLoaded || !_vm.isRecurringScheduledPaymentEnabled,\"required\":\"\"},on:{\"change\":_vm.onChangeReimburseToAccount},model:{value:(_vm.details.reimburseToAccountId),callback:function ($$v) {_vm.$set(_vm.details, \"reimburseToAccountId\", $$v)},expression:\"details.reimburseToAccountId\"}},[(_vm.details.reimburseToAccountId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),((_vm.validateRequiredField ||_vm.$v.details.reimburseToAccountId.$dirty) && !_vm.$v.details.reimburseToAccountId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reimburse To Account is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Category\",\"label-for\":\"CategorySelect\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.details.categoryId == 0)},attrs:{\"id\":\"CategorySelect\",\"plain\":true,\"options\":_vm.categoryList,\"disabled\":true},on:{\"change\":_vm.onCategoryChange},model:{value:(_vm.details.categoryId),callback:function ($$v) {_vm.$set(_vm.details, \"categoryId\", $$v)},expression:\"details.categoryId\"}},[(_vm.details.categoryId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1),(_vm.validateRequiredField && !_vm.$v.details.categoryId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Category is required.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"lg\":\"6\",\"md\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Company Name\",\"label-for\":\"CompanyName\"}},[_c('b-form-input',{class:{textInput: true,requiredField:_vm.details.companyName == null || _vm.details.companyName.length == 0},attrs:{\"id\":\"companyName\",\"type\":\"text\",\"placeholder\":\"Company Name\",\"disabled\":!_vm.isRecurringScheduledPaymentEnabled},model:{value:(_vm.details.companyName),callback:function ($$v) {_vm.$set(_vm.details, \"companyName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"details.companyName\"}}),((_vm.validateRequiredField || _vm.$v.details.companyName.$dirty) && !_vm.$v.details.companyName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Company Name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"recurringScheduledPaymentStartDate\",attrs:{\"label\":\"Start Date\",\"label-for\":\"date\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.details.startDate == null || _vm.details.startDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateLocal],includeDisabled: true},\"use-utc\":false,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"id\":'date',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledStartDates,\"disabled\":_vm.details.relatedEntityId == 0 || !_vm.isRecurringScheduledPaymentEnabled},on:{\"input\":function($event){return _vm.changeStartDate();},\"cleared\":function($event){return _vm.changeStartDate();}},model:{value:(_vm.details.startDate),callback:function ($$v) {_vm.$set(_vm.details, \"startDate\", $$v)},expression:\"details.startDate\"}}),((_vm.validateRequiredField || _vm.$v.details.startDate.$dirty) && !_vm.$v.details.startDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Start Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Monthly Due Date (DD)\",\"label-for\":\"monthlyDueDateSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.details.monthlyDueDate == 0) },attrs:{\"id\":\"monthlyDueDateSelect\",\"plain\":true,\"disabled\":_vm.details.relatedEntityId == 0 || !_vm.isRecurringScheduledPaymentEnabled,\"options\":_vm.monthlyDueDates},on:{\"change\":function($event){return _vm.changeMonthlyDueDate()}},model:{value:(_vm.details.monthlyDueDate),callback:function ($$v) {_vm.$set(_vm.details, \"monthlyDueDate\", $$v)},expression:\"details.monthlyDueDate\"}},[(_vm.details.monthlyDueDate == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"Please select a date\")])]):_vm._e()],2),((_vm.validateRequiredField || _vm.$v.details.monthlyDueDate.$dirty) && !_vm.$v.details.monthlyDueDate.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Monthly Due Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"End Date (MM | YYYY)\",\"label-for\":\"endDate\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.details.endDateMonthComponent == null || _vm.details.endDateMonthComponent.length == 0) },attrs:{\"id\":\"endDateMonthSelect\",\"plain\":true,\"disabled\":_vm.details.relatedEntityId == 0 || !_vm.isRecurringScheduledPaymentEnabled,\"options\":_vm.calendarMonths},on:{\"change\":function($event){return _vm.changeEndDate()}},model:{value:(_vm.details.endDateMonthComponent),callback:function ($$v) {_vm.$set(_vm.details, \"endDateMonthComponent\", $$v)},expression:\"details.endDateMonthComponent\"}},[(_vm.details.endDateMonthComponent == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"MM\")])]):_vm._e()],2),((_vm.validateRequiredField || _vm.$v.details.endDateMonthComponent.$dirty) && !_vm.$v.details.endDateMonthComponent.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Month is required.\\n \")]):_vm._e()],1),_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.details.endDateYearComponent == null || _vm.details.endDateYearComponent.length == 0) },attrs:{\"use-utc\":false,\"id\":'year',\"format\":'yyyy',\"input-class\":'form-control textInput',\"highlighted\":{dates: [this.todayDateLocal],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"disabledDates\":_vm.disabledEndDates,\"disabled\":_vm.details.relatedEntityId == 0 || !_vm.isRecurringScheduledPaymentEnabled,\"wrapper-class\":'textInput',\"placeholder\":'YYYY',\"minimum-view\":'year'},on:{\"input\":function($event){return _vm.changeEndDate()}},model:{value:(_vm.details.endDateYearComponent),callback:function ($$v) {_vm.$set(_vm.details, \"endDateYearComponent\", $$v)},expression:\"details.endDateYearComponent\"}}),((_vm.validateRequiredField || _vm.$v.details.endDateYearComponent.$dirty) && !_vm.$v.details.endDateYearComponent.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Year is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Amount (Incl. GST)\",\"label-for\":\"gstInclusiveAmount\"}},[_c('b-input-group',{class:{ 'requiredField': ((!_vm.details.gstInclusiveAmount && _vm.details.gstInclusiveAmount != 0 ) || _vm.details.gstInclusiveAmount.length == 0) },attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"gstInclusiveAmount\",\"type\":\"text\",\"placeholder\":\"Enter Amount\",\"disabled\":!_vm.isRecurringScheduledPaymentEnabled},model:{value:(_vm.details.gstInclusiveAmount),callback:function ($$v) {_vm.$set(_vm.details, \"gstInclusiveAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"details.gstInclusiveAmount\"}})],1),((_vm.validateRequiredField || _vm.$v.details.gstInclusiveAmount.$dirty) && !_vm.$v.details.gstInclusiveAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Inclusive Amount is required.\\n \")]):_vm._e(),((_vm.validateRequiredField || _vm.$v.details.gstInclusiveAmount.$dirty) && !_vm.$v.details.gstInclusiveAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Inclusive Amount is invalid.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"GST Amount\",\"label-for\":\"gstAmount\"}},[_c('b-input-group',{class:{ 'requiredField': ((!_vm.details.gstAmount && _vm.details.gstAmount != 0) || _vm.details.gstAmount.length == 0) },attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"gstAmount\",\"type\":\"text\",\"placeholder\":\"Enter Amount\",\"disabled\":!_vm.isRecurringScheduledPaymentEnabled},model:{value:(_vm.details.gstAmount),callback:function ($$v) {_vm.$set(_vm.details, \"gstAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"details.gstAmount\"}}),_c('b-input-group-append',[_c('b-button',{staticClass:\"primary\",attrs:{\"id\":\"calculateGSTAmountBtn\",\"disabled\":!_vm.isValidTotalAmount() || !_vm.isRecurringScheduledPaymentEnabled,\"title\":\"Click to calculate GST Amount\"},on:{\"click\":_vm.calculateGSTAmount}},[_c('i',{staticClass:\"fas fa-calculator fa-lg\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),((_vm.validateRequiredField || _vm.$v.details.gstAmount.$dirty) && !_vm.$v.details.gstAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Amount is required.\\n \")]):_vm._e(),((_vm.validateRequiredField || _vm.$v.details.gstAmount.$dirty) && !_vm.$v.details.gstAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Amount is invalid.\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1),_c('b-col',{attrs:{\"lg\":\"6\",\"md\":\"12\"}},[_c('b-row',[(_vm.details.categoryId > 0)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please ensure the Supporting Document/s is in focus and meets the \"),_c('b',{staticClass:\"requirementText\",on:{\"click\":function($event){_vm.showDocumentRequirementModal = true;}}},[_vm._v(\" requirements. \")])]),(_vm.validateRequiredField && !_vm.supportingDocsAvailable)?_c('p',{staticStyle:{\"color\":\"red\"}},[_vm._v(\"Supporting Document is required.\")]):_vm._e(),_c('DragAndDropControl',{key:\"recurringScheduledPaymentDetailsDocumentControl-index\",ref:\"recurringPaymentDragDropDocumentControl\",attrs:{\"id\":\"recurringScheduledPaymentDetailsDocumentControl-id\",\"index\":_vm.recurringScheduledPaymenDocumentsIndex,\"relatedTable\":_vm.recurringPaymentScheduleRelatedTable,\"relatedID\":0,\"defaultDocType\":_vm.selectedDocType,\"isFileMandatory\":true,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":true,\"modalMode\":true,\"isDocumentDownloadButtonEnabled\":true,\"isAcknowledgeEnabled\":true,\"showDocumentGrid\":true},on:{\"documentChangedEvent\":_vm.onDocumentsChanged}})],1):_vm._e()],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.localViewMode == _vm.normalMode)?_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Clients\")])]):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('ClientStatusSelectList',{ref:\"clientStatusList\",attrs:{\"viewMode\":_vm.localViewMode,\"allowedStatusFilterSelectMode\":_vm.allowedStatusFilterSelectMode},on:{\"onClientStatusChanged\":_vm.onClientStatusChanged}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Rest All Filtrations'},on:{\"click\":function($event){return _vm.resetSelectedClientStatusList()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),(_vm.localViewMode == _vm.normalMode)?_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.isAddButtonDisabled,\"title\":_vm.isAddButtonDisabled?'Please perform a search prior to adding a new record':'Add new client'},on:{\"click\":function($event){return _vm.navigateToAddClient()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Client\\n \")])],1):_vm._e()],1),_c('DataTable',{ref:\"clientsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"selectable\":_vm.localViewMode == _vm.normalMode || _vm.localViewMode == _vm.globalSearchMode,\"select-mode\":_vm.selectMode,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"viewMode\":_vm.localViewMode,\"trClass\":_vm.trClass,\"emptyBanner\":\"No matching client record found. Try searching with more statuses.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum DataTableActionTypes\r\n{\r\n Delete = 1,\r\n Edit,\r\n ResendEmail,\r\n Save,\r\n Preview,\r\n Activate,\r\n ResendVerification, \r\n Cancel,\r\n ItemChecked,\r\n Revert,\r\n Select,\r\n Unmatch,\r\n Transfer,\r\n View,\r\n RowSelect,\r\n ActionButtonSelect,\r\n ResetActionButtton,\r\n Recalculate,\r\n Refresh,\r\n Reinstate,\r\n AllItemChecked,\r\n Void\r\n} ","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[((_vm.items.length == 0) && (_vm.showEmptyBanner))?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.emptyBanner)+\"\\n \")])])],2):_vm._e(),((_vm.items.length > 0) || (!_vm.showEmptyBanner))?_c('div',[_c('b-table',{ref:\"selectableTable\",staticClass:\"mb-3\",class:_vm.selectable?'reduced-width-table':'',attrs:{\"hover\":\"\",\"striped\":\"\",\"responsive\":_vm.responsiveBreakPoint? _vm.responsiveBreakPoint : 'sm',\"selectRow\":0,\"selectable\":_vm.selectable,\"select-mode\":_vm.selectMode,\"selected-variant\":\"selected-row\",\"thClass\":\"thead\",\"items\":_vm.items,\"fields\":_vm.fields,\"per-page\":_vm.perPageSize,\"sort-by\":_vm.table_sortBy,\"sort-desc\":_vm.table_sortDesc,\"no-local-sorting\":true,\"tbody-tr-class\":_vm.trClass,\"id\":\"dataTable\"},on:{\"update:sortBy\":function($event){_vm.table_sortBy=$event},\"update:sort-by\":function($event){_vm.table_sortBy=$event},\"update:sortDesc\":function($event){_vm.table_sortDesc=$event},\"update:sort-desc\":function($event){_vm.table_sortDesc=$event},\"row-selected\":_vm.onRowSelected,\"sort-changed\":_vm.sortingChanged},scopedSlots:_vm._u([_vm._l((_vm.customTemplateSlotsCopy),function(customTemplateSlot){return {key:(\"cell(\" + customTemplateSlot + \")\"),fn:function(data){return [_vm._t(customTemplateSlot,null,{\"item\":data.item})]}}}),_vm._l((_vm.customTemplatesCopy),function(customTemplate){return {key:(\"cell(\" + (customTemplate.slot) + \")\"),fn:function(data){return [_c(customTemplate.customTemplate,{key:customTemplate.slot,tag:\"component\",attrs:{\"item\":data.item,\"value\":data.item[customTemplate.slot],\"modalMode\":_vm.modalMode,\"viewMode\":_vm.viewMode},on:{\"customEvent\":_vm.customEvent}})]}}}),_vm._l((_vm.customHeaderTemplatesCopy),function(customHeaderTemplate){return {key:(\"head(\" + (customHeaderTemplate.slot) + \")\"),fn:function(data){return [_c(customHeaderTemplate.customTemplate,{key:customHeaderTemplate.slot,tag:\"component\",attrs:{\"item\":data.item,\"data\":customHeaderTemplate.data},on:{\"customEvent\":_vm.customEvent}})]}}})],null,true)}),(_vm.totalRows > _vm.maxPageSize && !_vm.hidePaginator)?_c('b-row',{staticClass:\"paginator-row\"},[_c('nav',{staticClass:\"pull-right\"},[_c('b-row',[_c('b-col',[(_vm.showPerPageResizer)?_c('b-form-select',{staticClass:\"per-page-select\",attrs:{\"id\":\"paginationPageResizer\",\"plain\":true,\"options\":_vm.pageSizesList},on:{\"input\":_vm.perPageSizeChanged},model:{value:(_vm.perPageSize),callback:function ($$v) {_vm.perPageSize=$$v},expression:\"perPageSize\"}}):_vm._e()],1),_c('b-col',[_c('b-pagination',{class:_vm.paginationColor,attrs:{\"total-rows\":_vm.totalRows,\"per-page\":_vm.perPageSize,\"prev-text\":\"Prev\",\"next-text\":\"Next\",\"hide-goto-end-buttons\":\"\",\"align\":'right'},on:{\"change\":function($event){return _vm.paginationChanged($event)}},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1)],1)],1),_c('span',{staticClass:\"pull-left\"},[_vm._v(\"Showing \"+_vm._s(_vm.fromIndex)+\" to \"+_vm._s(_vm.toIndex)+\" of \"+_vm._s(_vm.totalRows)+\" entries\")])]):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport { TableHeaderTemplate, TableTemplate } from '@/models/tableCustomTemplate.model';\n@Component\nexport default class DataTable extends Vue{\n @Prop() items:any;\n @Prop() fields:any;\n @Prop() totalRows:any;\n @Prop() perPage:any;\n @Prop() sortBy:any;\n @Prop() customTemplates:any;\n @Prop() customTemplateSlots:any;\n @Prop() customHeaderTemplates:any;\n @Prop() sortDesc:any;\n @Prop() emptyBanner:any;\n @Prop() showEmptyBanner:any;\n @Prop() modalMode:any;\n @Prop() hidePaginator:any;\n @Prop() selectable:any;\n @Prop() selectMode:any;\n @Prop() viewMode:any;\n @Prop() responsiveBreakPoint:any;\n @Prop() trClass:any;\n @Prop() paginationColor:any;\n @Prop({default: false} ) showPerPageResizer:boolean;\n selected: any[] = [];\n currentPage = 1;\n table_sortBy:string = \"\";\n table_sortDesc:boolean = false;\n customHeaderTemplatesCopy:Array = [];\n customTemplatesCopy:Array = [];\n customTemplateSlotsCopy:Array = [];\n lastCustomAction:number = DataTableActionTypes.RowSelect;\n pageSizesList:any[] = [{label: 'per page', options: [{text: '10', value: 10},{text: '20', value: 20}, {text: '50', value: 50}, {text: '100', value: 100}]} ];\n perPageSize:number = 0;\n maxPageSize:number = 0;\n\n created(){\n this.perPageSize = this.perPage;\n this.maxPageSize = this.perPage;\n }\n\n mounted(){\n this.table_sortBy = this.sortBy;\n this.table_sortDesc = this.sortDesc;\n this.customHeaderTemplatesCopy = (this.customHeaderTemplates == null) ? [] : this.customHeaderTemplates;\n this.customTemplatesCopy = (this.customTemplates == null) ? [] : this.customTemplates; \n this.customTemplateSlotsCopy = (this.customTemplateSlots == null) ? [] : this.customTemplateSlots; \n }\n\n selectFirstRow(){\n (this.$refs.selectableTable as any).selectRow(0);\n }\n\n resetLastCustomAction(){\n this.lastCustomAction = DataTableActionTypes.RowSelect;\n if(event != undefined){\n event.stopPropagation();\n }\n }\n\n setLastCustomAction(type:any){\n this.lastCustomAction = type;\n }\n\n get fromIndex(){\n return this.totalRows > 0?(this.currentPage -1)*this.perPageSize + 1:0;\n }\n\n get toIndex(){\n return (this.currentPage*this.perPageSize)>=this.totalRows? this.totalRows:this.currentPage*this.perPageSize;\n }\n\n onRowSelected(items) {\n if(this.lastCustomAction == DataTableActionTypes.RowSelect){\n if(items && items.length>0){\n if(this.selected.length == 0 || (items[0] && (items[0].index != undefined && (this.selected[0].index != items[0].index) || (items[0].id && this.selected[0].id != items[0].id))))\n {\n this.selected = items;\n this.customEvent(this.selected[0],DataTableActionTypes.RowSelect);\n }\n \n }else\n {\n if(this.selected[0]){\n (this.$refs.selectableTable as any).selectRow(this.selected[0].index);\n }\n }\n }\n else{\n (this.$refs.selectableTable as any).clearSelected();\n }\n }\n \n @Emit('customEvent') customEvent(data:any,type:DataTableActionTypes){\n this.lastCustomAction = type;\n }\n paginationChanged(page:number){\n this.currentPage = page;\n this.onPageChange(this.table_sortBy,this.table_sortDesc,this.fromIndex-1, this.perPageSize);\n }\n\n perPageSizeChanged(){\n this.currentPage = 1;\n this.onPageChange(this.table_sortBy,this.table_sortDesc,this.fromIndex - 1, this.perPageSize);\n }\n\n @Emit('onPageChange') onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number, perPageSize:number){\n }\n\n sortingChanged(ctx:any){\n // This is a simple fix. If this doesn't work we can switch to the later fix. \n // Can delete the later fix once this fix is tested.\n if(ctx.sortBy)\n {\n this.currentPage = 1;\n this.onSortingChanged(ctx);\n }\n // if(this.fields)\n // {\n // var relatedFields = this.fields.filter(x => x.key == ctx.sortBy);\n // if(relatedFields && relatedFields[0] && relatedFields[0].sortable){\n // this.currentPage = 1;\n // this.onSortingChanged(ctx);\n // }\n // }\n }\n\n @Emit('onSortingChanged') onSortingChanged(ctx:any){\n }\n \n clearSelected(){\n (this.$refs.selectableTable as any).clearSelected();\n this.selected = [];\n }\n \n reset(sortDesc=false){\n this.table_sortDesc = sortDesc;\n this.table_sortBy = this.sortBy;\n this.resetPaginator();\n }\n \n resetPaginator(){\n this.currentPage = 1;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DataTable.vue?vue&type=template&id=616648f6&scoped=true\"\nimport script from \"./DataTable.vue?vue&type=script&lang=ts\"\nexport * from \"./DataTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DataTable.vue?vue&type=style&index=0&id=616648f6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"616648f6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-input-group',{staticClass:\"mb-1\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{class:_vm.getClass()})])],1),_c('b-form-input',{staticClass:\"textInput textInputWidth\",attrs:{\"autofocus\":_vm.autofocus,\"type\":\"text\",\"placeholder\":_vm.placeHolder,\"id\":'filterInput' + (_vm.idAppend == undefined? '': '_' + _vm.idAppend)},nativeOn:{\"keyup\":function($event){return _vm.startTimer.apply(null, arguments)}},model:{value:(_vm.filter),callback:function ($$v) {_vm.filter=$$v},expression:\"filter\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\n@Component\nexport default class FilterTextInput extends Vue{\n timeLeft:number = 10;\n filterTimer:any;\n filter:string = \"\";\n charCountToFilter = 2;\n @Prop() placeHolder:any;\n @Prop() iconClass:any;\n @Prop() minCharCountToFilter:any;\n @Prop() autofocus: boolean;\n @Prop() idAppend:string;\n startTimer(){\n if(this.minCharCountToFilter){\n this.charCountToFilter = this.minCharCountToFilter;\n }\n if(this.filter.length > this.charCountToFilter || this.filter.length == 0){\n this.timeLeft = 1;\n clearInterval(this.filterTimer);\n this.filterTimer = setInterval(() => {\n if(this.timeLeft > 0){\n this.timeLeft--;\n }\n else{\n this.onOkayToFilter(this.filter);\n clearInterval(this.filterTimer);\n }\n },500) \n } \n }\n\n created()\n {\n if(document.getElementById('filterInput') != null && this.autofocus)\n {\n document.getElementById('filterInput').focus();\n }\n }\n\n @Emit('onOkayToFilter') onOkayToFilter(filter:string){\n }\n\n resetFilterString(targetString:string = \"\"){\n this.filter = targetString;\n }\n\n getClass(){\n return this.iconClass? this.iconClass:'fas fa-search';\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FilterTextInput.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FilterTextInput.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FilterTextInput.vue?vue&type=template&id=4b203dd4&scoped=true\"\nimport script from \"./FilterTextInput.vue?vue&type=script&lang=ts\"\nexport * from \"./FilterTextInput.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FilterTextInput.vue?vue&type=style&index=0&id=4b203dd4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4b203dd4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showClientMotorVehiclesModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ClientMotorVehiclesModal\",\"minHeight\":\"10rem\",\"minWidth\":\"40rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"4\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"vehicleStatusList\",\"plain\":true,\"options\":_vm.vehicleStatusTypes},model:{value:(_vm.selectedVehicleStatusType),callback:function ($$v) {_vm.selectedVehicleStatusType=$$v},expression:\"selectedVehicleStatusType\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Statuses\")])])],2)],1),_c('b-col',{staticClass:\"text-nowrap text-center\",attrs:{\"sm\":\"5\"}},[_vm._v(\"\\n Client Motor Vehicles\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"sm\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ClientMotorVehiclesModalCancelBtn\"},on:{\"click\":_vm.onCloseMotorVehicles}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ClientMotorVehicles',{attrs:{\"relatedID\":_vm.item.id,\"relatedTable\":_vm.relatedTable,\"navigateToNewTab\":_vm.viewMode == _vm.globalSearchMode,\"selectedVehicleStatus\":_vm.selectedVehicleStatusType}})],1)]):_vm._e(),(_vm.showDeleteClientConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteClientConf\",\"maxWidth\":650},on:{\"ok\":_vm.deleteClient}},[(_vm.isClientDeletable)?_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Client\")]):_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Client Failed \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.isClientDeletable)?_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the client?\\n \")]):_vm._e(),_c('b-row',[(_vm.errorsList.length > 0)?_c('b-col',_vm._l((_vm.errorsList),function(error,index){return _c('SystemTextErrors',{key:index,attrs:{\"text1\":error,\"isDecimalValue\":false}})}),1):_vm._e()],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteClientConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),(_vm.isClientDeletable)?_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteClientConf_OkButton\"},on:{\"click\":_vm.deleteClient}},[_vm._v(\"\\n Delete\\n \")]):_vm._e()],1)]):_vm._e(),(_vm.item.isActive && (_vm.viewMode == _vm.normalMode || _vm.viewMode == _vm.globalSearchMode))?_c('b-btn',{staticClass:\"cursor-pointer action-btn select-client\",attrs:{\"title\":\"View Motor Vehicles\"},on:{\"click\":_vm.ViewVehicle}},[_c('i',{staticClass:\"fas fa-car cursor-pointer grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.isActive && (_vm.viewMode == _vm.normalMode) && !_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",class:{ 'ml-4': _vm.item.emailConfirmed },attrs:{\"title\":\"Delete Client\"},on:{\"click\":_vm.getClientDeleteValidation}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.isActive && (_vm.viewMode == _vm.modalMode))?_c('b-btn',{staticClass:\"ml-2 cursor-pointer action-btn\",attrs:{\"title\":\"View Client\"},on:{\"click\":_vm.navigateToClient}},[_c('i',{staticClass:\"fas fa-external-link-alt grid-large-icon action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"client-motor-vehicles\",attrs:{\"id\":\"clientmotorvehicles\"}},[(_vm.treeDisplayData && _vm.treeDisplayData.length > 0)?_c('div',[_c('Tree',{attrs:{\"id\":\"clientMotorVehcilesTree\",\"treeNodes\":_vm.treeDisplayData},on:{\"onNodeClick\":_vm.onNodeSelected}})],1):_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.emptyRecordsText)+\"\\n \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"tree-buttons\"},[_c('i',{staticClass:\"mr-3 fas fa-lg fa-plus-square\",attrs:{\"title\":\"Expand All\"},on:{\"click\":function($event){return _vm.callapseTree(true)}}}),_c('i',{staticClass:\"fas fa-lg fa-minus-square\",attrs:{\"title\":\"Collapse All\"},on:{\"click\":function($event){return _vm.callapseTree(false)}}})]),_c('ul',{staticClass:\"tree-node\"},[_vm._l((_vm.treeNodes),function(node){return [_c('TreeRow',{key:node.key,ref:\"treeRow\",refInFor:true,attrs:{\"name\":node.name,\"node\":node},on:{\"onNodeClick\":_vm.onNodeClick}})]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"node \",attrs:{\"data-id\":_vm.node.id}},[_c('i',{class:_vm.nodeClass,attrs:{\"title\":_vm.nodeTitle},on:{\"click\":function($event){return _vm.toggleEvent('selected', _vm.node)}}}),_c('span',{staticClass:\"row_data\"},[_c('span',{staticClass:\"ml-1 tree-node-text\",on:{\"click\":function($event){return _vm.onNodeClick(_vm.node)}}},[_vm._v(_vm._s(_vm.node.text))])]),_c('ul',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.expanded),expression:\"expanded\"}]},[_vm._l((_vm.node.nodes),function(child){return [_c('TreeRow',{key:child.key,ref:\"treeRowChild\",refInFor:true,attrs:{\"name\":child.name,\"node\":child},on:{\"onNodeClick\":_vm.onChildNodeClick}})]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport {Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\r\nimport {TreeView} from '@/models/treeView.model'\r\nimport {mapState } from 'vuex'\r\n@Component({\r\n name:'TreeRow'\r\n})\r\nexport default class TreeRow extends Vue {\r\n @Prop() node: TreeView;\r\n expanded:boolean = false;\r\n\r\n mounted()\r\n {\r\n this.$store.subscribe((mutation, state) => {\r\n switch(mutation.type) {\r\n case 'setShowAllNodes':\r\n this.expanded = state.TreeViewModule.showAllNodes && this.node.nodes != null && this.node.nodes.length > 0;\r\n }\r\n })\r\n }\r\n\r\n get nodeClass()\r\n {\r\n return this.expanded ? \"fas fa-chevron-down tree-icon fa-lg\" :\"fas fa-chevron-right tree-icon fa-lg\";\r\n }\r\n\r\n get nodeTitle()\r\n {\r\n if(this.node.nodes != null && this.node.nodes.length > 0)\r\n {\r\n return this.expanded ? \"Collapse\" :\"Expand\";\r\n }\r\n else\r\n {\r\n return \"\";\r\n }\r\n \r\n }\r\n\r\n toggleEvent (eventType, node) {\r\n if(node.nodes != null && node.nodes.length > 0)\r\n {\r\n this.expanded = !this.expanded; \r\n }\r\n }\r\n\r\n onNodeClick(node:TreeView)\r\n {\r\n this.emitNodeClick(node);\r\n }\r\n \r\n onChildNodeClick(childNode:TreeView)\r\n {\r\n this.emitNodeClick(childNode);\r\n }\r\n\r\n @Emit('onNodeClick') emitNodeClick(node:TreeView){\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./treeRow.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./treeRow.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./treeRow.vue?vue&type=template&id=eec998be&scoped=true\"\nimport script from \"./treeRow.vue?vue&type=script&lang=ts\"\nexport * from \"./treeRow.vue?vue&type=script&lang=ts\"\nimport style0 from \"./treeRow.vue?vue&type=style&index=0&id=eec998be&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eec998be\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport TreeRow from '@/shared/components/treeView/treeRow.vue';\r\nimport {TreeView} from '@/models/treeView.model';\r\n@Component(\r\n{\r\n components: {\r\n TreeRow\r\n }\r\n})\r\nexport default class Tree extends Vue{\r\n @Prop() treeNodes:TreeView[];\r\n expandNodes:boolean = false;\r\n \r\n\r\n mounted(){\r\n if (this.treeNodes.length < 3) {\r\n this.callapseTree(true);\r\n }\r\n }\r\n \r\n updated(){\r\n if (this.treeNodes.length < 3) {\r\n this.callapseTree(true);\r\n } else {\r\n this.callapseTree(false);\r\n }\r\n }\r\n \r\n onNodeClick(node:TreeView)\r\n {\r\n this.emitNodeClick(node);\r\n }\r\n\r\n callapseTree(showAll)\r\n {\r\n this.$store.dispatch('showAllNodes',showAll);\r\n }\r\n\r\n @Emit('onNodeClick') emitNodeClick(node:TreeView){\r\n }\r\n}\r\n\r\n","export enum VehicleStatuses {\r\n Active = 1,\r\n Inactive = 2,\r\n Deleted = 3,\r\n}\r\n\r\nexport enum VehicleTypes {\r\n NewVehicle = 1,\r\n ExistingVehicle = 2\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tree.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./tree.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./tree.vue?vue&type=template&id=1e6f7851&scoped=true\"\nimport script from \"./tree.vue?vue&type=script&lang=ts\"\nexport * from \"./tree.vue?vue&type=script&lang=ts\"\nimport style0 from \"./tree.vue?vue&type=style&index=0&id=1e6f7851&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1e6f7851\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\r\nimport { TreeView } from '@/models/treeView.model';\r\nimport Tree from '@/shared/components/treeView/tree.vue';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport { VehicleStatuses } from '@/shared/enums/vehicleStatuses.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\r\n\r\n@Component(\r\n {\r\n components:\r\n {\r\n Tree\r\n },\r\n }\r\n)\r\nexport default class ClientMotorVehicles extends Vue{\r\n @Prop() relatedID: number;\r\n @Prop() relatedTable: RelatedTables;\r\n @Prop() navigateToNewTab: boolean;\r\n @Prop() selectedVehicleStatus :VehicleStatuses;\r\n treeDisplayData:TreeView[] = [];\r\n motorVehicleList:any=[];\r\n emptyRecordsText:string = '';\r\n\r\n created(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.loadMotorVehicles();\r\n }\r\n \r\n @Watch('selectedVehicleStatus')\r\n onVehicleStatusChange(val: number, oldVal: number){\r\n if(val != null){\r\n this.vehicleStatusTypeChanged();\r\n }\r\n }\r\n\r\n loadMotorVehicles(){\r\n var params = {relatedTable: this.relatedTable, relatedID:this.relatedID}\r\n apiService.sendGetRequest('Vehicle','VehicleLeaseAndNovationList',params).then(response=>{ \r\n this.motorVehicleList = response.data;\r\n this.treeDisplayData = this.motorVehicleList;\r\n if(this.selectedVehicleStatus && this.selectedVehicleStatus > 0){\r\n this.treeDisplayData = response.data.filter(obj=>obj.status == this.selectedVehicleStatus)\r\n } \r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.emptyRecordsText = \"No records available.\";\r\n });\r\n }\r\n\r\n onNodeSelected(node:TreeView)\r\n {\r\n if(this.navigateToNewTab){\r\n var routeData = null;\r\n switch(node.relatedTable)\r\n {\r\n case RelatedTables.Vehicle:\r\n routeData = this.$router.resolve({name:'Edit Vehicle',params:{vehicleID: node.id.toString(),topRouteDisplayName:'vehicles', routerDisplayName:'details'}});\r\n window.open(routeData.href, '_self');\r\n break;\r\n case RelatedTables.VehicleLease:\r\n routeData = this.$router.resolve({name:'Edit Lease',params:{leaseID: node.id.toString(),topRouteDisplayName:'leasetypes', routerDisplayName:'details'}});\r\n window.open(routeData.href, '_self');\r\n break;\r\n case RelatedTables.Novation:\r\n routeData = this.$router.resolve({name:'Edit Novation',params:{novationID: node.id.toString(),topRouteDisplayName:'relatedentitytypes', routerDisplayName:'details'}});\r\n window.open(routeData.href, '_self');\r\n break;\r\n }\r\n }\r\n else{\r\n switch(node.relatedTable)\r\n {\r\n case RelatedTables.Vehicle:\r\n if(!(this.$router.currentRoute.params.topRouteDisplayName == 'vehicles' && this.$router.currentRoute.params.routerDisplayName == 'details' && this.$router.currentRoute.params.vehicleID == node.id.toString())){\r\n this.$router.push({name:'Edit Vehicle',params:{vehicleID: node.id.toString(),topRouteDisplayName:'vehicles', routerDisplayName:'details'}});\r\n }\r\n break;\r\n case RelatedTables.VehicleLease:\r\n if(!(this.$router.currentRoute.params.topRouteDisplayName == 'leasetypes' && this.$router.currentRoute.params.routerDisplayName == 'details' && this.$router.currentRoute.params.leaseID == node.id.toString())){\r\n this.$router.push({name:'Edit Lease',params:{leaseID: node.id.toString(),topRouteDisplayName:'leasetypes', routerDisplayName:'details'}});\r\n } \r\n break;\r\n case RelatedTables.Novation:\r\n if(!(this.$router.currentRoute.params.topRouteDisplayName == 'relatedentitytypes' && this.$router.currentRoute.params.routerDisplayName == 'details' && this.$router.currentRoute.params.novationID == node.id.toString())){\r\n this.$router.push({name:'Edit Novation',params:{novationID: node.id.toString(),topRouteDisplayName:'relatedentitytypes',routerDisplayName:'details'}});\r\n } \r\n break;\r\n }\r\n }\r\n }\r\n\r\n vehicleStatusTypeChanged(){\r\n if(this.selectedVehicleStatus == VehicleStatuses.Inactive){\r\n this.treeDisplayData = this.motorVehicleList.filter(obj=>obj.status == VehicleStatuses.Inactive)\r\n }\r\n else if(this.selectedVehicleStatus == VehicleStatuses.Active){\r\n this.treeDisplayData = this.motorVehicleList.filter(obj=>obj.status == VehicleStatuses.Active)\r\n }else{\r\n this.treeDisplayData = this.motorVehicleList;\r\n }\r\n }\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clientMotorVehicles.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clientMotorVehicles.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./clientMotorVehicles.vue?vue&type=template&id=5ad1bbef\"\nimport script from \"./clientMotorVehicles.vue?vue&type=script&lang=ts\"\nexport * from \"./clientMotorVehicles.vue?vue&type=script&lang=ts\"\nimport style0 from \"./clientMotorVehicles.vue?vue&type=style&index=0&id=5ad1bbef&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',{staticClass:\"mb-1\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\",\"cols\":\"12\"}},[_c('b-jumbotron',{staticClass:\"notesJumbotron background-error\"},[_c('template',{slot:\"lead\"},[(!_vm.useSlotProps && !_vm.isIncludeDate)?_c('div',[_c('p',{staticClass:\"pl-1 note-body\"},[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(_vm._s(_vm.boldText)+\" \")]),_vm._v(\" \"+_vm._s(_vm.text1)+\" \"),(_vm.isDecimalValue)?_c('ApexCurrency',{attrs:{\"value\":_vm.amount}}):_vm._e()],1)]):_vm._e(),(!_vm.useSlotProps && _vm.isIncludeDate)?_c('div',[_c('p',{staticClass:\"pl-1 note-body\"},[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(\" \"+_vm._s(_vm.boldText)+\" \")]),_vm._v(\" \"+_vm._s(_vm.text1)+\" \"),(_vm.isDecimalValue)?_c('ApexCurrency',{attrs:{\"value\":_vm.amount}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.text2)+\" \"+_vm._s(_vm.formatDate())+\" \"+_vm._s(_vm.text3))],1)]):_vm._e(),(_vm.useSlotProps)?_c('div',[_c('span',{staticClass:\"pl-3 note-body\"},[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(_vm._s(_vm.boldText)+\" \")]),_vm._v(\" \"+_vm._s(_vm.text1)+\" \"),(_vm.isDecimalValue)?_c('ApexCurrency',{attrs:{\"value\":_vm.amount}}):_vm._e()],1),_vm._t(\"note-action-buttons\")],2):_vm._e()])],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export function ApexDateTimeFormat(value:any) \r\n{\r\n if(value)\r\n {\r\n const monthNames = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"];\r\n var date = new Date(value);\r\n var hours = date.getHours();\r\n var minutes = date.getMinutes();\r\n var ampm = hours >= 12 ? 'pm' : 'am';\r\n hours = hours % 12;\r\n hours = hours ? hours : 12; // the hour '0' should be '12'\r\n var minutesString = minutes < 10 ? '0'+minutes : minutes;\r\n var strTime = hours + ':' + minutesString + ' ' + ampm; \r\n return date.getDate() + \" \"+ monthNames[date.getMonth()] + \" \" + date.getFullYear() + \" \" + strTime;\r\n }\r\n else \r\n {\r\n return \"\";\r\n }\r\n \r\n}\r\n\r\nexport function ApexDateFormat(value:any) \r\n{\r\n if(value)\r\n {\r\n const monthNames = [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"];\r\n var date = new Date(value);\r\n var hours = date.getHours();\r\n var minutes = date.getMinutes();\r\n var ampm = hours >= 12 ? 'pm' : 'am';\r\n hours = hours % 12;\r\n hours = hours ? hours : 12; // the hour '0' should be '12'\r\n var minutesString = minutes < 10 ? '0'+minutes : minutes;\r\n var strTime = hours + ':' + minutesString + ' ' + ampm; \r\n return zeroPad(date.getDate(),2) + \" \"+ monthNames[date.getMonth()] + \" \" + date.getFullYear();\r\n }\r\n else \r\n {\r\n return \"\";\r\n }\r\n\r\n}\r\n\r\nexport function ApexMillisecondesToDaysConverter(value: number){\r\n return (value/(1000*60*60*24)|0);\r\n}\r\n\r\nfunction zeroPad(num, places) {\r\n var zero = places - num.toString().length + 1;\r\n return Array(+(zero > 0 && zero)).join(\"0\") + num;\r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { ApexDateFormat } from '@/filters/dateFilter';\n\n@Component\nexport default class SystemTextErrors extends Vue{\n @Prop() boldText:string;\n @Prop() text1:any;\n @Prop() text2:any;\n @Prop() text3:any;\n @Prop() isDecimalValue:boolean;\n @Prop() Date:any;\n @Prop() isIncludeDate:boolean;\n @Prop() amount:any;\n @Prop({default: false}) useSlotProps:boolean;\n\n formatDate()\n {\n if(this.isIncludeDate){\n return ApexDateFormat(this.Date)\n } \n }\n}\n","export enum PaymentRecordViewModes{\r\n PayMoney = 1, \r\n BillExpenseClaim = 2,\r\n ReimbursementExpenseClaim = 3,\r\n}\r\n\r\nexport enum BrokerageReconciliationViewModes{\r\n Pending = 1, \r\n Reconciled = 2\r\n}\r\n\r\nexport enum ClientsListViewModes{\r\n Normal = 1, \r\n ModalMode = 2,\r\n GlobalSearchMode = 3\r\n}","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTextErrors.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTextErrors.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SystemTextErrors.vue?vue&type=template&id=fb79b62c&scoped=true\"\nimport script from \"./SystemTextErrors.vue?vue&type=script&lang=ts\"\nexport * from \"./SystemTextErrors.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SystemTextErrors.vue?vue&type=style&index=0&id=fb79b62c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fb79b62c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport ClientMotorVehicles from '@/components/admin/clientManagement/clientMotorVehicles.vue';\r\nimport SystemTextErrors from '@/components/shared/SystemTextErrors.vue';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\nimport { VehicleStatuses } from '@/shared/enums/vehicleStatuses.enum';\r\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { Component, Emit, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component(\r\n {\r\n components: {\r\n ClientMotorVehicles,\r\n Modal,\r\n SystemTextErrors\r\n }\r\n }\r\n)\r\nexport default class ClientsListActionButtons extends Vue {\r\n @Prop() item: any\r\n @Prop() viewMode: any;\r\n showDeleteClientConfirmationModal = false;\r\n showClientMotorVehiclesModal = false;\r\n relatedTable: RelatedTables = RelatedTables.Client;\r\n normalMode: ClientsListViewModes = ClientsListViewModes.Normal;\r\n modalMode: ClientsListViewModes = ClientsListViewModes.ModalMode;\r\n globalSearchMode: ClientsListViewModes = ClientsListViewModes.GlobalSearchMode;\r\n vehicleStatusTypes: any = [{ text: 'Active', value: VehicleStatuses.Active },\r\n { text: 'Inactive', value: VehicleStatuses.Inactive }];\r\n selectedVehicleStatusType: VehicleStatuses = VehicleStatuses.Active;\r\n isClientDeletable: boolean = true;\r\n errorsList: any = [];\r\n isStandardUser: false;\r\n \r\n created()\r\n {\r\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\r\n }\r\n \r\n getClientDeleteValidation() {\r\n this.$store.dispatch('storeIsBusyValue', true);\r\n apiService.sendGetRequest(\"Client\", \"CheckAbilityDeleteClient\", { clientID: this.item.id }).then(response => {\r\n this.errorsList = response.data;\r\n this.isClientDeletable = !(response.data.length > 0);\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n\r\n this.showDeleteClientConfirmationModal = true;\r\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\r\n }).catch(() => {\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n })\r\n }\r\n\r\n ViewVehicle() {\r\n this.selectedVehicleStatusType = VehicleStatuses.Active;\r\n this.showClientMotorVehiclesModal = true;\r\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\r\n }\r\n\r\n onCloseDelete() {\r\n this.showDeleteClientConfirmationModal = false;\r\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\r\n }\r\n\r\n @Emit('customEvent') onAction(_data: any, _type: DataTableActionTypes) {\r\n }\r\n\r\n onCloseMotorVehicles() {\r\n this.showClientMotorVehiclesModal = false;\r\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\r\n }\r\n\r\n deleteClient() {\r\n this.showDeleteClientConfirmationModal = false;\r\n this.item.isActive = false;\r\n this.onAction(this.item, DataTableActionTypes.Delete)\r\n }\r\n\r\n navigateToClient() {\r\n let routeData = this.$router.resolve({ name: 'Edit Client', params: { id: this.item.id, topRouteDisplayName: 'profile', routerDisplayName: 'personal' } });\r\n window.open(routeData.href, '_blank');\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientListActionButtons.vue?vue&type=template&id=996b8e6c&scoped=true\"\nimport script from \"./ClientListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientListActionButtons.vue?vue&type=style&index=0&id=996b8e6c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"996b8e6c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.viewMode != _vm.modalMode)?_c('span',{attrs:{\"id\":'selectClientLink_' + _vm.item.id}},[_vm._v(_vm._s(this.item.firstName))]):_c('span',{staticClass:\"primary-text cursor-pointer\",attrs:{\"id\":'selectClientLink_' + _vm.item.id},on:{\"click\":_vm.selectClient}},[_vm._v(_vm._s(this.item.firstName))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\n\n@Component\nexport default class EditClientLink extends Vue{\n @Prop() item:any;\n @Prop() viewMode:any;\n modalMode:ClientsListViewModes = ClientsListViewModes.ModalMode;\n\n selectClient(){\n this.onSelectClient(this.item, DataTableActionTypes.Select)\n }\n \n @Emit('customEvent') onSelectClient(item:any,type:DataTableActionTypes){\n }\n \n}\n","export enum ClientStatuses {\r\n Prospect = 1,\r\n Finance = 2,\r\n Active = 3,\r\n Inactive = 4,\r\n Deleted = 5,\r\n}","export enum InitialClientStatusFilterSelectModes{\r\n All = 1,\r\n OnlyActive = 2,\r\n Default = 3,\r\n}\r\n\r\nexport enum AllowedStatusFilterSelectModes{\r\n All = 1,\r\n OnlyActive = 2\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditClientLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditClientLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditClientLink.vue?vue&type=template&id=e719fcc8&scoped=true\"\nimport script from \"./EditClientLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditClientLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e719fcc8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"clientStatusSelectList\"}},[_c('multiselect',{ref:\"multiselect\",attrs:{\"id\":\"clientStatusSelect\",\"options\":_vm.clientStatusFilterList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onClientStatusChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(\"\\n \"+_vm._s(_vm.clientStatusFilterList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Status\" : \"Statuses\")+\" \\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedClientStatusList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedClientStatusFilterList),callback:function ($$v) {_vm.selectedClientStatusFilterList=$$v},expression:\"selectedClientStatusFilterList\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No status found.\")])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default class Filtrations {\r\n // Client List Filtrations\r\n public static readonly CLIENT_STATUSES = 'clientStatuses';\r\n public static readonly CLIENT_FILTER = 'clientFilter';\r\n\r\n // Employer List Filtrations\r\n public static readonly EMPLOYER_FILTER = 'employerFilter';\r\n\r\n // financier List Filtrations\r\n public static readonly FINANCIER_FILTER = 'financierFilter';\r\n\r\n // supplier List Filtrations\r\n public static readonly SUPPLIER_FILTER = 'supplierFilter';\r\n\r\n // client application List Filtrations\r\n public static readonly CLIENT_APPLICATION_FILTER = 'clientApplicationFilter';\r\n\r\n // motor vehicle status Filtrations\r\n public static readonly MOTOR_VEHICLE_STATUS_FILTER = 'motorVehicleStatusFilter';\r\n\r\n // User List Filtrations\r\n public static readonly USER_STATUS = 'userStatus';\r\n public static readonly USER_FILTER = 'userFilter';\r\n\r\n // Schedule List Filtrations\r\n public static readonly SCHEDULE_SHOW_INACTIVE = 'scheduleShowInactive';\r\n public static readonly SCHEDULE_FILTER = 'scheduleFilter';\r\n\r\n // Expense claim filtrations\r\n public static readonly EXPENSE_CLAIM_REVIEW = 'review';\r\n public static readonly EXPENSE_CLAIM_FILTER = 'filter';\r\n public static readonly EXPENSE_CLAIM_FROM_DATE = 'fromDate';\r\n public static readonly EXPENSE_CLAIM_TO_DATE = 'toDate';\r\n public static readonly EXPENSE_CLAIM_STATUS = 'status';\r\n public static readonly EXPENSE_CLAIM_TYPE = 'type';\r\n public static readonly EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST = 'transactionCategoryList';\r\n\r\n // GST Ledger Filtrations\r\n public static readonly GST_LEDGER_FILTER = 'gstLedgerFilter';\r\n public static readonly GST_LEDGER_FROM_DATE = 'gstLedgerFromDate';\r\n public static readonly GST_LEDGER_TO_DATE = 'gstLedgerToDate';\r\n public static readonly GST_LEDGER_STATUS = 'gstLedgerStatus';\r\n\r\n // Application List Filtrations\r\n public static readonly APPLICATION_STATUS = 'applicationStatus';\r\n public static readonly APPLICATION_FILTER = 'applicationFilter';\r\n public static readonly APPLICATION_SHOW_INACTIVE = 'applicationShowInactive';\r\n}","export default class ApexConstants \r\n{\r\n public static readonly TENANTADMINROLE = \"Tenant Admin\";\r\n public static readonly CLIENTNROLE = \"Client\";\r\n public static readonly STANDARDUSERROLE = \"Standard User\";\r\n public static readonly SYSTEMADMINROLE = \"System Administrator\";\r\n public static readonly SUPPLIERROLE = \"Supplier\";\r\n public static readonly CLIENT_ENTITY_TYPE = \"Client\";\r\n public static readonly FINANCE_APPLICATIONS_WIDGET_PENDING_RECONCILIATION_BAR_INDEX = 6;\r\n public static readonly DEFAULT_COUNTRY_CENTER_LATITUDE = -26.000000;\r\n public static readonly DEFAULT_COUNTRY_CENTER_LONGITUDE = 136.000000;\r\n public static readonly MAP_RESULTS_ZOOM_LEVEL_1 = 6;\r\n public static readonly MAP_RESULTS_ZOOM_LEVEL_2 = 5;\r\n public static readonly DEFAULT_MAP_ZOOM_LEVEL = 4;\r\n public static readonly DEFAULT_RESIDUAL_DUE_DATE_WARNING_PERIOD = 60;\r\n public static readonly LEVEL_1_DISTANCE_FROM_ORIGIN = 1000000;\r\n public static readonly LEVEL_2_DISTANCE_FROM_ORIGIN = 2000000;\r\n public static readonly DEFAULT_COUNTRY = \"Australia\";\r\n public static readonly GROUP_KEY_SEPARATOR = \"_\";\r\n public static readonly GENERATE_PAYMENT_FILE_WARNING_THRESHOLD = 500;\r\n public static readonly ADDRESS_STATE_OTHER_TYPE = 9;\r\n public static readonly DATE_MATCHING_PATTERN = /\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}/;\r\n public static readonly DATE_MATCHING_PATTERN_WITH_GMT_TIME = /\\d{1,2}\\/\\d{1,2}\\/\\d{4}\\s+\\d{2}:\\d{2}:\\d{2}\\s+(AM|PM)/;\r\n\r\n //Client Finance Application constants\r\n public static readonly CFA_MONTHLY_REPAYMENTS_IDENTIFIER = \"CFA_MONTHLY_REPAYMENTS\";\r\n public static readonly CFA_MONTHLY_EXPENSES_IDENTIFIER = \"CFA_MONTHLY_EXPENSES\";\r\n public static readonly CFA_PREVIOUS_ADDRESS_IDENTIFIER = \"CFA_PREVIOUS_ADDRESS\";\r\n public static readonly CFA_CURRENT_ADDRESS_IDENTIFIER = \"CFA_CURRENT_ADDRESS\";\r\n public static readonly CFA_PREVIOUS_EMPLOYMENT_IDENTIFIER = \"CFA_PREVIOUS_EMPLOYMENT\";\r\n public static readonly CFA_CURRENT_EMPLOYMENT_IDENTIFIER = \"CFA_CURRENT_EMPLOYMENT\";\r\n\r\n //Service Agreement Document constants\r\n public static readonly SA_CLIENT_RECIPIENT_EMAIL_BODY = \"Hi ClientName\\n\\nThank you for choosing Apex Novated Solutions for your vehicle leasing management\\nservices,\" + \" \" +\r\n \"it is great to have you on board as a client.\\n\\nPlease click on Review documents to sign the Lease Management Deed at your earliest\\nconvenience.\" + \"\\n\\n\" +\r\n \"Should you have any questions, please do not hesitate to contact us.\\n\\nAgain, thank you for choosing Apex.\";\r\n\r\n public static readonly SA_AUTHORIZED_RECIPIENT_EMAIL_BODY = \"Hi\\n\\nPlease click on review documents to sign the Lease Management Deed for ClientName\\non behalf of the employer.\";\r\n public static readonly SA_EMPLOYER_RECIPIENT_EMAIL_BODY = \"Hi {Name}\\n\\nPlease click on review documents to sign the Lease Management Deed for our mutual client:\\nClientName at your earliest convenience.\";\r\n\r\n //Annature Envelope Events\r\n public static readonly ANNATURE_ENVELOPE_EVENTS = [\r\n { key: \"envelope_sent\", text: \"Envelope Sent\"},\r\n { key: \"envelope_voided\", text: \"Envelope Voided\"},\r\n { key: \"envelope_completed\", text: \"Envelope Completed\"},\r\n { key: \"recipient_sent\", text: \"Recipient Sent\"},\r\n { key: \"recipient_viewed\", text: \"Recipient Viewed\"},\r\n { key: \"recipient_declined\", text: \"Recipient Declined\"},\r\n { key: \"recipient_failed\", text: \"Recipient Failed\"},\r\n { key: \"recipient_completed\", text: \"Recipient Completed\"},\r\n { key: \"recipient_token_request\", text: \"Recipient Token Request\"},\r\n ]\r\n}","import moment from 'moment';\r\nimport ApexConstants from '../constants';\r\n\r\nclass FieldValidationService {\r\n\r\n isValidText(value:any):boolean\r\n {\r\n if(value == \"\" || value == null || value == undefined){\r\n return false;\r\n }\r\n return true;\r\n }\r\n isValidDate(value:any):boolean\r\n {\r\n if(value == \"\" || value == null || value == undefined){\r\n return false;\r\n }\r\n return true;\r\n }\r\n isValidNumber(value:any):boolean\r\n {\r\n if(value == 0 || value == null || value == undefined){\r\n return false;\r\n }\r\n\r\n return /^\\d+$/.test(value);\r\n }\r\n isValidNumberIncludingZero(value:any):boolean\r\n {\r\n if(value == null || value == undefined){\r\n return false;\r\n }\r\n\r\n return /^\\d+$/.test(value);\r\n }\r\n isDecimal(value:any):boolean\r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true;\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value);\r\n }\r\n isValidDecimal(value:any):boolean\r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false;\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value);\r\n }\r\n invalidURLErrorMsg(value:any):string\r\n {\r\n if(this.isValidText(value)){\r\n if(!value.startsWith(\"http\")){\r\n return \"Invalid url (Hint: http:// or https:// is missing).\";\r\n }\r\n else{\r\n return \"Invalid url.\";\r\n }\r\n }\r\n return \"\";\r\n }\r\n validateUrl(url:string):string\r\n {\r\n if(fieldValidations.isValidText(url)){\r\n if(url.startsWith('http')){\r\n return url;\r\n }\r\n return 'http://'+url;\r\n }\r\n return '';\r\n }\r\n isValidEmail(email:any):boolean\r\n {\r\n if (typeof email === 'undefined' || email === null || email === '' || email === []) {\r\n return false;\r\n }\r\n return /\\S+@\\S+\\.\\S+/.test(email);\r\n }\r\n isValidOrNullEmail(email:any):boolean{\r\n if (typeof email === 'undefined' || email === null || email === '' || email === []) {\r\n return true;\r\n }\r\n return /\\S+@\\S+\\.\\S+/.test(email);\r\n }\r\n isValidOrNullDecimal(value:any):boolean\r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true;\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value);\r\n }\r\n isValidOrNullNumber(value:any):boolean\r\n {\r\n if(value == 0 || value == null || value == undefined){\r\n return true;\r\n }\r\n\r\n return /^\\d+$/.test(value);\r\n }\r\n\r\n isValidAndNotMinimumDate(value:any):boolean\r\n {\r\n if(value == \"\" || value == null || value == undefined){\r\n return false;\r\n }\r\n var date = moment(value);\r\n if(date.year() == 1){\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n isValidNumberOrZero(value:any):boolean\r\n {\r\n if(value == null || value == undefined){\r\n return false;\r\n }\r\n\r\n return /^\\d+$/.test(value);\r\n }\r\n\r\n isValidVehicleIDNumber(value:any):boolean\r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^[A-Z0-9]+$/.test(value) && /[0-9]+/.test(value) && !/(i|o|q)+/.test(value.toLowerCase())\r\n }\r\n isValidCommaSeparatedList(value:any):boolean{\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^(\\s{0}((?=[1-9])\\d{1,2}))(,\\s{0,1}(?=[1-9])\\d{1,2})*$/.test(value)\r\n }\r\n\r\n isValidDateFormat(value:any):boolean\r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false;\r\n }\r\n\r\n var matchingFound = value.toString().match(ApexConstants.DATE_MATCHING_PATTERN);\r\n if(matchingFound && matchingFound.length == 1){\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n isValidDateFormatWithGMTTime(value:any):boolean\r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false;\r\n }\r\n\r\n return ApexConstants.DATE_MATCHING_PATTERN_WITH_GMT_TIME.test(value.toString());\r\n }\r\n isValidCommaSeparatedNumberList(value:any):boolean{\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^(\\s{0}((?=[1-9])\\d{1,2}))(,\\s{0,1}(?=[1-9])\\d{1,2})*$/.test(value)\r\n }\r\n}\r\n\r\nconst fieldValidations = new FieldValidationService();\r\nexport default fieldValidations;","export enum TransactionDirection{\r\n Credit = 1,\r\n Debit = 2\r\n}\r\n\r\nexport enum TransactionStatus{\r\n New = 1,\r\n Generated = 2,\r\n Matched = 3,\r\n}\r\n\r\nexport enum TransactionCategoryTypes{\r\n Expense = 1,\r\n Other = 2,\r\n}\r\n\r\nexport enum TransactionTypes{\r\n LeasePayment = 1,\r\n ManualPayment = 2,\r\n AdministrationFee = 3,\r\n}","export enum ActivityStatementCategoryTypes {\r\n None = 0,\r\n Expense = 1,\r\n Other = 2,\r\n Revenue = 3\r\n}","export enum OtherCategories\r\n{\r\n PaymentRefund = 1,\r\n BasRefundPayment = 2\r\n}\r\n","export enum ExpenseCategories\r\n{\r\n Fuel = 1,\r\n Registration = 2,\r\n CTPI = 3,\r\n Insurance = 4,\r\n RoadSideAssistance = 5,\r\n Washing = 6,\r\n TyresAndService = 7,\r\n Repairs = 8,\r\n Other = 9,\r\n LeasePayment = 10,\r\n AdministrationFee = 11\r\n}\r\n\r\nexport enum ExpenseClaimTypes\r\n{\r\n Bill = 1,\r\n Reimbursement = 2,\r\n}\r\n\r\nexport enum ExpenseClaimStatuses\r\n{\r\n PendingApproval = 1,\r\n Approved = 2,\r\n Queried = 3,\r\n Paid = 4,\r\n PendingClientApproval = 5,\r\n ClientQueried = 6,\r\n Rejected = 7,\r\n ClientRejected = 8\r\n}\r\n\r\nexport enum ExpenseClaimCreationMethod\r\n{\r\n Manual = 0,\r\n InsuranceScheduleReminder = 1\r\n}","import apiService from '@/shared/services/apiService'\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\r\nimport { TransactionCategoryTypes } from '@/shared/enums/transaction.enum';\r\nimport { ActivityStatementCategoryTypes } from '@/shared/enums/activityStatementCategoryTypes.enum';\r\nimport { OtherCategories } from '@/shared/enums/otherCategoryTypes.enum';\r\nimport { ClientStatuses } from '@/shared/enums/clientStatuses.enum';\r\nimport { ExpenseCategories } from '@/shared/enums/expenseClaims.enum';\r\nimport ApexConstants from '../constants';\r\n\r\nclass LookUpService {\r\n bankList: any = [];\r\n financierList: any = [];\r\n leaseTypesList: any = [];\r\n scheduleTypes: any = [];\r\n scheduleFrequencyTypes: any = [];\r\n companyBankAccountList: any[];\r\n saleTypesList: any = [];\r\n payrollSoftwareList: any[] = [];\r\n taxCalculationMethodList: any[] = [];\r\n novationReportList: any[] = [];\r\n leaseReportList: any = [];\r\n paymentMethodsList: any[] = [];\r\n payeeTypesList: any[] = [];\r\n userLoginStatusList: any[] = [];\r\n transactionTypesList: any[] = [];\r\n bankStatementInfoStatusList: any[] = [];\r\n expenseClaimTypesList: any[] = [];\r\n expenseClaimCategoryList: any[] = [];\r\n expenseCategoryList: any[] = [];\r\n expenseClaimStatusList: any[] = [];\r\n transactionStatusList: any[] = [];\r\n expenseClaimStatusWithoutCountList: any[] = [];\r\n expenseClaimStatusWithCountList: any[] = [];\r\n companyId: number = 0;\r\n bankAccountTypes: any = [];\r\n addressStates: any = [];\r\n addressStatesWithOtherType: any = [];\r\n financeApplicationStatusList: any = [];\r\n otherCategoriesList: any = [];\r\n revenueCategoriesList: any = [];\r\n expenseAndOtherCategoriesList: any = [];\r\n expenseAndOtherCategoriesListWithNone: any = [];\r\n expenseAndRevenueCategoriesListWithNone: any = [];\r\n gstLedgerCategories: any = [];\r\n transactionCategoryTypesList: any = [];\r\n fuelCardBrandTypesList: any[] = [];\r\n adminFeeAndFrequency: any[] = [];\r\n standardUserSelectList: any[] = [];\r\n standardUsersAndTenantAdminsSelectList:any [] = [];\r\n GSTCalculationPeriodList: any[] = [];\r\n ActivityStatementFilterTypes: any[] = [];\r\n clientStatusSearchList: any[] = [];\r\n clientStatusList: any[] = [];\r\n vehicleConditionTypes: any[] = [];\r\n vehicleTypes: any[] = [];\r\n vehicleBodyTypes: any[] = [];\r\n vehicleTransmissionTypes: any[] = [];\r\n vehicleFuelTypes: any[] = [];\r\n vehicleColours: any[] = [];\r\n applicationTypesList: any[] = [];\r\n novationColorList: any = {};\r\n invoiceStatusesList: any[] = [];\r\n calendarMonthsList: any[] = [];\r\n vehicleSearchFilterTypes: any[] = [];\r\n fbtMethodList: any[] = [];\r\n reportTypesList: any[] = [];\r\n clientFinanceApplicationStatusesWithCount: any = [];\r\n clientFinanceApplicationStatusesWithoutCount: any = [];\r\n maritalStatuses: any = [];\r\n driverLicenseTypes: any = [];\r\n australianResidencyStatuses: any = [];\r\n monthlyRepayments: any = [];\r\n monthlyExpenses: any = [];\r\n assetsCategories: any = [];\r\n clientAddressTypes: any = [];\r\n vehicleStatusList: any[] = [];\r\n employmentTypes: any[] = [];\r\n invoiceFrequencies: any[] = [];\r\n relatedEntityLedgerBalances: any;\r\n\r\n GetAddressStatesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.addressStates && this.addressStates.length > 0) {\r\n resolve(this.addressStates);\r\n } else {\r\n this.GetAllAddressStates().then(() => {\r\n resolve(this.addressStates);\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetAddressStatesWithOtherType(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.addressStatesWithOtherType && this.addressStatesWithOtherType.length > 0) {\r\n resolve(this.addressStatesWithOtherType);\r\n } else {\r\n this.GetAllAddressStates().then(() => {\r\n resolve(this.addressStatesWithOtherType);\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetAllAddressStates(): Promise {\r\n return new Promise((resolve, reject) => {\r\n apiService.sendGetRequest('Address', 'StatesList').then(response => {\r\n if (response.data) {\r\n this.addressStatesWithOtherType = response.data;\r\n this.addressStates = this.addressStatesWithOtherType.filter(stateObj => stateObj.value != ApexConstants.ADDRESS_STATE_OTHER_TYPE);\r\n resolve([this.addressStatesWithOtherType, this.addressStates]);\r\n }\r\n });\r\n });\r\n }\r\n\r\n GetBanksDropDownList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.bankList && this.bankList.length > 0) {\r\n resolve(this.bankList);\r\n }\r\n else {\r\n apiService.sendGetRequest('BankAccount', 'BanksList').then(response => {\r\n if (response.data) {\r\n this.bankList = response.data;\r\n resolve(this.bankList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetFinanciersList(reload: boolean): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.financierList && this.financierList.length > 0 && reload != false) {\r\n resolve(this.financierList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Financier', 'FinancierSelectList').then(response => {\r\n if (response.data) {\r\n this.financierList = response.data;\r\n resolve(this.financierList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetRelatedEntityLedgerBalance(relatedID: number): Promise {\r\n return new Promise((resolve, reject) => {\r\n apiService.sendGetRequest('Novation', 'RelatedEntityLedgerBalancesWithGstExcluAndInclu', {relatedId : relatedID}).then(response => {\r\n if (response.data) {\r\n this.relatedEntityLedgerBalances = response.data;\r\n resolve(this.relatedEntityLedgerBalances);\r\n }\r\n });\r\n });\r\n }\r\n\r\n GetLeaseTypesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.leaseTypesList && this.leaseTypesList.length > 0) {\r\n resolve(this.leaseTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Lease', 'LeaseTypes').then(response => {\r\n if (response.data) {\r\n this.leaseTypesList = response.data;\r\n resolve(this.leaseTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n\r\n GetSaleTypesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.saleTypesList && this.saleTypesList.length > 0) {\r\n resolve(this.saleTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Lease', 'SaleTypes').then(response => {\r\n if (response.data) {\r\n this.saleTypesList = response.data;\r\n resolve(this.saleTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetScheduleLookupValues(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.scheduleFrequencyTypes && this.scheduleFrequencyTypes.length > 0 && this.scheduleTypes && this.scheduleTypes.length > 0) {\r\n resolve({ scheduleFrequencyTypes: this.scheduleFrequencyTypes, scheduleTypes: this.scheduleTypes });\r\n }\r\n else {\r\n apiService.sendGetRequest('Utility', 'ScheduleLookups').then(response => {\r\n if (response.data) {\r\n this.scheduleFrequencyTypes = response.data.item1;\r\n this.scheduleTypes = response.data.item2;\r\n resolve({ scheduleFrequencyTypes: this.scheduleFrequencyTypes, scheduleTypes: this.scheduleTypes });\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetInvoiceFrequencyList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.invoiceFrequencies && this.invoiceFrequencies.length > 0) {\r\n resolve(this.invoiceFrequencies);\r\n }\r\n else {\r\n apiService.sendGetRequest('Novation', 'InvoiceFrequencyList').then(response => {\r\n if (response.data) {\r\n this.invoiceFrequencies = response.data;\r\n resolve(this.invoiceFrequencies);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetCompanyBankAccountsList(getDisabledBankAccounts: boolean = false): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.companyBankAccountList && this.companyBankAccountList.length > 0) {\r\n var companyBankAccounts = getDisabledBankAccounts ? this.companyBankAccountList : this.companyBankAccountList.filter(v => !v.disabled)\r\n resolve(companyBankAccounts);\r\n }\r\n else {\r\n apiService.sendGetRequest('BankAccount', 'BankAccountsSelectList', { relatedTable: RelatedTables.Company, relatedID: 0, includeInactiveAccounts: getDisabledBankAccounts }).then(response => {\r\n if (response.data) {\r\n this.companyBankAccountList = response.data;\r\n var companyBankAccounts = getDisabledBankAccounts ? this.companyBankAccountList : this.companyBankAccountList.filter(v => !v.disabled)\r\n resolve(companyBankAccounts);\r\n\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetPayrollSoftwareList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.payrollSoftwareList && this.payrollSoftwareList.length > 0) {\r\n resolve(this.payrollSoftwareList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Employer', 'EmployerPayrollSoftwareList').then(response => {\r\n if (response.data) {\r\n this.payrollSoftwareList = response.data;\r\n resolve(this.payrollSoftwareList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetFuelCardBrandTypeList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.fuelCardBrandTypesList && this.fuelCardBrandTypesList.length > 0) {\r\n resolve(this.fuelCardBrandTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('FuelCard', 'FuelCardBrandTypeList').then(response => {\r\n if (response.data) {\r\n this.fuelCardBrandTypesList = response.data;\r\n resolve(this.fuelCardBrandTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n\r\n GetTaxCalculationMethodList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.taxCalculationMethodList && this.taxCalculationMethodList.length > 0) {\r\n resolve(this.taxCalculationMethodList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Novation', 'TaxCalculationMethodsList').then(response => {\r\n if (response.data) {\r\n this.taxCalculationMethodList = response.data;\r\n resolve(this.taxCalculationMethodList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetNovationReportList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.novationReportList && this.novationReportList.length > 0) {\r\n resolve(this.novationReportList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Novation', 'NovationReportsList').then(response => {\r\n if (response.data) {\r\n this.novationReportList = response.data;\r\n resolve(this.novationReportList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetLeaseReportList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.leaseReportList && this.leaseReportList.length > 0) {\r\n resolve(this.leaseReportList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Lease', 'LeaseReportsList').then(response => {\r\n if (response.data) {\r\n this.leaseReportList = response.data;\r\n resolve(this.leaseReportList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetPaymentMethodList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.paymentMethodsList && this.paymentMethodsList.length > 0) {\r\n resolve(this.paymentMethodsList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'PaymentMethodsList').then(response => {\r\n if (response.data) {\r\n this.paymentMethodsList = response.data;\r\n resolve(this.paymentMethodsList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetPayeeTypesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.payeeTypesList && this.payeeTypesList.length > 0) {\r\n resolve(this.payeeTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'PayeeTypesList').then(response => {\r\n if (response.data) {\r\n this.payeeTypesList = response.data;\r\n resolve(this.payeeTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetUserLoginStatusList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.userLoginStatusList && this.userLoginStatusList.length > 0) {\r\n resolve(this.userLoginStatusList);\r\n }\r\n else {\r\n apiService.sendGetRequest('User', 'LoginStatusList').then(response => {\r\n if (response.data) {\r\n this.userLoginStatusList = response.data;\r\n resolve(this.userLoginStatusList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetTransactionTypesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.transactionTypesList && this.transactionTypesList.length > 0) {\r\n resolve(this.transactionTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'TransactionTypesList').then(response => {\r\n if (response.data) {\r\n this.transactionTypesList = response.data;\r\n resolve(this.transactionTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetBankStatementInfoStatusList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.bankStatementInfoStatusList && this.bankStatementInfoStatusList.length > 0) {\r\n resolve(this.bankStatementInfoStatusList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'BankStatementStatusList').then(response => {\r\n if (response.data) {\r\n this.bankStatementInfoStatusList = response.data;\r\n resolve(this.bankStatementInfoStatusList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetExpenseClaimTypesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.expenseClaimTypesList && this.expenseClaimTypesList.length > 0) {\r\n resolve(this.expenseClaimTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('ExpenseClaim', 'ExpenseClaimTypesList').then(response => {\r\n if (response.data) {\r\n this.expenseClaimTypesList = response.data;\r\n resolve(this.expenseClaimTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetExpenseClaimStatusWithCountList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.expenseClaimStatusWithCountList && this.expenseClaimStatusWithCountList.length > 0) {\r\n resolve(this.expenseClaimStatusWithCountList);\r\n }\r\n else {\r\n apiService.sendGetRequest('ExpenseClaim', 'ExpenseClaimStatusList').then(response => {\r\n if (response.data) {\r\n this.expenseClaimStatusWithCountList = response.data.item1;\r\n this.expenseClaimStatusWithoutCountList = response.data.item2;\r\n resolve(this.expenseClaimStatusWithCountList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetExpenseClaimStatusWithoutCountList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.expenseClaimStatusWithoutCountList && this.expenseClaimStatusWithoutCountList.length > 0) {\r\n resolve(this.expenseClaimStatusWithoutCountList);\r\n }\r\n else {\r\n apiService.sendGetRequest('ExpenseClaim', 'ExpenseClaimStatusList').then(response => {\r\n if (response.data) {\r\n this.expenseClaimStatusWithCountList = response.data.item1;\r\n this.expenseClaimStatusWithoutCountList = response.data.item2;\r\n resolve(this.expenseClaimStatusWithoutCountList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetExpenseClaimCategoryList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.expenseClaimCategoryList && this.expenseClaimCategoryList.length > 0) {\r\n resolve(this.expenseClaimCategoryList);\r\n }\r\n else {\r\n apiService.sendGetRequest('ExpenseClaim', 'ExpenseClaimCategoryList').then(response => {\r\n if (response.data) {\r\n this.expenseClaimCategoryList = response.data;\r\n resolve(this.expenseClaimCategoryList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetExpenseCategoryList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.expenseCategoryList && this.expenseCategoryList.length > 0) {\r\n resolve(this.expenseCategoryList);\r\n }\r\n else {\r\n apiService.sendGetRequest('ExpenseClaim', 'ExpenseCategoryList').then(response => {\r\n if (response.data) {\r\n this.expenseCategoryList = response.data;\r\n resolve(this.expenseCategoryList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetOtherCategoriesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.otherCategoriesList && this.otherCategoriesList.length > 0) {\r\n resolve(this.otherCategoriesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'OtherCategoriesList').then(response => {\r\n if (response.data) {\r\n this.otherCategoriesList = response.data;\r\n resolve(this.otherCategoriesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetRevenueCategoriesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.revenueCategoriesList && this.revenueCategoriesList.length > 0) {\r\n resolve(this.revenueCategoriesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'RevenueCategoriesList').then(response => {\r\n if (response.data) {\r\n this.revenueCategoriesList = response.data;\r\n resolve(this.revenueCategoriesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetExpenseAndOtherCategoriesIncludingNoneList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.expenseAndOtherCategoriesListWithNone && this.expenseAndOtherCategoriesListWithNone.length > 0) {\r\n resolve(this.expenseAndOtherCategoriesListWithNone);\r\n }\r\n else {\r\n var promise1 = this.GetExpenseCategoryList();\r\n var promise2 = this.GetOtherCategoriesList();\r\n\r\n Promise.all([promise1, promise2]).then(data => {\r\n var expepenseCategories = data[0].map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: TransactionCategoryTypes.Expense, category: a.value },\r\n type: TransactionCategoryTypes.Expense,\r\n }\r\n return x;\r\n });\r\n var otherCategories = data[1].map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: TransactionCategoryTypes.Other, category: a.value },\r\n type: TransactionCategoryTypes.Other\r\n }\r\n return x;\r\n });\r\n\r\n var noneCategory = [{\r\n text: 'None',\r\n category: 0,\r\n type: 0,\r\n value: { type: 0, category: 0 },\r\n }];\r\n\r\n this.expenseAndOtherCategoriesListWithNone = noneCategory.concat(expepenseCategories).concat(otherCategories);\r\n resolve(this.expenseAndOtherCategoriesListWithNone);\r\n })\r\n }\r\n });\r\n }\r\n\r\n GetActivityStatementFilterTypesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.ActivityStatementFilterTypes && this.ActivityStatementFilterTypes.length > 0) {\r\n resolve(this.ActivityStatementFilterTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'ActivityStatementFilterTypesList').then(response => {\r\n if (response.data) {\r\n this.ActivityStatementFilterTypes = response.data;\r\n resolve(this.ActivityStatementFilterTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetExpenseAndRevenueCategoriesIncludingNoneList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.expenseAndRevenueCategoriesListWithNone && this.expenseAndRevenueCategoriesListWithNone.length > 0) {\r\n resolve(this.expenseAndRevenueCategoriesListWithNone);\r\n }\r\n else {\r\n var promise1 = this.GetExpenseCategoryList();\r\n var promise2 = this.GetRevenueCategoriesList();\r\n var promise3 = this.GetOtherCategoriesList();\r\n Promise.all([promise1, promise2, promise3]).then(data => {\r\n var expepenseCategories = data[0].map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: ActivityStatementCategoryTypes.Expense, category: a.value },\r\n type: ActivityStatementCategoryTypes.Expense,\r\n }\r\n return x;\r\n });\r\n var revenueCategoriesList = data[1].map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: ActivityStatementCategoryTypes.Revenue, category: a.value },\r\n type: ActivityStatementCategoryTypes.Revenue,\r\n }\r\n return x;\r\n });\r\n var noneCategory = [{\r\n text: 'None',\r\n category: 0,\r\n type: 0,\r\n value: { type: 0, category: 0 },\r\n }];\r\n this.expenseAndRevenueCategoriesListWithNone = noneCategory.concat(expepenseCategories).concat(revenueCategoriesList);\r\n resolve(this.expenseAndRevenueCategoriesListWithNone);\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetGSTLedgerCategories(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.gstLedgerCategories && this.gstLedgerCategories.length > 0) {\r\n resolve(this.gstLedgerCategories);\r\n }\r\n else {\r\n var promise1 = this.GetExpenseCategoryList();\r\n var promise2 = this.GetRevenueCategoriesList();\r\n var promise3 = this.GetOtherCategoriesList();\r\n Promise.all([promise1, promise2, promise3]).then(data => {\r\n var expepenseCategories = data[0].filter(f => f.value != ExpenseCategories.LeasePayment)\r\n .map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: ActivityStatementCategoryTypes.Expense, category: a.value },\r\n type: ActivityStatementCategoryTypes.Expense,\r\n }\r\n return x;\r\n });\r\n var revenueCategoriesList = data[1].map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: ActivityStatementCategoryTypes.Revenue, category: a.value },\r\n type: ActivityStatementCategoryTypes.Revenue,\r\n }\r\n return x;\r\n });\r\n var otherCategory = data[2].filter(f => f.value != OtherCategories.PaymentRefund)\r\n .map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: ActivityStatementCategoryTypes.Other, category: a.value },\r\n type: ActivityStatementCategoryTypes.Other,\r\n }\r\n return x\r\n });\r\n this.gstLedgerCategories = expepenseCategories.concat(otherCategory).concat(revenueCategoriesList);\r\n resolve(this.gstLedgerCategories);\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetExpenseAndOtherCategoriesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.expenseAndOtherCategoriesList && this.expenseAndOtherCategoriesList.length > 0) {\r\n resolve(this.expenseAndOtherCategoriesList);\r\n }\r\n else {\r\n var promise1 = this.GetExpenseCategoryList();\r\n var promise2 = this.GetOtherCategoriesList();\r\n\r\n Promise.all([promise1, promise2]).then(data => {\r\n var expepenseCategories = data[0].map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: TransactionCategoryTypes.Expense, category: a.value },\r\n type: TransactionCategoryTypes.Expense,\r\n }\r\n return x;\r\n });\r\n var otherCategories = data[1].map(a => {\r\n var x = {\r\n text: a.text,\r\n category: a.value,\r\n value: { type: TransactionCategoryTypes.Other, category: a.value },\r\n type: TransactionCategoryTypes.Other\r\n }\r\n return x;\r\n });\r\n\r\n this.expenseAndOtherCategoriesList = expepenseCategories.concat(otherCategories);\r\n resolve(this.expenseAndOtherCategoriesList);\r\n })\r\n }\r\n });\r\n }\r\n\r\n\r\n GetTransactionStatusList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.transactionStatusList && this.transactionStatusList.length > 0) {\r\n resolve(this.transactionStatusList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'TransactionStatusList').then(response => {\r\n if (response.data) {\r\n this.transactionStatusList = response.data;\r\n resolve(this.transactionStatusList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetCompanyId(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.companyId > 0) {\r\n resolve(this.companyId);\r\n }\r\n else {\r\n apiService.sendGetRequest('Company', 'Company').then(response => {\r\n if (response.data) {\r\n this.companyId = response.data.id;\r\n resolve(this.companyId);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetBankAccountTypesDropDownList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.bankAccountTypes && this.bankAccountTypes.length > 0) {\r\n resolve(this.bankAccountTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('BankAccount', 'BankAccountTypesSelectList').then(response => {\r\n if (response.data) {\r\n this.bankAccountTypes = response.data;\r\n resolve(this.bankAccountTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetFinanceApplicationStatusList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.financeApplicationStatusList && this.financeApplicationStatusList.length > 0) {\r\n resolve(this.financeApplicationStatusList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Application', 'ApplicationStatus', { type: ClientApplicationTypes.Finance }).then(response => {\r\n if (response.data) {\r\n this.financeApplicationStatusList = response.data.item2;\r\n resolve(this.financeApplicationStatusList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetClientFinanceApplicationStatusListWithCount(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.clientFinanceApplicationStatusesWithCount && this.clientFinanceApplicationStatusesWithCount.length > 0) {\r\n resolve(this.clientFinanceApplicationStatusesWithCount);\r\n }\r\n else {\r\n this.GetClientFinanceApplicationStatusListWithAndWithoutCount().then(data => {\r\n this.clientFinanceApplicationStatusesWithCount = data[1];\r\n resolve(this.clientFinanceApplicationStatusesWithCount);\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetClientFinanceApplicationStatusListWithoutCount(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.clientFinanceApplicationStatusesWithoutCount && this.clientFinanceApplicationStatusesWithoutCount.length > 0) {\r\n resolve(this.clientFinanceApplicationStatusesWithoutCount);\r\n }\r\n else {\r\n this.GetClientFinanceApplicationStatusListWithAndWithoutCount().then(data => {\r\n this.clientFinanceApplicationStatusesWithoutCount = data[1];\r\n resolve(this.clientFinanceApplicationStatusesWithoutCount);\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetClientFinanceApplicationStatusListWithAndWithoutCount(): Promise {\r\n return new Promise((resolve, reject) => {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'ClientFinanceApplicationStatuses').then(response => {\r\n if (response.data) {\r\n this.clientFinanceApplicationStatusesWithCount = response.data.item1;\r\n this.clientFinanceApplicationStatusesWithoutCount = response.data.item2;\r\n resolve([this.clientFinanceApplicationStatusesWithCount, this.clientFinanceApplicationStatusesWithoutCount]);\r\n }\r\n });\r\n });\r\n }\r\n \r\n GetMaritalStatuses(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.maritalStatuses && this.maritalStatuses.length > 0) {\r\n resolve(this.maritalStatuses);\r\n }\r\n else {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'MaritalStatuses').then(response => {\r\n if (response.data) {\r\n this.maritalStatuses = response.data;\r\n resolve(this.maritalStatuses);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetDriverLicenseTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.driverLicenseTypes && this.driverLicenseTypes.length > 0) {\r\n resolve(this.driverLicenseTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'DriverLicenseTypes').then(response => {\r\n if (response.data) {\r\n this.driverLicenseTypes = response.data;\r\n resolve(this.driverLicenseTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetAustralianResidencyStatuses(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.australianResidencyStatuses && this.australianResidencyStatuses.length > 0) {\r\n resolve(this.australianResidencyStatuses);\r\n }\r\n else {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'AustralianResidencyStatuses').then(response => {\r\n if (response.data) {\r\n this.australianResidencyStatuses = response.data;\r\n resolve(this.australianResidencyStatuses);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetTransactionCategoryTypesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.transactionCategoryTypesList && this.transactionCategoryTypesList.length > 0) {\r\n resolve(this.transactionCategoryTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'TransactionCategoryTypesList').then(response => {\r\n if (response.data) {\r\n this.transactionCategoryTypesList = response.data;\r\n resolve(this.transactionCategoryTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n LoadAllSelectItemLists(): Promise {\r\n return new Promise((resolve, reject) => {\r\n apiService.sendGetRequest('Utility', 'AllSelectLists', {}).then(response => {\r\n if (response.data) {\r\n var lists = response.data;\r\n this.leaseTypesList = lists.leaseTypesList;\r\n this.saleTypesList = lists.saleTypesList;\r\n this.scheduleFrequencyTypes = lists.frequencyTypesList;\r\n this.scheduleTypes = lists.scheduleTypesList;\r\n this.payrollSoftwareList = lists.payrollSoftwareTypesList;\r\n this.taxCalculationMethodList = lists.taxCalculationMethodsList;\r\n this.paymentMethodsList = lists.paymentMethodsList;\r\n this.payeeTypesList = lists.payeeTypesList;\r\n this.userLoginStatusList = lists.userLoginStatusList;\r\n this.bankStatementInfoStatusList = lists.bankStatementInfoStatusList;\r\n this.transactionTypesList = lists.transactionTypesList;\r\n this.transactionStatusList = lists.transactionMatchedStatususList;\r\n this.expenseClaimTypesList = lists.expenseClaimTypesList;\r\n this.expenseClaimStatusList = lists.expenseClaimStatusList;\r\n this.expenseClaimCategoryList = lists.expenseClaimCategoryList;\r\n this.bankAccountTypes = lists.bankAccountTypes;\r\n this.otherCategoriesList = lists.otherCategoriesList;\r\n this.transactionCategoryTypesList = lists.transactionCategoryTypesList;\r\n }\r\n });\r\n });\r\n }\r\n\r\n GetMonthList() {\r\n var monthList = [\r\n { value: 1, text: \"01\" },\r\n { value: 2, text: \"02\" },\r\n { value: 3, text: \"03\" },\r\n { value: 4, text: \"04\" },\r\n { value: 5, text: \"05\" },\r\n { value: 6, text: \"06\" },\r\n { value: 7, text: \"07\" },\r\n { value: 8, text: \"08\" },\r\n { value: 9, text: \"09\" },\r\n { value: 10, text: \"10\" },\r\n { value: 11, text: \"11\" },\r\n { value: 12, text: \"12\" }\r\n ]\r\n return monthList;\r\n }\r\n\r\n GetAdminFeeAndFrequency(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.adminFeeAndFrequency[\"AdminFeeChargeAmount\"] != null && this.adminFeeAndFrequency[\"AdminFeeChargeFrequency\"] != null) {\r\n resolve(this.adminFeeAndFrequency);\r\n }\r\n else {\r\n apiService.sendGetRequest('AdministrationFee', 'AdminFeeAndFrequency').then(response => {\r\n if (response.data) {\r\n this.adminFeeAndFrequency = response.data;\r\n resolve(this.adminFeeAndFrequency);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetStandardUserList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.standardUserSelectList && this.standardUserSelectList.length > 0) {\r\n resolve(this.standardUserSelectList);\r\n }\r\n else {\r\n apiService.sendGetRequest('User', 'StandardUsersSelectList').then(response => {\r\n if (response.data) {\r\n this.standardUserSelectList = response.data;\r\n resolve(this.standardUserSelectList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetStandardUsersAndTenantAdminsList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.standardUsersAndTenantAdminsSelectList && this.standardUsersAndTenantAdminsSelectList.length > 0) {\r\n resolve(this.standardUsersAndTenantAdminsSelectList);\r\n }\r\n else {\r\n apiService.sendGetRequest('User', 'StandardUsersAndTenantAdminsSelectList').then(response => {\r\n if (response.data) {\r\n this.standardUsersAndTenantAdminsSelectList = response.data;\r\n resolve(this.standardUsersAndTenantAdminsSelectList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetGSTCalculationPeriodList(clearCache: boolean = false): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.GSTCalculationPeriodList && this.GSTCalculationPeriodList.length > 0 && !clearCache) {\r\n resolve(this.GSTCalculationPeriodList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Finance', 'GSTCalculationPeriodList').then(response => {\r\n if (response.data) {\r\n this.GSTCalculationPeriodList = response.data;\r\n resolve(this.GSTCalculationPeriodList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetClientStatusList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.clientStatusList && this.clientStatusList.length > 0) {\r\n resolve(this.clientStatusList);\r\n }\r\n else {\r\n this.GetClientStatusListAndStatusSearchList().then(data => {\r\n this.clientStatusList = data[0];\r\n resolve(this.clientStatusList);\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetClientStatusSearchList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.clientStatusSearchList && this.clientStatusSearchList.length > 0) {\r\n resolve(this.clientStatusSearchList);\r\n }\r\n else {\r\n this.GetClientStatusListAndStatusSearchList().then(data => {\r\n this.clientStatusSearchList = data[1];\r\n resolve(this.clientStatusSearchList);\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetClientStatusListAndStatusSearchList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n apiService.sendGetRequest('Client', 'ClientStatusList').then(response => {\r\n if (response.data) {\r\n this.clientStatusSearchList = response.data;\r\n this.clientStatusList = response.data.slice();\r\n var indexOfDeletedStatus = ClientStatuses.Deleted - 1;\r\n this.clientStatusList.splice(indexOfDeletedStatus, 1);\r\n resolve([this.clientStatusList, this.clientStatusSearchList]);\r\n }\r\n });\r\n });\r\n }\r\n\r\n GetVehicleConditionTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.vehicleConditionTypes && this.vehicleConditionTypes.length > 0) {\r\n resolve(this.vehicleConditionTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('Vehicle', 'VehicleConditionTypes').then(response => {\r\n if (response.data) {\r\n this.vehicleConditionTypes = response.data;\r\n resolve(this.vehicleConditionTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetVehicleTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.vehicleTypes && this.vehicleTypes.length > 0) {\r\n resolve(this.vehicleTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('Vehicle', 'VehicleTypes').then(response => {\r\n if (response.data) {\r\n this.vehicleTypes = response.data;\r\n resolve(this.vehicleTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetVehicleBodyTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.vehicleBodyTypes && this.vehicleBodyTypes.length > 0) {\r\n resolve(this.vehicleBodyTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('Vehicle', 'VehicleBodyTypes').then(response => {\r\n if (response.data) {\r\n this.vehicleBodyTypes = response.data;\r\n resolve(this.vehicleBodyTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetVehicleTransmissionTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.vehicleTransmissionTypes && this.vehicleTransmissionTypes.length > 0) {\r\n resolve(this.vehicleTransmissionTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('Vehicle', 'VehicleTransmissionTypes').then(response => {\r\n if (response.data) {\r\n this.vehicleTransmissionTypes = response.data;\r\n resolve(this.vehicleTransmissionTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetVehicleFuelTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.vehicleFuelTypes && this.vehicleFuelTypes.length > 0) {\r\n resolve(this.vehicleFuelTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('Vehicle', 'VehicleFuelTypes').then(response => {\r\n if (response.data) {\r\n this.vehicleFuelTypes = response.data;\r\n resolve(this.vehicleFuelTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetVehicleColours(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.vehicleColours && this.vehicleColours.length > 0) {\r\n resolve(this.vehicleColours);\r\n }\r\n else {\r\n apiService.sendGetRequest('Vehicle', 'VehicleColours').then(response => {\r\n if (response.data) {\r\n this.vehicleColours = response.data;\r\n resolve(this.vehicleColours);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetClientApplicationTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.applicationTypesList && this.applicationTypesList.length > 0) {\r\n resolve(this.applicationTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Application', 'ApplicationTypes').then(response => {\r\n if (response.data) {\r\n this.applicationTypesList = response.data;\r\n resolve(this.applicationTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n GetNovationColours(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.novationColorList && Object.keys(this.novationColorList).length) {\r\n resolve(this.novationColorList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Utility', 'NovationColorList').then(response => {\r\n if (response.data) {\r\n this.novationColorList = response.data;\r\n resolve(this.novationColorList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetInvoiceStatusesList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.invoiceStatusesList && this.invoiceStatusesList.length > 0) {\r\n resolve(this.invoiceStatusesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Novation', 'InvoiceStatuses').then(response => {\r\n if (response.data) {\r\n this.invoiceStatusesList = response.data;\r\n resolve(this.invoiceStatusesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetCalendarMonths(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.calendarMonthsList && this.calendarMonthsList.length > 0) {\r\n resolve(this.calendarMonthsList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Novation', 'CalendarMonths').then(response => {\r\n if (response.data) {\r\n this.calendarMonthsList = response.data;\r\n resolve(this.calendarMonthsList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetVehicleSearchFilterTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.vehicleSearchFilterTypes && this.vehicleSearchFilterTypes.length > 0) {\r\n resolve(this.vehicleSearchFilterTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('Vehicle', 'VehicleSearchFilterTypes').then(response => {\r\n if (response.data) {\r\n this.vehicleSearchFilterTypes = response.data;\r\n resolve(this.vehicleSearchFilterTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetFBTMethodList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.fbtMethodList && this.fbtMethodList.length > 0) {\r\n resolve(this.fbtMethodList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Novation', 'FBTMethodsList').then(response => {\r\n if (response.data) {\r\n this.fbtMethodList = response.data;\r\n resolve(this.fbtMethodList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetReportTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.reportTypesList && this.reportTypesList.length > 0) {\r\n resolve(this.reportTypesList);\r\n }\r\n else {\r\n apiService.sendGetRequest('TemplatedReportConfiguration', 'TemplatedReportConfigurations').then(response => {\r\n if (response.data) {\r\n var reportTypes = response.data;\r\n this.reportTypesList = reportTypes.map(a => {\r\n var reportData = {\r\n text: a.reportType,\r\n value: a.id,\r\n }\r\n return reportData;\r\n });\r\n resolve(this.reportTypesList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetMonthlyRepayments(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.monthlyRepayments && this.monthlyRepayments.length > 0) {\r\n resolve(this.monthlyRepayments);\r\n }\r\n else {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'MonthlyRepayments').then(response => {\r\n if (response.data) {\r\n this.monthlyRepayments = response.data;\r\n resolve(this.monthlyRepayments);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetMonthlyExpenses(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.monthlyExpenses && this.monthlyExpenses.length > 0) {\r\n resolve(this.monthlyExpenses);\r\n }\r\n else {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'MonthlyExpenses').then(response => {\r\n if (response.data) {\r\n this.monthlyExpenses = response.data;\r\n resolve(this.monthlyExpenses);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n GetAssetsCategories(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.assetsCategories && this.assetsCategories.length > 0) {\r\n resolve(this.assetsCategories);\r\n }\r\n else {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'AssetsCategories').then(response => {\r\n if (response.data) {\r\n this.assetsCategories = response.data;\r\n resolve(this.assetsCategories);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetClientAddressTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.clientAddressTypes && this.clientAddressTypes.length > 0) {\r\n resolve(this.clientAddressTypes);\r\n } else {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'ClientAddressTypes').then(response => {\r\n if (response.data) {\r\n this.clientAddressTypes = response.data;\r\n resolve(this.clientAddressTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetVehicleStatusList(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.vehicleStatusList && this.vehicleStatusList.length > 0) {\r\n resolve(this.vehicleStatusList);\r\n }\r\n else {\r\n apiService.sendGetRequest('Vehicle', 'VehicleStatusList').then(response => {\r\n if (response.data) {\r\n this.vehicleStatusList = response.data;\r\n resolve(this.vehicleStatusList);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n GetEmploymentTypes(): Promise {\r\n return new Promise((resolve, reject) => {\r\n if (this.employmentTypes && this.employmentTypes.length > 0) {\r\n resolve(this.employmentTypes);\r\n }\r\n else {\r\n apiService.sendGetRequest('ClientFinanceApplication', 'EmploymentTypes').then(response => {\r\n if (response.data) {\r\n this.employmentTypes = response.data;\r\n resolve(this.employmentTypes);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n}\r\n\r\nconst lookupService = new LookUpService();\r\nexport default lookupService;\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { ClientStatuses } from '@/shared/enums/clientStatuses.enum';\nimport { AllowedStatusFilterSelectModes, InitialClientStatusFilterSelectModes } from '@/shared/enums/initialClientStatusFilterSelectModes.enum';\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\nimport Filtrations from '@/shared/filtrations';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport lookupService from '@/shared/services/lookupService';\nimport { Component, Emit, Prop, Vue, Watch } from 'vue-property-decorator';\n\n @Component({})\n export default class ClientStatusSelectList extends Vue{\n @Prop() viewMode:any;\n @Prop({ default: InitialClientStatusFilterSelectModes.OnlyActive}) initialClientStatusFilterMode: InitialClientStatusFilterSelectModes;\n @Prop({ default: AllowedStatusFilterSelectModes.All}) allowedStatusFilterSelectMode: AllowedStatusFilterSelectModes;\n isPanelOpen:boolean = false;\n selectedClientStatusFilterList: any[] = [];\n selectedClientStatusFilterIdList: any;\n normalMode:ClientsListViewModes = ClientsListViewModes.Normal;\n modalMode:ClientsListViewModes = ClientsListViewModes.ModalMode;\n globalSearchMode:ClientsListViewModes = ClientsListViewModes.GlobalSearchMode;\n clientStatusFilterList: any[] = [];\n initialClientStatusFilterSelectList: any[] = [];\n\n @Watch('viewMode')\n onViewModeChanged() {\n this.loadClientFilterList(); \n }\n \n mounted() {\n this.loadInitialDetails()\n }\n\n loadInitialDetails() {\n if(this.viewMode){\n this.loadClientFilterList(); \n }\n this.setInitialClientStatusSelectFilters();\n }\n\n setInitialClientStatusSelectFilters(){\n switch(this.initialClientStatusFilterMode){\n case InitialClientStatusFilterSelectModes.OnlyActive:\n this.initialClientStatusFilterSelectList.push(ClientStatuses.Active);\n break;\n case InitialClientStatusFilterSelectModes.All:\n this.initialClientStatusFilterSelectList.push(ClientStatuses.Active,ClientStatuses.Prospect, ClientStatuses.Finance,\n ClientStatuses.Inactive, ClientStatuses.Deleted)\n }\n }\n\n loadClientFilterList() {\n this.$store.dispatch('storeIsBusyValue',true);\n this.selectedClientStatusFilterList = [];\n if (this.viewMode == this.normalMode) {\n lookupService.GetClientStatusSearchList().then(data => \n { \n this.$store.dispatch('storeIsBusyValue',false);\n this.setAllowedStatusFilters(data);\n let userChanged = false;\n let clientStatuses = Object.keys(this.$route.query).length > 0 ? this.$route.query[Filtrations.CLIENT_STATUSES] : null;\n if(clientStatuses && clientStatuses.length > 0 && fieldValidations.isValidCommaSeparatedNumberList(clientStatuses)){\n let queryStatusStrIds = String(clientStatuses).split(',');\n let expStatus = 0;\n queryStatusStrIds.forEach(status => {\n expStatus = data.find(element => element.value == +status);\n if(expStatus != null){\n this.selectedClientStatusFilterList.push(expStatus);\n }\n });\n userChanged = this.selectedClientStatusFilterList.length != 1 || !this.selectedClientStatusFilterList.map((status) => status.value).includes(ClientStatuses.Active);\n } else {\n this.selectedClientStatusFilterList = data.filter(obj => this.initialClientStatusFilterSelectList.includes(obj.value));\n }\n\n this.selectedClientStatusFilterIdList = this.selectedClientStatusFilterList.map(status => status.value).toString();\n this.clientStatusChanged(this.selectedClientStatusFilterIdList, userChanged);\n });\n } else {\n lookupService.GetClientStatusList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.setAllowedStatusFilters(data);\n this.selectedClientStatusFilterList = data.filter(obj => this.initialClientStatusFilterSelectList.includes(obj.value));\n this.selectedClientStatusFilterIdList = this.selectedClientStatusFilterList.map(status => status.value).toString();\n this.clientStatusChanged(this.selectedClientStatusFilterIdList, false);\n });\n }\n }\n\n setAllowedStatusFilters(filterList: any[]){\n this.clientStatusFilterList = this.allowedStatusFilterSelectMode === AllowedStatusFilterSelectModes.OnlyActive ? \n filterList.filter(s => s.value === ClientStatuses.Active) : filterList;\n }\n\n onClientStatusChanged() {\n this.isPanelOpen = false;\n this.selectedClientStatusFilterIdList = this.selectedClientStatusFilterList.map(status => status.value).toString();\n this.clientStatusChanged(this.selectedClientStatusFilterIdList, true);\n }\n\n removeSelectedClientStatusList() {\n this.selectedClientStatusFilterList = [];\n this.selectedClientStatusFilterIdList = [0];\n if(!this.isPanelOpen){\n this.clientStatusChanged(this.selectedClientStatusFilterIdList, true);\n }\n }\n\n resetActiveFilter(){\n this.selectedClientStatusFilterList = this.clientStatusFilterList.filter(obj => this.initialClientStatusFilterSelectList.includes(obj.value));\n this.selectedClientStatusFilterIdList = this.selectedClientStatusFilterList.map(status => status.value).toString();\n this.clientStatusChanged(this.selectedClientStatusFilterIdList,false);\n }\n\n selectAllActiveFilters(){\n this.selectedClientStatusFilterList = this.clientStatusFilterList.filter(obj => obj.value != ClientStatuses.Deleted);\n this.selectedClientStatusFilterIdList = this.selectedClientStatusFilterList.map(status => status.value).toString();\n this.clientStatusChanged(this.selectedClientStatusFilterIdList,true);\n }\n\n @Emit('onClientStatusChanged') clientStatusChanged(statusFilter:any[], userChange: boolean){}\n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientStatusSelectList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientStatusSelectList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientStatusSelectList.vue?vue&type=template&id=7ec54102\"\nimport script from \"./ClientStatusSelectList.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientStatusSelectList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop, Watch } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport { ClientStatusMultiSelectFilterParams } from '@/models/tableFilterParams.model';\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport ClientsListActionButtons from './ClientListActionButtons.vue';\nimport EditClientLink from '@/components/admin/clientManagement/EditClientLink.vue';\nimport ClientStatusSelectList from '@/components/admin/clientManagement/ClientStatusSelectList.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\nimport Filtrations from '@/shared/filtrations';\nimport { AllowedStatusFilterSelectModes } from '@/shared/enums/initialClientStatusFilterSelectModes.enum';\n\n@Component\n(\n {\n components: {\n DataTable,\n ClientsListActionButtons,\n EditClientLink,\n FilterTextInput,\n ClientStatusSelectList\n }\n }\n)\nexport default class ClientsList extends Vue{\n @Prop() viewMode:any;\n @Prop({ default: AllowedStatusFilterSelectModes.All}) allowedStatusFilterSelectMode: AllowedStatusFilterSelectModes;\n @Watch('viewMode')\n onViewModeChanged(val: any, oldVal: any)\n {\n this.localViewMode = val; \n }\n items:any = [];\n fields = [\n {key: 'crn', label: \"CRN\", class:'width_5'},\n {key: 'firstName',sortable:'true',class:'width_20'},\n {key: 'lastName',sortable:'true',class:'width_20'},\n {key: 'email',sortable:'true',class:'width_20'},\n {key:'mobilePhone',class:'width_10'},\n {key: 'statusDes',label: \"Status\",class:'width_10'},\n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n customTemplateList:Array = [\n {slot:\"firstName\",customTemplate:EditClientLink},\n {slot:\"actions\",customTemplate:ClientsListActionButtons}\n ]\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"firstName\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = false;\n isAddButtonDisabled:boolean = true;\n selectMode = \"single\";\n isPanelOpen:boolean = false;\n normalMode:ClientsListViewModes = ClientsListViewModes.Normal;\n modalMode:ClientsListViewModes = ClientsListViewModes.ModalMode;\n globalSearchMode:ClientsListViewModes = ClientsListViewModes.GlobalSearchMode;\n localViewMode:ClientsListViewModes = ClientsListViewModes.Normal;\n selectedClientStatusFilterList: any[] = [];\n selectedClientStatusFilterIdList: any[];\n clientStatusFilterList: any[] = [];\n resetButtonDisabled:boolean = true;\n\n mounted(){\n if(this.viewMode){\n this.localViewMode = this.viewMode;\n } \n if(this.localViewMode == this.normalMode && Object.keys(this.$route.query).length > 0){\n this.validateAndAssignQueryParams();\n }\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n\n onSortingChange(ctx:any){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n\n onClientStatusChanged(statusFilter:any[], userChange:boolean) {\n this.resetButtonDisabled = !userChange && (this.filter == \"\");\n this.selectedClientStatusFilterIdList = statusFilter;\n this.updateURL();\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n \n refreshGrid(clientStatusMultiSelectFilterParams:ClientStatusMultiSelectFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Client\",\"ClientList\",clientStatusMultiSelectFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.isAddButtonDisabled = !(this.filter && this.filter.length>2) && this.totalRows>AppSettings.defaultGridSize;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n resetSelectedClientStatusList() {\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n (this.$refs.clientStatusList as ClientStatusSelectList).resetActiveFilter();\n }\n\n navigateToAddClient(){\n var rawLocation = {name:'Add Client',params:{id:\"0\",routerDisplayName:\"personal\"}}\n this.$router.push(rawLocation);\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.clientsTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.clientsTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onDeleteClient(data.id);\n }\n if(type == DataTableActionTypes.Select){\n this.onSelectClient(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n if(data.isActive) {\n this.onViewClient(data);\n }\n }\n }\n \n @Emit('onSelectClient') onSelectClient(data:any){}\n \n onViewClient(data:any){\n if(this.localViewMode == this.normalMode){\n var queryData = {};\n if (String(this.selectedClientStatusFilterIdList) != '') {\n queryData[Filtrations.CLIENT_STATUSES] = String(this.selectedClientStatusFilterIdList);\n }\n if (this.filter != \"\") {\n queryData[Filtrations.CLIENT_FILTER] = this.filter;\n }\n this.$router.push({ name: 'Edit Client', params: { id: data.id, topRouteDisplayName:'profile', routerDisplayName:'personal'}, query: queryData});\n }\n if(this.localViewMode == this.globalSearchMode){\n let routeData = this.$router.resolve({ name: 'Edit Client', params: { id: data.id, topRouteDisplayName:'profile', routerDisplayName:'personal'}});\n window.open(routeData.href, '_self');\n }\n }\n\n onDeleteClient(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"Client\", \"Client\", { id:id }).then(\n response => {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.clientsTable as DataTable).resetLastCustomAction();\n }) \n }\n\n filterGrid(filterString:string){\n this.filter = filterString;\n this.resetButtonDisabled = false;\n this.resetTable();\n (this.$refs.clientStatusList as ClientStatusSelectList).selectAllActiveFilters();\n this.updateURL()\n }\n\n resetTable(){\n this.sortBy = \"firstName\";\n (this.$refs.clientsTable as DataTable).reset();\n }\n\n trClass(item,type){\n if(!item.isActive){\n return 'tr-row-non-selectable';\n }\n }\n \n validateAndAssignQueryParams(){\n let clientFilter = this.$route.query[Filtrations.CLIENT_FILTER];\n this.filter = clientFilter ? String(clientFilter) : \"\";\n this.$nextTick(()=>{\n (this.$refs.filterTextInput as FilterTextInput).filter = clientFilter ? String(clientFilter) : \"\"\n });\n } \n \n updateURL(){\n if(this.localViewMode == this.normalMode){\n let qp = new URLSearchParams();\n if(String(this.selectedClientStatusFilterIdList) != '') {\n qp.set(Filtrations.CLIENT_STATUSES, String(this.selectedClientStatusFilterIdList));\n }\n if(this.filter != \"\") {\n qp.set(Filtrations.CLIENT_FILTER, this.filter);\n }\n history.replaceState(null, null, \"?\"+qp.toString());\n }\n } \n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientsList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientsList.vue?vue&type=template&id=1f2637ca\"\nimport script from \"./ClientsList.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientsList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientsList.vue?vue&type=style&index=0&id=1f2637ca&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showPreviewController),expression:\"!showPreviewController\"}],staticClass:\"uploader\",class:{ dragging: _vm.isDragging },on:{\"dragenter\":_vm.OnDragEnter,\"dragleave\":_vm.OnDragLeave,\"dragover\":function($event){$event.preventDefault();},\"drop\":_vm.onDropDocument}},[(_vm.uploaderEnabled && !_vm.isMaxFilesExceed)?_c('div',{staticClass:\"drag-and-drop-uploader responsive-width\",class:{ 'drag-drop-client-application':_vm.relatedTable == _vm.clientFinanceApplicationRelatedTable, dragging: _vm.isDragging, 'requiredFieldIndicator':_vm.isFileMandatory && _vm.documentList.length == 0 && _vm.clientFinanceApplicationRelatedTable != _vm.relatedTable},on:{\"dragenter\":_vm.OnDragEnter,\"dragleave\":_vm.OnDragLeave,\"dragover\":function($event){$event.preventDefault();},\"drop\":_vm.onDropDocument}},[_c('b-row',{staticClass:\"justify-content-md-center\",attrs:{\"align-v\":\"center\"}},[_c('b-col',{class:{'client-application-color': _vm.relatedTable == _vm.clientFinanceApplicationRelatedTable},attrs:{\"sm\":\"5\",\"lg\":\"3\",\"md\":\"auto\"}},[_c('i',{staticClass:\"fas fa-cloud-upload-alt\"}),_c('p',[_vm._v(\"Drag your \"+_vm._s(_vm.multipleAllowed? \"files\":\"file\")+\" here\")])]),_c('b-col',{class:{'client-application-color': _vm.relatedTable == _vm.clientFinanceApplicationRelatedTable},attrs:{\"cols\":\"12\",\"sm\":\"auto\",\"md\":\"auto\",\"lg\":\"auto\"}},[_vm._v(\"\\n OR\\n \")]),_c('b-col',{attrs:{\"col\":\"\",\"sm\":\"4\",\"md\":\"4\",\"lg\":\"2\"}},[_c('div',{staticClass:\"file-input\"},[_c('label',{attrs:{\"for\":_vm.uploaderIdentifier + _vm.index}},[_vm._v(\"Select file\"+_vm._s(_vm.multipleAllowed?\"(s)\":\"\"))]),_c('input',{key:_vm.uploaderIdentifier + _vm.index,attrs:{\"type\":\"file\",\"id\":_vm.uploaderIdentifier + _vm.index,\"accept\":_vm.accept,\"multiple\":_vm.multipleAllowed},on:{\"click\":_vm.onInputClick,\"change\":_vm.onInputChange}})])])],1)],1):_vm._e()]),(_vm.isAnyDocumentAvailable && _vm.showDocumentGrid)?_c('table',{class:_vm.uploaderEnabled ? 'files-table mt-3' : 'files-table-read-only mt-3'},[_c('tr',[_c('th',[_vm._v(\"File Name\")]),(_vm.filteredDocumentTypes.length != 1)?_c('th',{staticClass:\"width_30\"},[_vm._v(\"Document Type\")]):_vm._e(),_c('th',{class:_vm.filteredDocumentTypes.length != 1 ? 'width_15' : 'width_20'},[_vm._v(\"Uploaded By\")]),_c('th',{staticClass:\"width_17\"},[_vm._v(\"Uploaded Date\")]),_c('th',{staticClass:\"width_6\"})]),_vm._l((_vm.documentList),function(file,index){return _c('tr',{key:index},[_c('td',[_c('span',{staticClass:\"edit-link\",on:{\"click\":function($event){return _vm.onPreviewDocument(_vm.documentList[index])}}},[_vm._v(_vm._s(_vm.documentList[index].fileName))])]),(_vm.filteredDocumentTypes.length != 1)?_c('td',[(_vm.uploaderEnabled && !_vm.documentList[index].locked)?_c('div',[_c('b-form-group',{staticClass:\"vertical-center\",attrs:{\"label-for\":\"documentType\",\"center\":\"\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{ 'requiredField': (_vm.documentList[index].fileType == 0 ) },attrs:{\"id\":\"documentType\",\"plain\":true,\"options\":_vm.docTypes,\"required\":\"\",\"disabled\":!(_vm.uploaderEnabled)},on:{\"change\":function($event){return _vm.onChangeDocumentType(_vm.documentList[index])}},model:{value:(_vm.documentList[index].fileType),callback:function ($$v) {_vm.$set(_vm.documentList[index], \"fileType\", $$v)},expression:\"documentList[index].fileType\"}},[(_vm.selectedDocType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1):_vm._e(),(!_vm.uploaderEnabled || _vm.documentList[index].locked)?_c('div',[_c('span',[_vm._v(_vm._s(_vm.setNewDocumentTypeByID(_vm.documentList[index].fileType)))])]):_vm._e()]):_vm._e(),_c('td',[_vm._v(_vm._s(_vm.documentList[index].createdByUserName))]),_c('td',[_vm._v(_vm._s(_vm.formatDate(_vm.documentList[index].createdOnUtc)))]),_c('td',[_c('span',{staticStyle:{\"text-align\":\"center\",\"vertical-align\":\"middle\"}},[(_vm.uploaderEnabled || _vm.isDocumentDownloadButtonEnabled)?_c('span',{staticStyle:{\"cursor\":\"pointer\"},attrs:{\"title\":\"Download Document\"},on:{\"click\":function($event){return _vm.onDownloadDocument(_vm.documentList[index])}}},[_c('i',{staticClass:\"fas fa-download download-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),_vm._v(\"\\n  \\n \"),(_vm.uploaderEnabled && !_vm.documentList[index].locked)?_c('span',{staticStyle:{\"cursor\":\"pointer\"},attrs:{\"title\":\"Delete Document\"},on:{\"click\":function($event){return _vm.OpenDeleteConfirmation(index, _vm.documentList[index])}}},[_c('i',{staticClass:\"fas fa-trash-alt fa-sm delete-button\"})]):_vm._e()])])])})],2):_vm._e(),_c('br'),(_vm.isMaxFilesExceed)?_c('b-row',{staticClass:\"mb-1\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\",\"cols\":\"12\"}},[_c('b-jumbotron',{staticClass:\"errorJumbotron\"},[_c('template',{slot:\"lead\"},[_c('p',{staticClass:\"pl-1 text-nowrap\"},[_vm._v(\" \\n \"+_vm._s(_vm.noOfFilesAllowedToUploadText)+\"\\n \")])])],2)],1)],1):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showPreviewController),expression:\"showPreviewController\"}]},[_c('DocumentPreviewControl',{attrs:{\"docPreviewFileName\":_vm.docPreviewFileName,\"docPreviewURL\":_vm.docPreviewURL},on:{\"onCloseDocumentPreviewControl\":_vm.closeDocumentPreviewControl}})],1),(_vm.showDeleteConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteDocumentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text wrap-text\"},[_vm._v(\"\\n Are you sure you want to delete the document?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteDocumentConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteDocumentConf_OkButton\"},on:{\"click\":function($event){return _vm.OnClickDeleteFile(_vm.deletingDocIndex,_vm.deletingDoc)}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","class FileViewerService {\r\n \r\n PreviewDocument(fileContent:string,fileName:string,fileExtention:string,appendExtention:boolean)\r\n {\r\n if(fileExtention == \"pdf\")\r\n {\r\n this.ViewPDF(fileContent,fileName);\r\n }\r\n else \r\n {\r\n this.PreViewImage(fileContent,fileName,fileExtention,appendExtention);\r\n }\r\n }\r\n GetURLToPreviewDocument(fileContent:string,fileName:string,fileExtention:string,appendExtention:boolean):any\r\n {\r\n\r\n if(fileExtention == \"pdf\")\r\n {\r\n var pdfURL = this.GetViewPDFUrl(fileContent,fileName);\r\n return pdfURL;\r\n }\r\n else \r\n {\r\n var imgURL = this.GetPreviewImageUrl(fileContent,fileName,fileExtention,appendExtention);\r\n return imgURL;\r\n }\r\n }\r\n\r\n PreViewImage(fileContent:string,fileName:string,fileExtention:string,appendExtention:boolean){\r\n fileName = appendExtention ? fileName + fileExtention : fileName;\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {//Edge Browser\r\n var byteCharacters = atob(fileContent);\r\n var byteNumbers = new Array(byteCharacters.length);\r\n for (var i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n var byteArray = new Uint8Array(byteNumbers);\r\n var blob = new Blob([byteArray], {\r\n type: 'image/'+fileExtention\r\n });\r\n window.navigator.msSaveOrOpenBlob(blob, fileName);\r\n } else //other browsers - chrome, firefox\r\n {\r\n var newWindow = window.open(\"\", '_blank');\r\n newWindow.document.write(\"\");\r\n }\r\n }\r\n GetPreviewImageUrl(fileContent:string,fileName:string,fileExtention:string,appendExtention:boolean) : any{\r\n fileName = appendExtention ? fileName + fileExtention : fileName;\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {//Edge Browser\r\n var byteCharacters = atob(fileContent);\r\n var byteNumbers = new Array(byteCharacters.length);\r\n for (var i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n var byteArray = new Uint8Array(byteNumbers);\r\n var blob = new Blob([byteArray], {\r\n type: 'image/'+fileExtention\r\n });\r\n window.navigator.msSaveOrOpenBlob(blob, fileName);\r\n } else //other browsers - chrome, firefox\r\n {\r\n var documentUrl = \"data:image/\"+fileExtention+\";base64, \"+ encodeURI(fileContent);\r\n return documentUrl;\r\n }\r\n }\r\n\r\n ViewPDF(fileContent:string,fileName:string){\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {//Edge Browser\r\n var byteCharacters = atob(fileContent);\r\n var byteNumbers = new Array(byteCharacters.length);\r\n for (var i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n var byteArray = new Uint8Array(byteNumbers);\r\n var blob = new Blob([byteArray], {\r\n type: 'application/pdf'\r\n });\r\n window.navigator.msSaveOrOpenBlob(blob, fileName);\r\n } else //other browsers - chrome, firefox\r\n {\r\n var newWindow = window.open(\"\", '_blank');\r\n newWindow.document.write(\"\");\r\n }\r\n }\r\n GetViewPDFUrl(fileContent:string,fileName:string) : any\r\n {\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) \r\n { //Edge Browser\r\n var byteCharacters = atob(fileContent);\r\n var byteNumbers = new Array(byteCharacters.length);\r\n for (var i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n var byteArray = new Uint8Array(byteNumbers);\r\n var blob = new Blob([byteArray], {\r\n type: 'application/pdf'\r\n });\r\n window.navigator.msSaveOrOpenBlob(blob, fileName);\r\n } \r\n else //other browsers - chrome, firefox\r\n {\r\n var documentUrl = 'data:application/pdf;base64, ' + encodeURI(fileContent) ;\r\n return documentUrl;\r\n }\r\n }\r\n\r\n PreviewDocumentByFile(doc:any)\r\n {\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) { //Edge Browser\r\n var blob = new Blob([doc.file], {\r\n type: doc.file.type\r\n });\r\n window.navigator.msSaveOrOpenBlob(blob, doc.file.name);\r\n } else //other browsers - chrome, firefox\r\n {\r\n var newWindow = window.open(\"\", '_blank');\r\n newWindow.document.write(\"\");\r\n }\r\n }\r\n GetPreviewDocumentByFile(doc:any):any\r\n {\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) { //Edge Browser\r\n var blob = new Blob([doc.file], {\r\n type: doc.file.type\r\n });\r\n window.navigator.msSaveOrOpenBlob(blob, doc.file.name);\r\n } else //other browsers - chrome, firefox\r\n {\r\n var documentUrl = URL.createObjectURL(doc.file) ;\r\n return documentUrl; \r\n }\r\n }\r\n\r\n\r\n\r\n DownloadDocument(fileContent:string,fileName:string,fileExtention:string,appendExtention:boolean){\r\n fileName = appendExtention ? fileName + fileExtention : fileName;\r\n var byteCharacters = atob(fileContent);\r\n var byteNumbers = new Array(byteCharacters.length);\r\n for (var i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n var byteArray = new Uint8Array(byteNumbers);\r\n var blob = new Blob([byteArray]); \r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {//Edge Browser\r\n window.navigator.msSaveOrOpenBlob(blob, fileName);\r\n } \r\n else //other browsers - chrome, firefox\r\n { \r\n const data = window.URL.createObjectURL(blob);\r\n var link = document.createElement('a');\r\n link.href = data;\r\n link.download=fileName;\r\n link.dispatchEvent(new MouseEvent('click', {bubbles: true, cancelable: true, view: window}));\r\n }\r\n }\r\n\r\n DownloadDocumentByLink(docLink:string){\r\n var link = document.createElement('a');\r\n link.href = docLink;\r\n link.dispatchEvent(new MouseEvent('click', {bubbles: true, cancelable: true, view: window}));\r\n }\r\n\r\n DownloadZipFile(fileContent:string,fileName:string,fileExtention:string,appendExtention:boolean){\r\n fileName = appendExtention ? fileName + fileExtention : fileName;\r\n var byteCharacters = atob(fileContent);\r\n var byteNumbers = new Array(byteCharacters.length);\r\n for (var i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n var byteArray = new Uint8Array(byteNumbers);\r\n var blob = new Blob([byteArray]); \r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {//Edge Browser\r\n window.navigator.msSaveOrOpenBlob(blob, fileName);\r\n } \r\n else //other browsers - chrome, firefox\r\n { \r\n var element = document.createElement('a');\r\n element.setAttribute('href', 'data:text/plain;base64,' + fileContent);\r\n element.setAttribute('download', fileName);\r\n\r\n element.style.display = 'none';\r\n document.body.appendChild(element);\r\n\r\n element.click();\r\n\r\n document.body.removeChild(element);\r\n }\r\n }\r\n DownloadDocumentByFile(doc:any)\r\n {\r\n var blob = new Blob([doc.file], {\r\n type: doc.file.type\r\n });\r\n if (window.navigator && window.navigator.msSaveOrOpenBlob) {//Edge Browser\r\n \r\n window.navigator.msSaveOrOpenBlob(blob, doc.file.name);\r\n } \r\n else //other browsers - chrome, firefox\r\n { \r\n const data = window.URL.createObjectURL(blob);\r\n var link = document.createElement('a');\r\n link.href = data;\r\n link.download=doc.file.name;\r\n link.dispatchEvent(new MouseEvent('click', {bubbles: true, cancelable: true, view: window}));\r\n }\r\n }\r\n}\r\n\r\nconst fileViewer = new FileViewerService();\r\nexport default fileViewer;\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"mb-1\"},[_c('b-col',{staticClass:\"mt-1\",attrs:{\"cols\":\"10\"}},[_c('p',[_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\"File Name : \")]),_vm._v(_vm._s(_vm.docPreviewFileName))])]),_c('b-col',[_c('b-btn',{staticClass:\"pull-right\",attrs:{\"id\":\"CloseDocumentPreviewControl\"},on:{\"click\":_vm.closeDocumentPreviewControl}},[_vm._v(\"Back\")])],1)],1),_c('div',{staticClass:\"iframe-container\"},[_c('iframe',{staticStyle:{\"-webkit-transform\":\"scale(1)\"},attrs:{\"src\":_vm.docPreviewURL}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Emit, Watch } from \"vue-property-decorator\";\r\n\r\n@Component({\r\n})\r\nexport default class DocumentPreviewControl extends Vue{\r\n @Prop() docPreviewURL: any;\r\n @Prop() docPreviewFileName: any;\r\n\r\n closeDocumentPreviewControl(){\r\n this.onCloseDocumentPreviewControl();\r\n }\r\n\r\n @Emit('onCloseDocumentPreviewControl') onCloseDocumentPreviewControl(){\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentPreviewControl.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentPreviewControl.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DocumentPreviewControl.vue?vue&type=template&id=5e7d874b&scoped=true\"\nimport script from \"./DocumentPreviewControl.vue?vue&type=script&lang=ts\"\nexport * from \"./DocumentPreviewControl.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DocumentPreviewControl.vue?vue&type=style&index=0&id=5e7d874b&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5e7d874b\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',{staticClass:\"mb-1\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\",\"cols\":\"12\"}},[_c('b-jumbotron',{staticClass:\"notesJumbotron\"},[_c('template',{slot:\"lead\"},[(!_vm.useSlotProps && !_vm.isIncludeDate)?_c('div',[_c('p',{staticClass:\"pl-1\"},[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(_vm._s(_vm.boldText)+\" \")]),_vm._v(\" \"+_vm._s(_vm.text1)+\" \"),(_vm.isDecimalValue)?_c('ApexCurrency',{attrs:{\"value\":_vm.amount}}):_vm._e()],1)]):_vm._e(),(!_vm.useSlotProps && _vm.isIncludeDate)?_c('div',[_c('p',{staticClass:\"pl-1\"},[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(\" \"+_vm._s(_vm.boldText)+\" \")]),_vm._v(\" \"+_vm._s(_vm.text1)+\" \"),(_vm.isDecimalValue)?_c('ApexCurrency',{attrs:{\"value\":_vm.amount}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.text2)+\" \"+_vm._s(_vm.formatDate())+\" \"+_vm._s(_vm.text3))],1)]):_vm._e(),(_vm.useSlotProps)?_c('div',[_c('span',{staticClass:\"pl-1\"},[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(_vm._s(_vm.boldText)+\" \")]),_vm._v(\" \"+_vm._s(_vm.text1)+\" \"),(_vm.isDecimalValue)?_c('ApexCurrency',{attrs:{\"value\":_vm.amount}}):_vm._e()],1),_vm._t(\"note-action-buttons\")],2):_vm._e()])],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { ApexDateFormat } from '@/filters/dateFilter';\n\n@Component\nexport default class SystemTextNotes extends Vue{\n @Prop() boldText:string;\n @Prop() text1:any;\n @Prop() text2:any;\n @Prop() text3:any;\n @Prop() isDecimalValue:boolean;\n @Prop() Date:any;\n @Prop() isIncludeDate:boolean;\n @Prop() amount:any;\n @Prop({default: false}) useSlotProps:boolean;\n\n formatDate()\n {\n if(this.isIncludeDate){\n return ApexDateFormat(this.Date)\n } \n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTextNotes.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemTextNotes.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SystemTextNotes.vue?vue&type=template&id=904548ea&scoped=true\"\nimport script from \"./SystemTextNotes.vue?vue&type=script&lang=ts\"\nexport * from \"./SystemTextNotes.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SystemTextNotes.vue?vue&type=style&index=0&id=904548ea&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"904548ea\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Emit, Watch } from \"vue-property-decorator\";\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport AppSettings from '@/app.config';\r\nimport {Document} from '@/models/document.model';\r\nimport moment from 'moment';\r\nimport blobService from '@/shared/services/azureBlobStorageService';\r\nimport { BlobContainerType } from '@/shared/enums/blobContainerTypes.enum';\r\nimport fileViewerService from '@/shared/services/fileViewerService';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport DocumentPreviewControl from '@/shared/components/documentPreviewControl/DocumentPreviewControl.vue';\r\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\n\r\n@Component({\r\n components:{\r\n Modal,\r\n DocumentPreviewControl,\r\n SystemTextNotes\r\n },\r\n filters:{\r\n fileSizeFilter(value:any){\r\n if(value){\r\n return (value/1024).toFixed(2);\r\n }\r\n }\r\n },\r\n})\r\nexport default class DragAndDropControl extends Vue{\r\n @Prop() accept:any;\r\n @Prop() relatedTable:RelatedTables;\r\n @Prop() relatedID:any;\r\n @Prop() index:number;\r\n @Prop() uploaderEnabled:boolean;\r\n @Prop() defaultDocType:any;\r\n @Prop() modalMode:boolean;\r\n @Prop() isFileMandatory: boolean;\r\n @Prop() isAcknowledgeEnabled: boolean;\r\n @Prop({default: ()=>([])}) filteredDocumentTypes:any;\r\n @Prop({default: 0}) filterByRelatedId:number;\r\n @Prop() currentDocumentCount:number;\r\n @Prop({default: false}) isDocumentDownloadButtonEnabled:boolean;\r\n @Prop({default: true}) showDocumentGrid:boolean;\r\n @Prop({ default:'file_uploader' }) uploaderIdentifier: string;\r\n @Prop({ default: true }) multipleAllowed: boolean;\r\n\r\n deletingDoc:any;\r\n deletingDocIndex:number;\r\n isDragging: boolean = false;\r\n dragCount: number = 0;\r\n dataURI: any = \"\";\r\n selectedDocType:number = 0;\r\n docTypes:any[] = [];\r\n documentList = [];\r\n isValidDocumentList : boolean = true;\r\n showDeleteConfirmation:boolean = false;\r\n showPreviewController:boolean = false;\r\n isMaximumFileReached:boolean = false;\r\n noOfFilesAllowedToUploadText:string =\"Only \" + AppSettings.maxFileUploadLimit.toString() + \" supporting documents are allowed.\"\r\n docPreviewFileName:any = \"\"\r\n docPreviewURL: any =\"\";\r\n clientFinanceApplicationRelatedTable:RelatedTables = RelatedTables.ClientFinanceApplication;\r\n\r\n @Watch('relatedID')\r\n onRelatedIDChanged(val: any, oldVal: any)\r\n {\r\n this.loadDocumentsList(); \r\n }\r\n @Watch('defaultDocType')\r\n ondocTypeChanged(val: any, oldVal: any)\r\n {\r\n if(val > 0)\r\n {\r\n this.selectedDocType = val;\r\n this.documentList.forEach(item => {\r\n if(!item.fileType || item.fileType == 0)\r\n item.fileType = this.selectedDocType;\r\n });\r\n }\r\n }\r\n\r\n @Watch('currentDocumentCount')\r\n onCurrentDocumentsCountChanged(val: any, oldVal: any)\r\n {\r\n if(this.filterByRelatedId > 0){\r\n this.loadDocTypes();\r\n }\r\n }\r\n\r\n created()\r\n {\r\n this.loadDocTypes();\r\n if(this.defaultDocType > 0){\r\n this.selectedDocType = this.defaultDocType;\r\n this.documentList.forEach(item => {\r\n if(!item.fileType || item.fileType == 0)\r\n item.fileType = this.selectedDocType;\r\n });\r\n }\r\n }\r\n mounted()\r\n {\r\n this.loadDocumentsList(); \r\n }\r\n onPreviewDocument(doc:any)\r\n {\r\n if(doc.id > 0)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Utility\",\"DownloadDocument\",{id:doc.id}).then(\r\n response =>{\r\n if(response.data.isSuccess)\r\n {\r\n this.docPreviewURL= fileViewerService.GetURLToPreviewDocument(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false); \r\n this.$nextTick(()=>{\r\n this.docPreviewFileName = doc.fileName;\r\n this.showPreviewController = true;\r\n })\r\n \r\n }\r\n else\r\n {\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n else \r\n {\r\n var doc = this.documentList[doc.index];\r\n if(doc != null){\r\n this.showPreviewController = true;\r\n this.docPreviewURL = fileViewerService.GetPreviewDocumentByFile(doc);\r\n this.docPreviewFileName = doc.fileName;\r\n } \r\n }\r\n }\r\n\r\n closeDocumentPreviewControl(){\r\n this.showPreviewController = false;\r\n }\r\n \r\n OpenDeleteConfirmation(index: number, document: any){\r\n this.deletingDoc=document;\r\n this.deletingDocIndex=index;\r\n this.showDeleteConfirmation=true;\r\n }\r\n onDownloadDocument(doc){\r\n if(doc.id > 0)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Utility\",\"DownloadDocument\",{id:doc.id}).then(\r\n response =>{\r\n if(response.data.isSuccess)\r\n {\r\n fileViewerService.DownloadDocument(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false);\r\n }\r\n else{\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }else \r\n {\r\n var doc = this.documentList[doc.index];\r\n if(doc != null){\r\n fileViewerService.DownloadDocumentByFile(doc);\r\n } \r\n }\r\n }\r\n\r\n // setNewDocumentType(claimCategory:string){\r\n // switch(claimCategory){\r\n // case \"Fuel/Petrol\":\r\n // this.selectedDocType=19;\r\n // break;\r\n // case \"Registration\":\r\n // this.selectedDocType=13;\r\n // break;\r\n // case \"CTPI\":\r\n // this.selectedDocType=22;\r\n // break;\r\n // case \"Insurance\":\r\n // this.selectedDocType=7;\r\n // break;\r\n // case \"Road Side Assistance\":\r\n // this.selectedDocType=20;\r\n // break;\r\n // case \"Washing/Detailing\":\r\n // this.selectedDocType=21;\r\n // break;\r\n // case \"Tyres\":\r\n // this.selectedDocType=23;\r\n // break;\r\n // case \"Repairs/Maintenance\":\r\n // this.selectedDocType=24;\r\n // break;\r\n // case \"Other\":\r\n // this.selectedDocType=17;\r\n // break;\r\n\r\n // }\r\n\r\n // if(this.selectedDocType > 0)\r\n // {\r\n // this.documentList.forEach(item => {\r\n // if(!item.fileType || item.fileType == 0)\r\n // item.fileType = this.selectedDocType;\r\n // });\r\n\r\n // }\r\n // }\r\n setNewDocumentTypeByID(docId:number):string{\r\n\r\n if(this.docTypes != null && this.docTypes.length > 0)\r\n {\r\n return this.docTypes.filter(obj => obj.value == docId)[0].text;\r\n }\r\n // switch(docId){\r\n // case 19:\r\n // return \"Fuel/Petrol\";\r\n // case 13:\r\n // return \"Registration\";\r\n // case 22:\r\n // return \"CTPI\";\r\n // case 7:\r\n // return \"Insurance\";\r\n // case 20:\r\n // return \"Road Side Assistance\";\r\n // case 21:\r\n // return \"Washing/Detailing\";\r\n // case 23:\r\n // return \"Tyres\";\r\n // case 24:\r\n // return \"Repairs/Maintenance\";\r\n // case 17:\r\n // return \"Other\";\r\n // }\r\n }\r\n formatDate(date:any):any{\r\n return moment(date).format(\"DD MMM YYYY\");\r\n }\r\n loadDocTypes()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {relatedTable:this.relatedTable, relatedId:this.filterByRelatedId};\r\n apiService.sendGetRequest('Utility','DocTypes',params).then( response=>{\r\n this.docTypes = response.data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n getDataURI(file:any):any{\r\n return URL.createObjectURL(file);\r\n }\r\n OnDragEnter(event){\r\n event.preventDefault();\r\n if(this.uploaderEnabled){\r\n this.dragCount++;\r\n this.isDragging=true;\r\n }\r\n \r\n }\r\n OnDragLeave(event){\r\n event.preventDefault();\r\n if(this.uploaderEnabled){\r\n this.dragCount--;\r\n if(this.dragCount <= 0 ){\r\n this.isDragging=false;\r\n }\r\n }\r\n }\r\n onInputClick(event){\r\n event.target.value = null;\r\n }\r\n onInputChange(event){\r\n const documents = event.target.files;\r\n if(this.isFileMandatory && event && event.target && event.target.files && (event.target.files.length + this.documentList.length) > AppSettings.maxFileUploadLimit){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: this.noOfFilesAllowedToUploadText,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n return;\r\n }\r\n Array.from(documents).forEach(document => {\r\n if(this.filesChange(document)){\r\n this.AddDocumentToList(document);\r\n } \r\n });\r\n }\r\n onDropDocument(event){\r\n event.preventDefault();\r\n this.dragCount=0;\r\n if(this.uploaderEnabled){\r\n event.stopPropagation();\r\n this.isDragging = false;\r\n const documents = event.dataTransfer.files;\r\n if(!this.multipleAllowed && this.isFileMandatory && event && event.dataTransfer && event.dataTransfer.files && (event.dataTransfer.files.length + this.documentList.length) > AppSettings.maxFileUploadLimit){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: this.noOfFilesAllowedToUploadText,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n return;\r\n }\r\n Array.from(documents).forEach(document => {\r\n if(this.filesChange(document)){\r\n this.AddDocumentToList(document);\r\n } \r\n });\r\n }\r\n \r\n }\r\n AddDocumentToList(file:any){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var newDoc : Document;\r\n blobService.getsasAndGuid(BlobContainerType.Private).then(response => {\r\n var docSas = response.data;\r\n var newDocument:Document = {\r\n id:0,\r\n fileName:file.name,\r\n relatedTable:this.relatedTable,\r\n relatedID:0,\r\n fileType:this.selectedDocType,\r\n guid:docSas.blobGuid,\r\n fileExtension:this.getFileExtension(file.name),\r\n uri:this.getDataURI(file),\r\n locked:false,\r\n concurrencyKey:\"\",\r\n createdByUserName:localStorage.loggedInUserName,\r\n lastUpdateByName:'',\r\n createdOnUtc:new Date(),\r\n lastUpdatedDate:new Date(),\r\n index:this.documentList.length,\r\n file:file,\r\n sasTokenProperties:docSas,\r\n mimeType:file.type\r\n };\r\n if(newDocument.fileType <= 1){\r\n this.documentList.push(newDocument);\r\n if(this.isAcknowledgeEnabled){\r\n this.onChangeDocument(DataTableActionTypes.Save);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n else{\r\n this.documentList.push(newDocument);\r\n if(this.relatedID <= 0){\r\n this.UpdateDocumentListInStore();\r\n if(this.isAcknowledgeEnabled){\r\n this.onChangeDocument(DataTableActionTypes.Save);\r\n }\r\n }\r\n else{\r\n this.UploadNewDocument(newDocument);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n \r\n this.onDocumentsAdded(newDocument);\r\n if(this.isFileMandatory && this.documentList.length >= AppSettings.maxFileUploadLimit){\r\n this.isMaximumFileReached = true;\r\n } else {\r\n this.isMaximumFileReached = false;\r\n }\r\n })\r\n }\r\n\r\n UpdateDocumentListInStore(){\r\n if(this.isValidDocuments()){\r\n this.$store.dispatch('updateDocumentsByIndex', { index: this.index, documents:this.documentList});\r\n }\r\n }\r\n getDocumentList()\r\n {\r\n return this.documentList;\r\n }\r\n getDocumentCount(){\r\n return this.documentList.length;\r\n }\r\n ClearDocumentList(){\r\n this.documentList = [];\r\n this.isMaximumFileReached = false;\r\n this.UpdateDocumentListInStore();\r\n }\r\n ClearDocumentListWithoutValidation(){\r\n this.documentList = [];\r\n this.isMaximumFileReached = false;\r\n this.$store.dispatch('updateDocumentsByIndex', { index: this.index, documents:this.documentList});\r\n }\r\n setDocumentList(){\r\n this.documentList= this.$store.getters.getDocumentsByIndex(this.index);\r\n }\r\n getFileExtension(fileName:string){\r\n var wordList = fileName.split(\".\");\r\n return wordList[wordList.length-1];\r\n }\r\n\r\n get isAnyDocumentAvailable() {\r\n return this.documentList.length > 0;\r\n }\r\n \r\n OnClickDeleteFile(index: number, document: any){\r\n if(this.relatedID <= 0){\r\n this.documentList.splice(index,1);\r\n this.UpdateDocumentListInStore();\r\n if(this.isAcknowledgeEnabled){\r\n this.onChangeDocument(DataTableActionTypes.Delete)\r\n }\r\n }\r\n else{\r\n if(document.id <=0){\r\n this.documentList.splice(index,1);\r\n if(this.isAcknowledgeEnabled){\r\n this.onChangeDocument(DataTableActionTypes.Delete)\r\n }\r\n }\r\n else{\r\n this.DeleteExistingDocumentList(document);\r\n } \r\n }\r\n this.showDeleteConfirmation = false;\r\n this.deletingDoc=[];\r\n this.deletingDocIndex=-1;\r\n if(this.isFileMandatory && this.documentList.length < AppSettings.maxFileUploadLimit){\r\n this.isMaximumFileReached = false;\r\n }\r\n }\r\n\r\n get isMaxFilesExceed(){\r\n return this.isFileMandatory && this.documentList.length >= AppSettings.maxFileUploadLimit;\r\n }\r\n\r\n DeleteExistingDocumentList(document:any){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n blobService.deleteFile(document.id).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n if(!this.isAcknowledgeEnabled){\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }else{\r\n this.onChangeDocument(DataTableActionTypes.Delete)\r\n }\r\n this.loadDocumentsList();\r\n }\r\n else{\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }) \r\n }\r\n filesChange(file:any):boolean{\r\n if(file && !this.validateFileTypes(file))\r\n {\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: file.name + \" could not be uploaded. Invalid file type.\",\r\n type: 'error',\r\n duration: 5000\r\n });\r\n return false;\r\n }\r\n else if(file && file.size < AppSettings.maxFileUploadSizeInMB*1024*1024){\r\n return true;\r\n }\r\n else{\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: \"Maximum file size is \"+ AppSettings.maxFileUploadSizeInMB + \"MB. \" + file.name +\" cannot be uploaded.\",\r\n type: 'error',\r\n duration: 3000\r\n });\r\n return false;\r\n }\r\n }\r\n validateFileTypes(file):boolean\r\n {\r\n if(this.accept == \"*\")\r\n {\r\n return true;\r\n }\r\n var acceptList = this.accept.split(',');\r\n\r\n if(this.accept.includes('.bal') && file.name.toLowerCase().includes('.bal'))\r\n {\r\n return true;\r\n }\r\n if(acceptList.includes('image/*') && file.type.includes('image') > 0)\r\n {\r\n return true;\r\n }\r\n\r\n var validCount = 0;\r\n acceptList.forEach(element => {\r\n if(file.type.includes(element.replace('.','')))\r\n {\r\n validCount++;\r\n }\r\n });\r\n\r\n return validCount > 0 ? true : false;\r\n }\r\n\r\n onChangeDocumentType(document:any){\r\n if(this.relatedID <= 0){\r\n this.UpdateDocumentListInStore();\r\n if(this.isAcknowledgeEnabled){\r\n this.onChangeDocument(DataTableActionTypes.Edit);\r\n }\r\n }\r\n else{\r\n if(document.id > 0){\r\n this.UpdateExistingDocument(document);\r\n }\r\n }\r\n \r\n }\r\n UpdateExistingDocument(document:any){\r\n apiService.sendPostRequest('Utility','Documents',document).then( response => {\r\n if(response.data.isSuccess){\r\n if(!this.isAcknowledgeEnabled){\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }else{\r\n this.onChangeDocument(DataTableActionTypes.Edit);\r\n }\r\n document.concurrencyKey = response.data.concurrencyKey;\r\n }\r\n else{\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n });\r\n }\r\n UploadNewDocument(document:Document){\r\n document.relatedID= this.relatedID;\r\n blobService.uploadFile(document.sasTokenProperties,document.file).then( response =>{\r\n var docParams = {\r\n fileName:document.fileName,\r\n fileType: document.fileType,\r\n guid: document.guid,\r\n fileExtension: document.fileExtension,\r\n uri: document.uri,\r\n relatedTable:this.relatedTable,\r\n relatedId:this.relatedID,\r\n locked:false,\r\n mimeType:document.file.type\r\n };\r\n apiService.sendPutRequest('Utility','Documents',docParams).then( response2 => {\r\n if(response2.data.isSuccess){\r\n if(!this.isAcknowledgeEnabled){\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response2.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }else{\r\n this.onChangeDocument(DataTableActionTypes.Save);\r\n }\r\n document.concurrencyKey = response2.data.concurrencyKey;\r\n document.id = response2.data.id;\r\n }\r\n else{\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response2.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n })\r\n }\r\n loadDocumentsList()\r\n {\r\n if(this.relatedID <= 0)\r\n {\r\n this.documentList = this.$store.getters.getDocumentsByIndex(this.index);\r\n this.UpdateDocumentListInStore();\r\n return;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {relatedTable:this.relatedTable, relatedID:this.relatedID};\r\n apiService.sendGetRequest('Utility','Documents',params).then( response=>{\r\n this.documentList = response.data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n isValidDocuments():boolean{\r\n this.isValidDocumentList = true;\r\n if(this.documentList && this.documentList.length > 0)\r\n {\r\n this.documentList.forEach(document =>{\r\n if(document.fileType == 0){\r\n this.isValidDocumentList = false;\r\n }\r\n });\r\n }\r\n else if(this.documentList.length == 0){\r\n this.isValidDocumentList = false;\r\n }\r\n\r\n return this.isValidDocumentList;\r\n }\r\n isValidDocumentsList():boolean{\r\n this.isValidDocumentList = true;\r\n if(this.documentList && this.documentList.length > 0)\r\n {\r\n this.documentList.forEach(document =>{\r\n if(document.fileType == 0){\r\n this.isValidDocumentList = false;\r\n }\r\n });\r\n }\r\n return this.isValidDocumentList;\r\n }\r\n\r\n @Emit('OnDocumentsAdded') onDocumentsAdded(docs:any){}\r\n\r\n @Emit('documentChangedEvent') onChangeDocument(type:DataTableActionTypes){ }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDropControl.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDropControl.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DragAndDropControl.vue?vue&type=template&id=5fb2ec7c&scoped=true\"\nimport script from \"./DragAndDropControl.vue?vue&type=script&lang=ts\"\nexport * from \"./DragAndDropControl.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DragAndDropControl.vue?vue&type=style&index=0&id=5fb2ec7c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5fb2ec7c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Prop, Vue} from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { DetailsModel } from '@/models/recurringScheduledPayment.model';\nimport { RecurringScheduledPaymentStates } from '@/shared/enums/recurringScheduledPaymentStates.enum';\nimport apiService from '@/shared/services/apiService';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport ClientsList from '@/components/admin/clientManagement/ClientsList.vue';\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport lookupService from '@/shared/services/lookupService';\nimport { ExpenseCategories } from '@/shared/enums/expenseClaims.enum';\nimport DragAndDropControl from '@/shared/components/dragAndDropControl/DragAndDropControl.vue';\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport moment from 'moment';\nimport { minValue, required } from 'vuelidate/lib/validators';\nimport { AllowedStatusFilterSelectModes } from '@/shared/enums/initialClientStatusFilterSelectModes.enum';\n\n@Component({\n components: {\n Modal,\n ClientsList,\n DragAndDropControl\n },\n mixins:[validationMixin],\n validations:\n {\n details:\n {\n clientId:{\n minValue: minValue(1),\n required\n },\n vehicleId:{\n minValue: minValue(1),\n required\n },\n reimburseToAccountId:{\n minValue: minValue(1),\n required\n },\n relatedEntityId:{\n required,\n minValue: minValue(1)\n },\n companyName:{\n required\n },\n categoryId : {\n required,\n minValue: minValue(1)\n },\n startDate:{\n required\n },\n endDateYearComponent:{\n required\n },\n endDateMonthComponent:{\n required\n },\n monthlyDueDate:{\n required,\n minValue:minValue(1),\n },\n gstInclusiveAmount:\n {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n gstAmount:\n {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n }\n }\n})\nexport default class RecurringScheduledPaymentDetails extends Vue{\n @Prop() clientsProp:any[];\n @Prop({default: 0}) clientId:number;\n @Prop({default: 0}) vehicleId:number;\n @Prop({default: \"\"}) clientName:string;\n @Prop({default: 0}) novationId:number;\n @Prop({default: 0}) reimburseToAccountId:number;\n @Prop({default: 0}) recurringScheduledPaymenDocumentsIndex:number;\n clients:any[] = [];\n isAdmin:boolean = false;\n isClient:boolean = false;\n showSelectClientModal:boolean = false;\n showDocumentRequirementModal:boolean = false;\n clientBankAccountsLoaded:boolean = false;\n stepNo:number = RecurringScheduledPaymentStates.Details; \n modalModeClientListView:ClientsListViewModes = ClientsListViewModes.ModalMode;\n recurringPaymentScheduleRelatedTable: RelatedTables = RelatedTables.RecurringPaymentSchedule;\n allowedStatusFilterSelectMode: AllowedStatusFilterSelectModes = AllowedStatusFilterSelectModes.OnlyActive;\n todayDateLocal:any = new Date();\n monthlyDueDates: number[] = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28];\n calendarMonths: number[] = [];\n vehicles:any[] = [];\n groupedRelatedEntityList:any = [];\n relatedEntityList:any = [];\n clientBankAccounts:any = [];\n categoryList:any = [];\n disabledStartDates: any = {from: null, to: null};\n disabledEndDates: any = {from: null, to: null};\n selectedRelatedEntity: any = null;\n selectedDocType:number = 0;\n gstRate: number = 0.1;\n validateRequiredField:boolean = false;\n supportingDocsAvailable:boolean = true;\n dirtyValidatorRefNo:number = 0;\n details:DetailsModel = {\n clientId:0,\n clientName: null,\n vehicleId:0,\n vehicleName:null,\n reimburseToAccountId:0,\n reimburseToAccountText:null,\n relatedEntityId:0,\n relatedEntityName:null,\n categoryId:0,\n categoryText:null,\n companyName:null,\n startDate:null,\n endDateYearComponent:null,\n endDateMonthComponent:null,\n monthlyDueDate:0,\n gstInclusiveAmount:null,\n gstAmount:null\n };\n isRecurringScheduledPaymentEnabled:boolean = true;\n \n created(){\n this.clients = this.clientsProp;\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n if (this.clientId > 0 || this.isClient){\n if (this.isClient){\n this.clients = [];\n this.details.clientId = this.$store.getters.getToken.relatedEntityId;\n this.details.clientName = `${this.$store.getters.getToken.firstName} ${this.$store.getters.getToken.lastName}`;\n }else{\n this.details.clientId = this.clientId;\n this.details.clientName = this.clientName;\n }\n this.onClientSelect({id: this.details.clientId});\n this.details.vehicleId = this.vehicleId;\n this.details.reimburseToAccountId = this.reimburseToAccountId;\n this.details.relatedEntityId = this.novationId;\n if (this.details.vehicleId > 0 && this.$store.getters.getRecurringScheduledPaymentStatus == this.stepNo){\n this.loadLatestVehicleNovations(this.details.vehicleId).then((res)=> {\n if (this.details.relatedEntityId > 0)\n {\n this.onChangeRelatedEntity();\n }\n });\n this.getActiveRecurringPaymentSchedulesByVehicleId(this.details.vehicleId);\n this.checkRecurringPaymentsEligibility(this.details.vehicleId);\n }\n }\n this.details.categoryId = ExpenseCategories.Insurance;\n this.setNewDocumentType(this.details.categoryId);\n this.loadCalendarMonths();\n this.loadCategoryLists();\n if(this.$store.getters.getRecurringScheduledPaymentStatus > this.stepNo){\n this.details = Object.assign({},this.$store.getters.getRecurringScheduledPaymentDetails);\n this.loadVehicleList(this.details.clientId);\n this.loadLatestVehicleNovations(this.details.vehicleId).then((res)=> {\n this.selectedRelatedEntity = this.getSelectedRelatedEntityDetails();\n this.setInitialDisabledDates();\n this.setDisabledEndDates();\n this.setDisabledStartDates();\n });\n this.loadReimburseToAccounts(RelatedTables.Client, this.details.clientId);\n this.checkRecurringPaymentsEligibility(this.details.vehicleId);\n }\n }\n\n getActiveRecurringPaymentSchedulesByVehicleId(vehicleId:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"RecurringPayment\",\"GetActiveRecurringScheduleList\",{vehicleId:vehicleId}).then(response =>{\n this.$store.dispatch('updateActiveRecurringPaymentSchedules',response.data);\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n loadCalendarMonths() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n lookupService.GetCalendarMonths().then((data) => {\n this.calendarMonths = data;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n loadCategoryLists()\n {\n let expenseClaimCategories = [];\n lookupService.GetExpenseClaimCategoryList().then(data => \n {\n data.forEach(val => expenseClaimCategories.push(Object.assign({}, val)));\n this.categoryList = expenseClaimCategories.slice();\n this.details.categoryText = this.getTextValueOfSelectedFields(this.categoryList, this.details.categoryId);\n });\n }\n\n onSelectClientBtnClicked(){\n this.showSelectClientModal = true;\n }\n\n onClientSelect(item:any){\n var id = item == null ? 0 : item.id;\n this.details.clientId = id\n this.details.clientName = this.getClientName(id);\n this.relatedEntityList = [];\n this.loadVehicleList(id);\n this.loadReimburseToAccounts(RelatedTables.Client, id);\n this.details.vehicleId = 0;\n this.details.relatedEntityId = 0;\n this.showSelectClientModal = false;\n }\n\n getClientName(id){\n var names = this.clients.filter(obj=> obj.value == id);\n if(names && names.length > 0)\n {\n return names[0].text;\n }\n return \"\";\n }\n\n getTextValueOfSelectedFields(options, id){\n var names = options.filter(obj=> obj.value == id);\n if(names && names.length > 0)\n {\n return names[0].text;\n }\n return \"\";\n }\n\n loadReimburseToAccounts(relatedTable: RelatedTables, id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"BankAccount\",\"BankAccountsSelectList\",{relatedTable:relatedTable, relatedID: id, includeInactiveAccounts: false}).then(response =>{\n this.clientBankAccounts = response.data.filter(obj => obj.disabled == false);\n if(this.clientBankAccounts.length == 1)\n {\n this.details.reimburseToAccountId = this.clientBankAccounts[0].value;\n this.details.reimburseToAccountText = this.clientBankAccounts[0].text;\n }else{\n this.details.reimburseToAccountId = 0;\n }\n this.clientBankAccountsLoaded = true;\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n loadVehicleList(clientID:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Vehicle\",\"MotorVehicleSelectList\",{clientID:clientID}).then(response =>{\n this.vehicles = response.data.filter(obj => obj.disabled == false);\n if(this.vehicles.length == 1)\n {\n this.details.vehicleId = this.vehicles[0].value;\n this.details.vehicleName = this.vehicles[0].text;\n this.loadLatestVehicleNovations(this.details.vehicleId);\n this.checkRecurringPaymentsEligibility(this.details.vehicleId);\n this.getActiveRecurringPaymentSchedulesByVehicleId(this.details.vehicleId);\n }\n else if(this.isClient){\n this.details.vehicleName = this.vehicles[0].text;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n loadLatestVehicleNovations(vehicleId){\n return this.loadGroupedNovations(vehicleId, true);\n }\n\n loadGroupedNovations(vehicleId : number, isLatest : boolean){\n let relatedEntityList = [];\n return new Promise((resolve, reject)=>{\n var params = { vehicleId: vehicleId, onlyActiveNovations: true, getLatestNovations: isLatest };\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Novation','NovationsGroupedByLease',params).then(response => {\n if(response.data){\n this.groupedRelatedEntityList = response.data;\n if(this.groupedRelatedEntityList.length > 0){\n this.groupedRelatedEntityList.forEach(groupList => {\n if (groupList.options != null && groupList.options.length > 0){\n relatedEntityList.push(...groupList.options);\n }\n });\n this.relatedEntityList = relatedEntityList;\n resolve(relatedEntityList);\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n })\n }\n\n checkRecurringPaymentsEligibility(vehicleId: number) {\n this.$store.dispatch('storeIsBusyValue', true);\n apiService.sendGetRequest('Vehicle', 'CheckRecurringPaymentsEligibility', { vehicleId: vehicleId }).then(response => {\n if (response.data.isSuccess) {\n this.isRecurringScheduledPaymentEnabled = true;\n this.onRecurringScheduledPaymentEligibilityChange(true, '');\n } else {\n this.isRecurringScheduledPaymentEnabled = false;\n this.onRecurringScheduledPaymentEligibilityChange(false, response.data.message);\n }\n this.$store.dispatch('storeIsBusyValue', false);\n });\n }\n\n getSelectedRelatedEntityDetails(){\n let selectedRelatedEntities = this.relatedEntityList.filter(n=> n.value == this.details.relatedEntityId);\n if (selectedRelatedEntities && selectedRelatedEntities.length == 1){\n return selectedRelatedEntities[0];\n }\n return null;\n }\n\n getFormattedDate(date:any) {\n return moment(new Date(date)).toDate();\n }\n\n onChangeVehicle(){\n this.details.relatedEntityId = 0;\n this.relatedEntityList = [];\n this.details.vehicleName = this.getTextValueOfSelectedFields(this.vehicles, this.details.vehicleId);\n this.checkRecurringPaymentsEligibility(this.details.vehicleId);\n this.loadLatestVehicleNovations(this.details.vehicleId);\n this.getActiveRecurringPaymentSchedulesByVehicleId(this.details.vehicleId);\n }\n\n onChangeRelatedEntity(){\n this.details.startDate = null;\n this.details.endDateMonthComponent = null;\n this.details.endDateYearComponent = null;\n this.details.monthlyDueDate = 0;\n this.selectedRelatedEntity = this.getSelectedRelatedEntityDetails();\n this.details.relatedEntityName = this.getTextValueOfSelectedFields(this.relatedEntityList, this.details.relatedEntityId);\n this.setInitialDisabledDates();\n }\n\n onChangeReimburseToAccount(){\n this.details.reimburseToAccountText = this.getTextValueOfSelectedFields(this.clientBankAccounts, this.details.reimburseToAccountId); \n }\n\n changeEndDate(){\n this.setDisabledStartDates();\n }\n\n setupRelatedEntityISODatesToLocal(){\n // Slice 'Z' from ISO Date strings to avoid affect of the time zone when convert to local\n if(this.selectedRelatedEntity.startDate){\n this.selectedRelatedEntity.startDate = this.selectedRelatedEntity.startDate.slice(0, -1);\n }\n if(this.selectedRelatedEntity.endDate){\n this.selectedRelatedEntity.endDate = this.selectedRelatedEntity.endDate.slice(0, -1);\n }\n\n this.todayDateLocal = moment(this.todayDateLocal).startOf('day').toDate();\n }\n\n setInitialDisabledDates(){\n this.setupRelatedEntityISODatesToLocal();\n if (this.selectedRelatedEntity){\n if(this.selectedRelatedEntity.startDate){\n this.selectedRelatedEntity.startDate = moment(this.selectedRelatedEntity.startDate).startOf('day').toDate();\n this.disabledStartDates.to = this.selectedRelatedEntity.startDate;\n this.disabledEndDates.to = this.selectedRelatedEntity.startDate;\n }\n if(this.selectedRelatedEntity.endDate){\n\n this.selectedRelatedEntity.endDate = moment(this.selectedRelatedEntity.endDate).endOf('day').toDate();\n this.disabledStartDates.from = this.selectedRelatedEntity.endDate;\n this.disabledEndDates.from = this.selectedRelatedEntity.endDate;\n }\n }\n }\n\n setDisabledStartDates(){\n if(this.selectedRelatedEntity){\n if(fieldValidations.isValidDate(this.details.endDateYearComponent) && fieldValidations.isValidNumber(this.details.endDateMonthComponent)\n && fieldValidations.isValidNumber(this.details.monthlyDueDate)){\n let finalPaymentDueYear = moment(this.details.endDateYearComponent).year();\n let finalPaymentDueDate = moment(new Date(this.details.endDateMonthComponent + \"/\" + this.details.monthlyDueDate + \"/\" + finalPaymentDueYear)).endOf('day').toDate();\n\n if(!this.selectedRelatedEntity.endDate || finalPaymentDueDate < moment(this.selectedRelatedEntity.endDate).toDate()){\n // Start date can not be selected as final payment due date\n this.disabledStartDates.from = moment(finalPaymentDueDate).subtract(1, 'day').toDate();\n }else{\n this.disabledStartDates.from = this.selectedRelatedEntity.endDate;\n }\n }else if (fieldValidations.isValidDate(this.details.endDateYearComponent)) {\n let finalLeasePaymentDueYear = moment(this.details.endDateYearComponent).add(1,\"year\").year();\n let maxFinalPaymentDueDate = moment(new Date(\"1/1/\"+ finalLeasePaymentDueYear)).endOf('day').toDate();\n if(this.selectedRelatedEntity.endDate || maxFinalPaymentDueDate < moment(this.selectedRelatedEntity.endDate).toDate()){\n this.disabledStartDates.from = moment(maxFinalPaymentDueDate).subtract(1, 'day').toDate();\n }\n }\n else if (this.selectedRelatedEntity.endDate){\n this.disabledStartDates.from = this.selectedRelatedEntity.endDate;\n }\n }\n }\n\n setDisabledEndDates(){\n if(this.details.startDate){\n let scheduleStartDate = new Date(this.details.startDate);\n this.details.startDate = moment(scheduleStartDate).startOf('day').toDate();\n this.disabledEndDates.to = this.details.startDate;\n }\n }\n\n changeStartDate(){\n this.setDisabledEndDates();\n }\n\n changeMonthlyDueDate(){\n this.setDisabledStartDates();\n }\n\n onCategoryChange(){\n // trigger when category is changed\n }\n\n isValidTotalAmount(){\n return fieldValidations.isValidDecimal(this.details.gstInclusiveAmount); \n }\n\n calculateGSTAmount(){\n if(fieldValidations.isValidDecimal(this.details.gstInclusiveAmount)){\n this.details.gstAmount = parseFloat((this.details.gstInclusiveAmount * (this.gstRate/(1 + this.gstRate))).toFixed(2));\n }\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number):boolean{\n if(this.validateStep()){ \n if(!saveOnUpdate){\n return true;\n }\n this.$store.dispatch('updateRecurringScheduledPaymentDetails',this.details);\n if(this.stepNo+1>this.$store.getters.getRecurringScheduledPaymentStatus){\n this.$store.dispatch('updateRecurringScheduledPaymentStatus',this.stepNo+1);\n }\n return true;\n }\n return false;\n }\n\n validateStep():boolean{\n this.validateRequiredField = true;\n var isValid = !this.$v.details.$invalid;\n return isValid && this.isValidateDocumentList() && this.checkValidations();\n }\n\n checkValidations(){\n let finalPaymentDueYear = moment(this.details.endDateYearComponent).year();\n let finalPaymentDueDate = moment(new Date(this.details.endDateMonthComponent + \"/\" + this.details.monthlyDueDate + \"/\" + finalPaymentDueYear)).endOf('day').toDate();\n let relatedEntityStartDate = this.selectedRelatedEntity.startDate;\n let startDate = moment(this.details.startDate).toDate();\n \n let calculatedGSTAmount = parseFloat((+this.details.gstInclusiveAmount * (this.gstRate / (1 + this.gstRate))).toFixed(2));\n let messageText = '';\n if(calculatedGSTAmount < (+this.details.gstAmount)) {\n messageText = 'The manually input GST amount exceeds the calculated GST.';\n this.showErrorMessage(messageText);\n return false;\n }\n\n if(!(startDate >= relatedEntityStartDate && (!this.selectedRelatedEntity.endDate || (finalPaymentDueDate <= moment(this.selectedRelatedEntity.endDate).toDate())))){\n messageText = 'Schedule is not within the related entity period.';\n this.showErrorMessage(messageText);\n return false;\n }\n //When compare start date and final payment due date, we need to make their times equals by using day begin of final payment due date\n if(moment(finalPaymentDueDate).startOf('day').toDate() <= this.details.startDate){\n messageText = 'Schedule end date should be after the schedule start date.';\n this.showErrorMessage(messageText);\n return false;\n }\n return true;\n }\n\n showErrorMessage(messageText:string){\n this.$notify({\n group: 'modalGrowlNotification',\n title: messageText,\n type: 'error',\n duration: 5000\n }); \n }\n\n isValidateDocumentList(validateFromStore:boolean = true){\n var documentList = (this.$refs.recurringPaymentDragDropDocumentControl as DragAndDropControl).getDocumentList();\n this.supportingDocsAvailable = documentList.length > 0;\n return this.supportingDocsAvailable;\n }\n\n onDocumentsChanged(){\n this.$nextTick(()=>{\n this.isValidateDocumentList();\n })\n }\n\n setNewDocumentType(claimCategory:number){\n switch(claimCategory){\n case ExpenseCategories.Fuel:\n this.selectedDocType= FileTypes.Fuel;\n break;\n case ExpenseCategories.Registration:\n this.selectedDocType= FileTypes.RegistrationPapers;\n break;\n case ExpenseCategories.CTPI:\n this.selectedDocType= FileTypes.CTPI;\n break;\n case ExpenseCategories.Insurance:\n this.selectedDocType= FileTypes.InsurancePolicy;\n break;\n case ExpenseCategories.RoadSideAssistance:\n this.selectedDocType= FileTypes.RoadSideAssistance;\n break;\n case ExpenseCategories.Washing:\n this.selectedDocType= FileTypes.Washing;\n break;\n case ExpenseCategories.TyresAndService:\n this.selectedDocType= FileTypes.TyresAndService;\n break;\n case ExpenseCategories.Repairs:\n this.selectedDocType= FileTypes.Repairs;\n break;\n case ExpenseCategories.Other:\n this.selectedDocType= FileTypes.Other;\n break;\n }\n }\n\n @Emit('recurringScheduledPaymentEligibility') onRecurringScheduledPaymentEligibilityChange(isEligible:boolean, message: string){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RecurringScheduledPaymentDetails.vue?vue&type=template&id=7c70eff4&scoped=true\"\nimport script from \"./RecurringScheduledPaymentDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./RecurringScheduledPaymentDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RecurringScheduledPaymentDetails.vue?vue&type=style&index=0&id=7c70eff4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7c70eff4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.IsPreviewMode)?_c('b-row',[_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mt-1 mb-2 ml-3 pull-right primary\",on:{\"click\":_vm.onAddRecord}},[_vm._v(\"Add Schedule\")])],1)],1):_vm._e(),(_vm.items && _vm.items.length > 0)?_c('b-table',{ref:\"schedule\",staticClass:\"payments-table\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([{key:\"cell(rowNumber)\",fn:function(row){return [_c('label',[_vm._v(_vm._s(row.item.rowNumber == 0 ? '' : row.item.rowNumber))])]}},{key:\"cell(dueDate)\",fn:function(row){return [(_vm.IsPreviewMode)?_c('label',[_vm._v(_vm._s(_vm._f(\"ApexDateFormat\")(row.item.dueDate)))]):_vm._e(),(!_vm.IsPreviewMode)?_c('DatePicker',{class:{ 'requiredField' : (row.item.dueDate == null || row.item.dueDate.length == 0)},attrs:{\"id\":'_DueDate' + row.index,\"highlighted\":{dates: [_vm.todayDateLocal], includeDisabled: true},\"use-utc\":false,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"bootstrap-styling\":true,\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledDates,\"disabled\":false},model:{value:(row.item.dueDate),callback:function ($$v) {_vm.$set(row.item, \"dueDate\", $$v)},expression:\"row.item.dueDate\"}}):_vm._e(),((_vm.validateRequiredField || _vm.$v.items.$each[row.index].dueDate.$dirty) && !_vm.$v.items.$each[row.index].dueDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Due Date is required.\\n \")]):_vm._e()]}},{key:\"cell(gstExlusiveAmount)\",fn:function(row){return [(_vm.IsPreviewMode)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.gstExlusiveAmount}})],1):_vm._e()]}},{key:\"cell(amount)\",fn:function(row){return [(_vm.IsPreviewMode)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.amount}})],1):_vm._e(),(!_vm.IsPreviewMode)?_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",class:{'requiredField':((!row.item.amount && row.item.amount != 0 ) || row.item.amount.length == 0) },attrs:{\"id\":'_Amount' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"placeholder\":\"Amount\"},on:{\"input\":function($event){_vm.$v.items.$each[row.index].amount.$touch()}},model:{value:(row.item.amount),callback:function ($$v) {_vm.$set(row.item, \"amount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"row.item.amount\"}})],1):_vm._e(),((_vm.validateRequiredField || _vm.$v.items.$each[row.index].amount.$dirty) && !_vm.$v.items.$each[row.index].amount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Inclusive Amount is required.\\n \")]):_vm._e(),((_vm.validateRequiredField || _vm.$v.items.$each[row.index].amount.$dirty) && !_vm.$v.items.$each[row.index].amount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Inclusive Amount is invalid.\\n \")]):_vm._e()]}},{key:\"cell(gstAmount)\",fn:function(row){return [(_vm.IsPreviewMode)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.gstAmount}})],1):_vm._e(),(!_vm.IsPreviewMode)?_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",class:{'requiredField':((!row.item.gstAmount && row.item.gstAmount != 0 ) || row.item.gstAmount.length == 0)},attrs:{\"id\":'_GSTAmount' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"placeholder\":\"GST Amount\"},on:{\"input\":function($event){_vm.$v.items.$each[row.index].gstAmount.$touch()}},model:{value:(row.item.gstAmount),callback:function ($$v) {_vm.$set(row.item, \"gstAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"row.item.gstAmount\"}}),(!_vm.IsPreviewMode)?_c('b-input-group-append',[_c('b-button',{staticClass:\"primary\",attrs:{\"id\":\"calculateGSTAmountBtn\",\"disabled\":!_vm.isValidTotalAmount(row.item),\"title\":\"Click to calculate GST Amount\"},on:{\"click\":function($event){return _vm.calculateGSTAmount(row.item)}}},[_c('i',{staticClass:\"fas fa-calculator fa-lg\",attrs:{\"aria-hidden\":\"true\"}})])],1):_vm._e()],1):_vm._e(),((_vm.validateRequiredField || _vm.$v.items.$each[row.index].gstAmount.$dirty) && !_vm.$v.items.$each[row.index].gstAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Amount is required.\\n \")]):_vm._e(),((_vm.validateRequiredField || _vm.$v.items.$each[row.index].gstAmount.$dirty) && !_vm.$v.items.$each[row.index].gstAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Amount is invalid.\\n \")]):_vm._e()]}},(!_vm.IsPreviewMode && _vm.items.length > 1)?{key:\"cell(actions)\",fn:function(row){return [(_vm.items.length > 0)?_c('span',{staticClass:\"ml-4\",attrs:{\"title\":\"Delete\"},on:{\"click\":function($event){return _vm.onRemoveRecord(row.item)}}},[_c('i',{staticClass:\"fas fa-trash cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()]}}:null],null,true)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { Component, Prop, Vue} from 'vue-property-decorator';\n import { ScheduleModel } from '@/models/recurringScheduledPayment.model';\n import { RecurringScheduledPaymentStates } from '@/shared/enums/recurringScheduledPaymentStates.enum';\n import moment from 'moment';\n import fieldValidations from '@/shared/services/fieldValidationService';\n import { validationMixin } from 'vuelidate';\n import { required } from 'vuelidate/lib/validators';\n\n @Component({\n mixins:[validationMixin],\n validations:\n {\n items:\n { \n $each: {\n dueDate: {\n required,\n },\n amount: {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n gstAmount: {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n }\n }\n }\n }\n })\n\n export default class RecurringScheduledPaymentSchedule extends Vue{\n @Prop({default:false}) IsPreviewMode: boolean;\n\n stepNo:number = RecurringScheduledPaymentStates.Schedule; \n schedule:ScheduleModel = {\n scheduleLines: []\n };\n\n fields: any[] = [\n { key: \"rowNumber\", label: \"#\", class:'width_15 text-left'},\n { key: \"dueDate\", label: \"Due Date\", class: \"width_20\"},\n { key: \"amount\", label:\"Total Amount (Incl.GST)\", class:\"width_15 text-right\" },\n\t ];\n disabledDates: any = {};\n todayDateLocal:any = new Date();\n recordToBeEdited : any = {};\n items: any = [];\n gstRate: number = 0.1;\n startDate: any = new Date();\n endDate: any;\n monthlyDueDate: number = 25;\n endDateMonth:any;\n endDateYear:any;\n startScheduleDueDate:any;\n finalScheduleDueDate:any;\n scheduleDetails: any = {};\n validateRequiredField: boolean = false;\n\n created(){\n if(this.$store.getters.getRecurringScheduledPaymentDetails != null){\n this.setupScheduleDates();\n }\n \n if(this.IsPreviewMode){\n this.fields.splice(2, 0, { key: \"gstExlusiveAmount\", label:\"Amount\", class:\"width_10 text-right\"});\n this.fields.splice(3, 0, { key: \"gstAmount\", label:\"GST Amount\", class:\"width_10 text-right\"});\n }else{\n this.fields.push({ key: \"gstAmount\", label:\"GST Amount\", class:\"width_10 text-right\"}); \n }\n\n if(this.$store.getters.getRecurringScheduledPaymentSchedule.scheduleLines.length > 0){\n this.items = this.$store.getters.getRecurringScheduledPaymentSchedule.scheduleLines;\n }else{\n this.createSchedules();\n }\n\n if(!this.IsPreviewMode){\n this.fields.push({key: \"actions\", label: \"\", class: \"width_10 text-right\"});\n }\n }\n\n setupScheduleDates(){\n this.todayDateLocal = moment(this.todayDateLocal).startOf('day').toDate();\n this.scheduleDetails = this.$store.getters.getRecurringScheduledPaymentDetails;\n this.startDate = moment(this.scheduleDetails.startDate).toDate();\n this.finalScheduleDueDate = moment({ year: this.scheduleDetails.endDateYearComponent.getFullYear(), \n month: this.scheduleDetails.endDateMonthComponent-1, date: this.scheduleDetails.monthlyDueDate}).endOf('day').toDate();\n this.startScheduleDueDate = moment(this.startDate).add(1, 'months').date(this.scheduleDetails.monthlyDueDate).toDate();\n this.disabledDates = {from:this.finalScheduleDueDate, to:this.startDate};\n }\n\n createSchedules(){\n this.items.push({\n rowNumber : 1,\n dueDate : this.startDate,\n amount : +this.scheduleDetails.gstInclusiveAmount,\n gstAmount : this.scheduleDetails.gstAmount,\n gstExlusiveAmount : 0,\n isAddedfromSchedule : true,\n });\n\n var nextPaymentDueDate = this.startScheduleDueDate;\n var rowNumber = 2;\n while(moment(nextPaymentDueDate).isSameOrBefore(moment(this.finalScheduleDueDate))){\n this.items.push({\n rowNumber : rowNumber,\n dueDate : nextPaymentDueDate,\n amount : +this.scheduleDetails.gstInclusiveAmount,\n gstAmount : this.scheduleDetails.gstAmount,\n gstExlusiveAmount : 0,\n isAddedfromSchedule : true,\n });\n nextPaymentDueDate = moment(nextPaymentDueDate).add(1, 'months').toDate();\n rowNumber ++;\n }\n }\n\n onRemoveRecord(item:any){\n var rowNo = 1;\n this.items.splice(this.items.indexOf(item), 1);\n this.items.forEach(item => {\n item.rowNumber = rowNo++;\n });\n }\n\n onAddRecord(){\n this.items.push({\n rowNumber : this.items.length + 1,\n dueDate : null,\n amount : null,\n gstAmount : null,\n gstExlusiveAmount : 0,\n isAddedfromSchedule : false,\n })\n }\n\n isValidScheduleLine(schedule: any) {\n if (fieldValidations.isValidDecimal(schedule.amount) &&\n fieldValidations.isValidDecimal(schedule.gstAmount) &&\n (moment(schedule.dueDate).isSameOrAfter(moment(this.startDate)) && moment(schedule.dueDate).isSameOrBefore(moment(this.endDate)))){\n return true;\n }\n return false;\n\t }\n\n \n isValidTotalAmount(schedule: any){\n return fieldValidations.isValidDecimal(schedule.amount); \n }\n\n calculateGSTAmount(schedule: any){\n if(fieldValidations.isValidDecimal(schedule.amount)){\n schedule.gstAmount = parseFloat((schedule.amount * (this.gstRate/(1 + this.gstRate))).toFixed(2));\n }\n }\n\n sortSchedule(){\n this.items.sort((row1, row2) => {\n if(moment(row1.dueDate).isBefore(moment(row2.dueDate))){\n return -1;\n }else if(moment(row1.dueDate).isAfter(moment(row2.dueDate))){\n return 1;\n }else{\n return 0;\n }\n })\n\n var rowNo = 1;\n this.items.forEach(item => {\n item.rowNumber = rowNo++;\n item.gstExlusiveAmount = +item.amount - +item.gstAmount;\n item.dueDate = item.dueDate\n });\n this.schedule.scheduleLines = this.items;\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number):boolean{\n if(this.validateStep()){ \n if(!saveOnUpdate){\n return true;\n }\n this.sortSchedule();\n this.$store.dispatch('updateRecurringScheduledPaymentSchedule',this.schedule);\n if(this.stepNo+1>this.$store.getters.getRecurringScheduledPaymentStatus){\n this.$store.dispatch('updateRecurringScheduledPaymentStatus',this.stepNo+1);\n }\n return true;\n }\n return false;\n }\n validateStep():boolean{\n this.validateRequiredField = true;\n var isValid = !this.$v.items.$each.$invalid;\n return isValid && this.validateFields();\n }\n\n validateFields(){\n var errorRows = [];\n this.items.forEach(line => {\n let calculatedGSTAmount = parseFloat((+line.amount * (this.gstRate / (1 + this.gstRate))).toFixed(2));\n if(calculatedGSTAmount < (+line.gstAmount)) {\n errorRows.push(` #${line.rowNumber}`)\n }\n });\n \n if(errorRows.length > 0){\n this.showErrorMessage(errorRows);\n return false;\n }\n\n return true;\n }\n\n showErrorMessage(errorLines:any []){\n this.$notify({\n group: 'modalGrowlNotification',\n title: `The manually input GST amount exceeds the calculated GST in row number ${errorLines}.`,\n type: 'error',\n duration: 5000\n }); \n }\n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentSchedule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentSchedule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RecurringScheduledPaymentSchedule.vue?vue&type=template&id=5c6a5d93&scoped=true\"\nimport script from \"./RecurringScheduledPaymentSchedule.vue?vue&type=script&lang=ts\"\nexport * from \"./RecurringScheduledPaymentSchedule.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RecurringScheduledPaymentSchedule.vue?vue&type=style&index=0&id=5c6a5d93&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5c6a5d93\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDocumentRequirementModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"supportingDocumentModal\",\"minWidth\":\"35rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Supporting Document/s Requirements:\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"documentRequirementModalCancelBtn\"},on:{\"click\":function($event){_vm.showDocumentRequirementModal = false;}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ul',[_c('li',[_vm._v(\" The document is intended to be a tax invoice \")]),_c('li',[_vm._v(\" The seller's identity \")]),_c('li',[_vm._v(\" The seller's Australian business number (ABN) \")]),_c('li',[_vm._v(\" The date the invoice was issued \")]),_c('li',[_vm._v(\" A brief description of the items sold, including the quantity (if applicable) and the price \")]),_c('li',[_vm._v(\" The GST amount (if any) payable – this can be shown separately or, if the GST amount is exactly one-eleventh of the total price, such as a statement which says 'Total price includes GST' \")]),_c('li',[_vm._v(\" The extent to which each sale on the invoice is a taxable sale \")]),_c('li',[_vm._v(\" Tax invoices for sales of $1,000 or more need to show the buyer's identity \")]),_c('li',[_vm._v(\" Document needs to be legible \")])])])]):_vm._e(),_c('b-col',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Details\")]),_c('b-card-body',[_c('b-row',{staticClass:\"flex\"},[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('div',[(!_vm.isClient)?_c('tr',[_c('td',{staticClass:\"pt-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Client  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm.scheduleDetails.clientName))])]):_vm._e(),_c('tr',[_c('td',{staticClass:\"pt-1 pb-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Vehicle  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm.scheduleDetails.vehicleName))])]),_c('tr',[_c('td',{staticClass:\"pt-1 pb-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Related Entity  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm.scheduleDetails.relatedEntityName))])]),_c('tr',[_c('td',{staticClass:\"pt-1 pb-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Category  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm.scheduleDetails.categoryText))])]),_c('tr',[_c('td',{staticClass:\"pt-1 pb-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"To Account  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm.scheduleDetails.reimburseToAccountText))])]),_c('hr'),_c('tr',[_c('td',{staticClass:\"pt-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Company  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm.scheduleDetails.companyName))])]),_c('tr',[_c('td',{staticClass:\"pt-1\",attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Total (Incl. GST)  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])])]),_c('td',[_c('b',{staticClass:\"text-danger\"},[_vm._v(\"  \"),_c('ApexCurrency',{attrs:{\"value\":_vm.totalGSTInclusiveAmount}})],1)])])])]),_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Supporting Documents (Invoice/Receipts)\")]),_c('p',{staticClass:\"documentReqText mb-1\"},[_vm._v(\" Please ensure the Supporting Document/s is in focus and meets the \"),_c('b',{staticClass:\"requirementText\",on:{\"click\":function($event){_vm.showDocumentRequirementModal = true;}}},[_vm._v(\" requirements.\")])]),_c('DragAndDropControl',{key:\"recurringScheduledPaymentDetailsDocumentControl-index\",ref:\"recurringPaymentDragDropDocumentControl\",attrs:{\"id\":\"recurringScheduledPaymentDetailsDocumentControl-id\",\"index\":_vm.recurringScheduledPaymenDocumentsIndex,\"relatedTable\":_vm.recurringPaymentScheduleRelatedTable,\"relatedID\":0,\"defaultDocType\":_vm.selectedDocType,\"isFileMandatory\":true,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":false,\"modalMode\":false,\"isDocumentDownloadButtonEnabled\":false,\"isAcknowledgeEnabled\":false,\"showDocumentGrid\":true}})],1)],1)],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Schedule\")]),_c('b-card-body',[_c('RecurringScheduledPaymentSchedule',{attrs:{\"IsPreviewMode\":true}})],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Prop, Vue} from 'vue-property-decorator';\nimport { PreviewModel } from '@/models/recurringScheduledPayment.model';\nimport { RecurringScheduledPaymentStates } from '@/shared/enums/recurringScheduledPaymentStates.enum';\nimport RecurringScheduledPaymentSchedule from './RecurringScheduledPaymentSchedule.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport DragAndDropControl from '@/shared/components/dragAndDropControl/DragAndDropControl.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport moment from 'moment';\n\n@Component({\n components: {\n RecurringScheduledPaymentSchedule,\n DragAndDropControl,\n Modal\n }\n})\n\nexport default class RecurringScheduledPaymentPreview extends Vue{\n @Prop({default: 0}) recurringScheduledPaymenDocumentsIndex:number;\n stepNo:number = RecurringScheduledPaymentStates.Preview; \n preview:PreviewModel = {};\n scheduleDetails: any = {};\n isAdmin: boolean = false;\n isClient: boolean = false;\n recurringPaymentScheduleRelatedTable: RelatedTables = RelatedTables.RecurringPaymentSchedule;\n selectedDocType:number = 0;\n showDocumentRequirementModal:boolean = false;\n totalGSTInclusiveAmount: number = 0;\n \n created(){\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n\n if(this.$store.getters.getRecurringScheduledPaymentDetails != null){\n this.scheduleDetails = this.$store.getters.getRecurringScheduledPaymentDetails;\n }\n\n if(this.$store.getters.getRecurringScheduledPaymentSchedule.scheduleLines.length > 0){\n this.calculateTotalAmount();\n }\n }\n\n calculateTotalAmount(){\n var lines = this.$store.getters.getRecurringScheduledPaymentSchedule.scheduleLines;\n lines.forEach(line => {\n this.totalGSTInclusiveAmount += (+line.amount);\n });\n }\n\n updateModelOnSave(){\n if(this.$store.getters.getRecurringScheduledPaymentStatus == this.stepNo){\n this.$store.dispatch('storeIsBusyValue',true);\n this.$store.dispatch('uploadDocuments').then(res =>{\n this.formatDateValues();\n this.$store.dispatch('saveRecurringScheduledPayment', this.$store.getters.getDocumentsByIndex(this.recurringScheduledPaymenDocumentsIndex)).then(response => {\n if(response){\n if(response.data.isSuccess)\n { \n this.onCloseModal();\n this.$router.push({name:'Dashboard'});\n this.$store.dispatch('storeIsBusyValue',false);\n this.onShowGrowlNotification('success', response.data.message); \n }else\n {\n this.onShowGrowlNotification('success', response.data.message); \n this.$store.dispatch('storeIsBusyValue',false);\n }\n }\n }) \n });\n }\n }\n\n formatDateValues(){\n var paymentLines = this.$store.getters.getRecurringScheduledPaymentSchedule.scheduleLines;\n var scheduleDetails = this.$store.getters.getRecurringScheduledPaymentDetails;\n\n var startMonth = moment(scheduleDetails.startDate).month() + 1;\n var startDay = moment(scheduleDetails.startDate).date();\n var startYear = moment(scheduleDetails.startDate).year();\n\n let startDate = startMonth + \"/\" + startDay + \"/\" + startYear;\n scheduleDetails.startDate = startDate;\n\n paymentLines.forEach(payment => {\n var month = moment(payment.dueDate).month() + 1;\n var day = moment(payment.dueDate).date();\n var year = moment(payment.dueDate).year();\n\n let paymentDueDate = month + \"/\" + day + \"/\" + year;\n payment.dueDate = paymentDueDate;\n });\n }\n\n onShowGrowlNotification(messageType:string, messageTitle:string){\n this.$notify({\n group: 'growlNotification',\n title: messageTitle,\n type: messageType,\n duration: 5000\n });\n }\n\n @Emit('onCloseModal') onCloseModal(){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentPreview.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentPreview.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RecurringScheduledPaymentPreview.vue?vue&type=template&id=4641d066&scoped=true\"\nimport script from \"./RecurringScheduledPaymentPreview.vue?vue&type=script&lang=ts\"\nexport * from \"./RecurringScheduledPaymentPreview.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RecurringScheduledPaymentPreview.vue?vue&type=style&index=0&id=4641d066&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4641d066\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Prop, Vue } from 'vue-property-decorator';\nimport Wizard from '@/shared/components/wizard/Wizard.vue';\nimport WizardTab from '@/shared/components/wizard/WizardTab.vue';\nimport RecurringScheduledPaymentDetails from '@/components/admin/recurringScheduledPayment/RecurringScheduledPaymentDetails.vue';\nimport RecurringScheduledPaymentSchedule from '@/components/admin/recurringScheduledPayment/RecurringScheduledPaymentSchedule.vue';\nimport RecurringScheduledPaymentPreview from '@/components/admin/recurringScheduledPayment/RecurringScheduledPaymentPreview.vue';\nimport { RecurringScheduledPaymentStates } from '@/shared/enums/recurringScheduledPaymentStates.enum'; \nimport { RecurringScheduledPayment } from '@/models/recurringScheduledPayment.model';\nimport apiService from '@/shared/services/apiService';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component(\n { \n components: {\n Wizard,\n WizardTab,\n RecurringScheduledPaymentDetails,\n RecurringScheduledPaymentSchedule,\n RecurringScheduledPaymentPreview,\n Modal\n },\n }\n)\nexport default class RecurringScheduledPaymentWizard extends Vue{\n @Prop({default: 0}) clientId:number;\n @Prop({default: 0}) vehicleId:number;\n @Prop({default: \"\"}) clientName:string;\n @Prop({default: 0}) novationId:number;\n @Prop({default: 0}) reimburseToAccountId:number;\n recurringScheduledPaymenDocumentsIndex:number = 100;\n dirtyValidationRefNumbers:number[] =[0,0,0];\n clients:any[] = [];\n isAdmin:boolean = false;\n isClient:boolean = false;\n disableSave:boolean = false;\n detailsStatus:RecurringScheduledPaymentStates = RecurringScheduledPaymentStates.Details;\n scheduleStatus:RecurringScheduledPaymentStates = RecurringScheduledPaymentStates.Schedule;\n previewStatus:RecurringScheduledPaymentStates = RecurringScheduledPaymentStates.Preview;\n currentTab:any = null;\n totalTabs:number = 3;\n wizardLoaded:boolean = false;\n showGoBackConfirmation: boolean = false;\n initialObject: RecurringScheduledPayment = {\n id:0,\n status: RecurringScheduledPaymentStates.Details,\n concurrencyKey:null,\n createByName: null,\n lastUpdateByName:null,\n createdDate:null,\n lastUpdatedDate:null,\n activeRecurringPaymentSchedules:[],\n details: {\n clientId:0,\n clientName:null,\n vehicleId:0,\n vehicleName:null,\n reimburseToAccountId:0,\n reimburseToAccountText:null,\n relatedEntityId:0,\n relatedEntityName:null,\n categoryId:0,\n categoryText:null,\n companyName:null,\n startDate:null,\n endDateYearComponent:null,\n endDateMonthComponent:null,\n monthlyDueDate:null,\n gstInclusiveAmount:null,\n gstAmount:null\n },\n schedule:{\n scheduleLines:[]\n },\n preview: {},\n dirtyValidationRefNos: [0,0,0]\n }\n isRecurringScheduledPaymentEnabled:boolean = true;\n recurringScheduledPaymentDisabledMessage: string = '';\n\n created(){\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n if (this.isAdmin){\n this.loadClients();\n }else{\n this.wizardLoaded = true;\n }\n }\n\n loadClients(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Client\",\"ClientSelectList\",{}).then(response =>{\n this.clients = response.data.filter(obj => obj.disabled == false);\n this.wizardLoaded = true;\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n \n destroyed(){\n this.$store.dispatch('resetRecurringScheduledPaymentToInitialState',Object.assign({},this.initialObject));\n this.$store.dispatch('updateDocumentsByIndex', { index: this.recurringScheduledPaymenDocumentsIndex, documents:[]});\n }\n\n dirtyValidatorRefNoSet(refNo,index){\n this.dirtyValidationRefNumbers[index] = refNo;\n }\n\n onTabChanged(selectedStep:any){\n this.currentTab = selectedStep;\n }\n\n onCurrentTabSelected(selectedStep:any){\n this.currentTab = selectedStep;\n }\n\n get backDisabled(){\n return this.currentTab && this.currentTab.index == 0;\n }\n\n get nextDisabled(){\n return this.currentTab && this.currentTab.index == 2;\n }\n\n goForward(){\n (this.$refs.recurringScheduledPaymentWizard as Wizard).changeTabByIndex(this.currentTab.index+1);\n }\n\n goBack(){\n if(this.currentTab.index + 1 == this.scheduleStatus){\n this.showGoBackConfirmation = true;\n }else{\n (this.$refs.recurringScheduledPaymentWizard as Wizard).changeTabByIndex(this.currentTab.index-1);\n }\n }\n\n onOkayToGoBackDetails(){\n this.showGoBackConfirmation = false;\n this.$store.dispatch('updateRecurringScheduledPaymentSchedule',this.initialObject.schedule);\n (this.$refs.recurringScheduledPaymentWizard as Wizard).changeTabByIndex(this.currentTab.index-1);\n }\n\n onCreateRecurringScheduledPayment() {\n (this.$refs.recurringScheduledPaymentWizard as Wizard).onSave(); \n } \n\n onRecurringScheduledPaymentEligibilityChange(isEligible:boolean, message: string) {\n this.isRecurringScheduledPaymentEnabled = isEligible;\n this.recurringScheduledPaymentDisabledMessage = message;\n }\n\n @Emit('onCloseModal') onCloseModal(){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentWizard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RecurringScheduledPaymentWizard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RecurringScheduledPaymentWizard.vue?vue&type=template&id=34e06b12&scoped=true\"\nimport script from \"./RecurringScheduledPaymentWizard.vue?vue&type=script&lang=ts\"\nexport * from \"./RecurringScheduledPaymentWizard.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"34e06b12\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Prop, Vue} from \"vue-property-decorator\";\nimport RecurringScheduledPaymentWizard from \"@/components/admin/recurringScheduledPayment/RecurringScheduledPaymentWizard.vue\";\n \n@Component\n(\n {\n components: {\n RecurringScheduledPaymentWizard\n }\n }\n)\nexport default class AddRecurringScheduledPayment extends Vue {\n @Prop({default: 0}) clientId:number;\n @Prop({default: 0}) vehicleId:number;\n @Prop({default: \"\"}) clientName:string;\n @Prop({default: 0}) novationId:number;\n @Prop({default: 0}) reimburseToAccountId:number;\n created(){\n }\n\n @Emit('onCloseModal') onCloseModal(){\n }\n} \n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddRecurringScheduledPayment.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddRecurringScheduledPayment.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddRecurringScheduledPayment.vue?vue&type=template&id=6b335ad9&scoped=true\"\nimport script from \"./AddRecurringScheduledPayment.vue?vue&type=script&lang=ts\"\nexport * from \"./AddRecurringScheduledPayment.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddRecurringScheduledPayment.vue?vue&type=style&index=0&id=6b335ad9&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b335ad9\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport FileUploader from '@/shared/components/fileUploader/FileUploader.vue';\nimport ImageCropper from '@/shared/components/imageCropper/ImageCropper.vue';\nimport blobService from '@/shared/services/azureBlobStorageService';\nimport { BlobContainerType } from '@/shared/enums/blobContainerTypes.enum';\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\nimport { RelatedTables } from '../../../shared/enums/relatedTables.enum';\nimport apiService from '@/shared/services/apiService';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport CWidgetIcon from '@coreui/vue/src/components/widgets/CWidgetIcon.vue';\nimport CBadge from '@coreui/vue/src/components/badge/CBadge.vue';\nimport {TruncateString} from '@/filters/stringFilter';\nimport AddRecurringScheduledPayment from '@/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue';\n\n@Component(\n {\n components: {\n FileUploader,\n ImageCropper,\n Modal,\n CWidgetIcon,\n CBadge,\n AddRecurringScheduledPayment\n },\n }\n)\nexport default class VehicleBasicDetailsWidget extends Vue{\n @Prop() widgetData:any;\n @Prop() truncateVehicleName:boolean;\n vehicleImageUri:string = \"\";\n initialVehicleImageUri:string = '../../../img/avatars/vehicle_img.png';\n avatarMode:boolean = true;\n fileExists:boolean = false;\n selectedFile:any = null;\n vehicleImageChanged:boolean = false;\n isImageCropperOpened:boolean = false;\n vehicleImageSource:any = null;\n showDeleteImageConfirmation:boolean = false;\n showRecurringScheduledPaymentPopup:boolean = false;\n hideFooter:boolean = true;\n\n truncateVehicleDisplayName(name:string){\n \n return this.truncateVehicleName ? TruncateString(name, 30) : name;\n }\n\n mounted(){\n if(this.widgetData && this.widgetData.imageInfo && this.widgetData.imageInfo.uri){\n this.vehicleImageUri = this.widgetData.imageInfo.uri+'?'+(new Date()).getTime();\n this.fileExists = true;\n }\n }\n\n showResidualDueMessages(){\n return this.widgetData && this.widgetData.vehicleLeasesDetails && this.widgetData.vehicleLeasesDetails.length > 0 && this.widgetData.vehicleLeasesDetails.some(vd => vd.showResidualDueMsg);\n }\n\n getResidualMsgDataList(){\n if (this.widgetData && this.widgetData.vehicleLeasesDetails && this.widgetData.vehicleLeasesDetails.length > 0){\n return this.widgetData.vehicleLeasesDetails.filter(vl => vl.showResidualDueMsg)\n }else {\n return [];\n }\n }\n\n onImageChanged(file:any){\n this.selectedFile = file;\n if(file){\n this.vehicleImageUri = '';\n this.vehicleImageChanged = true;\n this.uploadVehicleImage();\n }\n else{\n this.vehicleImageUri = this.widgetData.imageInfo? this.widgetData.imageInfo.uri : '';\n this.vehicleImageChanged = false;\n }\n }\n\n onCropModalOpen(data:any){\n this.isImageCropperOpened = true;\n this.vehicleImageSource = data;\n }\n\n onCropModalClose(){\n this.isImageCropperOpened = false; \n }\n\n onCancelCropVehicleImage(){\n this.isImageCropperOpened = false;\n }\n\n onCropVehicleImage(data:any){\n (this.$refs.vehicleImageUploader as FileUploader).OnCropImage(data);\n }\n\n uploadVehicleImage(){\n if(this.selectedFile){\n var promise = this.widgetData.imageInfo && this.widgetData.imageInfo.guid? blobService.getsasForExisting(BlobContainerType.ProfilePicContainer, this.widgetData.imageInfo.guid): blobService.getsasAndGuid(BlobContainerType.ProfilePicContainer);\n promise.then(response => {\n var vehicleImageSas = response.data;\n blobService.uploadFile(vehicleImageSas,this.selectedFile).then( response1 =>{\n this.addImageReference(vehicleImageSas).then(addReferenceResult =>{\n var profilePicParams = {\n fileName:this.selectedFile.name,\n fileType: FileTypes.ProfilePic,\n guid: vehicleImageSas.blobGuid,\n fileExtension: \"png\",\n uri: vehicleImageSas.blobUri\n };\n if(this.widgetData.imageInfo){\n this.widgetData.imageInfo.fileName = this.selectedFile.name;\n this.widgetData.imageInfo.fileType = FileTypes.ProfilePic;\n this.widgetData.imageInfo.guid = vehicleImageSas.blobGuid;\n this.widgetData.imageInfo.fileExtension = \"png\";\n this.widgetData.imageInfo.uri = vehicleImageSas.blobUri;\n }\n else{\n this.widgetData.imageInfo = profilePicParams;\n }\n \n this.vehicleImageUri = vehicleImageSas.blobUri+'?'+(new Date()).getTime();\n (this.$refs.vehicleImageUploader as FileUploader).setAltImg();\n })\n })\n })\n }\n }\n\n addImageReference(sasInfo:any):Promise{\n return new Promise((resolve,reject)=>{\n if(this.widgetData.imageInfo && this.widgetData.imageInfo.guid){\n this.$notify({\n group: 'growlNotification',\n title: \"Image successfully updated.\",\n type: 'success',\n duration: 5000\n });\n resolve();\n }\n else{\n this.$store.dispatch('storeIsBusyValue',false);\n var docParams = {\n fileName:this.selectedFile.name,\n fileType: FileTypes.ProfilePic,\n guid: sasInfo.blobGuid,\n fileExtension: 'png',\n uri: sasInfo.blobUri,\n relatedTable: RelatedTables.Vehicle,\n relatedId: this.widgetData.motorVehicleId,\n locked:false,\n mimeType:this.selectedFile.type\n };\n apiService.sendPutRequest('Utility','Documents',docParams).then( response2 => {\n if(response2.data.isSuccess){\n this.selectedFile = null;\n this.$notify({\n group: 'growlNotification',\n title: \"Image successfully updated.\",\n type: 'success',\n duration: 5000\n });\n this.fileExists = true;\n this.widgetData.imageInfo.id = response2.id;\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response2.data.message,\n type: 'error',\n duration: 5000\n });\n }\n resolve();\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n })\n }\n\n onDeleteVehicleImage(){\n this.showDeleteImageConfirmation = true;\n }\n\n navigateToVehicleDashboard(){\n this.$router.push({name:'Main Vehicle UI',params:{vehicleID:this.widgetData.motorVehicleId}});\n }\n\n goToReimbursementClaim()\n {\n this.$router.push({name: 'Submit Expense Claims', params : { type:'reimbursement'}, query: {vehicleId: this.widgetData.motorVehicleId.toString()} });\n }\n\n goToBillExpenseClaim()\n {\n this.$router.push({name:'Submit Expense Claims', params: {type: 'bill'}, query: {vehicleId: this.widgetData.motorVehicleId.toString()}});\n }\n\n okayToDeleteImage(){\n this.showDeleteImageConfirmation = false;\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.widgetData.imageInfo.id};\n apiService.sendDeleteRequest('Utility','Document',params).then(data=>{\n var response = data.data;\n if(response.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.message,\n type: 'success',\n duration: 5000\n });\n this.widgetData.imageInfo = {id: 0, fileName:\"\", fileType:0, guid:\"\", fileExtension:\"\", uri:\"\"};\n this.widgetData.isImageChanged = false;\n this.selectedFile = null;\n (this.$refs.vehicleImageUploader as FileUploader).resetUploder();\n this.vehicleImageUri = this.initialVehicleImageUri;\n this.fileExists = false;\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false); \n });\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleBasicDetailsWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleBasicDetailsWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleBasicDetailsWidget.vue?vue&type=template&id=9b128e22&scoped=true\"\nimport script from \"./VehicleBasicDetailsWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleBasicDetailsWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleBasicDetailsWidget.vue?vue&type=style&index=0&id=9b128e22&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9b128e22\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"card bills-for-payment-card\"},[_c('div',{staticClass:\"card-header widget-card-header content-center text-white p-0\"},[_vm._t(\"default\",function(){return [_c('CRow',[_c('CCol',{staticClass:\"lg-10\"},[_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name widgetHeaderText text-left\"},[_vm._v(\"Bills For Payment\")])]),_c('CCol',[_c('div',[(_vm.supplierId < 0)?_c('CButton',{staticClass:\"add-bill-button\",on:{\"click\":_vm.goToBillExpenseClaim}},[_c('i',{staticClass:\"fas fa-plus fa-lg\",attrs:{\"title\":\"Add Bill\"}})]):_vm._e()],1)])],1)]})],2),_vm._t(\"body\",function(){return [(_vm.busy)?_c('CRow',[_c('CCol',[_c('WidgetBusyIndicator',{attrs:{\"busy\":_vm.busy}})],1)],1):_c('div',{staticClass:\"card-body expense-claims-widget\"},[_c('CRow',[_c('CCol',{attrs:{\"cols\":\"12\"}},[_c('DataTable',{ref:\"billsForPaymentTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"paginationColor\":\"bills-for-payment-widget-paginator\",\"emptyBanner\":\"No bills for payment to display.\",\"selectable\":true},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)],1)],1)]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{'busy-indicator-container': true, 'busy':_vm.busy},attrs:{\"id\":\"apploading\"}},[_c('div',{staticClass:\"busy-indicator-overlay\"}),_c('div',{staticClass:\"busy-indicator\",attrs:{\"id\":\"divBusyindicator\"}},[_c('orbit-spinner',{attrs:{\"animation-duration\":1200,\"size\":100,\"color\":this.$store.getters.getBaseColorCode}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport OrbitSpinner from 'epic-spinners/src/components/lib/OrbitSpinner.vue'\n@Component(\n {\n components: {\n OrbitSpinner\n }\n }\n)\nexport default class WidgetBusyIndicator extends Vue{\n @Prop() busy:any;\n spinnerColor:string = '#1db959';\n created(){\n this.spinnerColor = this.$store.getters.getBaseColorCode;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WidgetBusyIndicator.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WidgetBusyIndicator.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./WidgetBusyIndicator.vue?vue&type=template&id=6947cf06&scoped=true\"\nimport script from \"./WidgetBusyIndicator.vue?vue&type=script&lang=ts\"\nexport * from \"./WidgetBusyIndicator.vue?vue&type=script&lang=ts\"\nimport style0 from \"./WidgetBusyIndicator.vue?vue&type=style&index=0&id=6947cf06&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6947cf06\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{class:_vm.value >= 0 ? _vm.positiveValueClass : 'negative-currency-data'},[_vm._v(\"\\n \"+_vm._s(_vm.getCurrencyText)+\"\\n\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default function ApexCurrencyFormat(value:any,appendSign:string = \"$\") \r\n{\r\n if(+(+value).toFixed(2) >= 0) {\r\n return appendSign.concat((+value).toFixed(2).replace(/\\d(?=(\\d{3})+\\.)/g, '$&,')); \r\n }else {\r\n let minusSymbol = \"-\";\r\n return minusSymbol.concat(appendSign.concat((+value * -1).toFixed(2).replace(/\\d(?=(\\d{3})+\\.)/g, '$&,'))); \r\n }\r\n}","\n\n\n\n\n\n\nimport ApexCurrencyFormat from '@/filters/currencyFilter';\nimport { Vue, Prop, Component } from 'vue-property-decorator';\n@Component\nexport default class ApexCurrency extends Vue {\n @Prop() value;\n @Prop({default: null}) customPositiveValueClass;\n @Prop({default: null}) defaultReturnValue;\n positiveValueClass: any = '';\n\n created(){\n this.positiveValueClass = this.customPositiveValueClass != null ? this.customPositiveValueClass : '';\n }\n \n get getCurrencyText(){\n if(this.value){\n return ApexCurrencyFormat(this.value);\n }\n else if(this.defaultReturnValue){\n return this.defaultReturnValue;\n }else {\n return ApexCurrencyFormat(0);\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApexCurrency.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApexCurrency.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApexCurrency.vue?vue&type=template&id=9e63d054&scoped=true\"\nimport script from \"./ApexCurrency.vue?vue&type=script&lang=ts\"\nexport * from \"./ApexCurrency.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApexCurrency.vue?vue&type=style&index=0&id=9e63d054&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"9e63d054\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport WidgetBusyIndicator from \"@/shared/components/busyIndicator/WidgetBusyIndicator.vue\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport moment from \"moment\";\r\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\r\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\r\nimport { TableFilterParams } from \"@/models/tableFilterParams.model\";\r\nimport { DataTableActionTypes } from \"@/shared/enums/dataTableActionTypes.enum\";\r\nimport {CRow, CCol, CButton} from \"@coreui/vue\";\r\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n WidgetBusyIndicator,\r\n CRow, CCol, CButton\r\n },\r\n})\r\nexport default class BillsForPaymentWidget extends Vue{\r\n @Prop() supplierId: number;\r\n busy: boolean = true;\r\n items:any[] = [];\r\n showEmptyBanner:boolean = false;\r\n fields = [\r\n {key: 'date',label:'Date Submitted', class:'width_25', sortable:true, \r\n formatter: (value, key, item) => {\r\n return moment(item.date).format(\"DD MMM YYYY\");\r\n }, \r\n },\r\n {key: 'categoryText',label:'Category', class:'width_20', sortable:false},\r\n {key: 'statusText',label:'Date Paid', class:'width_20', sortable:true,\r\n formatter: (value,key,item) => {\r\n if(item.statusText == \"Paid\"){\r\n return moment(item.paymentDate).format(\"DD MMM YYYY\");\r\n }else{\r\n return item.statusText;\r\n }\r\n },\r\n },\r\n {key: 'reference', class:'width_20', sortable:true},\r\n {key: 'totalAmount',label:'Total (Incl. GST)', class:'text-right', sortable:true}\r\n ]; \r\n sortBy:string = \"date\";\r\n sortDesc:boolean = true;\r\n totalRows:number = 0; \r\n customTemplateList:Array = [{slot: 'totalAmount', customTemplate: ApexCurrency}];\r\n perPage:number = 5;\r\n\r\n created() {\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: \"date\",\r\n SortDesc: true,\r\n SearchByString: \"\",\r\n RelatedId: this.supplierId,\r\n Status: 0,\r\n });\r\n }\r\n\r\n refreshGrid(params: TableFilterParams) {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n apiService.sendGetRequest(\"ExpenseClaim\", \"SupplierExpenseClaimList\", params).then((response) => {\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.busy = false;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n })\r\n .catch((error) => {\r\n this.busy = false;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n goToBillExpenseClaim() {\r\n this.$router.push({\r\n name: \"Submit Expense Claims\",\r\n params: { type: \"bill\" }\r\n });\r\n }\r\n\r\n onPageChange(sortBy: string, sortDesc: boolean, fromIndex: number) {\r\n this.refreshGrid({\r\n FromIndex: fromIndex,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: this.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: this.supplierId,\r\n Status: 0,\r\n });\r\n }\r\n\r\n onSortingChange(ctx: any) {\r\n if (ctx.sortBy) {\r\n this.sortDesc = ctx.sortDesc;\r\n this.sortBy = ctx.sortBy;\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: this.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: this.supplierId,\r\n Status: 0,\r\n });\r\n }\r\n }\r\n\r\n onCustomDataTableEvent(data: any, type: DataTableActionTypes) {\r\n if (type == DataTableActionTypes.RowSelect) {\r\n this.$router.push({\r\n name: \"View Expense Claim\",\r\n params: { id: data.id },\r\n });\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BillsForPaymentWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BillsForPaymentWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BillsForPaymentWidget.vue?vue&type=template&id=8409abae&scoped=true\"\nimport script from \"./BillsForPaymentWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./BillsForPaymentWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BillsForPaymentWidget.vue?vue&type=style&index=0&id=8409abae&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8409abae\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header widget-card-header content-left text-white p-0\"},[_vm._t(\"default\",function(){return [_c('CRow',[_c('CCol',{staticClass:\"lg-7\"},[_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name widgetHeaderText text-left\"},[_vm._v(\"Profile Summary\")])]),_c('CCol',[_c('div',[_c('CButton',{staticClass:\"navigate-to-my-profile\",on:{\"click\":_vm.navigateToProfile}},[_c('i',{staticClass:\"far fa-arrow-alt-circle-right fa-lg\",attrs:{\"title\":\"My Profile\"}})])],1)])],1)]})],2),_vm._t(\"body\",function(){return [_c('CRow',[_c('CCol',{attrs:{\"col\":\"4\"}},[_c('div',{staticClass:\"text-bold db-item-name propertyHeaderText text-right\"},[_vm._v(\"Name:\")])]),_c('CCol',{attrs:{\"col\":\"8\"}},[_c('div',{staticClass:\"db-item-name text-left\"},[_vm._v(\"\\n \"+_vm._s(_vm.supplier.name)+\"\\n \")])])],1),_c('CRow',[_c('CCol',{attrs:{\"col\":\"4\"}},[_c('div',{staticClass:\"text-bold db-item-name propertyHeaderText text-right\"},[_vm._v(\"Primary Contact:\")])]),_c('CCol',{attrs:{\"col\":\"8\"}},[_c('div',{staticClass:\"db-item-name text-left\"},[_vm._v(\"\\n \"+_vm._s(_vm.supplier.primaryPersonFirstName)+\" \"+_vm._s(_vm.supplier.primaryPersonLastName)+\"\\n \")])])],1),_c('CRow',[_c('CCol',{attrs:{\"col\":\"4\"}},[_c('div',{staticClass:\"text-bold db-item-name propertyHeaderText text-right\"},[_vm._v(\"Email:\")])]),_c('CCol',{attrs:{\"col\":\"8\"}},[_c('div',{staticClass:\"db-item-name text-left supplier-email\",attrs:{\"title\":_vm.supplier.email}},[_vm._v(\"\\n \"+_vm._s(_vm.supplier.email)+\"\\n \")])])],1),_c('CRow',[_c('CCol',{attrs:{\"col\":\"4\"}},[_c('div',{staticClass:\"text-bold db-item-name propertyHeaderText text-right\"},[_vm._v(\"Work Phone:\")])]),_c('CCol',{attrs:{\"col\":\"8\"}},[_c('div',{staticClass:\"db-item-name text-left\"},[_vm._v(\"\\n \"+_vm._s(_vm.supplier.workPhone)+\"\\n \")])])],1)]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport WidgetBusyIndicator from \"@/shared/components/busyIndicator/WidgetBusyIndicator.vue\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport {CRow, CCol, CButton} from \"@coreui/vue\";\r\nimport { Supplier } from \"@/models/supplier.model\";\r\n\r\n@Component({\r\n components: {\r\n WidgetBusyIndicator,\r\n CRow, CCol, CButton,\r\n },\r\n})\r\nexport default class ProfileSummaryWidget extends Vue{\r\n @Prop() supplierId: number;\r\n supplier:Supplier = {\r\n id:0, \r\n name:\"\",\r\n abn:\"\",\r\n acn:\"\",\r\n mobilePhone:\"\",\r\n workPhone:\"\",\r\n homePhone:\"\",\r\n email:\"\",\r\n webSiteURL:\"\",\r\n isActive:true,\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n createdDate:\"\",\r\n lastUpadteByName:\"\",\r\n lastUpdatedDate:\"\",\r\n primaryPersonFirstName:\"\",\r\n primaryPersonLastName:\"\",\r\n tags:\"\"\r\n };\r\n \r\n\r\n created(){\r\n this.loadSupplierDetails(); \r\n }\r\n\r\n loadSupplierDetails() {\r\n \r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id:this.supplierId}\r\n apiService.sendGetRequest('Supplier','SupplierDetailsSummary',params).then(response=>{\r\n if(response.data){\r\n this.supplier = response.data.item2;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }); \r\n }\r\n\r\n navigateToProfile(){\r\n this.$router.push({name:'My Profile', params:{routerDisplayName:'personal'}});\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileSummaryWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProfileSummaryWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProfileSummaryWidget.vue?vue&type=template&id=2ab0eab0&scoped=true\"\nimport script from \"./ProfileSummaryWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./ProfileSummaryWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ProfileSummaryWidget.vue?vue&type=style&index=0&id=2ab0eab0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ab0eab0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-col',{staticClass:\"finance-application-widget\",attrs:{\"lg\":\"6\",\"xl\":\"4\"}},[_c('b-card',{staticClass:\"card db-item db-item-no-hover finance-app-card\",staticStyle:{\"overflow\":\"hidden\",\"cursor\":\"auto\"},attrs:{\"no-body\":\"\"}},[_c('b-card-body',{staticClass:\"finance-rec-card-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"9\",\"lg\":\"9\",\"md\":\"9\",\"sm\":\"9\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(_vm._s(this.label))])])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"xl\":\"9\",\"lg\":\"9\",\"md\":\"9\",\"sm\":\"9\"}},[_c('p',{staticClass:\"text-dark text-uppercase db-item-name\"},[_vm._v(\" statuses \")])])],1),_c('b-row',{staticStyle:{\"padding-top\":\"15px\",\"padding-bottom\":\"15px\"}},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"6\",\"cols\":\"6\"}},[(_vm.applicationType == 'FA')?_c('b-form-select',{staticClass:\"textInput indentedTextInput status-filter selectListHeight\",attrs:{\"id\":\"assigneeFilter\",\"plain\":true,\"options\":_vm.assigneeList,\"required\":\"\"},on:{\"input\":_vm.onAssigneeChanged},model:{value:(_vm.assignee),callback:function ($$v) {_vm.assignee=$$v},expression:\"assignee\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":-1}},[_vm._v(\"All\")])])],2):_vm._e()],1),_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"6\",\"cols\":\"6\"}},[(_vm.applicationType == 'FA')?_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"inactiveStatusCheckbox\"},on:{\"input\":_vm.onShowInactiveChanged},model:{value:(_vm.showInactive),callback:function ($$v) {_vm.showInactive=$$v},expression:\"showInactive\"}},[_c('span',[_vm._v(\"Show Inactive Status\")])]):_vm._e(),(_vm.applicationType == 'PFA')?_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"inactiveStatusCheckboxpfa\"},on:{\"input\":_vm.onShowInactiveChanged},model:{value:(_vm.showInactive),callback:function ($$v) {_vm.showInactive=$$v},expression:\"showInactive\"}},[_c('span',[_vm._v(\"Show Inactive Status\")])]):_vm._e()],1)],1),(_vm.busy)?_c('b-row',{staticStyle:{\"justify-content\":\"center\",\"align-items\":\"center\"}},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('WidgetBusyIndicator',{attrs:{\"busy\":_vm.busy}})],1)],1):_c('b-row',[_c('b-col',{staticClass:\"status-graph-container\",attrs:{\"cols\":\"12\"}},[(_vm.statusLabels.length > 0 && _vm.statusData.length > 0)?_c('div',[_c('bar-chart',{attrs:{\"backgroundColors\":_vm.barChartColor,\"labels\":_vm.statusLabels,\"data\":_vm.statusData,\"options\":_vm.statusBarOptions,\"barChartType\":0,\"label\":'Total Count'}})],1):_vm._e()])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport BarChart from'@/shared/components/charts/BarChart.vue';\nimport lookupService from '@/shared/services/lookupService';\nimport apiService from '@/shared/services/apiService';\nimport WidgetBusyIndicator from \"@/shared/components/busyIndicator/WidgetBusyIndicator.vue\";\nimport { FinanceApplicationStates, ApplicationType } from '@/shared/enums/financeApplicationStates.enum';\nimport ApexConstants from '@/shared/constants'\n\n@Component({\n components: {\n WidgetBusyIndicator,\n BarChart\n }\n})\nexport default class ApplicationStatusBarChartWidget extends Vue{\n @Prop() label: string;\n @Prop() applicationType: string;\n busy: boolean = true;\n statusWithCountList:any[] = [];\n showInactive:boolean = false;\n applicationTypeCode: ApplicationType = null;\n assigneeList: any[] = [];\n assignee: number = -1;\n statusLabels: any[] = [];\n statusData: any[] = []\n typeList: any[] = [];\n statusBarOptions:any = { \n scales: {\n yAxes: [{\n ticks: {\n beginAtZero:true,\n stepSize:5,\n },\n gridLines: {\n drawOnChartArea: false,\n },\n barThickness: 10,\n },\n ],\n xAxes:[{\n gridLines: {\n drawOnChartArea: false,\n },\n ticks: {\n fontFamily: \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'\",\n fontSize: 12,\n maxRotation: 90,\n minRotation: 90\n }\n }]\n },\n legend:{\n display:true,\n position:'bottom',\n onClick: null,\n labels: {\n fontFamily: \"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'\",\n }\n },\n maintainAspectRatio: false,\n responsive: true,\n onClick: (e, item) => {\n if (item[0]) {\n this.routeOnBarClicked(item[0]._index);\n }\n },\n onHover: (e, array) => {\n if (array.length > 0) {\n e.target.style.cursor = 'pointer';\n } else {\n e.target.style.cursor = '';\n }\n }\n };\n\n mounted() {\n this.loadAssigneeList();\n this.loadApplicationCount();\n }\n\n\n get barChartColor(){\n return this.$store.getters.getBaseColorCode;\n }\n \n onAssigneeChanged() {\n this.loadApplicationCount();\n }\n\n onShowInactiveChanged(){ \n this.loadApplicationCount();\n }\n\n loadAssigneeList() {\n lookupService.GetStandardUserList().then( data=> {\n this.assigneeList = data;\n this.assigneeList = this.assigneeList.sort((a, b) => a.text.localeCompare(b.text)); \n this.busy= false;\n } \n );\n }\n\n loadApplicationCount() {\n this.busy = true;\n this.applicationTypeCode = this.applicationType == \"FA\"? ApplicationType.Finance: ApplicationType.ClientFinance;\n apiService.sendGetRequest(\"Application\",\"ApplicationWidgetInfo\", { applicationType: this.applicationTypeCode , assigneeId:this.assignee, showInactive:this.showInactive}).then(response =>{\n this.statusWithCountList = response.data;\n this.createApplicationStatusBarChart(this.statusWithCountList);\n this.busy = false;\n }).catch(error => {\n this.busy = false;\n });\n }\n\n createApplicationStatusBarChart(statusWithCountList: any[]) {\n this.statusLabels = statusWithCountList.map(s => s.status);\n this.statusData = statusWithCountList.map(s => s.count);\n if (this.statusData.find((value, index) => value >= 50 )) {\n this.statusBarOptions.scales.yAxes[0].ticks.stepSize = 20;\n }\n }\n\n routeOnBarClicked(barIndex: number)\n {\n // Seventh bar indexed as value 6 always represents the Pending Reconciliation bar\n if (barIndex == ApexConstants.FINANCE_APPLICATIONS_WIDGET_PENDING_RECONCILIATION_BAR_INDEX) {\n this.$router.push({name:'Finance Application', params:{routerDisplayName:\"pendingReconciliation\"}});\n return;\n }\n if (barIndex < FinanceApplicationStates.Completed) {\n ++barIndex;\n }\n this.$router.push({name:'Finance Application', params: { routerDisplayName:'applicationsList', clickedBarIndex: barIndex.toString(), showInactive: this.showInactive.toString()}});\n return;\n }\n} \n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationStatusBarChartWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationStatusBarChartWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationStatusBarChartWidget.vue?vue&type=template&id=77cf0990&scoped=true\"\nimport script from \"./ApplicationStatusBarChartWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationStatusBarChartWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationStatusBarChartWidget.vue?vue&type=style&index=0&id=77cf0990&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"77cf0990\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"card db-item db-item-active entities-without-invoices-card\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigateToEntitiesWithoutInvoicesReport}},[_c('b-card-body',{staticClass:\"invoices-card-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"sm\":\"10\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Entities Without Invoices\")])])],1),_c('div',{staticClass:\"brand-card-body\"},[_c('div',{staticClass:\"text-value entity-count\"},[_vm._v(\"\\n \"+_vm._s(_vm.entitiesWithoutInvoicesCount ? _vm.entitiesWithoutInvoicesCount:0)+\" \\n \")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\n\n@Component({\n components: {\n },\n})\nexport default class EntitiesWithoutInvoicesWidget extends Vue {\n @Prop() entitiesWithoutInvoicesCount;\n\n navigateToEntitiesWithoutInvoicesReport(){\n this.$router.push({name:'Entities without Invoices'});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutInvoicesWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutInvoicesWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EntitiesWithoutInvoicesWidget.vue?vue&type=template&id=5450a3cc&scoped=true\"\nimport script from \"./EntitiesWithoutInvoicesWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitiesWithoutInvoicesWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EntitiesWithoutInvoicesWidget.vue?vue&type=style&index=0&id=5450a3cc&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5450a3cc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"card db-item db-item-active entities-outstanding-balance-card\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigateToEntitiesOutstandingBalanceReport}},[_c('b-card-body',{staticClass:\"invoices-card-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"sm\":\"11\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Entities with Outstanding Balance\")])])],1),_c('div',{staticClass:\"brand-card-body\"},[_c('div',{staticClass:\"text-value entity-count\"},[_vm._v(\"\\n \"+_vm._s(_vm.entitiesWithOutstandingBalanceCount ? _vm.entitiesWithOutstandingBalanceCount : 0)+\"\\n \")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\n\n@Component({\n components: {\n },\n})\nexport default class EntitiesWithOutstandingBalanceWidget extends Vue {\n @Prop() entitiesWithOutstandingBalanceCount\n\n navigateToEntitiesOutstandingBalanceReport(){\n this.$router.push({name:'Entities with Outstanding Balance'});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithOutstandingBalanceWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithOutstandingBalanceWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EntitiesWithOutstandingBalanceWidget.vue?vue&type=template&id=2ae5394c&scoped=true\"\nimport script from \"./EntitiesWithOutstandingBalanceWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitiesWithOutstandingBalanceWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EntitiesWithOutstandingBalanceWidget.vue?vue&type=style&index=0&id=2ae5394c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ae5394c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"card db-item db-item-active entities-without-service-agreement-card\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigateToEntitiesWithoutServiceAgreementReport}},[_c('b-card-body',{staticClass:\"invoices-card-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"sm\":\"10\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Entities Without Service Agreement\")])])],1),_c('div',{staticClass:\"brand-card-body\"},[_c('div',{staticClass:\"text-value entity-count\"},[_vm._v(\"\\n \"+_vm._s(_vm.entitiesWithoutServiceAgreementCount ? _vm.entitiesWithoutServiceAgreementCount:0)+\" \\n \")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\n\n@Component({\n components: {\n },\n})\nexport default class EntitiesWithoutServiceAgreementWidget extends Vue {\n @Prop() entitiesWithoutServiceAgreementCount;\n\n navigateToEntitiesWithoutServiceAgreementReport(){\n this.$router.push({name:'Entities without Service Agreement'});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutServiceAgreementWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutServiceAgreementWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EntitiesWithoutServiceAgreementWidget.vue?vue&type=template&id=3dee68cd&scoped=true\"\nimport script from \"./EntitiesWithoutServiceAgreementWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitiesWithoutServiceAgreementWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EntitiesWithoutServiceAgreementWidget.vue?vue&type=style&index=0&id=3dee68cd&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3dee68cd\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"card db-item db-item-active entities-without-admin-fee-card\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigateToEntitiesWithoutAdminFee}},[_c('b-card-body',{staticClass:\"invoices-card-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"sm\":\"10\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\"Active Lease and Novation with no Admin Fee\")])])],1),_c('div',{staticClass:\"brand-card-body\"},[_c('div',{staticClass:\"text-value entity-count\"},[_vm._v(\"\\n \"+_vm._s(_vm.entitiesWithOutAdminFeeCount ? _vm.entitiesWithOutAdminFeeCount:0)+\" \\n \")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\n\n@Component({\n components: {\n },\n})\nexport default class EntitiesWithoutAdminFeeWidget extends Vue {\n @Prop() entitiesWithOutAdminFeeCount;\n\n navigateToEntitiesWithoutAdminFee(){\n this.$router.push({name:'Entities without Admin Fee'});\n }\n}\n","export enum ClientFinanceApplicationStates\r\n{\r\n PersonalDetails = 1,\r\n Address = 2,\r\n Employment = 3,\r\n Income = 4,\r\n Assets = 5,\r\n Liabilities = 6,\r\n MotorVehicleDetailsAndFinancedAmount = 7,\r\n ChangeInCircumstances = 8,\r\n AwaitingSignature = 9,\r\n AwaitingReview = 10,\r\n InformationQueried = 11,\r\n Rejected = 12,\r\n ReadyForSubmission = 13,\r\n Withdrawn = 14,\r\n Other = 15, \r\n AwaitingFinancierApproval = 16,\r\n FinancierApproved = 17,\r\n Converted = 18,\r\n DocumentQueried = 19,\r\n // Queried status solely used for identify both information and document queried statuses together. DO NOT USE this as a CFA status\r\n Queried = 20,\r\n}\r\n\r\nexport enum ClientFinanceApplicationQueryActionType\r\n{\r\n Information = 1,\r\n Document = 2,\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutAdminFeeWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutAdminFeeWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EntitiesWithoutAdminFeeWidget.vue?vue&type=template&id=067eb960&scoped=true\"\nimport script from \"./EntitiesWithoutAdminFeeWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitiesWithoutAdminFeeWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EntitiesWithoutAdminFeeWidget.vue?vue&type=style&index=0&id=067eb960&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"067eb960\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-card',{staticClass:\"card db-item\"},[_c('b-card-header',{staticClass:\"card-header widget-card-header p-0\"},[_c('b-row',[_c('b-col',{staticClass:\"pr-0\"},[_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name text-left displayNameText\"},[_vm._v(\"Applications\")])]),_c('b-col',{staticClass:\"pl-2 pb-0 pt-1 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('multiselect',{ref:\"multiselect\",attrs:{\"id\":\"cfaStatusSelect\",\"options\":_vm.cfaStatusFilterList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onCfaStatusChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(\"\\n \"+_vm._s(_vm.cfaStatusFilterList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Status\" : \"Statuses\")+\" \\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedCfaStatusList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedCfaStatusFilterList),callback:function ($$v) {_vm.selectedCfaStatusFilterList=$$v},expression:\"selectedCfaStatusFilterList\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No status found.\")])],2)],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetSelectedClientStatusList()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',[_c('div',{on:{\"click\":_vm.onClickNewClientApplication}},[_c('CDropdown',{staticClass:\"client-application-drop-button\",attrs:{\"caret\":false,\"id\":\"ddClientApplication\",\"title\":\"Create Client Finance Application\",\"no-caret\":\"\",\"aria-hidden\":\"true\",\"aria-expanded\":\"false\"},scopedSlots:_vm._u([{key:\"toggler-content\",fn:function(){return [_c('i',{staticClass:\"fas fa-plus fa-lg\"})]},proxy:true}])})],1)])],1)],1),_c('b-card-body',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('DataTable',{ref:\"clientFinanceApplicationsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"customTemplates\":_vm.customTemplateList,\"emptyBanner\":\"No client finance applications to display.\",\"selectable\":true},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteClientFinanceApplicationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteClientFinanceApplicationConf\"},on:{\"ok\":_vm.deleteClientFinanceApplication}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Application\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the application?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteClientFinanceApplicationConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteClientFinanceApplicationConf_OkButton\"},on:{\"click\":_vm.deleteClientFinanceApplication}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showReinstateCFA)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ReinstateClientFinanceApplicationConf\"},on:{\"ok\":_vm.reinstateClientFinanceApplication}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Reinstate Application\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Press OK if you want to reinstate this form for editing and resubmission. \\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ReinstateClientFinanceApplicationConf_CancelButton\"},on:{\"click\":_vm.onCloseReinstate}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"ReinstateClientFinanceApplicationConf_OkButton\"},on:{\"click\":_vm.reinstateClientFinanceApplication}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.item.isActive && _vm.item.status <= _vm.changeInCircumstancesStatus)?_c('b-btn',{staticClass:\"ml-1 action-btn\",attrs:{\"title\":\"Delete Application\"},on:{\"click\":_vm.onDeleteClientFinanceApplicationClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.isActive && _vm.item.status == _vm.widthdrawnStatus && _vm.item.lastUpdatedByUserId == 0)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Reinstate Application\"},on:{\"click\":_vm.onClickReinstateCFA}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\n@Component(\n {\n components: {\n Modal\n } \n }\n)\n\nexport default class ClientFinanceApplicationListActionButtons extends Vue {\n @Prop() item:any\n showDeleteClientFinanceApplicationConfirmation = false;\n showReinstateCFA = false;\n changeInCircumstancesStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.ChangeInCircumstances;\n widthdrawnStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Withdrawn;\n \n onCloseDelete()\n {\n this.showDeleteClientFinanceApplicationConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n onCloseReinstate(){\n this.showReinstateCFA = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n onDeleteClientFinanceApplicationClick()\n {\n this.showDeleteClientFinanceApplicationConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n onClickReinstateCFA(){\n this.showReinstateCFA = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n reinstateClientFinanceApplication(){\n this.showReinstateCFA = false;\n this.onAction(this.item, DataTableActionTypes.Reinstate); \n }\n\n deleteClientFinanceApplication(){\n this.showDeleteClientFinanceApplicationConfirmation = false;\n this.item.isActive = false;\n this.onAction(this.item, DataTableActionTypes.Delete); \n }\n\n @Emit('customEvent') onAction(data: any, type: DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientFinanceApplicationListActionButtons.vue?vue&type=template&id=147ce9d0&scoped=true\"\nimport script from \"./ClientFinanceApplicationListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientFinanceApplicationListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientFinanceApplicationListActionButtons.vue?vue&type=style&index=0&id=147ce9d0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"147ce9d0\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {Component, Emit, Vue } from \"vue-property-decorator\";\nimport apiService from \"@/shared/services/apiService\";\nimport moment from \"moment\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport {ClientStatusMultiSelectFilterParams } from \"@/models/tableFilterParams.model\";\nimport {DataTableActionTypes } from \"@/shared/enums/dataTableActionTypes.enum\";\nimport {ClientFinanceApplicationStates} from \"@/shared/enums/clientFinanceApplicationStates.enum\"\nimport {CRow, CCol, CDropdown, CDropdownItem} from \"@coreui/vue\";\nimport {TableTemplate } from \"@/models/tableCustomTemplate.model\";\nimport Multiselect from 'vue-multiselect';\nimport ClientFinanceApplicationListActionButtons from \"@/components/client/widgets/ClientFinanceApplicationListActionButtons.vue\";\n\n@Component({\n components: {\n DataTable,\n CRow, CCol, CDropdown, CDropdownItem,\n Multiselect\n },\n})\nexport default class ClientFinanceApplicationWidget extends Vue{\n busy: boolean = true;\n items:any[] = [];\n showEmptyBanner:boolean = false;\n fields = [\n {key: 'dateSubmitted',label:'Submitted', class:'width_25', sortable:true, \n formatter: (value, key, item) => {\n return moment(item.dateSubmitted).format(\"DD MMM YYYY\");\n }, \n },\n {key: 'arn',label:'ARN', class:'width_20', sortable:false},\n {key: 'statusText',label:'Status', class:'width_20', sortable:true},\n {key: 'lastUpdatedDate',label:'Updated', class:'width_20', sortable:true, \n formatter: (value, key, item) => {\n return moment(item.lastUpdatedDate).format(\"DD MMM YYYY\");\n }, \n },\n {key: 'actions',label:'', class:'width_15 text-right'},\n ]; \n sortBy:string = \"lastUpdatedDate\";\n sortDesc:boolean = true;\n totalRows:number = 0; \n perPage:number = 2;\n clientId:number = 0;\n showInactive:boolean = false;\n routeNames:string[] = ['personalDetails', 'addressDetails', 'employmentDetails', 'incomeDetails', 'assetsDetails', 'liabilitiesDetails', 'motorVehicleDetailsAndFinancedAmount', 'changeInCircumstances'];\n customTemplateList:Array = [{slot:\"actions\",customTemplate:ClientFinanceApplicationListActionButtons}];\n\n selectedCfaStatusFilterList:any[] = [];\n cfaStatusFilterList:any[] = [];\n initialCfaStatusFilterList:any[] = [\n // Queried state is used for both information and document query states\n ClientFinanceApplicationStates.Queried,\n ClientFinanceApplicationStates.AwaitingSignature\n ];\n selectedCfaStatusFilterIdList:any;\n resetButtonDisabled:boolean = true;\n filter:string = \"\";\n\n\n created() {\n this.clientId = this.$store.getters.getToken.relatedEntityId;\n this.loadClientFinanceApplicationStatusList();\n }\n\n loadClientFinanceApplicationStatusList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('ClientFinanceApplication','ClientFinanceApplicationStatuses').then(response=> {\n if(response.data)\n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.cfaStatusFilterList = response.data.item2.filter(obj => obj.text != 'All');\n this.selectedCfaStatusFilterList = response.data.item1.filter(obj=>this.initialCfaStatusFilterList.includes(obj.value));\n this.selectedCfaStatusFilterIdList = this.selectedCfaStatusFilterList.map(status => status.value).toString();\n this.changeCfaStatus();\n }\n });\n this.$store.dispatch('storeIsBusyValue',false);\n }\n\n removeSelectedCfaStatusList() {\n this.selectedCfaStatusFilterList = [];\n this.selectedCfaStatusFilterIdList = [0];\n this.resetButtonDisabled = false;\n this.changeCfaStatus();\n }\n \n onCfaStatusChanged(){\n this.selectedCfaStatusFilterIdList = this.selectedCfaStatusFilterList.map(status => status.value).toString();\n this.resetTable();\n this.changeCfaStatus();\n this.resetButtonDisabled = false;\n }\n\n resetSelectedClientStatusList(){\n this.selectedCfaStatusFilterList = this.cfaStatusFilterList.filter(obj=>this.initialCfaStatusFilterList.includes(obj.value));\n this.selectedCfaStatusFilterIdList = this.selectedCfaStatusFilterList.map(status => status.value).toString();\n this.changeCfaStatus();\n this.resetButtonDisabled = true;\n }\n\n changeCfaStatus(){\n this.refreshGrid({\n FromIndex: 0,\n Count: this.perPage,\n selectedClientStatusFilterList: this.selectedCfaStatusFilterIdList,\n SortBy: \"dateSubmitted\",\n SortDesc: true,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId: this.$store.getters.getToken.relatedEntityId,\n Status: 0,\n });\n }\n\n refreshGrid(params: ClientStatusMultiSelectFilterParams) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendGetRequest(\"ClientFinanceApplication\", \"ClientFinanceApplicationWidgetDataList\", params).then( response => {\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.busy = false;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n }).catch((error) => {\n this.busy = false;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onClickNewClientApplication() {\n this.$router.push({name:'Edit Client Finance Application',params:{id:'0',clientId:this.clientId.toString(),routerDisplayName:'personalDetails'}})\n }\n \n onPageChange(sortBy: string, sortDesc: boolean, fromIndex: number) {\n this.refreshGrid({\n selectedClientStatusFilterList:this.selectedCfaStatusFilterIdList,\n FromIndex: fromIndex,\n Count: this.perPage,\n SortBy: this.sortBy,\n SortDesc: this.sortDesc,\n SearchByString: \"\",\n RelatedId: this.$store.getters.getToken.relatedEntityId,\n Status: 0,\n });\n }\n\n onSortingChange(ctx: any) {\n if (ctx.sortBy) {\n this.sortBy = ctx.sortBy == \"arn\" ? \"ARN\" : ctx.sortBy;\n this.sortDesc = ctx.sortDesc;\n this.refreshGrid({\n selectedClientStatusFilterList:this.selectedCfaStatusFilterIdList,\n FromIndex: 0,\n Count: this.perPage,\n SortBy: this.sortBy,\n SortDesc: this.sortDesc,\n SearchByString: \"\",\n RelatedId: this.$store.getters.getToken.relatedEntityId,\n Status: 0,\n });\n }\n }\n\n onCustomDataTableEvent(data: any, type: DataTableActionTypes) {\n if (type == DataTableActionTypes.ActionButtonSelect) {\n (this.$refs.clientFinanceApplicationsTable as DataTable).setLastCustomAction(type);\n }\n if (type == DataTableActionTypes.ResetActionButtton) {\n (this.$refs.clientFinanceApplicationsTable as DataTable).resetLastCustomAction();\n }\n if (type == DataTableActionTypes.RowSelect) {\n var routerDisplayName = data.status>this.routeNames.length ? this.routeNames[this.routeNames.length-1] :this.routeNames[data.status-1];\n this.$router.push({name:'Edit Client Finance Application',params:{id:data.id.toString(),clientId:data.clientId.toString(),routerDisplayName:routerDisplayName}})\n }\n if(type == DataTableActionTypes.Delete){\n this.onDeleteClientFinanceApplication(data);\n }\n if(type == DataTableActionTypes.Reinstate) {\n this.onReinstateClientFinanceApplication(data);\n }\n }\n\n onDeleteClientFinanceApplication(application:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"ClientFinanceApplication\",\"ClientFinanceApplication\",{id:application.id}).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.changeCfaStatus();\n this.resetTable();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.clientFinanceApplicationsTable as DataTable).resetLastCustomAction();\n }\n ) \n }\n\n onReinstateClientFinanceApplication(application:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest(\"ClientFinanceApplication\",\"ReinstateClientFinanceApplication\", application.id).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.resetTable();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.clientFinanceApplicationsTable as DataTable).resetLastCustomAction();\n }\n )\n }\n\n resetTable(){\n this.sortBy = \"dateSubmitted\";\n (this.$refs.clientFinanceApplicationsTable as DataTable).reset();\n }\n \n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientFinanceApplicationWidget.vue?vue&type=template&id=2280aa56&scoped=true\"\nimport script from \"./ClientFinanceApplicationWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientFinanceApplicationWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientFinanceApplicationWidget.vue?vue&type=style&index=0&id=2280aa56&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2280aa56\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"card db-item db-item-active residual-due-leases\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigateToResidualDueReport}},[_c('b-card-body',{staticClass:\"residual-due-card-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"sm\":\"10\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\" Upcoming Residual Due Leases\")])])],1),_c('div',{staticClass:\"brand-card-body\"},[_c('div',{staticClass:\"text-value lease-count\"},[_vm._v(\"\\n \"+_vm._s(_vm.residualDueLeaseCount ? _vm.residualDueLeaseCount:0)+\" \\n \")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\n\n@Component({\n components: {\n },\n})\nexport default class ResidualDueLeasesWidget extends Vue {\n @Prop() residualDueLeaseCount;\n\n navigateToResidualDueReport(){\n this.$router.push({name:'Residual Due'});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResidualDueLeasesWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResidualDueLeasesWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ResidualDueLeasesWidget.vue?vue&type=template&id=c91cb35e&scoped=true\"\nimport script from \"./ResidualDueLeasesWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./ResidualDueLeasesWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ResidualDueLeasesWidget.vue?vue&type=style&index=0&id=c91cb35e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c91cb35e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"card db-item db-item-active novations-exceeding-four-fbt-Years\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.navigateToNovationsExceedingFourFBTYearsReport}},[_c('b-card-body',{staticClass:\"residual-due-card-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\",\"sm\":\"10\"}},[_c('p',{staticClass:\"text-muted text-uppercase db-item-name\"},[_vm._v(\" Novations Exceeding Four FBT Years\")])])],1),_c('div',{staticClass:\"brand-card-body\"},[_c('div',{staticClass:\"text-value novation-count\"},[_vm._v(\"\\n \"+_vm._s(_vm.novationsExceedingFourFBTYearsCount ? _vm.novationsExceedingFourFBTYearsCount:0)+\" \\n \")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\r\n\r\n@Component({\r\n components: {\r\n },\r\n})\r\nexport default class NovationsExceedingFourFBTYearsWidget extends Vue {\r\n @Prop() novationsExceedingFourFBTYearsCount;\r\n\r\n navigateToNovationsExceedingFourFBTYearsReport(){\r\n this.$router.push({name:'Novations Exceeding Four FBT Years'});\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsExceedingFourFBTYearsWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsExceedingFourFBTYearsWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationsExceedingFourFBTYearsWidget.vue?vue&type=template&id=a99add74&scoped=true\"\nimport script from \"./NovationsExceedingFourFBTYearsWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationsExceedingFourFBTYearsWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NovationsExceedingFourFBTYearsWidget.vue?vue&type=style&index=0&id=a99add74&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a99add74\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {SystemWideDashboardInfoModel,BankFileUploadedDatesInfo,BankFileUploadedDatesInfoList, ClientDashboardInfoDto} from '@/models/dashboardInfo.model';\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport BarChart from'@/shared/components/charts/BarChart.vue';\r\nimport VehicleBasicDetailsWidget from '@/components/client/widgets/VehicleBasicDetailsWidget.vue';\r\nimport BillsForPaymentWidget from '@/components/supplier/widgets/BillsForPaymentWidget.vue';\r\nimport ProfileSummaryWidget from '@/components/supplier/widgets/ProfileSummaryWidget.vue';\r\nimport ApplicationStatusBarChartWidget from '@/components/admin/ApplicationStatusBarChartWidget.vue';\r\nimport EntitiesWithoutInvoicesWidge from '@/components/admin/widgets/EntitiesWithoutInvoicesWidget.vue';\r\nimport EntitiesWithOutstandingBalanceWidget from '@/components/admin/widgets/EntitiesWithOutstandingBalanceWidget.vue';\r\nimport EntitiesWithoutServiceAgreementWidget from '@/components/admin/widgets/EntitiesWithoutServiceAgreementWidget.vue';\r\nimport EntitiesWithoutAdminFeeWidget from '@/components/admin/widgets/EntitiesWithoutAdminFeeWidget.vue';\r\nimport ClientFinanceApplicationWidget from \"@/components/client/widgets/ClientFinanceApplicationWidget.vue\";\r\nimport ResidualDueLeasesWidget from '@/components/admin/widgets/ResidualDueLeasesWidget.vue';\r\nimport moment from 'moment';\r\nimport { VehicleStatuses } from '@/shared/enums/vehicleStatuses.enum';\r\nimport NovationsExceedingFourFBTYearsWidget from './widgets/NovationsExceedingFourFBTYearsWidget.vue';\r\n\r\n\r\n@Component({\r\n components: {\r\n EntitiesWithoutInvoicesWidge,\r\n BillsForPaymentWidget,\r\n ProfileSummaryWidget,\r\n BarChart,\r\n VehicleBasicDetailsWidget,\r\n ApplicationStatusBarChartWidget,\r\n EntitiesWithOutstandingBalanceWidget,\r\n EntitiesWithoutServiceAgreementWidget,\r\n ResidualDueLeasesWidget,\r\n ClientFinanceApplicationWidget,\r\n EntitiesWithoutAdminFeeWidget,\r\n NovationsExceedingFourFBTYearsWidget\r\n }\r\n})\r\n\r\nexport default class Dashboard extends Vue{\r\n listitem:BankFileUploadedDatesInfo={\r\n uploadedDate:'',\r\n uploaded:false\r\n }\r\n systemWideDashboardInfo:SystemWideDashboardInfoModel = {\r\n pendingApprovalExpenseClaimCount: 0, \r\n pendingFundTransferCountEFT: 0, \r\n pendingFundTransferAmountEFT: 0,\r\n pendingFundTransferCountBPay: 0, \r\n pendingFundTransferAmountBPay: 0,\r\n unpostedBankTransactionCount:0,\r\n lastBankTransactionReceivedDate:null,\r\n pendingReconciliationChartData:\"\",\r\n entitiesWithoutInvoicesCount:0,\r\n entitiesWithOutstandingBalanceCount:0,\r\n entitiesWithoutServiceAgreement:0,\r\n entitiesWithOutAdminFeeCount:0,\r\n residualDueLeasesCount:0,\r\n novationsExceedingFourFBTYearsCount:0\r\n }\r\n isVehiclesFilterTogglerActive:boolean = true;\r\n isTenantAdmin:boolean = false;\r\n isClient:boolean = false;\r\n isSupplier:boolean = false;\r\n isSystemAdmin:boolean = false;\r\n isBarChartLoaded:boolean = false;\r\n labels:any = [];\r\n data:any= [];\r\n backgroundColors:string= 'rgb(68, 114, 196)';\r\n bankFileUploadedDatesInfoList:BankFileUploadedDatesInfoList={\r\n bankFileUploadedDatesInfo:[]\r\n };\r\n\r\n clientDashboardInfo: ClientDashboardInfoDto={\r\n vehicleDetailsWidgets: [],\r\n isBankAccountAvailable: true,\r\n displayClientPortalInfo: false,\r\n clientPortalInfoText: ''\r\n }\r\n barChartData:any =[];\r\n options:any = {\r\n scales: {\r\n yAxes: [{\r\n gridLines: {\r\n display:false,\r\n },\r\n barThickness:10,\r\n }, \r\n ],\r\n xAxes:[{\r\n ticks: {\r\n beginAtZero:true,\r\n stepSize:2\r\n },\r\n gridLines: { \r\n drawBorder: false,\r\n }\r\n }]\r\n },\r\n legend:{\r\n display:true,\r\n position:'bottom'\r\n },\r\n maintainAspectRatio: false,\r\n };\r\n supplierId: number = 0;\r\n \r\n created(){\r\n this.isTenantAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\r\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n this.isSupplier = this.$store.getters.isAuthorizedRole(UserRoles.Supplier);\r\n this.isSystemAdmin = this.$store.getters.isAuthorizedRole(UserRoles.SystemAdmin);\r\n if(this.isTenantAdmin)\r\n {\r\n apiService.sendGetRequest('Utility','SystemWideDashboardInfo',{}).then(response=>{ \r\n this.systemWideDashboardInfo = response.data;\r\n this.loadBarChartData();\r\n });\r\n }\r\n else if(this.isClient){\r\n this.loadClientWidgetDetails();\r\n this.isVehiclesFilterTogglerActive = this.$store.getters.getVehiclesFilterToggler;\r\n }else if(this.isSupplier){\r\n this.supplierId = this.$store.getters.getToken.relatedEntityId\r\n }\r\n }\r\n\r\n get filteredVehicleDetails() {\r\n return this.isVehiclesFilterTogglerActive ? \r\n this.clientDashboardInfo.vehicleDetailsWidgets.filter(\r\n vehicle => vehicle.status == VehicleStatuses.Active) : \r\n this.clientDashboardInfo.vehicleDetailsWidgets;\r\n }\r\n\r\n onChangeVehiclesFilterToggler(){\r\n this.$nextTick(() => {\r\n this.$store.dispatch('updateVehiclesFilterToggler', this.isVehiclesFilterTogglerActive);\r\n });\r\n }\r\n\r\n get vehicleCount() {\r\n return this.filteredVehicleDetails.length;\r\n }\r\n\r\n loadBarChartData(){\r\n this.barChartData = JSON.parse(this.systemWideDashboardInfo.pendingReconciliationChartData); \r\n this.createChartLabels(this.barChartData);\r\n }\r\n\r\n createChartLabels(data) {\r\n var labelList = [];\r\n var dataList = []\r\n for(var i=0;i{\r\n this.clientDashboardInfo = response.data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=08dec35c\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=ts\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Dashboard.vue?vue&type=style&index=0&id=08dec35c&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelUserDetialsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelUserDetialsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelUserDetialsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n User Details \"+_vm._s((_vm.userId>0)?('- ' + _vm.userName):'')+\"\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Users\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Edit User\"}},[_c('Tab',{attrs:{\"name\":\"Personal\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"personal\"}},[_c('AddEditUser',{on:{\"onIdUpdated\":_vm.onIdUpdated,\"dirtyValidatorNoSet\":_vm.personalTabDirtySet,\"onEmitName\":_vm.onUserNameUpdated}})],1),_c('Tab',{attrs:{\"name\":\"Portal Access\",\"index\":1,\"disabled\":_vm.userId==0,\"routerDisplayName\":\"portalAccess\"},on:{\"dirtyValidatorNoSet\":_vm.portalAccessTabDirtySet}},[_c('PortalAccess',{attrs:{\"userRole\":_vm.userRole}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditUserConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditUserConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditUserConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-row',[_c('b-col',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"4\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',[_c('b-form-group',{ref:\"firstNameFormGroup\",class:{ 'form-group--error': _vm.$v.user.firstName.$error },attrs:{\"label\":\"First Name\",\"label-for\":\"firstName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.user.firstName.length == 0) },attrs:{\"id\":\"firstName\",\"type\":\"text\",\"placeholder\":\"Enter First Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.user.firstName.$touch()}},model:{value:(_vm.user.firstName),callback:function ($$v) {_vm.$set(_vm.user, \"firstName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"user.firstName\"}}),(_vm.$v.user.firstName.$dirty && !_vm.$v.user.firstName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n First name is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"lg\":\"4\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-form-group',{ref:\"lastNameFormGroup\",class:{ 'form-group--error': _vm.$v.user.lastName.$error },attrs:{\"label\":\"Last Name\",\"label-for\":\"lastName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.user.lastName.length == 0) },attrs:{\"id\":\"lastName\",\"type\":\"text\",\"placeholder\":\"Enter Last Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.user.lastName.$touch()}},model:{value:(_vm.user.lastName),callback:function ($$v) {_vm.$set(_vm.user, \"lastName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"user.lastName\"}}),(_vm.$v.user.lastName.$dirty && !_vm.$v.user.lastName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Last name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"lg\":\"4\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-form-group',{ref:\"emailFormGroup\",class:{ 'form-group--error': _vm.$v.user.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"normalEmail\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.user.email.length == 0) },attrs:{\"id\":\"normalEmail\",\"type\":\"email\",\"placeholder\":\"Enter Email Address\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.user.email.$touch()}},nativeOn:{\"blur\":function($event){return _vm.updateUserName(!_vm.$v.user.email.$invalid)}},model:{value:(_vm.user.email),callback:function ($$v) {_vm.$set(_vm.user, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"user.email\"}}),(_vm.user.pendingChangeEmail != null && _vm.user.pendingChangeEmail.length >0)?_c('b-input-group-append',{attrs:{\"title\":'Pending Email Confirmation('+ _vm.user.pendingChangeEmail+')'}},[_c('span',{staticClass:\"input-group-text\"},[_c('i',{staticClass:\"fas fa-envelope\"})])]):_vm._e()],1),(_vm.$v.user.email.$dirty && !_vm.$v.user.email.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email address is required. \\n \")]):_vm._e(),(_vm.$v.user.email.$dirty && _vm.$v.user.email.$invalid && _vm.$v.user.email.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid email address.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"lg\":\"4\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-form-group',{ref:\"userNameFormGroup\",class:{ 'form-group--error': _vm.$v.user.userName.$error },attrs:{\"label\":\"Username\",\"label-for\":\"username\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.user.userName.length == 0) },attrs:{\"id\":\"username\",\"type\":\"text\",\"placeholder\":\"Enter Username\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.user.userName.$touch()}},model:{value:(_vm.user.userName),callback:function ($$v) {_vm.$set(_vm.user, \"userName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"user.userName\"}}),(_vm.$v.user.userName.$dirty && !_vm.$v.user.userName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Username is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"lg\":\"4\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-form-group',{ref:\"emailFormGroup\",attrs:{\"label\":\"User Role\",\"label-for\":\"roleSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.user.userRole == 0) },attrs:{\"id\":\"roleSelect\",\"plain\":true,\"options\":_vm.userRoles,\"required\":\"\"},model:{value:(_vm.user.userRole),callback:function ($$v) {_vm.$set(_vm.user, \"userRole\", $$v)},expression:\"user.userRole\"}},[(_vm.userId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-row',[_c('b-col',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.user.$invalid) || !_vm.isModelDirty()}},[_vm._v(\" \"+_vm._s(_vm.buttonType))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_vm._v(\" Cancel\")])],1)],1),(_vm.userId>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.user.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.user.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.user.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.user.lastUpdatedDate))+\")\")])]):_vm._e()],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport {User} from '@/models/user.model'\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required,email, between} from 'vuelidate/lib/validators'\r\nimport apiService from '@/shared/services/apiService'\r\nimport { warn } from 'vue-class-component/lib/util';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport ApexConstants from '@/shared/constants';\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\n\r\n@Component({\r\n mixins:[validationMixin],\r\n components: {\r\n Modal\r\n },\r\n validations:{\r\n user:{\r\n firstName:{\r\n required\r\n },\r\n lastName:{\r\n required \r\n },\r\n email:{\r\n required,\r\n email\r\n },\r\n userName:{\r\n required\r\n },\r\n userRole:{\r\n required,\r\n between:between(1,4)\r\n }\r\n },\r\n selectedUserRole:{\r\n required \r\n }\r\n }\r\n})\r\nexport default class AddEditUser extends Vue{\r\n user:User = {firstName:\"\",\r\n lastName:\"\",\r\n email:\"\",\r\n id:0,\r\n userName:\"\",\r\n isActive:true,\r\n concurrencyKey:\"\",\r\n userRole:0,\r\n userRoleText:\"\",\r\n emailConfirmed:false,\r\n activationEmailSent:false,\r\n createdByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdateByName:\"\",\r\n lastUpdatedDate:new Date()};\r\n dirtyValidatorRefNo:number = 0;\r\n dirtyValidationConfirmation:boolean = false;\r\n userRoles:any = [];\r\n userId:number = 0;\r\n actionType:string = \"\";\r\n buttonType:string = \"\";\r\n\r\n created(){\r\n this.userId = +this.$route.params.id?+this.$route.params.id:0;\r\n if(+this.userId>0){\r\n this.actionType = \"Edit\"\r\n this.buttonType = \"Update\"\r\n this.loadUserDetails();\r\n }\r\n else{\r\n this.actionType = \"Add\"\r\n this.buttonType = \"Add\"\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.user);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n this.loadUserRoles();\r\n }\r\n\r\n updateUserName(isValid)\r\n {\r\n if(!this.$v.user.userName.$dirty && isValid && this.user.userName == '')\r\n {\r\n this.user.userName = this.user.email;\r\n }\r\n }\r\n\r\n onSubmit(){\r\n if(+this.userId>0){\r\n this.updateExistingUser();\r\n }\r\n else{\r\n this.addNewUser();\r\n }\r\n }\r\n\r\n addNewUser(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPutRequest('User','User',this.user).then(data=>{\r\n var response = data.data;\r\n if(response.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.$router.push({name:'Edit User',params:{id:response.id,selectedTab:'1'}});\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n }\r\n\r\n updateExistingUser(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('User','User',this.user).then(data=>{\r\n var response = data.data;\r\n if(response.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.user.concurrencyKey = response.concurrencyKey;\r\n this.user.lastUpdatedDate = response.lastUpdatedDate;\r\n this.user.lastUpdateByName = response.updatedByName;\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$v.user.$reset();\r\n this.onEmitName(this.getUserName());\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n }\r\n\r\n loadUserDetails(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id:this.userId}\r\n apiService.sendGetRequest('User','User',params).then(response=>{\r\n if(response.data.item1.isSuccess){\r\n this.user = response.data.item2;\r\n this.onEmitName(this.getUserName());\r\n }\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.user);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n \r\n loadUserRoles(){\r\n apiService.sendGetRequest('User','UserRoles',{}).then(response=>{\r\n if(response.data)\r\n {\r\n if(this.$store.getters.getToken.userRoleList.includes(String(UserRoles.TenantAdmin)))\r\n {\r\n // remove client role and supplier role. tenant admin cannot add system admins.\r\n this.userRoles = this.userRoles.concat(response.data.filter(el=> el.text !== ApexConstants.CLIENTNROLE && el.text !== ApexConstants.SUPPLIERROLE && el.text !== ApexConstants.SYSTEMADMINROLE));\r\n } \r\n if(this.$store.getters.getToken.userRoleList.includes(String(UserRoles.SystemAdmin)))\r\n {\r\n // system admin can only add system admins.\r\n this.userRoles = this.userRoles.concat(response.data.filter(el=> el.text == ApexConstants.SYSTEMADMINROLE));\r\n } \r\n if(this.userId == 0 && this.userRoles && this.userRoles.length == 1)\r\n {\r\n this.user.userRole = this.userRoles[0].value;\r\n } \r\n }\r\n });\r\n }\r\n\r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n\r\n navigateBack(){\r\n this.$router.push({name:'Users'});\r\n }\r\n\r\n routerNavigateBack() {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n else{\r\n this.navigateBack();\r\n }\r\n }\r\n\r\n getUserName(){\r\n var first = this.user.firstName.substring(0,1).toUpperCase();\r\n var last = \" \" + this.user.lastName.substring(0,1).toUpperCase()+this.user.lastName.substring(1);\r\n return first+last;\r\n }\r\n\r\n @Emit('onIdUpdated') onIdUpdated(id:number){\r\n }\r\n\r\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\r\n }\r\n\r\n @Emit('onEmitName') onEmitName(clientName:string){\r\n \r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditUser.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditUser.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditUser.vue?vue&type=template&id=d83e6b5c&scoped=true\"\nimport script from \"./AddEditUser.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditUser.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d83e6b5c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showTabChangeConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ChangeTabConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unsaved Changes\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes in current tab. Are you sure you want to change tab?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ChangeTabConf_CancelButton\"},on:{\"click\":function($event){_vm.showTabChangeConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"ChangeTabConf_OkButton\"},on:{\"click\":_vm.onOkayToChangeTab}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"tabs\"},[_c('b-row',[_c('b-col',{attrs:{\"xs\":\"9\",\"md\":\"9\",\"lg\":\"9\"}},[_c('ul',_vm._l((_vm.tabs),function(tab){return _c('li',{key:tab.name,class:{ 'is-active': tab.isActive,'mr-1':tab.name }},[(tab.name)?_c('b-button',{staticClass:\"border-bottom-0 mt-1\",class:{'primary':tab.isActive},attrs:{\"disabled\":tab.disabled},on:{\"click\":function($event){return _vm.selectTab(tab)}}},[_vm._v(_vm._s(tab.name.trim())),(tab.showBadge && tab.badgeText && tab.badgeText>0)?_c('b-badge',{staticClass:\"ml-1\",attrs:{\"pill\":\"\",\"variant\":\"danger\",\"title\":tab.badgeTitle}},[_vm._v(_vm._s(tab.badgeText))]):_vm._e()],1):_vm._e()],1)}),0)]),_c('b-col',{attrs:{\"xs\":\"3\",\"md\":\"3\",\"lg\":\"3\"}},[_vm._t(\"tabs-buttons\")],2)],1)],1),_c('div',{class:'tabs-details ' + _vm.selectedTabDetailsClass},[_vm._t(\"default\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class Tabs extends Vue{\n @Prop() dirtyValidatorRefNumbers:any;\n @Prop() selectedTabRouterName:any;\n @Prop() routeName:any;\n @Prop() queryData:any;\n tabs:any = [];\n selectedTab:any;\n currentTab:any;\n showTabChangeConfirmation:boolean = false;\n selectedTabDetailsClass:string = 'mycontentclass';\n\n created() {\n this.tabs = this.$children;\n \n }\n mounted(){\n this.tabs.forEach(tab => {\n if(tab.routerDisplayName == this.selectedTabRouterName){\n this.currentTab = tab;\n }\n });\n if(this.currentTab && this.currentTab.index != 0){\n this.changeTab(this.currentTab);\n }\n }\n\n selectTab(selectedTab) {\n if(this.currentTab && dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNumbers[this.currentTab.index])){\n this.selectedTab = selectedTab;\n this.showTabChangeConfirmation = true;\n }\n else{\n this.changeTab(selectedTab);\n }\n }\n\n changeTab(selectedTab){\n this.tabs.forEach(tab => {\n tab.isActive = (tab.name == selectedTab.name);\n });\n\n this.currentTab = selectedTab;\n if(this.routeName){\n this.$router.push({name:this.routeName,params:{id:this.$route.params.id,routerDisplayName:this.currentTab.routerDisplayName}, query : this.currentTab.queryData}).catch(err => {});\n }\n if(selectedTab.tabDetailsClass != undefined)\n {\n this.selectedTabDetailsClass = selectedTab.tabDetailsClass;\n } \n }\n\n onOkayToChangeTab(){\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNumbers[this.currentTab.index]);\n this.changeTab(this.selectedTab);\n this.showTabChangeConfirmation = false;\n }\n\n @Emit('onTabClicked') onTabClicked(){\n}\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tabs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tabs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Tabs.vue?vue&type=template&id=6014bf12&scoped=true\"\nimport script from \"./Tabs.vue?vue&type=script&lang=ts\"\nexport * from \"./Tabs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Tabs.vue?vue&type=style&index=0&id=6014bf12&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6014bf12\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isActive)?_c('div',[_vm._t(\"default\")],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n@Component(\n {\n components: {\n \n }\n }\n)\nexport default class Tab extends Vue{\n @Prop() name:any;\n @Prop() selected:any;\n @Prop() index:any;\n @Prop() disabled:any;\n @Prop() routerDisplayName:any;\n @Prop() showBadge:any;\n @Prop() badgeText:any;\n @Prop() badgeTitle:any;\n @Prop() tabDetailsClass:any;\n @Prop() queryData:any;\n isActive:boolean = false;\n mounted() {\n this.isActive = this.selected;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tab.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Tab.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Tab.vue?vue&type=template&id=4bed6810\"\nimport script from \"./Tab.vue?vue&type=script&lang=ts\"\nexport * from \"./Tab.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelPortalAccessConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelPortalAccessConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelPortalAccessConf_OkButton\"},on:{\"click\":function($event){return _vm.resetForm()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showChangePasswordCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelChangePasswordConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to clear changes?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelChangePasswordConf_CancelButton\"},on:{\"click\":function($event){_vm.showChangePasswordCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelChangePasswordConf_OkButton\"},on:{\"click\":function($event){return _vm.resetChangePasswordForm()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showSetUpAuthenticatorApp)?_c('Modal',[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Two Factor Authentication\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticClass:\"setup-authenticator-app-container\"},[_c('SetupAuthenticatorApp',{attrs:{\"qrCode\":_vm.qrCode,\"isResponsive\":false,\"configureTwoFAThroughPortalAccess\":true},on:{\"authenticatorAppVerified\":_vm.authenticatorAppVerified}})],1)])],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[(_vm.showTwoFAConfigModalCancelButton)?_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelChangePasswordConf_CancelButton\"},on:{\"click\":_vm.cancelTwoFAConfigModal}},[_vm._v(\"\\n Cancel\\n \")]):_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelChangePasswordConf_OkButton\"},on:{\"click\":_vm.completeTwoFAConfiguration}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.IsProfileMode)?_c('b-row',[_c('b-col',[(_vm.isClient || _vm.isSupplier)?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Username\",\"label-for\":\"username\",\"disabled\":\"\"}},[_c('b-input-group',[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-user-alt\"})])],1),_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"username\",\"type\":\"text\",\"disabled\":\"\"},model:{value:(_vm.portalAccess.userName),callback:function ($$v) {_vm.$set(_vm.portalAccess, \"userName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"portalAccess.userName\"}})],1)],1)],1)],1):_vm._e(),_c('div',{staticClass:\"primary-text section-header\"},[_c('hr',{staticClass:\"mt-2\"}),_c('strong',[_vm._v(\"Change Password\")])]),_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onChangePassword.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"5\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Current Password\",\"label-for\":\"currentPassword\",\"disabled\":\"\"}},[_c('b-input-group',[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-lock\"})])],1),_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.changePasswordModel.oldPassword || _vm.changePasswordModel.oldPassword.length == 0) },attrs:{\"id\":\"currentPassword\",\"type\":\"password\",\"placeholder\":\"Current Password\",\"autocomplete\":\"current-password\"},on:{\"input\":function($event){return _vm.$v.changePasswordModel.oldPassword.$touch()}},model:{value:(_vm.changePasswordModel.oldPassword),callback:function ($$v) {_vm.$set(_vm.changePasswordModel, \"oldPassword\", $$v)},expression:\"changePasswordModel.oldPassword\"}})],1)],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"New Password\",\"label-for\":\"newPassword\",\"disabled\":\"\"}},[_c('b-input-group',[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-lock\"})])],1),_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.changePasswordModel.newPassword || _vm.changePasswordModel.newPassword.length == 0) },attrs:{\"type\":\"password\",\"id\":\"newPassword\",\"placeholder\":\"New Password\",\"autocomplete\":\"new-password\"},on:{\"input\":function($event){return _vm.$v.changePasswordModel.newPassword.$touch()}},nativeOn:{\"keyup\":function($event){return _vm.checkPasswordStrength()}},model:{value:(_vm.changePasswordModel.newPassword),callback:function ($$v) {_vm.$set(_vm.changePasswordModel, \"newPassword\", $$v)},expression:\"changePasswordModel.newPassword\"}})],1),(_vm.passwordStrength>0)?_c('b-progress',{staticClass:\"mt-1 password-strength-bar\",attrs:{\"value\":_vm.passwordStrength,\"max\":_vm.max,\"height\":\"3px\",\"animated\":\"\",\"variant\":_vm.passwordStrengthVarient}}):_vm._e(),(_vm.$v.changePasswordModel.newPassword.$dirty && _vm.showPasswordValidationWarning)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.passwordValidationWarning)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Confirm Password\",\"label-for\":\"confirmPassword\",\"disabled\":\"\"}},[_c('b-input-group',[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-lock\"})])],1),_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.changePasswordModel.confirmPassword || _vm.changePasswordModel.confirmPassword.length == 0) },attrs:{\"type\":\"password\",\"id\":\"confirmPassword\",\"placeholder\":\"Confirm Password\",\"autocomplete\":\"confirm-password\"},on:{\"input\":function($event){return _vm.$v.changePasswordModel.confirmPassword.$touch()}},model:{value:(_vm.changePasswordModel.confirmPassword),callback:function ($$v) {_vm.$set(_vm.changePasswordModel, \"confirmPassword\", $$v)},expression:\"changePasswordModel.confirmPassword\"}})],1),(_vm.$v.changePasswordModel.confirmPassword.$dirty && !_vm.$v.changePasswordModel.confirmPassword.sameAsPassWord)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Passwords do not match.\\n \")]):_vm._e()],1)],1)],1),_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.$v.changePasswordModel.$invalid}},[_vm._v(\" Change Password\")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":!_vm.isChangePasswordModelDirty()},on:{\"click\":function($event){return _vm.onCancelChangePassword()}}},[_vm._v(\" Cancel\")])],1)],1)],1),_c('hr',{staticClass:\"mt-4\"})],1),(_vm.isClient && _vm.IsProfileMode)?_c('div',[_c('div',{staticClass:\"d-inline-flex\"},[_c('div',{staticClass:\"primary-text section-header pr-3\"},[_c('strong',[_vm._v(\"Two Factor Authentication\")])]),_c('div',{staticClass:\"d-flex align-items-end authentication-toggle-button\"},[_c('b-form-group',{attrs:{\"label-for\":\"active\"}},[_c('div',{staticClass:\"custom-control custom-switch\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.twoFactorAuthEnabled),expression:\"twoFactorAuthEnabled\"}],staticClass:\"custom-control-input\",attrs:{\"type\":\"checkbox\",\"id\":\"activeSwitch\"},domProps:{\"checked\":Array.isArray(_vm.twoFactorAuthEnabled)?_vm._i(_vm.twoFactorAuthEnabled,null)>-1:(_vm.twoFactorAuthEnabled)},on:{\"change\":[function($event){var $$a=_vm.twoFactorAuthEnabled,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.twoFactorAuthEnabled=$$a.concat([$$v]))}else{$$i>-1&&(_vm.twoFactorAuthEnabled=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.twoFactorAuthEnabled=$$c}},_vm.onChangedTwoFactorAuthEnabled]}}),_c('label',{staticClass:\"custom-control-label\",attrs:{\"for\":\"activeSwitch\"}},[_vm._v(_vm._s(_vm.twoFactorAuthEnabled ? \"Enabled\" : \"Disabled\"))])])])],1)]),_c('div',[_c('p',[_vm._v(\"Two factor authentication adds an extra layer of security for your account. Whenever you log in to your account, after entering your username and password, you will be asked for an authentication code.\")]),_c('p',[_vm._v(\"Note: To reset two factor authentication please contact the team.\")])]),_c('hr',{staticClass:\"mt-4\"})]):_vm._e()],1)],1):_c('b-row',[_c('b-col',[_c('b-form',[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"5\",\"md\":\"6\",\"sm\":\"12\"}},[(_vm.isNormalUser)?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Username\",\"label-for\":\"username\",\"disabled\":\"\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"username\",\"type\":\"text\",\"disabled\":\"\"},model:{value:(_vm.portalAccess.userName),callback:function ($$v) {_vm.$set(_vm.portalAccess, \"userName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"portalAccess.userName\"}})],1)],1)],1):_vm._e(),(_vm.isClient || _vm.isSupplier)?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"emailFormGroup\",staticClass:\"textInput\",attrs:{\"label\":\"Username\",\"label-for\":\"username\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.portalAccess.userName.length == 0) },attrs:{\"id\":\"username\",\"type\":\"text\",\"placeholder\":\"Enter Username\",\"required\":\"\",\"disabled\":_vm.IsProfileMode},on:{\"input\":function($event){return _vm.$v.portalAccess.userName.$touch()}},model:{value:(_vm.portalAccess.userName),callback:function ($$v) {_vm.$set(_vm.portalAccess, \"userName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"portalAccess.userName\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save\",class:{ ' cursor-pointer enabled-button': (_vm.$v.portalAccess.userName.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\",\"title\":'Save Username'},on:{\"click\":function($event){return _vm.saveUserDetailsByRelatedId(_vm.$v.portalAccess.userName.$dirty)}}})])],1)],1),(_vm.$v.portalAccess.userName.$dirty && !_vm.$v.portalAccess.userName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Username is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Password\",\"label-for\":\"password\"}},[_c('b-button',{attrs:{\"id\":\"password\",\"title\":_vm.portalAccess.loginEnabled? 'Send Reset Password Email': 'Enable Login to Send Reset Password Email',\"disabled\":!_vm.portalAccess.loginEnabled},on:{\"click\":_vm.resetPassword}},[_c('i',{staticClass:\"fas fa-key\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1)],1),_c('b-row',{staticClass:\"mt-2\"},[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('span',[_vm._v(\"Login Enabled\")]),_c('b-form-checkbox',{staticClass:\"mt-2 pb-2\",attrs:{\"id\":\"loginEnabledCheckBox\",\"disabled\":!_vm.portalAccess.invitedToApex},on:{\"change\":_vm.changeLoginEnabled},model:{value:(_vm.portalAccess.loginEnabled),callback:function ($$v) {_vm.$set(_vm.portalAccess, \"loginEnabled\", $$v)},expression:\"portalAccess.loginEnabled\"}})],1)],1),(_vm.portalAccess.emailConfirmed && _vm.portalAccess.loginEnabled)?_c('b-row',{staticClass:\"mt-2\"},[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('span',[_vm._v(\"Two Factor Enabled\")]),_c('b-form-checkbox',{staticClass:\"mt-2 pb-2\",attrs:{\"id\":\"twoFaEnabledCheckBox\"},on:{\"change\":_vm.changeTwoFactorEnabled},model:{value:(_vm.portalAccess.twoFactorEnabled),callback:function ($$v) {_vm.$set(_vm.portalAccess, \"twoFactorEnabled\", $$v)},expression:\"portalAccess.twoFactorEnabled\"}})],1)],1):_vm._e(),(_vm.portalAccess.twoFactorEnabled)?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('span',[_vm._v(\"Reset Two Factor Configuration\")]),_c('b-button',{staticClass:\"mt-2 pb-2 d-block\",attrs:{\"id\":\"password\",\"title\":\"Reset Two Factor Configuration\",\"disabled\":!_vm.portalAccess.hasSetupTwoFactorApp},on:{\"click\":function($event){$event.preventDefault();return _vm.resetTwoFactorConfiguration.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-user-cog\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1):_vm._e(),_c('b-row',{staticClass:\"mt-2\"},[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Status\",\"label-for\":\"statusSelect\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"selectListHeight\",attrs:{\"id\":\"statusSelect\",\"plain\":true,\"options\":_vm.statusList,\"required\":\"\",\"disabled\":\"\"},model:{value:(_vm.portalAccess.status),callback:function ($$v) {_vm.$set(_vm.portalAccess, \"status\", $$v)},expression:\"portalAccess.status\"}}),((_vm.portalAccess.pendingInvitation || !_vm.portalAccess.invitedToApex) && (_vm.portalAccess.userId > 0) )?_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-envelope cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"id\":\"inviteToApexBtn\",\"title\":_vm.portalAccess.pendingInvitation? 'Resend Activation Email':'Send Activation Email'},on:{\"click\":_vm.resendActivationEmail}})])],1):_vm._e()],1)],1)],1)],1)],1)],1)],1)],1)],1),(_vm.IsProfileMode)?_c('div',{staticClass:\"primary-text section-header\",class:_vm.isClient && _vm.IsProfileMode ? 'pt-1' : 'pt-3'},[_c('strong',[_vm._v(\"Sign In Logs\")])]):_vm._e(),_c('DataTable',{ref:\"signInRecords\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No sign in records to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.latitude && _vm.item.longitude)?_c('a',{staticClass:\"primary-text text-nowrap\",attrs:{\"href\":_vm.navigationLink,\"target\":\"blank\"}},[_vm._v(\"Open location in map\")]):_c('span',[_vm._v(\"Location details not available\")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Prop, Vue} from 'vue-property-decorator';\n\n@Component\nexport default class OpenLoginLocationLink extends Vue{\n @Prop() item:any;\n clientId:number = 0;\n get navigationLink(){\n return \"https://www.google.com/maps/search/?api=1&query=\" + this.item.latitude + \",\" + this.item.longitude;\n }\n}\n","import {PasswordModel} from '@/models/password.model';\r\nimport { ThemeStoreModule } from '@/store/modules/themes';\r\n// Password strengths\r\nexport const enum PasswordCheckStrength {\r\n Empty ,\r\n Short ,\r\n //Common ,\r\n Weak ,\r\n Ok,\r\n Strong ,\r\n};\r\n\r\n// Object to check password strengths and various properties\r\nexport class PasswordStrengthService {\r\n\r\n // Expected length of all passwords\r\n public static get MinimumLength(): number {\r\n return 8;\r\n }\r\n private passwordErrorMsg:string=\"\";\r\n // Regex to check for a common password string - all based on 5+ length passwords\r\n private commonPasswordPatterns = /passw.*|12345.*|09876.*|qwert.*|asdfg.*|zxcvb.*|footb.*|baseb.*|drago.*/;\r\n \r\n //\r\n // Checks if the given password matches a set of common password\r\n //\r\n public isPasswordCommon(password: string): boolean {\r\n return this.commonPasswordPatterns.test(password);\r\n }\r\n\r\n public isValidPassword(passwordModel: PasswordModel): boolean \r\n {\r\n\r\n return false;\r\n }\r\n\r\n //\r\n // Returns the strength of the current password\r\n //\r\n checkPasswordStrength(password: string,passwordModel: PasswordModel ): PasswordCheckStrength {\r\n\r\n // Build up the strenth of our password\r\n // let numberOfElements = 0;\r\n // numberOfElements = /.*[a-z].*/.test(password) ? ++numberOfElements : numberOfElements; // Lowercase letters\r\n // numberOfElements = /.*[A-Z].*/.test(password) ? ++numberOfElements : numberOfElements; // Uppercase letters\r\n // numberOfElements = /.*[0-9].*/.test(password) ? ++numberOfElements : numberOfElements; // Numbers\r\n //numberOfElements = /[^a-zA-Z0-9]/.test(password) ? ++numberOfElements : numberOfElements; // Special characters (inc. space)\r\n // Assume we have a poor password already\r\n let currentPasswordStrength = PasswordCheckStrength.Short;\r\n \r\n // Check then strenth of this password using some simple rules\r\n if(password === null || password.length == 0){\r\n currentPasswordStrength = PasswordCheckStrength.Empty;\r\n //this.passwordErrorMsg = \"Password should contain at least 6 characters.\";\r\n \r\n }\r\n else if (password.length < PasswordStrengthService.MinimumLength) {\r\n this.passwordErrorMsg = \"Password should contain at least 8 characters.\";\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n } \r\n else if(!/[a-z]+/.test(password))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should contain lower case letters.\";\r\n }\r\n else if(!/[A-Z]+/.test(password))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should contain upper case letters.\";\r\n }\r\n else if(!/[0-9]+/.test(password))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should contain numbers.\";\r\n }\r\n else if(!/[~!@#$%&*_+=`|\\\\(){}[:;\"'<>,.?/^-]+/.test(password))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should contain a special character.\";\r\n }\r\n else if(passwordModel && passwordModel.userName && password.toLowerCase().includes(passwordModel.userName))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should not contain your username.\";\r\n }\r\n else if(passwordModel && passwordModel.firstName && password.toLowerCase().includes(passwordModel.firstName))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should not contain any part of your name.\";\r\n }\r\n else if(passwordModel && passwordModel.middleName && password.toLowerCase().includes(passwordModel.middleName))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should not contain any part of your name.\";\r\n }\r\n else if(passwordModel && passwordModel.lastName && password.toLowerCase().includes(passwordModel.lastName))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should not contain any part of your name.\";\r\n }\r\n else if(passwordModel && passwordModel.dateOfBirth && password.toLowerCase().includes(passwordModel.dateOfBirth))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should not contain date of Birth\";\r\n }\r\n else if(passwordModel && passwordModel.yearOfBirth && password.toLowerCase().includes(passwordModel.yearOfBirth))\r\n {\r\n currentPasswordStrength = PasswordCheckStrength.Short;\r\n this.passwordErrorMsg = \"Password should not contain date of Birth\";\r\n }\r\n else {\r\n currentPasswordStrength = PasswordCheckStrength.Strong;\r\n }\r\n return currentPasswordStrength;\r\n }\r\n\r\n getPasswordErrorMsg():string\r\n {\r\n return this.passwordErrorMsg;\r\n }\r\n\r\n getPasswordWarning(password:string):string{\r\n if(!(/.*[a-z].*/.test(password))){\r\n return \"A strong password should contain lowercase letters.\"\r\n }\r\n else if(!(/.*[A-Z].*/.test(password))){\r\n return \"A strong password should contain uppercase letters.\"\r\n }\r\n else if(!(/.*[0-9].*/.test(password))){\r\n return \"A strong password should contain numbers.\"\r\n }\r\n }\r\n}\r\n\r\nconst passwordStrengthService = new PasswordStrengthService();\r\nexport default passwordStrengthService;","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OpenLoginLocationLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OpenLoginLocationLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./OpenLoginLocationLink.vue?vue&type=template&id=23479031&scoped=true\"\nimport script from \"./OpenLoginLocationLink.vue?vue&type=script&lang=ts\"\nexport * from \"./OpenLoginLocationLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23479031\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\"},[_c('b-row',{staticClass:\"justify-content-center\"},[_c('b-col',{staticClass:\"no-padding\",attrs:{\"sm\":_vm.isResponsive ? '10' : '12',\"md\":_vm.isResponsive ? '8' : '12',\"lg\":_vm.isResponsive ? '7' : '12',\"xl\":_vm.isResponsive ? '5' : '12'}},[_c('b-card-group',[_c('b-card',{staticClass:\"px-4 pb-0\",attrs:{\"no-body\":\"\"}},[_c('b-card-body',[_c('b-form',{staticClass:\"auth-form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.verifyAuthenticator.apply(null, arguments)}}},[(!_vm.configureTwoFAThroughPortalAccess)?_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"my-3\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"80\",\"alt\":\"Apex Logo\"}})]):_vm._e(),_c('div',{staticClass:\"mb-auto\"},[(!_vm.showSuccessMessage)?_c('div',[_c('h4',{staticClass:\"text-muted mt-3\"},[_vm._v(\"Set Up Two-Step Verification\")]),_c('p',{staticClass:\"text-muted text-size-10\"},[_vm._v(\" Step 1 - Install/Open an authenticator App \")]),_c('p',{staticClass:\"text-muted text-size-10\"},[_vm._v(\" Step 2 - Scan the QR Code below with you Authenticator App \")]),_c('div',{staticClass:\"d-flex justify-content-center\"},[_c('qrcode-vue',{attrs:{\"value\":_vm.qrCode.uri,\"size\":_vm.size,\"level\":\"H\"}})],1),_c('div',{staticClass:\"mt-1 mb-4\"},[_c('label',{staticClass:\"text-size-8\"},[_vm._v(\" If you are having difficulty scanning, manually enter the code below \")]),_c('br'),_c('label',{staticClass:\"font-weight-bold text-size-8\"},[_vm._v(_vm._s(_vm.qrCode.key)+\" \")]),_c('p',{staticClass:\"text-muted text-size-10\"},[_vm._v(\" Step 3 - Enter the code generated by the Authenticator App \")])]),_c('div',{staticClass:\"d-flex justify-content-center\"},[_c('b-form-input',{staticClass:\"text-center\",attrs:{\"id\":\"verificationCode\",\"type\":\"text\",\"placeholder\":\"Enter Verification Code\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.verificationCode.$touch()}},model:{value:(_vm.verificationCode),callback:function ($$v) {_vm.verificationCode=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"verificationCode\"}})],1)]):_vm._e(),(_vm.showSuccessMessage)?_c('div',[_c('h4',{staticClass:\"text-muted mt-3\"},[_vm._v(\"Two-Step Verification Complete\")]),_c('h6',{staticClass:\"text-muted mt-4\"},[_vm._v(\"Recovery codes\")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\"\\n Recovery codes can be used to access your account in the event\\n you loose your device or cannot use your authenticator app.\\n \")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\" Copy these single-use recovery codes before continuing\")]),_c('p',{staticClass:\"text-muted font-weight-bold\",domProps:{\"innerHTML\":_vm._s(_vm.recoveryCodeList)}}),_c('p',{staticClass:\"text-muted\"},[_vm._v(\" Please store them in a safe place.\")])]):_vm._e(),(_vm.showErrorMessage)?_c('div',{staticClass:\"alert alert-danger alert-custom\",attrs:{\"role\":\"alert\",\"id\":\"alert-msg\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\"}},[_vm._v(\"\\n \"+_vm._s(_vm.errorMessage)+\"\\n \")]):_vm._e()]),_c('b-row',{staticClass:\"mt-2\"},[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('div',{staticClass:\"w-100 mt-auto\"},[(!_vm.showSuccessMessage)?_c('b-button',{staticClass:\"primary\",attrs:{\"type\":\"submit\",\"block\":\"\",\"disabled\":!_vm.$v.verificationCode.required}},[_vm._v(\"Submit Code\")]):_vm._e(),(!_vm.configureTwoFAThroughPortalAccess && _vm.showSuccessMessage)?_c('b-button',{staticClass:\"primary\",attrs:{\"type\":\"button\",\"block\":\"\"},on:{\"click\":_vm.backToLogin}},[_vm._v(\"Back to Login\")]):_vm._e()],1)])],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Emit } from \"vue-property-decorator\";\nimport apiService from \"@/shared/services/apiService\";\nimport {QRCodeModel} from \"@/models/qrCode.model\";\nimport QrcodeVue from 'qrcode.vue';\nimport { validationMixin } from \"vuelidate\";\nimport { required } from \"vuelidate/lib/validators\";\n\n@Component({\n components:{\n QrcodeVue\n },\n mixins: [validationMixin],\n validations: {\n verificationCode: {\n required,\n },\n },\n})\nexport default class SetupAuthenticatorApp extends Vue {\n @Prop() qrCode:QRCodeModel;\n @Prop({default: true}) isResponsive:boolean;\n @Prop({default: false}) configureTwoFAThroughPortalAccess:boolean;\n value:string = '';\n size:number = 120;\n verificationCode:string = '';\n showErrorMessage:boolean = false;\n showSuccessMessage:boolean = false;\n errorMessage:string = 'error';\n recoveryCodeList:string = '';\n \n created() {}\n\n verifyAuthenticator(){\n var params = {\n verificationCode: this.verificationCode,\n userId: this.qrCode.userId,\n enableTwoFA: this.configureTwoFAThroughPortalAccess\n };\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendPostRequest(\"Account\", \"VerifyAuthenticator\", params).then((response) => {\n if (response.data.isSuccess) {\n this.showErrorMessage = false;\n this.showSuccessMessage = true;\n if(response.data.recoveryCodes && response.data.recoveryCodes.length > 0){\n this.recoveryCodeList = response.data.recoveryCodes.join(\"
\"); \n }\n this.authenticatorAppVerified();\n } else {\n this.showErrorMessage = true;\n this.showSuccessMessage = false;\n this.errorMessage = response.data.message;\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n backToLogin(){\n let routeData = this.$router.resolve({name:\"Login\"});\n window.open(routeData.href, '_self');\n }\n\n @Emit('authenticatorAppVerified') authenticatorAppVerified(){\n\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetupAuthenticatorApp.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetupAuthenticatorApp.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SetupAuthenticatorApp.vue?vue&type=template&id=3e3ac296&scoped=true\"\nimport script from \"./SetupAuthenticatorApp.vue?vue&type=script&lang=ts\"\nexport * from \"./SetupAuthenticatorApp.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SetupAuthenticatorApp.vue?vue&type=style&index=0&id=3e3ac296&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3e3ac296\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport {PortalAccessModel} from '@/models/portalAccessModel.model'\r\nimport apiService from '@/shared/services/apiService'\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport moment from 'moment'\r\nimport AppSettings from '@/app.config';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport OpenLoginLocationLink from '@/components/admin/portalAccess/OpenLoginLocationLink.vue';\r\nimport {ChangePasswordModel} from '@/models/changePassword.model';\r\nimport passwordStrengthService from '@/shared/services/passwordStrengthService'\r\nimport { PasswordModel } from '@/models/password.model';\r\nimport { required, sameAs, minLength } from 'vuelidate/lib/validators';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\nimport SetupAuthenticatorApp from '@/components/auth/SetupAuthenticatorApp.vue';\r\nimport { QRCodeModel } from '@/models/qrCode.model';\r\n\r\n@Component\r\n (\r\n {\r\n mixins:[validationMixin],\r\n components: {\r\n DataTable,\r\n Modal,\r\n SetupAuthenticatorApp\r\n },\r\n validations:{\r\n changePasswordModel:{\r\n oldPassword:{\r\n required\r\n },\r\n newPassword:{\r\n required,\r\n minLength:minLength(8) \r\n },\r\n confirmPassword:{\r\n required,\r\n sameAsPassWord : (value,vm) => \r\n {\r\n if (vm.newPassword === value) {\r\n return true\r\n }\r\n return false; \r\n } \r\n }\r\n },\r\n portalAccess:{\r\n userName:{\r\n required\r\n }\r\n }\r\n }\r\n }\r\n )\r\nexport default class PortalAccess extends Vue{\r\n @Prop() IsProfileMode:any;\r\n @Prop() userRole:any;\r\n portalAccess:PortalAccessModel = {\r\n userName : \"\",\r\n email: \"\",\r\n userId:0,\r\n status:0,\r\n invitedToApex:false,\r\n loginEnabled:false,\r\n pendingInvitation:false,\r\n emailConfirmed: false,\r\n twoFactorEnabled: false,\r\n hasSetupTwoFactorApp: false \r\n };\r\n changePasswordModel:ChangePasswordModel = {\r\n userId : 0,\r\n oldPassword : \"\",\r\n newPassword : \"\",\r\n confirmPassword: \"\"\r\n };\r\n initialPortalAccess:PortalAccessModel = Object.assign({}, this.portalAccess);\r\n initialChangePasswordModel:ChangePasswordModel = Object.assign({}, this.changePasswordModel);\r\n dirtyValidatorRefNo:number = 0;\r\n userId:number = 0;\r\n showCancelConfirmation:boolean = false;\r\n statusList:any[] = [];\r\n items:any = [];\r\n fields = [\r\n {key: 'date',label:'Date Time',sortable:'true',class:'width_20',\r\n formatter: (value, key, item) => {\r\n return moment(item.date).format(\"DD MMM YYYY HH:mm:ss\")\r\n }\r\n },\r\n {key: 'ipAddress',label:'IP Address',sortable:'true',class:'width_10'},\r\n {key: 'location',class:'width_15'},\r\n {key:'clientApp',sortable:'true',class:'width_12'},\r\n {key:'os',label:'OS',sortable:'true',class:'width_10'},\r\n {key:'status',class:'width_10',\r\n formatter: (value, key, item) => {\r\n return item.isSuccess ? \"Success\" : \"Failed\"\r\n }\r\n },\r\n {key: 'description',sortable:'true'} \r\n ];\r\n customTemplateList:Array = [\r\n {slot:\"location\",customTemplate:OpenLoginLocationLink}\r\n ]\r\n totalRows:number =0;\r\n perPage:number = AppSettings.defaultGridSize;\r\n sortBy:string = \"date\";\r\n filter:string = \"\";\r\n sortDesc:boolean = true;\r\n showEmptyBanner:boolean = true;\r\n passwordStrength:number = 0;\r\n passwordStrengthVarient:string = \"danger\";\r\n passwordValidationWarning:string = \"\";\r\n showPasswordValidationWarning:boolean = false;\r\n passwordModel:PasswordModel = null;\r\n max:number = 4;\r\n showChangePasswordCancelConfirmation:boolean = false;\r\n changePasswordDirtyValidationNo:number = 0;\r\n isClient: boolean = false;\r\n isSupplier: boolean = false;\r\n isNormalUser: boolean = false;\r\n twoFactorAuthEnabled: boolean = false;\r\n showSetUpAuthenticatorApp: boolean = false;\r\n qrCode: QRCodeModel = { uri: '', key: '', userId: 0 };\r\n showTwoFAConfigModalCancelButton: boolean = true;\r\n\r\n created(){\r\n this.isNormalUser = this.userRole == UserRoles.TenantAdmin || this.userRole == UserRoles.StandardUser;\r\n this.isClient = this.userRole == UserRoles.Client;\r\n this.isSupplier = this.userRole == UserRoles.Supplier;\r\n this.userId = +this.$route.params.id ? +this.$route.params.id : 0;\r\n\r\n if(!this.IsProfileMode){\r\n this.loadUserLoginInfo();\r\n }\r\n else{\r\n var token = this.$store.getters.getToken;\r\n this.portalAccess.userId = token.id;\r\n this.changePasswordModel.userId = token.id;\r\n this.userId = token.id;\r\n if (this.isClient || this.isSupplier){\r\n this.getLoggedInUserDetails();\r\n }\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.portalAccess.userId,Status:0});\r\n this.SetPasswordModel();\r\n this.changePasswordDirtyValidationNo = dirtyValidatorService.setInitialModel(this.changePasswordDirtyValidationNo, this.changePasswordModel);\r\n this.dirtyValidatorNoSet(this.changePasswordDirtyValidationNo); \r\n }\r\n this.loadLoginStatusList();\r\n } \r\n\r\n saveUserDetailsByRelatedId(isDirty:boolean){\r\n if(isDirty){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {\r\n id: this.userId,\r\n userName: this.portalAccess.userName,\r\n userRole: this.userRole\r\n }\r\n apiService.sendPostRequest('User','UserLoginForRelatedEntity',params).then(\r\n response => {\r\n if(response.data.isSuccess){\r\n this.portalAccess.userId = response.data.id;\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$v.portalAccess.$reset();\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n }\r\n\r\n resetForm(){\r\n }\r\n\r\n refreshGrid(tableFilterParams:TableFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('User','SignInLogs',tableFilterParams).then(response=>{\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onCancel(){\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.showCancelConfirmation = true;\r\n }\r\n }\r\n\r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n\r\n getLoggedInUserDetails(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('User','LoggedInUserDetails',{userId:this.userId}).then(response=>{\r\n this.portalAccess.userName = response.data.username;\r\n this.twoFactorAuthEnabled = response.data.twoFactorEnabled\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n loadUserLoginInfo(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {userId:this.userId, userRole: this.userRole};\r\n apiService.sendGetRequest('User','PortalAccessInfo',params).then(response=>{\r\n this.portalAccess = response.data;\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.portalAccess);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n if (this.portalAccess.userId >0)\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.portalAccess.userId,Status:0});\r\n });\r\n }\r\n\r\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\r\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.portalAccess.userId,Status:0});\r\n }\r\n\r\n onSortingChange(ctx:any){\r\n if(ctx.sortBy){\r\n this.sortDesc = ctx.sortDesc;\r\n this.sortBy = ctx.sortBy === 'os' || ctx.sortBy == \"ipAddress\" ? (ctx.sortBy === 'os' ? 'oS' : 'iPAddress') : ctx.sortBy;\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.portalAccess.userId,Status:0});\r\n }\r\n }\r\n\r\n loadLoginStatusList(){\r\n lookupService.GetUserLoginStatusList().then(result =>{\r\n this.statusList = result;\r\n });\r\n }\r\n\r\n resetPassword()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {userName: this.portalAccess.userName, email: this.portalAccess.email}\r\n apiService.sendPostRequest('Account','ResetPasswordEmail',params).then(response=>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }else\r\n {\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n resendActivationEmail(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id: this.portalAccess.userId}\r\n apiService.sendGetRequest('User','UserActivationEmail',params).then(response=>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.loadUserLoginInfo();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n changeLoginEnabled(){\r\n this.$nextTick(() => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id: this.portalAccess.userId, loginEnabled: this.portalAccess.loginEnabled}\r\n apiService.sendPostRequestWithQueryParams('User','LoginEnabled',params).then(response=>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.loadUserLoginInfo();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n });\r\n }\r\n\r\n onChangedTwoFactorAuthEnabled(){\r\n this.$nextTick(()=>{\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n var params = {\r\n id: this.portalAccess.userId,\r\n twoFaEnabled: this.twoFactorAuthEnabled,\r\n };\r\n apiService.sendPostRequestWithQueryParams(\"Account\", \"ChangeTwoFactorEnabled\", params).then((response) => {\r\n if (response.data.isSuccess) {\r\n if (response.data.configureAuthenticatorApp) {\r\n this.qrCode = response.data.qrCodeData;\r\n this.showSetUpAuthenticatorApp = true;\r\n } else {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type: \"success\",\r\n duration: 5000\r\n });\r\n }\r\n } else {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type: \"error\",\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n })\r\n }\r\n \r\n changeTwoFactorEnabled(){\r\n this.$nextTick(() => {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n var params = {\r\n id: this.portalAccess.userId,\r\n twoFaEnabled: this.portalAccess.twoFactorEnabled,\r\n };\r\n\r\n apiService.sendPostRequestWithQueryParams(\"User\", \"TwoFactorEnabled\", params).then((response) => {\r\n if (response.data.isSuccess) {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type: \"success\",\r\n duration: 5000,\r\n });\r\n this.loadUserLoginInfo();\r\n } else {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type: \"error\",\r\n duration: 5000,\r\n });\r\n }\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n });\r\n }\r\n\r\n authenticatorAppVerified(){\r\n this.$notify({\r\n group: \"modalGrowlNotification\",\r\n title: \"Two Factor Login successfully enabled.\",\r\n type: \"success\",\r\n duration: 5000,\r\n });\r\n this.showTwoFAConfigModalCancelButton = false;\r\n }\r\n\r\n cancelTwoFAConfigModal(){\r\n this.twoFactorAuthEnabled = false;\r\n this.showSetUpAuthenticatorApp = false;\r\n this.showTwoFAConfigModalCancelButton = true;\r\n }\r\n\r\n completeTwoFAConfiguration(){\r\n this.showSetUpAuthenticatorApp = false;\r\n this.showTwoFAConfigModalCancelButton = true;\r\n }\r\n\r\n resetTwoFactorConfiguration(){\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n var params = {\r\n id: this.portalAccess.userId,\r\n loginEnabled: this.portalAccess.loginEnabled,\r\n };\r\n apiService.sendPostRequestWithQueryParams(\"User\", \"ResetTwoFactorConfiguration\", params).then((response) => {\r\n if (response.data.isSuccess) {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type: \"success\",\r\n duration: 5000,\r\n });\r\n this.loadUserLoginInfo();\r\n } else {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type: \"error\",\r\n duration: 5000,\r\n });\r\n }\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n checkPasswordStrength(){ \r\n this.passwordStrength = passwordStrengthService.checkPasswordStrength(this.changePasswordModel.newPassword,this.passwordModel);\r\n if(this.passwordStrength < 2){\r\n this.passwordValidationWarning = passwordStrengthService.getPasswordErrorMsg();\r\n this.showPasswordValidationWarning = true;\r\n this.passwordStrengthVarient = \"danger\";\r\n }\r\n else{\r\n this.showPasswordValidationWarning = false;\r\n this.passwordStrengthVarient = \"success\";\r\n }\r\n }\r\n\r\n SetPasswordModel()\r\n {\r\n var params = {\r\n UserId : this.changePasswordModel.userId,\r\n EmailConfirmationToken : \"\"\r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Account','PasswordModel',params).then(response =>{\r\n if(response.data){\r\n this.passwordModel = response.data;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n isChangePasswordModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.changePasswordDirtyValidationNo)\r\n }\r\n\r\n onCancelChangePassword(){\r\n this.showChangePasswordCancelConfirmation = true;\r\n }\r\n\r\n onChangePassword(){\r\n var params = {\r\n UserId : this.changePasswordModel.userId,\r\n Password : this.changePasswordModel.newPassword,\r\n ConfirmPassword : this.changePasswordModel.confirmPassword,\r\n oldPassword : this.changePasswordModel.oldPassword\r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Account','LoggedInUserPassword',params).then(response =>{\r\n if(response.data.isSuccess){\r\n this.resetChangePasswordForm();\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: \"Password Successfully Updated.\",\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n resetChangePasswordForm(){\r\n this.changePasswordModel = Object.assign({}, this.initialChangePasswordModel);\r\n this.changePasswordDirtyValidationNo = dirtyValidatorService.setInitialModel(this.changePasswordDirtyValidationNo, this.changePasswordModel);\r\n this.$v.changePasswordModel.$reset();\r\n this.showChangePasswordCancelConfirmation = false;\r\n this.passwordStrength = 0;\r\n this.showPasswordValidationWarning = false;\r\n this.dirtyValidatorNoSet(this.changePasswordDirtyValidationNo);\r\n }\r\n\r\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\r\n }\r\n}\r\n","export enum SignInUserRoles{\r\n User = 1,\r\n Client = 2\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortalAccess.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PortalAccess.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PortalAccess.vue?vue&type=template&id=f5e5a2c6&scoped=true\"\nimport script from \"./PortalAccess.vue?vue&type=script&lang=ts\"\nexport * from \"./PortalAccess.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PortalAccess.vue?vue&type=style&index=0&id=f5e5a2c6&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f5e5a2c6\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport AddEditUser from './AddEditUser.vue'\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport apiService from '@/shared/services/apiService'\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport PortalAccess from '@/components/admin/portalAccess/PortalAccess.vue';\nimport {SignInUserRoles} from '@/shared/enums/signInUserRoles.enum';\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\nimport Filtrations from '@/shared/filtrations';\n\n@Component(\n {\n components: {\n AddEditUser,\n Tab,\n Tabs,\n Modal,\n PortalAccess\n }\n }\n)\nexport default class UserDetails extends Vue{\n userId:number = 0;\n selectedTabRouteName:string = 'personal';\n dirtyValidationRefNumbers:number[] =[0,0];\n userName:string = \"\";\n dirtyValidationConfirmation:boolean = false;\n userUserType:SignInUserRoles = SignInUserRoles.User;\n userRole:number = UserRoles.StandardUser;\n created(){\n this.userId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n this.loadUserNameByUserID();\n }\n\n loadUserNameByUserID()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.userId}\n apiService.sendGetRequest('User','Username',params).then(response=>{ \n this.userName = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onIdUpdated(id:number){\n this.userId = id;\n }\n\n personalTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[0] = refNo;\n }\n \n isPersonalTabDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]);\n }\n\n portalAccessTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n }\n\n onUserNameUpdated(name:string){\n this.userName = name;\n }\n \n routerNavigateBack()\n {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]) || \n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[1])){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.navigateBack();\n }\n }\n\n navigateBack(){\n var queryData = {};\n if(Object.keys(this.$route.query).length > 0){\n let userFilter = this.$route.query[Filtrations.USER_FILTER];\n let userStatus = this.$route.query[Filtrations.USER_STATUS] ? this.$route.query[Filtrations.USER_STATUS] : null;\n if (userFilter) {\n queryData[Filtrations.USER_FILTER] = userFilter;\n }\n if(userStatus != null) {\n queryData[Filtrations.USER_STATUS] = userStatus;\n }\n }\n this.$router.push({ name:'Users', query: queryData });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UserDetails.vue?vue&type=template&id=7595d332&scoped=true\"\nimport script from \"./UserDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./UserDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UserDetails.vue?vue&type=style&index=0&id=7595d332&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7595d332\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelClientDetialsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelClientDetialsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelClientDetialsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.IsProfileMode? 'My Profile': 'Client Details' + ((_vm.clientId>0)?('- ' + _vm.clientName):''))+\"\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":_vm.IsProfileMode? 'Go Back to Dashboard' : 'Go Back to Clients'},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('TopTabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.topTabdirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTopTabRouteName,\"routeName\":_vm.routeName}},[_c('TopTab',{attrs:{\"name\":\"Profile\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"profile\"}},[_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":_vm.routeName}},[_c('Tab',{attrs:{\"name\":\"Personal\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"personal\"}},[_c('AddEditClient',{attrs:{\"IsProfileMode\":_vm.IsProfileMode,\"ClientId\":_vm.ClientId},on:{\"onIdUpdated\":_vm.onIdUpdated,\"dirtyValidatorNoSet\":_vm.personalTabDirtySet,\"onEmitName\":_vm.onClientNameUpdated}})],1),_c('Tab',{attrs:{\"name\":\"Addresses\",\"index\":1,\"disabled\":_vm.clientId==0,\"routerDisplayName\":\"addresses\"}},[_c('Addresses',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.clientId},on:{\"dirtyValidatorNoSet\":_vm.addressTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Bank Accounts\",\"index\":2,\"disabled\":_vm.clientId==0,\"routerDisplayName\":\"bankAccounts\"}},[_c('BankAccounts',{attrs:{\"relatedID\":_vm.clientId,\"filterBankAccountType\":\"0\",\"relatedTable\":_vm.relatedTable,\"bankRequired\":false,\"modalMode\":false},on:{\"dirtyValidatorNoSet\":_vm.bankTabDirtySet}})],1),(!_vm.IsProfileMode)?_c('Tab',{attrs:{\"name\":\"Applications\",\"index\":3,\"disabled\":_vm.clientId==0,\"routerDisplayName\":\"applications\",\"showBadge\":true,\"badgeText\":_vm.pendingApplicationCount,\"badgeTitle\":\"Active Applications\",\"queryData\":_vm.clientApplicationQueryData}},[_c('ClientApplicationList')],1):_vm._e(),_c('Tab',{attrs:{\"name\":_vm.IsProfileMode?'Security':'Portal Access',\"index\":4,\"disabled\":_vm.clientId==0,\"routerDisplayName\":_vm.IsProfileMode? 'security':'portalAccess'}},[_c('PortalAccess',{attrs:{\"userRole\":_vm.clientRole,\"IsProfileMode\":_vm.IsProfileMode},on:{\"dirtyValidatorNoSet\":_vm.portalAccessTabDirtySet}})],1),(!_vm.IsProfileMode)?_c('Tab',{attrs:{\"name\":\"Communications Log\",\"index\":5,\"disabled\":_vm.clientId==0,\"routerDisplayName\":\"communicationsLog\"}},[_c('ClientCommunicationLogs',{attrs:{\"relatedID\":_vm.clientId}})],1):_vm._e(),_c('b-row',{staticClass:\"float-right mr-1\",attrs:{\"slot\":\"tabs-buttons\"},slot:\"tabs-buttons\"},[(!_vm.IsProfileMode)?_c('Notes',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.clientId,\"addToolTip\":\"Please save the client to add notes\",\"isReadOnly\":false,\"modalTitle\":\"Client Notes\",\"buttonType\":_vm.buttonType,\"useStore\":false}}):_vm._e(),(!_vm.IsProfileMode)?_c('DocumentUploader',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.clientId,\"addToolTip\":\"Please save the client to add documents\",\"modalTitle\":\"Client Documents\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'*'}}):_vm._e(),(!_vm.IsProfileMode)?_c('ClientVehicleTreeViewButton',{attrs:{\"clientID\":_vm.clientId,\"clientName\":_vm.clientName,\"showNavigateToClientLink\":false}}):_vm._e()],1)],1)],1),(_vm.clientId>0 && !_vm.IsProfileMode)?_c('TopTab',{attrs:{\"name\":\"Vehicles\",\"index\":1,\"routerDisplayName\":\"vehicles\"}},[_c('MotorVehicleList',{attrs:{\"clientID\":_vm.clientId}})],1):_vm._e()],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{key:_vm.clientId},[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditClientConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditClientConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditClientConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.isImageCropperOpened)?_c('ImageCropper',{attrs:{\"imageSrc\":_vm.proPicImageSrc},on:{\"onCropImage\":_vm.onCropProPic,\"onCancelCrop\":_vm.onCancelCropPropic}}):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"12\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"4\",\"md\":\"7\",\"sm\":\"12\"}},[(_vm.client.crn>0)?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"firstNameFormGroup\",attrs:{\"label\":\"Client Reference Number\",\"label-for\":\"crn\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"crn\",\"type\":\"text\",\"disabled\":\"\"},model:{value:(_vm.client.crn),callback:function ($$v) {_vm.$set(_vm.client, \"crn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"client.crn\"}})],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Title\",\"label-for\":\"clientTitle\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"clientTitle\",\"type\":\"text\",\"placeholder\":\"Enter Title\"},model:{value:(_vm.client.title),callback:function ($$v) {_vm.$set(_vm.client, \"title\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"client.title\"}})],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"firstNameFormGroup\",class:{ 'form-group--error': _vm.$v.client.firstName.$error },attrs:{\"label\":\"First Name\",\"label-for\":\"firstName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.client.firstName.length == 0) },attrs:{\"id\":\"firstName\",\"type\":\"text\",\"placeholder\":\"Enter First Name\",\"required\":\"\",\"disabled\":_vm.IsProfileMode},on:{\"input\":function($event){return _vm.$v.client.firstName.$touch()}},model:{value:(_vm.client.firstName),callback:function ($$v) {_vm.$set(_vm.client, \"firstName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"client.firstName\"}}),(_vm.$v.client.firstName.$dirty && !_vm.$v.client.firstName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n First name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"middleNameFormGroup\",attrs:{\"label\":\"Middle Name\",\"label-for\":\"middleName\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"middleName\",\"type\":\"text\",\"placeholder\":_vm.IsProfileMode? '':'Enter Middle Name',\"disabled\":_vm.IsProfileMode},model:{value:(_vm.client.middleName),callback:function ($$v) {_vm.$set(_vm.client, \"middleName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"client.middleName\"}})],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"lastNameFormGroup\",class:{ 'form-group--error': _vm.$v.client.lastName.$error },attrs:{\"label\":\"Last Name\",\"label-for\":\"lastName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.client.lastName.length == 0) },attrs:{\"id\":\"lastName\",\"type\":\"text\",\"placeholder\":\"Enter Last Name\",\"required\":\"\",\"disabled\":_vm.IsProfileMode},on:{\"input\":function($event){return _vm.$v.client.lastName.$touch()}},model:{value:(_vm.client.lastName),callback:function ($$v) {_vm.$set(_vm.client, \"lastName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"client.lastName\"}}),(_vm.$v.client.lastName.$dirty && !_vm.$v.client.lastName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Last name is required.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{staticClass:\"responsive-margin-bottom\",attrs:{\"lg\":\"4\",\"md\":\"7\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"birthDateFormGroup\",attrs:{\"label\":\"Birth date\",\"label-for\":\"birthDate\"}},[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":!_vm.IsProfileMode,\"bootstrap-styling\":true,\"id\":'birthDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":_vm.IsProfileMode? '' :'Enter Birthdate',\"disabledDates\":_vm.disabledDates,\"disabled\":_vm.IsProfileMode},model:{value:(_vm.client.birthDate),callback:function ($$v) {_vm.$set(_vm.client, \"birthDate\", $$v)},expression:\"client.birthDate\"}})],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"emailFormGroup\",class:{ 'form-group--error': _vm.$v.client.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"normalEmail\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"normalEmail\",\"type\":\"email\",\"placeholder\":\"Enter Email Address\"},on:{\"input\":function($event){return _vm.$v.client.email.$touch()}},model:{value:(_vm.client.email),callback:function ($$v) {_vm.$set(_vm.client, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"client.email\"}}),(_vm.$v.client.email.$dirty && !_vm.$v.client.email.email )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid email address.\\n \")]):_vm._e(),(_vm.$v.client.email.$dirty && !_vm.$v.client.email.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email address is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"homePhoneFormGroup\",class:{ 'form-group--error': _vm.$v.client.homePhone.$error },attrs:{\"label\":\"Home Phone\",\"label-for\":\"homePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"homePhone\",\"type\":\"text\",\"placeholder\":\"Enter Home Phone\"},on:{\"input\":function($event){return _vm.$v.client.homePhone.$touch()}},model:{value:(_vm.client.homePhone),callback:function ($$v) {_vm.$set(_vm.client, \"homePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"client.homePhone\"}}),(_vm.$v.client.homePhone.$dirty && !_vm.$v.client.homePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"mobilePhoneFormGroup\",class:{ 'form-group--error': _vm.$v.client.mobilePhone.$error },attrs:{\"label\":\"Mobile Phone\",\"label-for\":\"mobilePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"mobilePhone\",\"type\":\"text\",\"placeholder\":\"Enter Mobile Phone\"},on:{\"input\":function($event){return _vm.$v.client.mobilePhone.$touch()}},model:{value:(_vm.client.mobilePhone),callback:function ($$v) {_vm.$set(_vm.client, \"mobilePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"client.mobilePhone\"}}),(_vm.$v.client.mobilePhone.$dirty && !_vm.$v.client.mobilePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid phone number.\\n \")]):_vm._e()],1)],1)],1),(!_vm.IsProfileMode)?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Status\",\"label-for\":\"statusSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.client.status.$error, 'requiredField': (_vm.client.status == 0)},attrs:{\"id\":\"statusSelect\",\"plain\":true,\"options\":_vm.clientStatusList,\"required\":\"\"},on:{\"change\":function($event){return _vm.$v.client.status.$touch();}},model:{value:(_vm.client.status),callback:function ($$v) {_vm.$set(_vm.client, \"status\", $$v)},expression:\"client.status\"}},[(_vm.client.id == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.client.status.$dirty && !_vm.$v.client.status.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Client status is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e()],1),_c('b-col',{attrs:{\"lg\":\"4\",\"md\":\"7\",\"sm\":\"12\"}},[_c('FileUploader',{ref:\"profilePicUploader\",staticClass:\"pro-pic responsive-margin-top responsive-left-margin\",attrs:{\"align-h\":\"center\",\"modalMode\":false,\"label\":\"\",\"assignedWidth\":\"170px\",\"assignedHeight\":\"170px\",\"keepDummy\":true,\"imgUri\":_vm.profilePicUri,\"dummyImage\":_vm.initialProfilePicUri,\"changeLabelClass\":\"ml-4\",\"accept\":\"image/*\",\"avatarMode\":_vm.avatarMode},on:{\"onFileChanged\":_vm.onProPicChanged,\"onCropModalOpen\":_vm.onCropModalOpen,\"onCropModalClose\":_vm.onCropModalClose}})],1)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-row',[_c('b-col',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":!_vm.isModelDirty()\n ||_vm.$v.client.firstName.$invalid\n ||_vm.$v.client.lastName.$invalid\n ||_vm.$v.client.email.$invalid\n ||_vm.$v.client.status.$invalid\n ||_vm.$v.client.homePhone.$invalid\n ||_vm.$v.client.mobilePhone.$invalid\n ||_vm.$v.client.homePhone.$invalid}},[_vm._v(\" \"+_vm._s(_vm.buttonType))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1),(_vm.clientId>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.client.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.client.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.client.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.client.lastUpdatedDate))+\")\")])]):_vm._e()],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport {Client} from '@/models/client.model'\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required,email, between,minValue, maxLength,numeric} from 'vuelidate/lib/validators'\r\nimport apiService from '@/shared/services/apiService'\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport ImageCropper from '@/shared/components/imageCropper/ImageCropper.vue';\r\nimport FileUploader from '@/shared/components/fileUploader/FileUploader.vue';\r\nimport blobService from '@/shared/services/azureBlobStorageService';\r\nimport { BlobContainerType } from '@/shared/enums/blobContainerTypes.enum';\r\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\r\nimport lookupService from '@/shared/services/lookupService';\r\n\r\n@Component({\r\n mixins:[validationMixin],\r\n components: {\r\n Modal,\r\n FileUploader,\r\n ImageCropper\r\n },\r\n validations:{\r\n client:{\r\n firstName:{\r\n required\r\n },\r\n lastName:{\r\n required \r\n },\r\n email:{\r\n email,\r\n isRequired : (value,vm) => \r\n {\r\n if (vm.activationEmailSent && (typeof value === 'undefined' || value === null || value === '')) {\r\n return false\r\n }\r\n return true; \r\n }\r\n },\r\n homePhone:{\r\n numeric\r\n },\r\n mobilePhone:{\r\n numeric\r\n },\r\n status:\r\n {\r\n required,\r\n minValue:minValue(1)\r\n },\r\n },\r\n selectedClientTitle:{\r\n required \r\n }\r\n }\r\n})\r\nexport default class AddEditClient extends Vue{\r\n\r\n @Prop() IsProfileMode:any;\r\n @Prop() ClientId:any;\r\n\r\n client:Client = {firstName:\"\",\r\n lastName:\"\",\r\n email:\"\",\r\n id:0,\r\n middleName:\"\",\r\n isActive:true,\r\n concurrencyKey:\"\",\r\n title:\"\",\r\n homePhone:\"\",\r\n mobilePhone:\"\",\r\n status: 0,\r\n crn:0,\r\n birthDate:\"\",\r\n displayName:\"\",\r\n titleList:[],\r\n createdByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdateByName:\"\",\r\n lastUpdatedDate:new Date(),\r\n activationEmailSent:false,\r\n profilePicInfo:null,\r\n isProPicUpdated:false };\r\n dirtyValidatorRefNo:number = 0;\r\n clientTitles:any = [{value:1,text:\"Mr\"},{value:2,text:\"Mrs\"}];\r\n clientId:number = 0;\r\n actionType:string = \"\";\r\n buttonType:string = \"\";\r\n disabledDates:any = {};\r\n fromDate:any;\r\n showCancelConfirmation:boolean = false;\r\n selectedProfilePic:any = null;\r\n initialProfilePicUri:string = '../../../img/avatars/user_img.png';\r\n profilePicUri:string = '../../../img/avatars/user_img.png';\r\n profilePicChanged:boolean = false;\r\n profilePicSettings:any = null;\r\n avatarMode:boolean = true;\r\n isImageCropperOpened:boolean = false;\r\n proPicImageSrc:any = null;\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n clientStatusList: any = [];\r\n\r\n created(){\r\n this.clientId = this.IsProfileMode? this.ClientId : (+this.$route.params.id ? +this.$route.params.id : 0);\r\n this.fromDate= new Date();\r\n this.fromDate.setFullYear(this.fromDate.getFullYear()-1);\r\n this.loadClientStatusList();\r\n \r\n if(+this.clientId>0){\r\n this.initialProfilePicUri = \"../\" + this.initialProfilePicUri;\r\n this.profilePicUri = \"../\" + this.initialProfilePicUri;\r\n this.actionType = \"Edit\"\r\n this.buttonType = \"Update\"\r\n this.loadClientDetails();\r\n }\r\n else{\r\n this.actionType = \"Add\"\r\n this.buttonType = \"Add\"\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.client);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n }\r\n\r\n mounted(){\r\n this.disabledDates = {\r\n from: new Date()\r\n }\r\n }\r\n\r\n loadClientStatusList(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetClientStatusList().then(data => \r\n {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.clientStatusList = data;\r\n }); \r\n }\r\n\r\n onSubmit(){\r\n if(+this.clientId>0){\r\n this.updateExistingClient();\r\n }\r\n else{\r\n this.addNewClient();\r\n }\r\n }\r\n\r\n addNewClient(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.uploadProfilePic().then(proPicUploadResult => {\r\n var params = {\r\n firstName:this.client.firstName,\r\n lastName:this.client.lastName,\r\n middleName:this.client.middleName,\r\n title:this.client.title,\r\n birthDate:this.client.birthDate,\r\n email:this.client.email,\r\n homePhone:this.client.homePhone,\r\n mobilePhone:this.client.mobilePhone,\r\n status:this.client.status,\r\n profilePicInfo:this.client.profilePicInfo,\r\n isProPicUpdated:this.client.isProPicUpdated\r\n }\r\n apiService.sendPutRequest('Client','Client',params).then(data=>{\r\n var response = data.data;\r\n if(response.item1.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.item1.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.$router.push({name:'Edit Client',params:{id:response.item1.id,topRouteDisplayName:'profile', routerDisplayName:'personal'}});\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.item1.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n })\r\n }\r\n\r\n updateExistingClient(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.uploadProfilePic().then(proPicUploadResult => {\r\n apiService.sendPostRequest('Client','Client',this.client).then(data=>{\r\n var response = data.data;\r\n if(response.item1 && response.item1.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.item1.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.client.concurrencyKey = response.item1.concurrencyKey;\r\n this.client.lastUpdatedDate = response.item1.lastUpdatedDate;\r\n this.client.lastUpdateByName = response.item1.updatedByName;\r\n if(this.client.isProPicUpdated){\r\n this.client.profilePicInfo.concurrencyKey = response.item2.concurrencyKey;\r\n this.client.isProPicUpdated = false;\r\n this.selectedProfilePic = null;\r\n (this.$refs.profilePicUploader as FileUploader).resetUploder();\r\n }\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$v.client.$reset();\r\n this.onEmitName(this.getClientName());\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.item1 == undefined ? response.message : response.item1.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n })\r\n }\r\n\r\n uploadProfilePic():Promise{\r\n return new Promise((resolve,reject)=>{\r\n if(this.selectedProfilePic){\r\n \r\n var promise = this.profilePicSettings? blobService.getsasForExisting(BlobContainerType.ProfilePicContainer, this.profilePicSettings.guid): blobService.getsasAndGuid(BlobContainerType.ProfilePicContainer);\r\n promise.then(response => {\r\n var profilePicSas = response.data;\r\n blobService.uploadFile(profilePicSas,this.selectedProfilePic).then( response1 =>{\r\n var profilePicParams = {\r\n fileName:this.selectedProfilePic.name,\r\n fileType: FileTypes.ProfilePic,\r\n guid: profilePicSas.blobGuid,\r\n fileExtension: \"png\",\r\n uri: profilePicSas.blobUri\r\n };\r\n if(this.client.profilePicInfo){\r\n this.client.profilePicInfo.fileName = this.selectedProfilePic.name;\r\n this.client.profilePicInfo.fileType = FileTypes.ProfilePic;\r\n this.client.profilePicInfo.guid = profilePicSas.blobGuid;\r\n this.client.profilePicInfo.fileExtension = \"png\";\r\n this.client.profilePicInfo.uri = profilePicSas.blobUri;\r\n }\r\n else{\r\n this.client.profilePicInfo = profilePicParams;\r\n }\r\n \r\n this.profilePicUri = profilePicSas.blobUri;\r\n if(this.IsProfileMode){\r\n this.$store.dispatch('changeProfilePicUrl','');\r\n this.$nextTick(()=>{\r\n this.$store.dispatch('changeProfilePicUrl',this.profilePicUri+\"?t=\"+Date.now());\r\n })\r\n }\r\n this.profilePicSettings = profilePicParams;\r\n (this.$refs.profilePicUploader as FileUploader).setAltImg();\r\n resolve();\r\n })\r\n })\r\n }\r\n else{\r\n resolve();\r\n }\r\n })\r\n }\r\n\r\n loadClientDetails(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id:this.clientId}\r\n apiService.sendGetRequest('Client','Client',params).then(response=>{\r\n if(response.data.item1.isSuccess){\r\n this.client = response.data.item2;\r\n this.onEmitName(this.getClientName());\r\n if(this.client.profilePicInfo){\r\n this.profilePicUri = this.client.profilePicInfo.uri;\r\n }\r\n }\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.client);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onCancel(){\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.showCancelConfirmation = true;\r\n }\r\n else{\r\n this.navigateBack();\r\n }\r\n }\r\n\r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n\r\n navigateBack(){\r\n this.$router.push({name:'Clients'});\r\n }\r\n\r\n getClientName(){\r\n var first = this.client.firstName.substring(0,1).toUpperCase(); \r\n var middle = ((this.client.middleName.length>0)?(\".\"+this.client.middleName.substring(0,1).toUpperCase()+\" \"):\" \"); \r\n var last = this.client.lastName.substring(0,1).toUpperCase()+this.client.lastName.substring(1);\r\n return first+middle+last;\r\n }\r\n\r\n onProPicChanged(file:any){\r\n this.selectedProfilePic = file;\r\n if(file){\r\n this.profilePicUri = '';\r\n this.profilePicChanged = true;\r\n this.client.isProPicUpdated = true;\r\n }\r\n else{\r\n this.profilePicUri = this.client.profilePicInfo? this.client.profilePicInfo.uri : '';\r\n this.profilePicChanged = false;\r\n this.client.isProPicUpdated = false;\r\n }\r\n }\r\n\r\n getFileExtension(fileName:string){\r\n var wordList = fileName.split(\".\");\r\n return wordList[wordList.length-1];\r\n }\r\n\r\n onCropModalOpen(data:any){\r\n this.isImageCropperOpened = true;\r\n this.proPicImageSrc = data;\r\n }\r\n\r\n onCropModalClose(){\r\n this.isImageCropperOpened = false; \r\n }\r\n\r\n onCropProPic(data:any){\r\n (this.$refs.profilePicUploader as FileUploader).OnCropImage(data);\r\n }\r\n\r\n onCancelCropPropic(){\r\n this.isImageCropperOpened = false;\r\n }\r\n\r\n @Emit('onIdUpdated') onIdUpdated(id:number){\r\n }\r\n\r\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\r\n }\r\n\r\n @Emit('onEmitName') onEmitName(clientName:string){\r\n \r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditClient.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditClient.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditClient.vue?vue&type=template&id=dba8da40&scoped=true\"\nimport script from \"./AddEditClient.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditClient.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditClient.vue?vue&type=style&index=0&id=dba8da40&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dba8da40\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showAddBankAccountPanel)?_c('div',[_c('AddEditBankAccount',{attrs:{\"relatedID\":_vm.relatedID,\"relatedTable\":_vm.relatedTable,\"bankRequired\":_vm.bankRequired,\"modalMode\":_vm.modalMode,\"filterBankAccountType\":_vm.filterBankAccountType,\"isReadOnlyMode\":_vm.isReadOnlyMode,\"originalBankAccount\":_vm.bankAccount},on:{\"onBankAccountAdded\":_vm.createBankAccount,\"onBankAccountUpdated\":_vm.updateBankAccount,\"onOkayToCancel\":_vm.closeAddBankAccountPanel,\"dirtyValidatorNoSet\":_vm.dirtyValidatorNoSet}})],1):_vm._e(),(!_vm.showAddBankAccountPanel)?_c('div',[(!_vm.modalMode && !_vm.isReadOnlyMode)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.showAddBankAccountPanel},on:{\"click\":_vm.onAddBankAccount}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Bank Account\\n \")])],1)],1):_vm._e(),_c('DataTable',{ref:\"bankAccountsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"hidePaginator\":_vm.hidePaginator,\"modalMode\":_vm.modalMode,\"showEmptyBanner\":\"true\",\"selectable\":!_vm.modalMode,\"emptyBanner\":\"No bank account details to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteBankAccountConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteBankAccountConf\"},on:{\"ok\":_vm.deleteBankAccount}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Bank Account\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the bank account?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteBankAccountConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteBankAccountConf_OkButton\"},on:{\"click\":_vm.deleteBankAccount}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.modalMode && !_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Bank Account\"},on:{\"click\":_vm.onDeleteBankAccountClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n import { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n import {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n import Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n @Component(\n {\n components: {\n Modal\n } \n }\n )\n export default class BankAccountListActionButtons extends Vue {\n @Prop() item:any\n @Prop() modalMode:boolean\n showDeleteBankAccountConfirmation = false;\n isStandardUser: false;\n\n created()\n {\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n \n onCloseDelete()\n {\n this.showDeleteBankAccountConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n onDeleteBankAccountClick()\n {\n this.showDeleteBankAccountConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n deleteBankAccount(){\n this.showDeleteBankAccountConfirmation = false;\n this.item.isActive = false;\n this.onDeleteBankAccount(this.item,DataTableActionTypes.Delete); \n }\n\n @Emit('customEvent') onDeleteBankAccount(id:number,type:DataTableActionTypes){\n }\n \n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankAccountListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankAccountListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankAccountListActionButtons.vue?vue&type=template&id=ca35c11c&scoped=true\"\nimport script from \"./BankAccountListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./BankAccountListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankAccountListActionButtons.vue?vue&type=style&index=0&id=ca35c11c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ca35c11c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelBankAccountConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelBankAccountConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelBankAccountConf_OkButton\"},on:{\"click\":_vm.closeAddBankAccountPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":_vm.modalMode?12:8,\"lg\":_vm.modalMode?12:8}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Bank\",\"label-for\":\"bankSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error':_vm.$v.bankAccount.bankID.$error && _vm.bankRequired, 'requiredField': (_vm.bankAccount.bankID == null && _vm.bankRequired)},attrs:{\"id\":\"bankSelect\",\"plain\":true,\"options\":_vm.banksList,\"disabled\":_vm.isReadOnlyMode},on:{\"change\":function($event){return _vm.$v.bankAccount.bankID.$touch()}},model:{value:(_vm.bankAccount.bankID),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"bankID\", $$v)},expression:\"bankAccount.bankID\"}},[(_vm.bankAccount.bankID == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.bankRequired && _vm.$v.bankAccount.bankID.$dirty && !_vm.$v.bankAccount.bankID.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Bank is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.accountName.$error },attrs:{\"label\":\"Account Name\",\"label-for\":\"accountName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bankAccount.accountName.length == 0)},attrs:{\"id\":\"accountName\",\"type\":\"text\",\"placeholder\":\"Enter Account Name\",\"maxlength\":'24',\"required\":\"\",\"disabled\":_vm.isReadOnlyMode},on:{\"input\":function($event){return _vm.$v.bankAccount.accountName.$touch()}},model:{value:(_vm.bankAccount.accountName),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"accountName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.accountName\"}}),(_vm.$v.bankAccount.accountName.$dirty && !_vm.$v.bankAccount.accountName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Account Name is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.accountName.$dirty && !_vm.$v.bankAccount.accountName.isValidAccountName)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Account Name.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.bankAccountBSB.$error },attrs:{\"label\":\"BSB\",\"label-for\":\"bsb\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.bankAccount.bankAccountBSB || _vm.bankAccount.bankAccountBSB.length == 0) },attrs:{\"id\":\"bsb\",\"type\":\"text\",\"placeholder\":\"Enter BSB\",\"maxlength\":'6',\"required\":\"\",\"disabled\":_vm.isReadOnlyMode},on:{\"input\":function($event){return _vm.$v.bankAccount.bankAccountBSB.$touch()}},model:{value:(_vm.bankAccount.bankAccountBSB),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"bankAccountBSB\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.bankAccountBSB\"}}),(_vm.$v.bankAccount.bankAccountBSB.$dirty && !_vm.$v.bankAccount.bankAccountBSB.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n BSB is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.bankAccountBSB.$dirty && !_vm.$v.bankAccount.bankAccountBSB.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid BSB number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.accountNumber.$error },attrs:{\"label\":\"Account Number\",\"label-for\":\"accountNumber\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.bankAccount.accountNumber ||_vm.bankAccount.accountNumber.length == 0) },attrs:{\"id\":\"accountNumber\",\"type\":\"text\",\"placeholder\":\"Enter Account Number\",\"maxlength\":'9',\"required\":\"\",\"disabled\":_vm.isReadOnlyMode},on:{\"input\":function($event){return _vm.$v.bankAccount.accountNumber.$touch()}},model:{value:(_vm.bankAccount.accountNumber),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"accountNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.accountNumber\"}}),(_vm.$v.bankAccount.accountNumber.$dirty && !_vm.$v.bankAccount.accountNumber.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Account Number is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.accountNumber.$dirty && !_vm.$v.bankAccount.accountNumber.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Account Number.\\n \")]):_vm._e()],1)],1)],1),(_vm.relatedTable == _vm.companyRelatedTable)?_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Account Type\",\"label-for\":\"typeSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error':_vm.$v.bankAccount.bankAccountType.$error, 'requiredField': (_vm.bankAccount.bankAccountType == null)},attrs:{\"id\":\"typeSelect\",\"plain\":true,\"options\":_vm.bankAccountTypesList,\"disabled\":_vm.isReadOnlyMode},on:{\"change\":function($event){return _vm.$v.bankAccount.bankAccountType.$touch()}},model:{value:(_vm.bankAccount.bankAccountType),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"bankAccountType\", $$v)},expression:\"bankAccount.bankAccountType\"}},[(_vm.bankAccount.bankAccountType == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.bankAccount.bankAccountType.$dirty && !_vm.$v.bankAccount.bankAccountType.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Bank account type is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.relatedTable == _vm.companyRelatedTable)?_c('b-row',[_c('b-col',[_c('b-form-checkbox',{attrs:{\"id\":\"checkbox_isIncludedForMacquarieBankAPI\",\"name\":\"includeForMacquarieBankAPI\"},model:{value:(_vm.bankAccount.isIncludedForBankAPI),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"isIncludedForBankAPI\", $$v)},expression:\"bankAccount.isIncludedForBankAPI\"}},[_vm._v(\"\\n Include for Macquarie Bank API\\n \")])],1)],1):_vm._e(),_c('div',[(!_vm.isReadOnlyMode)?_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.isModelInvalid() || !_vm.isModelDirty())}},[_vm._v(\" \"+_vm._s(_vm.bankAccount.id>0?'Update':'Save'))]):_vm._e(),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")]),(_vm.bankAccount.id>0)?_c('b-row',{staticClass:\"ml-0 audit-text text-nowrap\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.bankAccount.createdBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.bankAccount.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.bankAccount.updatedBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.bankAccount.updatedDate))+\")\")])]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport {BankAccount} from '@/models/bankAccount.model';\nimport { validationMixin } from 'vuelidate';\nimport { required, numeric, minValue } from 'vuelidate/lib/validators';\nimport apiService from '@/shared/services/apiService';\nimport lookupService from '@/shared/services/lookupService'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n Modal\n },\n validations:{\n bankAccount:{\n bankID:\n {\n minValue:minValue(1)\n },\n accountName:{\n required,\n isValidAccountName : value => \n {\n if(/[,]+/.test(value)){\n return false;\n }\n else{\n return true;\n }\n }\n },\n accountNumber:{\n required,\n numeric \n },\n bankAccountBSB:{\n required,\n numeric\n },\n bankAccountType:{\n minValue:minValue(1)\n }\n }\n }\n }\n)\nexport default class AddEditBankAccount extends Vue{\n @Prop() relatedID:number;\n @Prop() relatedTable:number;\n @Prop() bankRequired:boolean;\n @Prop() modalMode:boolean;\n @Prop() filterBankAccountType:number;\n @Prop() originalBankAccount:any;\n @Prop({default:false}) isReadOnlyMode:any;\n bankAccount:BankAccount = {\n id:0,bankID:null,\n accountName:\"\",\n accountNumber:undefined,\n bankAccountBSB:undefined,\n relatedID:this.relatedID,\n relatedTable:this.relatedTable,\n bankAccountType:null,\n isIncludedForBankAPI:null,\n concurrencyKey:\"\",\n isActive:true,\n createdDate:\"\",\n createdBy:\"\",\n updatedDate:\"\",\n updatedBy:\"\"};\n dirtyValidatorRefNo:number = 0;\n showCancelConfirmation:boolean = false;\n banksList:any = [];\n bankAccountTypesList:any = [];\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n\n created(){\n if(this.relatedTable == RelatedTables.Company)\n {\n this.loadBanksAccountTypeList(); \n }\n\n this.loadBanksList(); \n }\n\n mounted(){\n if(this.originalBankAccount && this.originalBankAccount.id > 0){\n this.bankAccount = Object.assign({}, this.originalBankAccount);\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo, this.bankAccount);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n\n loadBanksAccountTypeList()\n {\n lookupService.GetBankAccountTypesDropDownList().then(data => \n {\n this.bankAccountTypesList = data;\n });\n }\n\n getBankAccountTypeText(value)\n {\n return this.bankAccountTypesList.filter(obj => obj.value == value)[0].text;\n }\n\n loadBanksList()\n {\n lookupService.GetBanksDropDownList().then(data => \n {\n this.banksList = data;\n });\n }\n\n onSubmit(){\n if(this.bankAccount.id > 0){\n this.updateBankAccount();\n }\n else{\n this.createBankAccount();\n } \n }\n\n createBankAccount(){\n var params = {\n bankID:this.bankAccount.bankID,\n accountName:this.bankAccount.accountName,\n accountNumber:this.bankAccount.accountNumber,\n bankAccountBSB:this.bankAccount.bankAccountBSB,\n bankAccountType:this.bankAccount.bankAccountType,\n isIncludedForBankAPI:this.bankAccount.isIncludedForBankAPI,\n relatedID:this.relatedID,\n relatedTable:this.relatedTable\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('BankAccount','BankAccount',params).then(\n response => {\n if(response.data.isSuccess){\n this.bankAccount.id = response.data.id;\n this.bankAccount.concurrencyKey = response.data.concurrencyKey;\n this.bankAccount.createdDate = new Date();\n this.bankAccount.createdBy = response.data.updatedByName;\n this.bankAccount.updatedDate = new Date();\n this.bankAccount.updatedBy = response.data.updatedByName;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.onBankAccountAdded(this.bankAccount);\n this.closeAddBankAccountPanel();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n updateBankAccount(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('BankAccount','BankAccount',this.bankAccount).then(\n response => {\n if(response.data.isSuccess){\n this.bankAccount.concurrencyKey = response.data.concurrencyKey;\n this.bankAccount.updatedBy = response.data.updatedByName;\n this.bankAccount.updatedDate = new Date();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.onBankAccountUpdated(this.bankAccount);\n this.closeAddBankAccountPanel();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.showCancelConfirmation = true;\n }\n else{\n this.closeAddBankAccountPanel();\n }\n }\n\n closeAddBankAccountPanel(){\n this.showCancelConfirmation = false;\n this.$v.bankAccount.$reset();\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.onOkayToCancel();\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n isModelInvalid()\n {\n return this.$v.bankAccount.accountName.$invalid || this.$v.bankAccount.accountNumber.$invalid \n || this.$v.bankAccount.bankAccountBSB.$invalid || (this.bankAccount.bankID == null && this.bankRequired)\n || (this.relatedTable == RelatedTables.Company && this.bankAccount.bankAccountType == null);\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n\n @Emit('onSelectBankAccount') onSelectBankAccount(id:number){\n }\n\n @Emit('onBankAccountAdded') onBankAccountAdded(ba:any){\n \n }\n\n @Emit('onBankAccountUpdated') onBankAccountUpdated(ba:any){\n \n }\n\n @Emit('onOkayToCancel') onOkayToCancel(){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditBankAccount.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditBankAccount.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditBankAccount.vue?vue&type=template&id=2d47d728&scoped=true\"\nimport script from \"./AddEditBankAccount.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditBankAccount.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditBankAccount.vue?vue&type=style&index=0&id=2d47d728&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2d47d728\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{class:{'primary-text':_vm.modalMode, 'cursor-pointer':true},on:{\"click\":function($event){return _vm.onClick()}}},[_vm._v(_vm._s(this.item.accountName))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\nexport default class EditBankAccountLink extends Vue {\n @Prop() item:any;\n @Prop() modalMode:boolean;\n\n onClick(){\n if(this.modalMode){\n this.onSelectBankAccount(this.item.id,DataTableActionTypes.Select);\n }\n else{\n this.onSelectBankAccount(this.item,DataTableActionTypes.RowSelect);\n }\n }\n \n @Emit('customEvent') onSelectBankAccount(item:any,type:DataTableActionTypes){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditBankAccountLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditBankAccountLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditBankAccountLink.vue?vue&type=template&id=5052f061&scoped=true\"\nimport script from \"./EditBankAccountLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditBankAccountLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5052f061\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{class:{'width_20':true, 'text-right':true, 'cursor-pointer': true},attrs:{\"title\":_vm.getDate(_vm.item.latestBankFileDate)}},[_c('ApexCurrency',{attrs:{\"value\":_vm.item.availableBalance}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport moment from 'moment';\n\n@Component\nexport default class AvailableBalanceTemplate extends Vue {\n @Prop() item:any;\n @Prop() modalMode:boolean;\n\n getDate(date){\n return date ? moment(date).format(\"DD MMM YYYY\"):\"\";\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AvailableBalanceTemplate.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AvailableBalanceTemplate.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AvailableBalanceTemplate.vue?vue&type=template&id=14ede246&scoped=true\"\nimport script from \"./AvailableBalanceTemplate.vue?vue&type=script&lang=ts\"\nexport * from \"./AvailableBalanceTemplate.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"14ede246\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit,Watch } from 'vue-property-decorator';\nimport {BankAccount} from '@/models/bankAccount.model';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport BankAccountListActionButtons from './BankAccountListActionButtons.vue'\nimport lookupService from '@/shared/services/lookupService'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport AddEditBankAccount from './AddEditBankAccount.vue';\nimport EditBankAccountLink from './EditBankAccountLink.vue';\nimport { DatatableField } from '@/models/datatableField.model';\nimport AvailableBalanceTemplate from './AvailableBalanceTemplate.vue';\n\n@Component(\n {\n components: {\n DataTable,\n Modal,\n AddEditBankAccount,\n EditBankAccountLink\n }\n }\n)\nexport default class BankAccounts extends Vue{\n @Prop() relatedID:number;\n @Prop() relatedTable:number;\n @Prop() bankRequired:boolean;\n @Prop() modalMode:boolean;\n @Prop() filterBankAccountType:number;\n @Prop({default:false}) isReadOnlyMode:any;\n intialBankAccount:BankAccount = {\n id:0,bankID:null,\n accountName:\"\",\n accountNumber:undefined,\n bankAccountBSB:undefined,\n relatedID:this.relatedID,\n relatedTable:this.relatedTable,\n bankAccountType:null,\n isIncludedForBankAPI:null,\n concurrencyKey:\"\",\n isActive:true,\n createdDate:\"\",\n createdBy:\"\",\n updatedDate:\"\",\n updatedBy:\"\"};\n bankAccount:BankAccount = Object.assign({}, this.intialBankAccount);\n items:any = [];\n showAddBankAccountPanel:boolean = false;\n dirtyValidatorRefNo:number = 0;\n hidePaginator:boolean = true;\n fields: DatatableField[] = [\n {key: 'accountName', class: this.modalMode ? 'width_30' : 'width_25'},\n {key: 'bankAccountBSB', label:\"BSB\",class: this.modalMode ? 'width_10' : 'width_20'},\n {key: 'accountNumber', class: this.modalMode ? 'width_18' : 'width_25'} \n ];\n customTemplateList:Array = [];\n showCancelConfirmation:boolean = false;\n bankAccountTypesList:any = [];\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n \n @Watch('relatedID')\n onRelatedIDChanged(val: any, oldVal: any)\n {\n this.loadBankAccountList(); \n }\n\n created(){\n if(!this.isReadOnlyMode){\n this.fields.push({key: 'actions',label:\"\",class:'text-center'});\n this.customTemplateList.push({slot:\"actions\",customTemplate:BankAccountListActionButtons});\n this.customTemplateList.push({slot:\"accountName\",customTemplate:EditBankAccountLink});\n }\n if(this.relatedTable == RelatedTables.Company){\n var item = {key: 'bankAccountType', label:\"Bank Account Type\", class:'width_20', \n formatter: (value, key, item) => {\n return this.getBankAccountTypeText(value);\n }\n }\n this.fields.splice(1,0,item);\n var item2 = {key: 'isIncludedForBankAPI', label:\"Incl. For Bank API\", class:'width_30', \n formatter: (value, key, item) => {\n return value != null && value == true ? 'Yes' : 'No';\n }\n }\n this.fields.splice(4,0,item2);\n }\n \n if(this.relatedTable == RelatedTables.Company)\n {\n this.loadBanksAccountTypeList(); \n }\n\n if(this.modalMode){\n this.customTemplateList.push({slot:\"availableBalance\",customTemplate: AvailableBalanceTemplate});\n this.fields.push({key: 'availableBalance', label: 'Balance', class: this.modalMode ? 'width_20 text-right' : 'width_20'});\n }\n\n if(this.relatedID > 0)\n this.loadBankAccountList(); \n \n }\n\n loadBanksAccountTypeList()\n {\n lookupService.GetBankAccountTypesDropDownList().then(data => \n {\n this.bankAccountTypesList = data;\n });\n }\n\n getBankAccountTypeText(value)\n {\n return this.bankAccountTypesList.filter(obj => obj.value == value)[0].text;\n }\n\n onDeleteBankAccount(data:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"BankAccount\",\"BankAccount\",data).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Bank Account successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n if(this.bankAccount.id == data.id){\n this.closeAddBankAccountPanel();\n }\n this.loadBankAccountList();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.bankAccountsTable as DataTable).resetLastCustomAction();\n }\n ) \n }\n\n createBankAccount(createdBankAccount:any){\n this.items.push(Object.assign({},createdBankAccount));\n this.closeAddBankAccountPanel();\n }\n\n updateBankAccount(updatedBankAccount:any){\n var ba = this.getAccountById(updatedBankAccount.id);\n var index = this.items.indexOf(ba);\n this.items[index] = updatedBankAccount;\n var itemsCopy = Object.assign([],this.items);\n this.items = [];\n this.items = itemsCopy;\n this.closeAddBankAccountPanel();\n }\n\n closeAddBankAccountPanel(){\n this.bankAccount = Object.assign({}, this.intialBankAccount);\n this.showAddBankAccountPanel = false;\n }\n\n loadBankAccountList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('BankAccount','BankAccountList',{relatedTable:this.relatedTable, relatedID:this.relatedID}).then(\n response => {\n if(this.filterBankAccountType > 0)\n {\n this.items = response.data.filter(obj => obj.bankAccountType == this.filterBankAccountType);\n }\n else\n {\n this.items = response.data;\n }\n\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onEditBankAccount(data:any){\n this.bankAccount = Object.assign({},this.getAccountById(data.id));\n this.showAddBankAccountPanel = true;\n }\n\n getAccountById(id:number){\n var i;\n var account;\n for (i = 0; i < this.items.length; i++) { \n if(this.items[i].id == id){\n account = this.items[i];\n break;\n }\n }\n return account;\n }\n\n onAddBankAccount(){\n this.bankAccount = Object.assign({}, this.intialBankAccount);\n this.showAddBankAccountPanel = true;\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.bankAccountsTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.bankAccountsTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onDeleteBankAccount(data);\n }\n else if(type == DataTableActionTypes.RowSelect){\n this.onEditBankAccount(data);\n }\n else if(type == DataTableActionTypes.Select){\n this.onSelectBankAccount(data)\n }\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n\n @Emit('onSelectBankAccount') onSelectBankAccount(data:any){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankAccounts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankAccounts.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankAccounts.vue?vue&type=template&id=2298727a&scoped=true\"\nimport script from \"./BankAccounts.vue?vue&type=script&lang=ts\"\nexport * from \"./BankAccounts.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankAccounts.vue?vue&type=style&index=0&id=2298727a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2298727a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddressConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddressConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddressConf_OkButton\"},on:{\"click\":_vm.closeAddAddressPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showDuplicateConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"AddAddressConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Do you want to add the same address for other address types?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"AddAddressConf_CancelButton\"},on:{\"click\":_vm.cancelDuplication}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"AddAddressConf_OkButton\"},on:{\"click\":_vm.noDuplication}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\"},on:{\"click\":_vm.yesDuplicate}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showAddAddressPanel)?_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"8\"}},[_c('label',[_vm._v(\"Address\")]),_c('AutoCompleteAddressSearch',{on:{\"onSearchAddress\":_vm.onSearchAddress}})],1),_c('b-col',{attrs:{\"md\":\"8\"}},[_c('hr',{staticClass:\"address-search-section ml-0\"})])],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"8\",\"lg\":\"8\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[(_vm.addressTypeOptions.length>0)?_c('b-form-group',{attrs:{\"label\":\"Address Type\",\"label-for\":\"addressType\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{ 'form-group--error': (_vm.$v.selectedAddressType.$error),'requiredField': (_vm.selectedAddressType == 0) },attrs:{\"id\":\"addressType\",\"plain\":true,\"options\":_vm.addressTypeOptions,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.selectedAddressType.$touch()}},model:{value:(_vm.selectedAddressType),callback:function ($$v) {_vm.selectedAddressType=$$v},expression:\"selectedAddressType\"}},[(_vm.address.addressType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.selectedAddressType.$dirty && !_vm.$v.selectedAddressType.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Address Type is required.\\n \")]):_vm._e()],1):_vm._e(),_c('b-form-group',{attrs:{\"label\":\"Address Line1\",\"label-for\":\"addressLine1\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.address.addressLine1.$error),'requiredField': (_vm.address.addressLine1.length == 0)},attrs:{\"id\":\"addressLine1\",\"type\":\"text\",\"placeholder\":\"Enter Address Line1\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.address.addressLine1.$touch()}},model:{value:(_vm.address.addressLine1),callback:function ($$v) {_vm.$set(_vm.address, \"addressLine1\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.addressLine1\"}}),(_vm.$v.address.addressLine1.$error)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Address Line1 is required.\\n \")]):_vm._e()],1),_c('b-form-group',{attrs:{\"label\":\"Address Line2\",\"label-for\":\"addressLine2\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",attrs:{\"id\":\"addressLine2\",\"type\":\"text\",\"placeholder\":\"Enter Address Line2\"},model:{value:(_vm.address.addressLine2),callback:function ($$v) {_vm.$set(_vm.address, \"addressLine2\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.addressLine2\"}})],1),_c('b-form-group',{attrs:{\"label\":\"Suburb\",\"label-for\":\"ra_suburb\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.address.suburb.$error),'requiredField': (_vm.address.suburb.length == 0)},attrs:{\"id\":\"suburb\",\"type\":\"text\",\"placeholder\":\"Enter Suburb\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.address.suburb.$touch()}},model:{value:(_vm.address.suburb),callback:function ($$v) {_vm.$set(_vm.address, \"suburb\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.suburb\"}}),(_vm.$v.address.suburb.$error)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Suburb is required.\\n \")]):_vm._e()],1),_c('b-form-group',{attrs:{\"label\":\"State\",\"label-for\":\"state\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{ 'form-group--error': (_vm.$v.address.stateId.$error),'requiredField': (_vm.address.stateId == 0)},attrs:{\"id\":\"state\",\"plain\":true,\"options\":_vm.addressStates,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.address.stateId.$touch()}},model:{value:(_vm.address.stateId),callback:function ($$v) {_vm.$set(_vm.address, \"stateId\", $$v)},expression:\"address.stateId\"}},[(_vm.address.stateId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.address.stateId.$dirty && !_vm.$v.address.stateId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n State is required.\\n \")]):_vm._e()],1),_c('b-form-group',{attrs:{\"label\":\"Postcode\",\"label-for\":\"postcode\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.address.postcode.$error),'requiredField': (_vm.address.postcode.length == 0)},attrs:{\"id\":\"postcode\",\"type\":\"text\",\"maxlength\":'4',\"placeholder\":\"Enter Post Code\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.address.postcode.$touch()}},model:{value:(_vm.address.postcode),callback:function ($$v) {_vm.$set(_vm.address, \"postcode\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.postcode\"}}),_c('div',[(_vm.$v.address.postcode.$dirty && !_vm.$v.address.postcode.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Postcode is required.\\n \")]):_vm._e(),(_vm.$v.address.postcode.$dirty && !_vm.$v.address.postcode.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Postcode should be a number.\\n \")]):_vm._e()])],1),_c('b-form-group',{attrs:{\"label\":\"Country\",\"label-for\":\"country\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",attrs:{\"id\":\"country\",\"type\":\"text\",\"disabled\":\"\",\"placeholder\":\"Enter Country\"},model:{value:(_vm.address.country),callback:function ($$v) {_vm.$set(_vm.address, \"country\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.country\"}})],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(!_vm.isModelDirty()&&!_vm.$v.selectedAddressType.$dirty) || _vm.$v.address.$invalid || _vm.$v.selectedAddressType.$invalid}},[_vm._v(\" \"+_vm._s(_vm.address.id>0?'Update':'Add')+\" \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.onCancel}},[_vm._v(\" Cancel\")]),(_vm.address.id>0)?_c('b-row',{staticClass:\"ml-0 audit-text text-nowrap\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.address.createdBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.address.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.address.updatedBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.address.updatedDate))+\")\")])]):_vm._e()],1)],1)],1)],1)],1)],1):_vm._e(),(!_vm.showAddAddressPanel)?_c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[(_vm.items.length<2)?_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.showAddAddressPanel},on:{\"click\":_vm.onAddAddress}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Address\\n \")]):_vm._e()],1)],1),_c('DataTable',{ref:\"addressTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"hidePaginator\":_vm.hidePaginator,\"selectable\":true,\"emptyBanner\":\"No address details to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(\" \"+_vm._s(_vm.item.addressLine1)+\" \"+_vm._s(_vm.item.addressLine2 == '' ? '':_vm.item.addressLine2+' ')+_vm._s(_vm.item.suburb.toUpperCase())+\" \"+_vm._s(_vm.addressStateName)+\" \"+_vm._s(_vm.item.postcode))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport lookupService from '@/shared/services/lookupService';\n\n@Component\nexport default class EditAddressLink extends Vue{\n @Prop() item:any;\n addressStates:any = [];\n addressStateName:string=\"\";\n mounted(){\n this.loadStates();\n }\n\n loadStates(){\n lookupService.GetAddressStatesList().then(data =>{\n this.addressStates = data;\n this.addressStateName = data.filter(a=> a.value == this.item.stateId)[0].text;\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditAddressLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditAddressLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditAddressLink.vue?vue&type=template&id=70a0f0cf&scoped=true\"\nimport script from \"./EditAddressLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditAddressLink.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EditAddressLink.vue?vue&type=style&index=0&id=70a0f0cf&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"70a0f0cf\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteAddressConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteAddressConf\"},on:{\"ok\":_vm.deleteAddress}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Address\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the address?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteAddressConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteAddressConf_OkButton\"},on:{\"click\":_vm.deleteAddress}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Address\"},on:{\"click\":_vm.onDeleteAddressClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n@Component(\n {\n components: {\n Modal\n }\n }\n)\nexport default class AddressListActionButtons extends Vue{\n @Prop() item:any\n showDeleteAddressConfirmation = false;\n isStandardUser: false;\n\n created()\n {\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n\n onDeleteAddressClick()\n {\n this.showDeleteAddressConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n onCloseDelete()\n {\n this.showDeleteAddressConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n deleteAddress(){\n this.showDeleteAddressConfirmation = false;\n this.onDeleteAddress(this.item,DataTableActionTypes.Delete)\n }\n\n @Emit('customEvent') onDeleteAddress(id:number,type:DataTableActionTypes){ \n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddressListActionButtons.vue?vue&type=template&id=60df1cbe&scoped=true\"\nimport script from \"./AddressListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./AddressListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddressListActionButtons.vue?vue&type=style&index=0&id=60df1cbe&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"60df1cbe\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('GmapAutocomplete',{ref:\"autoCompleteAddressSearch\",staticClass:\"form-control\",class:_vm.searchFieldClass,attrs:{\"placeholder\":\"Search Address\",\"options\":_vm.autoCompleteOptions},on:{\"place_changed\":_vm.getAddressData,\"focus\":_vm.resetSearch}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { AutoCompleteAddress } from '@/models/autoCompleteAddress.model';\nimport ApexConstants from '@/shared/constants';\nimport lookupService from '@/shared/services/lookupService';\nimport { Component, Emit, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\n\nexport default class AutoCompleteAddressSearch extends Vue{ \n @Prop({default: 'textInput'}) searchFieldClass; \n addressStates:any = [];\n autoCompleteOptions = {\n componentRestrictions: {\n country: ['au'],\n },\n fields: [\"address_components\", \"geometry\"],\n types: [\"address\"],\n };\n\n mounted(){\n this.loadStates();\n }\n\n loadStates(){\n lookupService.GetAddressStatesList().then(data =>{\n this.addressStates = data;\n });\n }\n\n getAddressData(searchAddress){\n let addressComponents = this.getAddressComponents(searchAddress);\n let geoCoordinates = this.getGeoCoordinates(searchAddress);\n let stateId = this.addressStates.filter(stateObj => stateObj.text === addressComponents.state)[0].value;\n let addressLine1 = \"\";\n let addressLine2 = \"\";\n if(addressComponents.streetNumber){\n addressLine1 = addressComponents.streetNumber;\n addressLine2 = addressComponents.route;\n }else{\n addressLine1 = addressComponents.route;\n }\n let address: AutoCompleteAddress = {\n addressLine1 : addressLine1,\n addressLine2 : addressLine2,\n suburb: addressComponents.suburb,\n postcode : addressComponents.postcode,\n stateId: stateId,\n country: ApexConstants.DEFAULT_COUNTRY,\n latitude: geoCoordinates.latitude,\n longitude: geoCoordinates.longitude,\n };\n this.onSearchAddress(address);\n }\n\n getAddressComponents(searchAddress){\n var address = {\n streetNumber : null,\n route : null,\n postcode : null,\n suburb : null,\n state : null\n };\n for (var addressComponent of searchAddress.address_components) {\n var addressComponentType = addressComponent.types[0];\n switch (addressComponentType) {\n case \"street_number\": {\n address.streetNumber = addressComponent.long_name;\n break;\n }\n case \"route\": {\n address.route = addressComponent.short_name;\n break;\n }\n case \"postal_code\": {\n address.postcode = addressComponent.long_name;\n break;\n }\n case \"locality\":\n address.suburb = addressComponent.long_name;\n break;\n case \"administrative_area_level_1\": {\n address.state = addressComponent.short_name;\n break;\n }\n }\n }\n return address;\n }\n\n getGeoCoordinates(searchAddress){\n var geoCoordinates = {\n latitude: searchAddress.geometry.location.lat(),\n longitude: searchAddress.geometry.location.lng()\n }\n return geoCoordinates;\n }\n\n resetSearch(){\n (this.$refs.autoCompleteAddressSearch as any).$el.value = null\n }\n\n clearAddress(){\n this.resetSearch();\n this.onClearAddress();\n }\n \n @Emit('onSearchAddress') onSearchAddress(address:AutoCompleteAddress){\n }\n\n @Emit('onClearAddress') onClearAddress(){\n }\n} \n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutoCompleteAddressSearch.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutoCompleteAddressSearch.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AutoCompleteAddressSearch.vue?vue&type=template&id=232c3114&scoped=true\"\nimport script from \"./AutoCompleteAddressSearch.vue?vue&type=script&lang=ts\"\nexport * from \"./AutoCompleteAddressSearch.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AutoCompleteAddressSearch.vue?vue&type=style&index=0&id=232c3114&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"232c3114\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit,Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { validationMixin } from 'vuelidate';\nimport { required,minValue, maxLength,numeric} from 'vuelidate/lib/validators';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport EditAddressLink from './EditAddressLink.vue';\nimport AddressListActionButtons from './AddressListActionButtons.vue'\nimport { AddressModel } from '@/models/address.model';\nimport {AddressTypes} from '@/shared/enums/addressTypes.enum';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport ApexConstants from '@/shared/constants';\nimport AutoCompleteAddressSearch from '@/shared/components/address/AutoCompleteAddressSearch.vue'\nimport { AutoCompleteAddress } from '@/models/autoCompleteAddress.model';\nimport lookupService from '@/shared/services/lookupService';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n DataTable,\n Modal,\n AutoCompleteAddressSearch\n },\n validations:{\n address:{\n addressLine1:{\n required\n },\n suburb:{\n required\n },\n stateId:{\n minValue:minValue(1),\n required\n },\n postcode:{\n maxLength:maxLength(4),\n required,\n numeric\n }\n },\n selectedAddressType:{\n minValue:minValue(1),\n required\n }\n }\n }\n)\nexport default class Addresses extends Vue{\n @Prop() relatedTable:number\n @Prop() relatedID:number\n @Prop({default:false}) useStore:boolean\n selectedAddressType:any = 0;\n newAddressModel: AddressModel = {\n id:0,\n relatedID:this.relatedID,\n relatedTable:this.relatedTable,\n addressLine1:\"\",\n addressLine2:\"\",\n suburb:\"\",\n postcode:\"\",\n stateId:0,\n country:ApexConstants.DEFAULT_COUNTRY,\n latitude:0,\n longitude:0,\n concurrencyKey:\"\",\n addressType:this.selectedAddressType,\n addressTypeText:\"\",\n createdBy:\"\",\n createdDate:\"\",\n updatedBy:\"\",\n updatedDate:\"\"\n };\n address:AddressModel = Object.assign({},this.newAddressModel);\n items:any = [];\n showAddAddressPanel:boolean = false;\n dirtyValidatorRefNo:number = 0;\n hidePaginator:boolean = true;\n fields = [\n {key: 'address',class:'width_70'},\n {key: 'addressTypeText',label:'Address Type', class:'width_20'},\n {key: 'actions',label:\"\",class:'text-center'} \n ];\n \n duplicate:boolean = false;\n customTemplateList:Array = [\n {slot:\"address\",customTemplate:EditAddressLink},\n {slot:\"actions\",customTemplate:AddressListActionButtons}\n ];\n showEmptyBanner:boolean = false;\n showCancelConfirmation:boolean = false;\n addressStates:any = [];\n addressTypeOptions:any = [];\n initialValidAddressTypeOptions:any = [];\n showDuplicateConfirmation:boolean = false;\n\n @Watch('relatedID')\n onRelatedIDChanged(val: any, oldVal: any)\n {\n this.loadAddressList(); \n }\n created(){\n this.loadStates();\n if(this.relatedID > 0)\n this.loadAddressList();\n if(this.relatedID == 0 && this.useStore){\n this.loadAddressTypes();\n }\n }\n \n loadStates(){\n lookupService.GetAddressStatesList().then(data =>{\n this.addressStates = data;\n });\n }\n\n onSearchAddress(address: AutoCompleteAddress){\n this.address.addressLine1 = address.addressLine1;\n this.address.addressLine2 = address.addressLine2;\n this.address.postcode = address.postcode;\n this.address.stateId = address.stateId;\n this.address.suburb = address.suburb;\n }\n\n onDeleteAddress(address:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"Address\",\"Address\",{id:address.id}).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Address successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n if(this.address.id == address.id){\n this.closeAddAddressPanel();\n }\n this.loadAddressList();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.addressTable as DataTable).resetLastCustomAction();\n }) \n }\n\n onSubmit(){\n this.address.addressType = this.selectedAddressType;\n if(this.address.id > 0){\n this.updateAddress();\n }\n else{\n if(this.items.length == 0){\n this.showDuplicateConfirmation = true;\n }\n else{\n this.createAddress();\n }\n }\n }\n\n yesDuplicate(){\n this.duplicate = true;\n this.showDuplicateConfirmation = false;\n this.createAddress();\n }\n\n cancelDuplication(){\n this.showDuplicateConfirmation = false;\n }\n\n noDuplication(){\n this.duplicate = false;\n this.showDuplicateConfirmation = false;\n this.createAddress();\n }\n\n createAddress(){\n var params = {\n relatedID:this.relatedID,\n relatedTable:this.relatedTable,\n addressLine1: this.address.addressLine1,\n addressLine2: this.address.addressLine2,\n stateId: this.address.stateId,\n suburb: this.address.suburb,\n postcode: this.address.postcode,\n country: this.address.country,\n addressType: this.selectedAddressType,\n copyAddress:this.duplicate\n }\n\n if(this.useStore && this.relatedID == 0){\n this.$store.dispatch('updateRelatedEntityAddressDetails',params);\n this.$store.dispatch('saveRelatedEntityAndAddress',this.relatedTable);\n }else{\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('Address','Address',params).then(\n response => {\n if(response.data.isSuccess)\n {\n this.closeAddAddressPanel();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.loadAddressList();\n }else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.duplicate = false;\n }\n );\n }\n }\n\n updateAddress(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Address','Address',this.address).then(\n response => {\n if(response.data.isSuccess){\n var a = this.getAddressById(this.address.id);\n var index = this.items.indexOf(a);\n this.address.concurrencyKey = response.data.concurrencyKey;\n this.address.updatedBy = response.data.updatedByName;\n this.address.updatedDate = new Date();\n this.address.addressTypeText = this.addressTypeOptions.filter(a=> a.value == this.address.addressType)[0].text;\n this.items[index] = this.address;\n var itemsCopy = Object.assign([],this.items);\n this.items = [];\n this.items = itemsCopy;\n this.closeAddAddressPanel();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo) || this.useStore){\n this.showCancelConfirmation = true;\n }\n else{\n this.closeAddAddressPanel();\n }\n }\n\n closeAddAddressPanel(){\n this.selectedAddressType = 0;\n this.address = Object.assign({},this.newAddressModel);\n this.showAddAddressPanel = false;\n this.showCancelConfirmation = false;\n this.$v.address.$reset();\n this.$v.selectedAddressType.$reset();\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n if(this.useStore && this.relatedID == 0){\n this.navigateToRelatedEntity();\n }\n }\n\n navigateToRelatedEntity(){\n switch (this.relatedTable){\n case RelatedTables.Supplier:\n this.$router.push({name:'Add Supplier',params:{routerDisplayName:'details'}});\n break;\n default:\n break;\n }\n }\n\n loadAddressList(){ \n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest('Address','Address',{relatedTable: this.relatedTable, relatedID:this.relatedID}).then(\n response => {\n if(response.data)\n {\n this.items = response.data.item1;\n this.initialValidAddressTypeOptions = response.data.item2;\n this.showEmptyBanner = true;\n this.updateAddressTypes();\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n loadAddressTypes(){ \n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest('Address','AddressTypes',{relatedTable: this.relatedTable}).then(\n response => {\n if(response.data)\n {\n this.addressTypeOptions = response.data;\n this.showEmptyBanner = true;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n updateAddressTypes(keepType = 0)\n {\n this.addressTypeOptions = this.initialValidAddressTypeOptions.slice();//get a copy of the array. \n this.items.forEach(item => {\n if(item.addressType != keepType)\n this.removeAddressTypeOption(item.addressType);\n });\n }\n\n onEditAddress(data:any){\n this.address = Object.assign({},this.getAddressById(data.id));\n this.selectedAddressType = this.address.addressType;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.address);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.updateAddressTypes(this.address.addressType);\n this.showAddAddressPanel = true;\n }\n\n getAddressById(id:number){\n var i;\n var address;\n for (i = 0; i < this.items.length; i++) { \n if(this.items[i].id == id){\n address = this.items[i];\n break;\n }\n }\n return address;\n }\n\n onAddAddress(){\n this.address = Object.assign({},this.newAddressModel);\n this.showAddAddressPanel = true;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.address);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n removeAddressTypeOption(type:AddressTypes){\n var increment = 0;\n var index = 0;\n this.addressTypeOptions.forEach(element => {\n if(element.value == type){\n index = increment;\n }\n increment++;\n });\n this.addressTypeOptions.splice(index,1);\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.addressTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.addressTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onDeleteAddress(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onEditAddress(data);\n }\n }\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Addresses.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Addresses.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Addresses.vue?vue&type=template&id=7da5cf80&scoped=true\"\nimport script from \"./Addresses.vue?vue&type=script&lang=ts\"\nexport * from \"./Addresses.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Addresses.vue?vue&type=style&index=0&id=7da5cf80&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7da5cf80\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 pb-1\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"vehicleStatusList\",\"plain\":true,\"options\":_vm.vehicleStatusTypes},on:{\"input\":_vm.vehicleStatusTypeChanged},model:{value:(_vm.selectedVehicleStatusType),callback:function ($$v) {_vm.selectedVehicleStatusType=$$v},expression:\"selectedVehicleStatusType\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Statuses\")])]),_vm._v(\"\\n >\\n \")],2)],1),_c('b-col',{staticClass:\"pr-0\",attrs:{\"sm\":\"3\",\"md\":\"2\",\"lg\":\"10\"}},[_c('b-button',{staticClass:\"mb-3 pull-right primary add-btn\",attrs:{\"disabled\":!(this.clientID>0)},on:{\"click\":function($event){return _vm.navigateToAddMotorVehicle()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Vehicle\\n \")])],1)],1),_c('DataTable',{ref:\"vehiclesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"hidePaginator\":_vm.hidePaginator,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"selectable\":true,\"emptyBanner\":\"No vehicle details to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showVehicleLeaseModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"VehicleLeaseModal\",\"minHeight\":\"10rem\",\"minWidth\":\"40rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"4\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"vehicleStatusList\",\"plain\":true,\"options\":_vm.vehicleStatusTypes},model:{value:(_vm.selectedVehicleStatusType),callback:function ($$v) {_vm.selectedVehicleStatusType=$$v},expression:\"selectedVehicleStatusType\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Statuses\")])])],2)],1),_c('b-col',{staticClass:\"text-nowrap text-center\",attrs:{\"sm\":\"5\"}},[_vm._v(\"\\n Vehicle Leases\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"sm\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ClientMotorVehiclesModalCancelBtn\"},on:{\"click\":_vm.onCloseLease}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ClientMotorVehicles',{attrs:{\"relatedID\":_vm.item.id,\"relatedTable\":_vm.relatedTable,\"selectedVehicleStatus\":_vm.selectedVehicleStatusType}})],1)]):_vm._e(),(_vm.showDeleteMotorVehicleConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteMoterVehicleListConf\",\"maxWidth\":650},on:{\"ok\":_vm.deleteMotorVehicle}},[(_vm.isMotorVehicleDeletable)?_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Motor Vehicle\")]):_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Delete Motor Vehicle Failed\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.isMotorVehicleDeletable)?_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the motor vehicle?\\n \")]):_vm._e(),_c('b-row',[(_vm.errorsList.length > 0)?_c('b-col',_vm._l((_vm.errorsList),function(error,index){return _c('SystemTextErrors',{key:index,attrs:{\"text1\":error,\"isDecimalValue\":false}})}),1):_vm._e()],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteMoterVehicleListConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),(_vm.isMotorVehicleDeletable)?_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteMoterVehicleListConf_OkButton\"},on:{\"click\":_vm.deleteMotorVehicle}},[_vm._v(\"\\n Delete\\n \")]):_vm._e()],1)]):_vm._e(),(!_vm.modalMode)?_c('b-btn',{staticClass:\"action-btn\",attrs:{\"title\":\"View Lease Types\"},on:{\"click\":_vm.viewVehicleLease}},[_c('i',{staticClass:\"fas fa-calculator cursor-pointer go-to-lease-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(!_vm.modalMode && !_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-3 action-btn\",class:{ 'ml-4': _vm.item.emailConfirmed },attrs:{\"title\":\"Delete Motor Vehicle\"},on:{\"click\":_vm.getMotorVehivleDeleteValidation}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.modalMode)?_c('b-btn',{staticClass:\"ml-3 cursor-pointer action-btn\",attrs:{\"title\":\"View Motor Vehicle\"},on:{\"click\":_vm.navigateToVehicle}},[_c('i',{staticClass:\"fas fa-external-link-alt go-to-vehicle-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport ClientMotorVehicles from '@/components/admin/clientManagement/clientMotorVehicles.vue';\r\nimport SystemTextErrors from '@/components/shared/SystemTextErrors.vue';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\nimport { VehicleStatuses } from '@/shared/enums/vehicleStatuses.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { Component, Emit, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({\r\n components: {\r\n Modal,\r\n ClientMotorVehicles,\r\n SystemTextErrors,\r\n }\r\n})\r\nexport default class MotorVehicleListActionButtons extends Vue {\r\n @Prop() item: any\r\n @Prop() modalMode: any;\r\n showDeleteMotorVehicleConfirmationModal = false;\r\n showVehicleLeaseModal: boolean = false;\r\n relatedTable: RelatedTables = RelatedTables.Vehicle;\r\n vehicleStatusTypes: any = [{ text: 'Active', value: VehicleStatuses.Active },\r\n { text: 'Inactive', value: VehicleStatuses.Inactive }];\r\n selectedVehicleStatusType: VehicleStatuses = VehicleStatuses.Active;\r\n isMotorVehicleDeletable: boolean = true;\r\n errorsList: any = [];\r\n isStandardUser = false;\r\n\r\n created()\r\n {\r\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\r\n }\r\n\r\n viewVehicleLease() {\r\n this.showVehicleLeaseModal = true;\r\n this.selectedVehicleStatusType = VehicleStatuses.Active;\r\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\r\n }\r\n\r\n deleteMotorVehicle() {\r\n this.showDeleteMotorVehicleConfirmationModal = false;\r\n this.item.isActive = false;\r\n this.onMotorVehicleDeleted(this.item, DataTableActionTypes.Delete)\r\n }\r\n\r\n onCloseLease() {\r\n this.showVehicleLeaseModal = false;\r\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\r\n }\r\n\r\n getMotorVehivleDeleteValidation() {\r\n this.$store.dispatch('storeIsBusyValue', true);\r\n apiService.sendGetRequest(\"Vehicle\", \"CheckAbilityDeleteVehicle\", { vehicleID: this.item.id }).then(response => {\r\n this.errorsList = response.data;\r\n this.isMotorVehicleDeletable = response.data.length > 0 ? false : true;\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\r\n this.showDeleteMotorVehicleConfirmationModal = true;\r\n }).catch(() => {\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n })\r\n }\r\n\r\n onCloseDelete() {\r\n this.showDeleteMotorVehicleConfirmationModal = false;\r\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\r\n }\r\n\r\n @Emit('customEvent') onAction(_data: any, _type: DataTableActionTypes) {\r\n }\r\n\r\n navigateToVehicle() {\r\n let routeData = this.$router.resolve({ name: 'Edit Vehicle', params: { vehicleID: this.item.id, topRouteDisplayName: 'vehicles', routerDisplayName: 'details' } });\r\n window.open(routeData.href, '_blank');\r\n }\r\n\r\n @Emit('customEvent') onMotorVehicleDeleted(_item: any, _type: DataTableActionTypes) {\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleListActionButtons.vue?vue&type=template&id=7ee732b2&scoped=true\"\nimport script from \"./MotorVehicleListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehicleListActionButtons.vue?vue&type=style&index=0&id=7ee732b2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ee732b2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import AppSettings from '@/app.config';\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport { VehicleStatuses } from '@/shared/enums/vehicleStatuses.enum';\nimport Filtrations from '@/shared/filtrations';\nimport apiService from '@/shared/services/apiService';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport MotorVehicleListActionButtons from './MotorVehicleListActionButtons.vue';\n\n @Component\n (\n {\n components: {\n DataTable,\n MotorVehicleListActionButtons,\n }\n }\n )\n export default class MotorVehicleList extends Vue{\n @Prop() clientID: number;\n items:any = [];\n vehicleStatusTypes:any = [{text:'Active', value:VehicleStatuses.Active},\n {text:'Inactive', value:VehicleStatuses.Inactive}];\n vehicleList:any = [];\n selectedVehicleStatusType:VehicleStatuses = VehicleStatuses.Active;\n showEmptyBanner:boolean = false;\n hidePaginator:boolean = true;\n fields = [\n {key: 'mvrn',label:'MVRN', class:'width_15'},\n {key: 'make',class:'width_15'},\n {key: 'model',class:'width_15'},\n {key: 'year',class:'width_15'},\n {key: 'plateNumber',class:'width_15'},\n {key: 'actions',label:\"\",class:'text-center width_20'} \n ];\n customTemplateList:Array = [\n {slot:\"actions\",customTemplate:MotorVehicleListActionButtons}\n ]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"mvrn\";\n sortDesc:boolean = false;\n \n @Watch('clientID')\n onClientIDChanged(){\n this.refreshGrid();\n }\n\n mounted(){\n if(Object.keys(this.$route.query).length > 0) {\n this.validateAndAssignQueryParams();\n }\n this.refreshGrid();\n }\n \n refreshGrid(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Vehicle\",\"MotorVehicleList\",{clientID : this.clientID}).then(response =>{\n this.vehicleList = response.data.resultDto;\n this.items = this.vehicleList.filter(obj=>obj.status == VehicleStatuses.Active);\n this.totalRows = response.data.totalRows;\n this.perPage = this.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(() => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n navigateToAddMotorVehicle(){\n var rawLocation = {name:'Add Vehicle',params:{clientID:this.clientID.toString(), routerDisplayName:'details'}}\n this.$router.push(rawLocation);\n }\n onCustomDataTableEvent(item:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.vehiclesTable as DataTable).setLastCustomAction(type);\n }\n else if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.vehiclesTable as DataTable).resetLastCustomAction();\n }\n else if(type == DataTableActionTypes.RowSelect){ \n var queryData = {};\n queryData[Filtrations.MOTOR_VEHICLE_STATUS_FILTER] = this.selectedVehicleStatusType;\n this.$router.push({ name: 'Edit Vehicle', params: { vehicleID: item.id,topRouteDisplayName:'vehicles', routerDisplayName:'details'}, query: queryData });\n }\n else{\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"Vehicle\",\"Vehicle\",item).then(response =>\n {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.resetTable();\n this.refreshGrid();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.vehiclesTable as DataTable).resetLastCustomAction();\n })\n }\n }\n \n vehicleStatusTypeChanged(){\n if(this.selectedVehicleStatusType == VehicleStatuses.Inactive){\n this.items = this.vehicleList.filter(obj=>obj.status == VehicleStatuses.Inactive)\n }\n else if(this.selectedVehicleStatusType == VehicleStatuses.Active){\n this.items = this.vehicleList.filter(obj=>obj.status == VehicleStatuses.Active)\n }else{\n this.items = this.vehicleList;\n }\n\n this.updateURL();\n }\n \n resetTable(){\n (this.$refs.vehiclesTable as DataTable).reset();\n }\n\n validateAndAssignQueryParams(){\n let motorVehicleStatusFilter = this.$route.query[Filtrations.MOTOR_VEHICLE_STATUS_FILTER];\n this.selectedVehicleStatusType = +motorVehicleStatusFilter;\n } \n \n updateURL(){\n let qp = new URLSearchParams();\n qp.set(Filtrations.MOTOR_VEHICLE_STATUS_FILTER, this.selectedVehicleStatusType.toString());\n history.replaceState(null, null, \"?\"+qp.toString());\n }\n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleList.vue?vue&type=template&id=62ac9a5e\"\nimport script from \"./MotorVehicleList.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehicleList.vue?vue&type=style&index=0&id=62ac9a5e&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search pl-0\",attrs:{\"sm\":\"5\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterTextInput()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"pr-0\"},[_c('b-dropdown',{staticClass:\"customs-dropdown-btn pull-right\",attrs:{\"variant\":\"secondary\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Application\\n \")]},proxy:true}])},[_c('b-dropdown-item',{attrs:{\"to\":'/financeApplication/' + _vm.clientId + '/0/initialDetails'}},[_vm._v(\"Finance\")])],1)],1)],1),_c('DataTable',{ref:\"leaseApplicationTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No applications to display.\",\"customTemplates\":_vm.customTemplateList,\"selectable\":true},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Applications\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.item.applicationType != _vm.prospectApplicationType)?_c('div',[_c('span',{staticClass:\"dot\",class:[(_vm.item.mandatoryFieldsFilled)?'backgroundSuccess':'backgroundAmber'],attrs:{\"title\":_vm.item.mandatoryFieldsFilled?'All the mandatory fields are filled':'Some mandatory fields are missing'}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\n\n\n@Component\nexport default class ClientApplicationStatusTrafficLight extends Vue{\n @Prop() item:any;\n prospectApplicationType = ClientApplicationTypes.Prospect\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientApplicationStatusTrafficLight.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientApplicationStatusTrafficLight.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientApplicationStatusTrafficLight.vue?vue&type=template&id=ba8f0dc2&scoped=true\"\nimport script from \"./ClientApplicationStatusTrafficLight.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientApplicationStatusTrafficLight.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientApplicationStatusTrafficLight.vue?vue&type=style&index=0&id=ba8f0dc2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ba8f0dc2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport ClientsListActionButtons from './ClientListActionButtons.vue'\nimport moment from 'moment'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport ClientApplicationStatusTrafficLight from './ClientApplicationStatusTrafficLight.vue';\nimport lookupService from '@/shared/services/lookupService';\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\nimport Filtrations from '@/shared/filtrations';\n\n@Component\n(\n {\n components: {\n DataTable,\n ClientsListActionButtons,\n FilterTextInput\n }\n }\n)\nexport default class ClientApplicationList extends Vue{\n items:any = [];\n fields = [\n {key: 'statusTrafficLight',label:'',sortable:'false',class:'width_5'},\n {key: 'applicationName',sortable:'true',class:'width_20'},\n {key: 'applicationType',sortable:'true',class:'width_20',\n formatter: (value, key, item) => {\n return this.getApplicationTypeText(item.applicationType - 1);\n }\n },\n {key: 'assignApplicationTo',label:'Assigned Staff Member',sortable:'true',class:'width_20'},\n {key: 'status',sortable:'true',class:'width_12',\n formatter: (value, key, item) => {\n return this.getStatusText(item);\n }\n },\n {key:'lastUpdatedBy',class:'width_20'},\n {key: 'lastUpdatedDate',\n formatter: (value, key, item) => {\n return moment(item.lastUpdatedDate).format(\"DD MMM YYYY\")\n }\n } \n ];\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"applicationName\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = false;\n clientId:number = 0;\n financeApplicationStatusListWithoutCount:any[] = [];\n selectedStatus:any = 0;\n financeApplicationRouteNames:string[] = ['initialDetails','vehicleDetails','requestInvoice','reviseApplication','signatureAndSubmission','leaseAndEmployment']\n customTemplateList:Array = [{slot:\"statusTrafficLight\",customTemplate:ClientApplicationStatusTrafficLight}]\n clientApplicationTypes:any = [];\n resetButtonDisabled:boolean = true;\n\n mounted(){\n if(Object.keys(this.$route.query).length > 0) {\n this.validateAndAssignQueryParams();\n }\n\n this.loadApplicationStatusList();\n this.loadApplicationTypes();\n }\n\n created(){\n this.clientId = this.$route.params.id?+this.$route.params.id:0;\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:this.selectedStatus});\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.onViewApplication(data);\n }\n }\n\n onViewApplication(data:any){\n var queryData = {};\n if (this.filter != \"\") {\n queryData[Filtrations.CLIENT_APPLICATION_FILTER] = this.filter;\n }\n if (data.applicationType == ClientApplicationTypes.Finance){\n var routerDisplayName= data.financeApplicationStatus>this.financeApplicationRouteNames.length ? this.financeApplicationRouteNames[0]:this.financeApplicationRouteNames[data.financeApplicationStatus-1];\n this.$router.push({ name: 'Edit Finance Application', params: { id: data.id,routerDisplayName:routerDisplayName, clientId:this.clientId.toString()}, query: queryData });\n }\n }\n\n onSortingChange(ctx:any){\n this.sortBy = ctx.sortBy;\n this.sortDesc = ctx.sortDesc;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:this.selectedStatus});\n }\n\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Application\",\"ClientApplicationList\",tableFilterParams).then(response => {\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n resetFilterTextInput() {\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"applicationName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:this.selectedStatus});\n }\n\n refreshAndReset(id:number){\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"applicationName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:this.selectedStatus});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n\n filterGrid(filterString:string){\n this.resetTable();\n this.filter = filterString;\n this.resetButtonDisabled = false;\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"applicationName\",SortDesc:false,SearchByString:filterString,RelatedId:this.clientId,Status:this.selectedStatus});\n }\n\n resetTable(){\n (this.$refs.leaseApplicationTable as DataTable).reset();\n this.sortBy = \"applicationName\";\n this.sortDesc = false;\n }\n\n loadApplicationStatusList(){\n this.$store.dispatch('storeIsBusyValue',true);\n var promise1 = lookupService.GetFinanceApplicationStatusList().then(data => {\n this.financeApplicationStatusListWithoutCount = data;\n });\n \n Promise.all([promise1]).then(response =>{\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"applicationName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:this.selectedStatus});\n })\n this.$store.dispatch('storeIsBusyValue',false);\n }\n\n onStatusChanged(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:this.selectedStatus});\n }\n\n getStatusText(item){\n if (item.applicationType == ClientApplicationTypes.Finance){\n return this.financeApplicationStatusListWithoutCount[item.financeApplicationStatus].text\n }\n return \"\"\n }\n\n loadApplicationTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetClientApplicationTypes().then(data => {\n this.clientApplicationTypes = data;\n this.$store.dispatch('storeIsBusyValue',false);\n }); \n }\n\n getApplicationTypeText(index){\n if (this.clientApplicationTypes[index]){\n return this.clientApplicationTypes[index].text; \n }\n return \"\";\n }\n\n validateAndAssignQueryParams(){\n let clientApplicationFilter = this.$route.query[Filtrations.CLIENT_APPLICATION_FILTER];\n this.filter = clientApplicationFilter ? String(clientApplicationFilter) : \"\";\n this.resetButtonDisabled = this.filter == \"\";\n this.$nextTick(()=> {\n (this.$refs.filterTextInput as FilterTextInput).filter = this.filter;\n });\n } \n\n updateURL(){\n let qp = new URLSearchParams();\n if(this.filter != \"\") qp.set(Filtrations.CLIENT_APPLICATION_FILTER, this.filter);\n history.replaceState(null, null, \"?\"+qp.toString());\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientApplicationList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientApplicationList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientApplicationList.vue?vue&type=template&id=fb91f01c\"\nimport script from \"./ClientApplicationList.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientApplicationList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientApplicationList.vue?vue&type=style&index=0&id=fb91f01c&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isActive)?_c('div',[_vm._t(\"default\")],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n\n@Component({})\nexport default class TopTab extends Vue{\n @Prop() name:any;\n @Prop() selected:any;\n @Prop() index:any;\n @Prop() routerDisplayName:any;\n @Prop() routeUrl:any;\n isActive:boolean = false;\n mounted() {\n this.isActive = this.selected;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopTab.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopTab.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TopTab.vue?vue&type=template&id=4f94b27a\"\nimport script from \"./TopTab.vue?vue&type=script&lang=ts\"\nexport * from \"./TopTab.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showTabChangeConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ChangeTabConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unsaved Changes\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes in current tab. Are you sure you want to change tab?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ChangeTabConf_CancelButton\"},on:{\"click\":function($event){_vm.showTabChangeConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"ChangeTabConf_OkButton\"},on:{\"click\":_vm.onOkayToChangeTab}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{},[_c('b-row',[_c('b-col',{attrs:{\"xs\":\"9\",\"md\":\"9\",\"lg\":\"9\"}},[_c('nav',{attrs:{\"aria-label\":\"breadcrumb\"}},[_c('ol',{staticClass:\"breadcrumb\"},_vm._l((_vm.GetTabs),function(tab){return _c('li',{key:tab.name,staticClass:\"breadcrumb-item cursor-pointer\",class:{ 'active': tab.isActive },on:{\"click\":function($event){return _vm.selectTab(tab)}}},[_vm._v(\" \"+_vm._s(tab.name)+\"\\n \")])}),0)])]),_c('b-col',{attrs:{\"xs\":\"3\",\"md\":\"3\",\"lg\":\"3\"}},[_vm._t(\"tabs-buttons\")],2)],1)],1),_c('div',[_vm._t(\"default\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class TopTabs extends Vue{\n @Prop() dirtyValidatorRefNumbers:any;\n @Prop() selectedTabRouterName:any;\n @Prop() routeName:any;\n tabs:any = [];\n selectedTab:any;\n currentTab:any;\n showTabChangeConfirmation:boolean = false;\n selectedTabDetailsClass:string = 'mycontentclass';\n\n get GetTabs(){\n if(this.tabs && this.tabs.length > 0){\n return this.tabs.filter(a => a.name);\n }\n return this.tabs;\n }\n\n created() {\n this.tabs = this.$children;\n }\n\n mounted(){\n this.tabs.forEach(tab => {\n if(tab.routerDisplayName == this.selectedTabRouterName){\n this.currentTab = tab;\n }\n });\n if(this.currentTab && this.currentTab.index != 0){\n this.tabs.forEach(tab => {\n tab.isActive = (tab.name == this.currentTab.name);\n });\n }\n }\n selectTab(selectedTab) {\n if(this.currentTab && dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNumbers[this.currentTab.index])){\n this.selectedTab = selectedTab;\n this.showTabChangeConfirmation = true;\n }\n else{\n this.changeTab(selectedTab,true);\n }\n }\n\n changeTab(selectedTab:any, reloadPage:boolean = false){\n this.tabs.forEach(tab => {\n tab.isActive = (tab.name == selectedTab.name);\n });\n this.currentTab = selectedTab;\n if(this.currentTab.routeUrl)\n {\n this.$router.replace(this.currentTab.routeUrl);\n return;\n }\n if(this.routeName){\n \n if(reloadPage){\n this.$router.push({name:this.routeName,params:{id:this.$route.params.id,topRouteDisplayName:this.currentTab.routerDisplayName}}).catch(err => {});\n }\n }\n \n if(selectedTab.tabDetailsClass != undefined)\n {\n this.selectedTabDetailsClass = selectedTab.tabDetailsClass;\n } \n }\n\n onOkayToChangeTab(){\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNumbers[this.currentTab.index]);\n this.changeTab(this.selectedTab, true);\n this.showTabChangeConfirmation = false;\n }\n}\n\n","export enum NoteAndDocumentButtonTypes{\r\n IconButton = 1, \r\n TextButton = 2,\r\n GridButton = 3,\r\n FileUploadButton = 4,\r\n FormFieldAppenedButtonType = 5\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopTabs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopTabs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TopTabs.vue?vue&type=template&id=a11e2666&scoped=true\"\nimport script from \"./TopTabs.vue?vue&type=script&lang=ts\"\nexport * from \"./TopTabs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TopTabs.vue?vue&type=style&index=0&id=a11e2666&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a11e2666\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.buttonType == _vm.iconButtonType && !_vm.showNotesPopup)?_c('b-button',{staticClass:\"primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":_vm.relatedID > 0 ? _vm.NotesButtonText : _vm.addToolTip,\"disabled\":_vm.relatedID <= 0},on:{\"click\":function($event){return _vm.openNotesPopup()}}},[_c('i',{staticClass:\"fas fa-comment\"})]):_vm._e(),(_vm.buttonType == _vm.textButtonType && !_vm.showNotesPopup)?_c('b-button',{staticClass:\"primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":_vm.relatedID > 0 ? _vm.NotesButtonText : _vm.addToolTip,\"disabled\":_vm.relatedID <= 0},on:{\"click\":function($event){return _vm.openNotesPopup()}}},[(!_vm.isReadOnly)?_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e(),_vm._v(\" \"+_vm._s(_vm.isReadOnly? '':' ')+\" \"+_vm._s(_vm.NotesButtonText)+\"\\n \")]):_vm._e(),(_vm.buttonType == _vm.gridButtonType && !_vm.showNotesPopup)?_c('b-button',{staticClass:\"edit-button grid-large-icon action-btn\",attrs:{\"title\":_vm.NotesButtonText},on:{\"click\":function($event){return _vm.openNotesPopup()}}},[_c('i',{class:_vm.notesCount > 0 && _vm.colorToIndicateAvailability ? 'fas fa-comment notes-added' : 'fas fa-comment',attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.showNotesPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"800px\",\"minHeight\":\"350px\",\"id\":\"ShowNotes\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.modalTitle)+\" \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('NotesCommonControl',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.relatedID,\"index\":_vm.index,\"buttonType\":_vm.buttonType,\"useStore\":_vm.useStore,\"addToolTip\":_vm.addToolTip,\"isReadOnly\":_vm.isReadOnly},on:{\"onNoteChanged\":_vm.onNoteChanged,\"onNotesCountChanged\":_vm.onNotesCountChanged,\"modelChangedToDirty\":_vm.modelChangedToDirty}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ShowNotes_CloseButton\"},on:{\"click\":_vm.closeNotes}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showPopupCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelNotesConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelNotesConf_CancelButton\"},on:{\"click\":function($event){_vm.showPopupCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelNotesConf_OkButton\"},on:{\"click\":_vm.closeEditCancelConfirmation}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(!_vm.isReadOnly && _vm.showNotesList)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('span',{staticClass:\"mb-1 pull-right cursor-pointer\",attrs:{\"title\":\"Add Note\"},on:{\"click\":_vm.onAddNote}},[_c('i',{staticClass:\"fa fa-plus-circle primary-text fa-2x\",attrs:{\"aria-hidden\":\"true\"}})])])],1):_vm._e(),((_vm.noteList.length == 0 && (_vm.isReadOnly || _vm.showNotesList)))?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n No notes to display.\\n \")])])],2):_vm._e(),(!_vm.isReadOnly && (!_vm.showNotesList || _vm.noteList.length == 0) && _vm.showAddNote)?_c('div',[_c('b-card',{attrs:{\"footer-tag\":\"footer\",\"header-tag\":\"header\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.addEditNote.noteText.$error }},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.addEditNote.noteText),expression:\"addEditNote.noteText\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",class:{'textInput':true },attrs:{\"id\":\"note\",\"rows\":\"5\",\"placeholder\":\"Enter Note\"},domProps:{\"value\":(_vm.addEditNote.noteText)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.addEditNote, \"noteText\", $event.target.value.trim())},function($event){_vm.$v.addEditNote.noteText.$touch(); _vm.noteAddingStart()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.addEditNote.noteText.$dirty && !_vm.$v.addEditNote.noteText.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Note is required.\\n \")]):_vm._e()]),_c('div',{staticClass:\"text-left\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.addEditNoteTitle)+\"\\n \")]),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"pull-right \",on:{\"click\":function($event){return _vm.onCancelSave()}}},[_vm._v(\"Cancel\")]),_c('b-button',{staticClass:\"pull-right primary mr-1\",attrs:{\"disabled\":(!_vm.isModelDirty() || _vm.$v.addEditNote.noteText.$invalid)},on:{\"click\":_vm.onSaveNote}},[_vm._v(\" Save \")])],1)],1)],1):_vm._e(),(_vm.showNotesList)?_c('div',_vm._l((_vm.noteList),function(note){return _c('div',{key:_vm.useStore ? note.index : note.id},[_c('b-card',{staticClass:\"text-left\"},[_c('p',{staticClass:\"card-text\"},[_vm._v(\"\\n \"+_vm._s(note.noteText)+\"\\n \")]),_c('em',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-row',[_c('b-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(note.id>0 || _vm.useStore),expression:\"note.id>0 || useStore\"}],staticClass:\"ml-0 audit-text\",attrs:{\"md\":\"10\"}},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(note.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(note.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(note.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(note.lastUpdatedDate))+\")\\n \")])]),(_vm.showActionButtons())?_c('b-col',{staticClass:\"notes-action-buttons\"},[_c('span',{staticClass:\"mr-2 edit-button\",attrs:{\"title\":\"Edited Note\"},on:{\"click\":function($event){return _vm.onEditNote(note)}}},[_c('i',{staticClass:\"fas fa-pencil-alt fa-lg\",attrs:{\"aria-hidden\":\"true\"}})]),_c('span',{staticClass:\"delete-button\",attrs:{\"title\":\"Delete Note\"},on:{\"click\":function($event){return _vm.onDeleteConfirm(note)}}},[_c('i',{staticClass:\"fas fa-trash-alt fa-lg\",attrs:{\"aria-hidden\":\"true\"}})])]):_vm._e()],1)],1)])],1)}),0):_vm._e()],1),(_vm.showPopupCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CloseNotesConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CloseNotesConf_CancelButton\"},on:{\"click\":function($event){_vm.showPopupCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CloseNotesConf_OkButton\"},on:{\"click\":_vm.closePopupCancelConfirmation}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showEditCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelNotesConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelNotesConf_CancelButton\"},on:{\"click\":function($event){_vm.showEditCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelNotesConf_OkButton\"},on:{\"click\":_vm.closeEditCancelConfirmation}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showDeleteConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteNotesConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want delete this note?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteNotesConf_CancelButton\"},on:{\"click\":_vm.cancelDeleteConfirmation}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteNotesConf_OkButton\"},on:{\"click\":function($event){return _vm.onDeleteNote()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport {Component,Prop, Emit, Watch} from 'vue-property-decorator';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport Modal from '@/shared/components/modal/Modal.vue'\r\nimport apiService from '@/shared/services/apiService';\r\nimport {Note} from '@/models/Note.model';\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required} from 'vuelidate/lib/validators'\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\n\r\n@Component({\r\n components: {\r\n Modal\r\n },\r\n mixins:[validationMixin],\r\n validations:\r\n {\r\n addEditNote:{\r\n noteText:{\r\n required\r\n }\r\n }\r\n }\r\n\r\n})\r\nexport default class NotesCommonControl extends Vue{\r\n @Prop() relatedTable:RelatedTables;\r\n @Prop() relatedID:number;\r\n @Prop() index:number;\r\n @Prop() buttonType:NoteAndDocumentButtonTypes;\r\n @Prop() useStore:boolean;\r\n @Prop() addToolTip:string;\r\n @Prop() isReadOnly:boolean;\r\n @Prop() fromSubmitApproveExpenseClaim:boolean\r\n\r\n showNotesList:boolean = true;\r\n showAddNote:boolean = true;\r\n noteList:Note[] = [];\r\n expenseClaimId:number;\r\n dirtyValidatorRefNo:number = 0;\r\n addEditNoteTitle:string = \"Add Note\";\r\n showPopupCancelConfirmation:boolean = false;\r\n showDeleteConfirmation:boolean = false;\r\n showEditCancelConfirmation:boolean = false;\r\n deleteNoteID:number = 0;\r\n deleteNoteIndex:number = 0;\r\n isTenantAdmin:boolean = this.$store.getters.isAuthorizedRole(UserRoles.TenantAdmin);\r\n isClient:boolean = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n sendDirtyToParent = 0; // In order to send whether dirty or not to the parent component only one time\r\n newNote:Note = \r\n {\r\n id:0,\r\n noteText:\"\",\r\n relatedTable:this.relatedTable,\r\n relatedID:this.relatedID,\r\n concurrencyKey:\"\",\r\n createdByName:localStorage.loggedInUserName,\r\n lastUpdateByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdatedDate:new Date(),\r\n index:-1\r\n };\r\n addEditNote:Note = Object.assign({},this.newNote);\r\n\r\n created()\r\n {\r\n this.loadNoteList();\r\n }\r\n\r\n @Watch('relatedID')\r\n onRelatedIDChanged(val: any, oldVal: any)\r\n {\r\n this.loadNoteList(); \r\n }\r\n\r\n loadNoteList()\r\n {\r\n if(this.useStore && this.relatedID <= 0)\r\n {\r\n this.noteList = this.$store.getters.getNotesByIndex(this.index);\r\n if(this.noteList.length == 0){\r\n this.addEditNote = Object.assign({},this.newNote);\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.addEditNote);\r\n this.addEditNoteTitle = \"Add Note\";\r\n this.showNotesList = false;\r\n this.showAddNote = true;\r\n } else {\r\n this.showNotesList =true;\r\n }\r\n return;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {relatedTable:this.relatedTable, relatedID:this.relatedID};\r\n apiService.sendGetRequest('Utility','Notes',params).then( response=>{\r\n this.noteList = response.data; \r\n if(response.data){\r\n this.onNotesCountChanged(response.data.length);\r\n if(response.data.length == 0){\r\n this.addEditNote = Object.assign({},this.newNote);\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.addEditNote);\r\n this.addEditNoteTitle = \"Add Note\";\r\n this.showNotesList = false;\r\n this.showAddNote = true;\r\n } else {\r\n this.showNotesList = true;\r\n this.showAddNote = false;\r\n }\r\n } \r\n else {\r\n this.addEditNote = Object.assign({},this.newNote);\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.addEditNote);\r\n this.addEditNoteTitle = \"Add Note\";\r\n this.showNotesList = false;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onCancelSave()\r\n {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.showEditCancelConfirmation = true;\r\n }\r\n else{\r\n this.$v.addEditNote.$reset();\r\n if(this.noteList.length == 0 && this.fromSubmitApproveExpenseClaim){\r\n this.showNotesList = false;\r\n this.showAddNote = true;\r\n } else {\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n this.showNotesList = true;\r\n this.showAddNote = false;\r\n } \r\n }\r\n }\r\n\r\n closePopupCancelConfirmation()\r\n {\r\n this.$v.addEditNote.$reset();\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n this.showPopupCancelConfirmation = false;\r\n this.sendDirtyToParent = 0;\r\n this.modelChangedToDirty(false);\r\n }\r\n\r\n closeEditCancelConfirmation()\r\n {\r\n this.showEditCancelConfirmation = false;\r\n this.sendDirtyToParent = 0;\r\n this.modelChangedToDirty(false);\r\n this.$v.addEditNote.$reset();\r\n if(this.noteList.length == 0 && this.fromSubmitApproveExpenseClaim){\r\n this.addEditNote.noteText = \"\";\r\n this.showNotesList = false;\r\n this.showAddNote = true;\r\n } else {\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n this.showNotesList = true;\r\n this.showAddNote = false;\r\n }\r\n }\r\n\r\n showActionButtons()\r\n {\r\n if(!this.isReadOnly){\r\n if(this.isTenantAdmin || this.isClient || this.relatedID >= 0) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n return false;\r\n }\r\n\r\n onAddNote()\r\n {\r\n this.addEditNote = Object.assign({},this.newNote);\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.addEditNote);\r\n this.addEditNoteTitle = \"Add Note\";\r\n this.showNotesList = false;\r\n this.showAddNote = true;\r\n }\r\n \r\n onEditNote(note:Note)\r\n {\r\n if(this.useStore && this.relatedID <= 0)\r\n {\r\n this.addEditNote = Object.assign({},this.noteList[note.index]);\r\n }\r\n else\r\n {\r\n this.addEditNote = Object.assign({},this.getNoteByID(note.id));\r\n }\r\n \r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.addEditNote);\r\n this.addEditNoteTitle = \"Edit Note\";\r\n this.showNotesList = false;\r\n this.showAddNote = true;\r\n }\r\n\r\n getNoteByID(noteID:number):Note\r\n {\r\n return this.noteList.filter((obj:Note)=> obj.id == noteID)[0];\r\n }\r\n\r\n getNoteByIndex(noteIndex:number):Note\r\n {\r\n return this.noteList[noteIndex];\r\n }\r\n\r\n onSaveNote()\r\n {\r\n if(this.useStore && this.relatedID <= 0)\r\n {\r\n if(this.addEditNote.index < 0)\r\n {\r\n this.AddNewNoteToStore();\r\n }\r\n else\r\n {\r\n this.EditNoteInStore();\r\n } \r\n }\r\n else\r\n {\r\n if(this.addEditNote.id == 0)\r\n {\r\n this.AddNewNote();\r\n }\r\n else\r\n {\r\n this.EditNote();\r\n }\r\n }\r\n\r\n this.onNoteChanged(this.noteList? this.noteList.length : 0);\r\n }\r\n\r\n refreshList()\r\n {\r\n this.loadNoteList();\r\n this.$v.addEditNote.$reset();\r\n this.deleteNoteID = this.deleteNoteIndex = 0;\r\n this.sendDirtyToParent = 0;\r\n this.modelChangedToDirty(false);\r\n if(this.noteList.length == 0 && this.fromSubmitApproveExpenseClaim){\r\n this.showNotesList = false; \r\n this.showAddNote = true;\r\n } else {\r\n this.showNotesList = true;\r\n this.showAddNote = false;\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n }\r\n }\r\n\r\n AddNewNoteToStore()\r\n {\r\n this.addEditNote.index = this.noteList.length;\r\n this.noteList.push(this.addEditNote);\r\n this.$store.dispatch('updateNotesByIndex', { index: this.index, notes:this.noteList} );\r\n this.refreshList();\r\n }\r\n\r\n AddNewNote()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {\r\n noteText:this.addEditNote.noteText,\r\n relatedTable:this.relatedTable,\r\n relatedID:this.relatedID,\r\n };\r\n apiService.sendPutRequest('Utility','Note',params).then( response=>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.refreshList();\r\n }\r\n else\r\n {\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n EditNoteInStore()\r\n {\r\n this.noteList.splice(this.addEditNote.index, 1,this.addEditNote)\r\n this.$store.dispatch('updateNotesByIndex', { index: this.index, notes:this.noteList} );\r\n this.refreshList();\r\n }\r\n\r\n EditNote()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Utility','Note',this.addEditNote).then( response=>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.refreshList();\r\n }\r\n else\r\n {\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onDeleteConfirm(note:Note)\r\n {\r\n this.deleteNoteID = note.id;\r\n this.deleteNoteIndex = note.index;\r\n this.showDeleteConfirmation = true;\r\n }\r\n\r\n cancelDeleteConfirmation()\r\n {\r\n this.deleteNoteID = 0;\r\n this.deleteNoteIndex = 0;\r\n this.showDeleteConfirmation = false;\r\n }\r\n\r\n onDeleteNote()\r\n {\r\n this.showDeleteConfirmation = false;\r\n if(this.useStore && this.relatedID <= 0)\r\n {\r\n this.noteList.splice(this.deleteNoteIndex,1);\r\n this.$store.dispatch('updateNotesByIndex', { index: this.index, notes:this.noteList} );\r\n this.deleteNoteIndex = 0;\r\n this.refreshList();\r\n this.onNoteChanged(this.noteList? this.noteList.length : 0);\r\n }\r\n else\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendDeleteRequest('Utility','Note',{id:this.deleteNoteID}).then( response=>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.refreshList();\r\n this.onNoteChanged(this.noteList? this.noteList.length : 0);\r\n }\r\n else\r\n {\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.deleteNoteID = 0;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n }\r\n\r\n clearNotesList(){\r\n this.noteList=[];\r\n }\r\n\r\n clearNotesWithoutValidation(){\r\n this.noteList=[];\r\n this.$store.dispatch('updateNotesByIndex', { index: this.index, notes:this.noteList} );\r\n }\r\n\r\n setNotesList(){\r\n this.noteList= this.$store.getters.getNotesByIndex(this.index);\r\n }\r\n \r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n\r\n noteAddingStart(){\r\n if(this.$v.addEditNote.noteText.$dirty){\r\n this.sendDirtyToParent +=1; // If the value is 1 , then only emit the dirty flag to the to parent\r\n if(this.sendDirtyToParent==1){ //if value > 1 means it has already sent the dirty flag and no need to emit again\r\n this.modelChangedToDirty(true); \r\n }\r\n }\r\n }\r\n\r\n @Emit('onNoteChanged') onNoteChanged(notesCount:number){\r\n }\r\n\r\n @Emit('onNotesCountChanged') onNotesCountChanged(notesCount:number){\r\n }\r\n\r\n @Emit('modelChangedToDirty') modelChangedToDirty(isDirty:boolean){\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotesCommonControl.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotesCommonControl.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NotesCommonControl.vue?vue&type=template&id=99e2f92e&scoped=true\"\nimport script from \"./NotesCommonControl.vue?vue&type=script&lang=ts\"\nexport * from \"./NotesCommonControl.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NotesCommonControl.vue?vue&type=style&index=0&id=99e2f92e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"99e2f92e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport {Component,Prop, Emit, Watch} from 'vue-property-decorator';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport Modal from '@/shared/components/modal/Modal.vue'\r\nimport apiService from '@/shared/services/apiService';\r\nimport {Note} from '@/models/Note.model';\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required} from 'vuelidate/lib/validators'\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\r\nimport NotesCommonControl from './NotesCommonControl.vue';\r\n\r\n@Component({\r\n components: {\r\n Modal,\r\n NotesCommonControl\r\n },\r\n mixins:[validationMixin],\r\n validations:\r\n {\r\n addEditNote:{\r\n noteText:{\r\n required\r\n }\r\n }\r\n }\r\n\r\n})\r\nexport default class Notes extends Vue{\r\n @Prop() relatedTable:RelatedTables;\r\n @Prop() relatedID:number;\r\n @Prop() index:number;\r\n @Prop() modalTitle:string;\r\n @Prop() buttonType:NoteAndDocumentButtonTypes;\r\n @Prop() useStore:boolean;\r\n @Prop() addToolTip:string;\r\n @Prop() isReadOnly:boolean;\r\n @Prop() colorToIndicateAvailability:boolean;\r\n @Prop() externalNotesCount:number;\r\n @Watch('externalNotesCount')\r\n onExternalNotesCountChanged(val: any, oldVal: any)\r\n {\r\n this.notesCount = val; \r\n }\r\n\r\n @Watch('relatedID')\r\n onRelatedIDChanged(val: any, oldVal: any)\r\n {\r\n this.notesCount = this.externalNotesCount == undefined ? 0 : this.externalNotesCount; \r\n }\r\n\r\n showNotesPopup:boolean = false;\r\n notesCount:number = 0;\r\n dirtyValidatorRefNo:number = 0;\r\n addEditNoteTitle:string = \"Add Note\";\r\n showPopupCancelConfirmation:boolean = false;\r\n showDeleteConfirmation:boolean = false;\r\n showEditCancelConfirmation:boolean = false;\r\n deleteNoteID:number = 0;\r\n deleteNoteIndex:number = 0;\r\n modelIsDirty = false;\r\n newNote:Note = \r\n {\r\n id:0,\r\n noteText:\"\",\r\n relatedTable:this.relatedTable,\r\n relatedID:this.relatedID,\r\n concurrencyKey:\"\",\r\n createdByName:localStorage.loggedInUserName,\r\n lastUpdateByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdatedDate:new Date(),\r\n index:-1\r\n };\r\n addEditNote:Note = Object.assign({},this.newNote);\r\n iconButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\r\n textButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.TextButton;\r\n gridButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.GridButton;\r\n\r\n created(){\r\n this.notesCount = this.externalNotesCount == undefined ? 0 : this.externalNotesCount\r\n }\r\n get NotesButtonText()\r\n {\r\n if(this.notesCount > 0 || this.isReadOnly)\r\n {\r\n return 'View Notes';\r\n }\r\n if(!this.isReadOnly)\r\n {\r\n return 'Add Notes';\r\n }\r\n }\r\n\r\n openNotesPopup()\r\n { \r\n this.showNotesPopup = true;\r\n }\r\n\r\n closeNotes()\r\n {\r\n if(this.modelIsDirty){\r\n this.showPopupCancelConfirmation = true;\r\n } else {\r\n this.showNotesPopup = false;\r\n }\r\n }\r\n\r\n closeEditCancelConfirmation(){\r\n this.showNotesPopup = false;\r\n this.showPopupCancelConfirmation = false;\r\n this.modelIsDirty=false;\r\n }\r\n\r\n closePopupCancelConfirmation()\r\n {\r\n this.$v.addEditNote.$reset();\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n this.showPopupCancelConfirmation = false;\r\n this.showNotesPopup = false;\r\n }\r\n\r\n onNotesCountChanged(count:number){\r\n this.notesCount = count;\r\n }\r\n\r\n modelChangedToDirty(isModelDirty:boolean){\r\n this.modelIsDirty= isModelDirty;\r\n }\r\n\r\n @Emit('onNoteChanged') onNoteChanged(count:number){\r\n this.notesCount = count;\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notes.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Notes.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Notes.vue?vue&type=template&id=54e0f800&scoped=true\"\nimport script from \"./Notes.vue?vue&type=script&lang=ts\"\nexport * from \"./Notes.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Notes.vue?vue&type=style&index=0&id=54e0f800&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"54e0f800\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.buttonType == _vm.iconButtonType && !_vm.showDocumentsPopup)?_c('b-button',{staticClass:\"primary float-right ml-2\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":_vm.relatedID > 0 ? _vm.DocumentButtonText : _vm.addToolTip,\"disabled\":_vm.relatedID <= 0},on:{\"click\":function($event){return _vm.openDocumentsPopup()}}},[_c('i',{staticClass:\"fas fa-book\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.buttonType == _vm.formFieldAppenedButtonType && !_vm.showDocumentsPopup)?_c('b-button',{class:_vm.documentCount > 0 ? 'doc-available-button' : 'primary float-right',attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":_vm.relatedID > 0 ? _vm.DocumentButtonText : _vm.addToolTip,\"disabled\":_vm.relatedID <= 0},on:{\"click\":function($event){return _vm.openDocumentsPopup()}}},[(!_vm.isReadOnly)?_c('i',{staticClass:\"fas fa-book\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e()]):_vm._e(),(_vm.buttonType == _vm.textButtonType && !_vm.showDocumentsPopup)?_c('b-button',{staticClass:\"primary float-right ml-2\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":_vm.relatedID > 0 ? _vm.DocumentButtonText : _vm.addToolTip,\"disabled\":_vm.relatedID <= 0},on:{\"click\":function($event){return _vm.openDocumentsPopup()}}},[(!_vm.isReadOnly)?_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.isReadOnly? '':' ')+\" \"+_vm._s(_vm.DocumentButtonText)+\"\\n \")]):_vm._e(),(_vm.buttonType == _vm.gridButtonType && !_vm.showDocumentsPopup)?_c('b-btn',{staticClass:\"edit-button grid-large-icon action-btn\",attrs:{\"id\":\"documentUploadGridBtn\",\"title\":_vm.DocumentButtonText},on:{\"click\":function($event){return _vm.openDocumentsPopup()}}},[_c('i',{class:_vm.colorToIndicateAvailability && _vm.documentCount > 0 ? 'fas fa-book documents-added' : 'fas fa-book',attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.buttonType == _vm.fileUploadButtonType && !_vm.showDocumentsPopup)?_c('b-btn',{staticClass:\"edit-button upload-button\",attrs:{\"id\":\"documentUploadBtn\",\"title\":_vm.DocumentButtonText},on:{\"click\":function($event){return _vm.openDocumentsPopup()}}},[_c('i',{class:_vm.documentCount > 0 && _vm.colorToIndicateAvailability ? 'fa fa-upload documents-added grid-large-icon upload-button-icon' : 'fas fa-upload grid-large-icon upload-button-icon',attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.buttonType == _vm.fileUploadButtonType && !_vm.showDocumentsPopup && _vm.displayPopover && !_vm.hidePopover)?_c('b-popover',{attrs:{\"show\":\"\",\"target\":\"documentUploadGridBtn\",\"placement\":\"topright\"}},[_vm._v(\"\\n \"+_vm._s(_vm.popoverText)+\"\\n \")]):_vm._e(),(_vm.showDocumentsPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"800px\",\"minHeight\":\"350px\",\"id\":\"showDocuments\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.modalTitle)+\" \")]),_c('div',{staticClass:\"modal-doc-control\",attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('DocumentUploaderCommonControl',{ref:\"documentUploaderCommonControl\",attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.relatedID,\"index\":_vm.index,\"useStore\":_vm.useStore,\"acceptedFileTypes\":_vm.acceptedFileTypes,\"addToolTip\":_vm.addToolTip,\"isReadOnly\":_vm.isReadOnly,\"defaultDocType\":_vm.defaultDocType,\"filteredDocumentTypes\":_vm.filteredDocumentTypes,\"isFilterByRelatedId\":_vm.isFilterByRelatedId},on:{\"onDocumentDeletedWithFileTypeAndId\":_vm.onDocumentDeletedWithFileTypeAndId,\"onDocumentChanged\":_vm.onDocumentChanged,\"onDocumentsCountChanged\":_vm.onDocumentsCountChanged,\"onDocumentSaved\":_vm.onDocumentSaved,\"onEditDocumentMode\":_vm.onEditDocumentMode}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showDocuments_CloseButton\"},on:{\"click\":_vm.closeDocumentsPopup}},[_vm._v(\"\\n Close\\n \")]),(!_vm.editMode)?_c('b-btn',{staticClass:\"float-left ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showDocuments_DownloadAllButton\"},on:{\"click\":_vm.onDownloadAllDocuments}},[_vm._v(\"\\n Download All \\n \")]):_vm._e()],1)]):_vm._e(),(_vm.showPopupCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CloseDocumentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text wrap-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to close the popup?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CloseDocumentConf_CancelButton\"},on:{\"click\":function($event){_vm.showPopupCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CloseDocumentConf_OkButton\"},on:{\"click\":_vm.closePopup}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteDocumentConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteDocumentConf\"},on:{\"ok\":_vm.deleteDocument}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Document\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the document?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteDocumentConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteDocumentConf_OkButton\"},on:{\"click\":_vm.deleteDocument}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!(_vm.item.isReadOnly || _vm.item.locked))?_c('span',{staticClass:\"ml-2 grid-large-icon\",attrs:{\"title\":\"Edit Document\"},on:{\"click\":_vm.onEditDocument}},[_c('i',{staticClass:\"fas fa-edit download-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.id > 0)?_c('span',{staticClass:\"ml-2 grid-large-icon\",attrs:{\"title\":\"Download Document\"},on:{\"click\":_vm.onDownloadDocument}},[_c('i',{staticClass:\"fas fa-download download-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(!_vm.item.isReadOnly && !_vm.item.locked)?_c('span',{staticClass:\"ml-2 grid-large-icon\",attrs:{\"title\":\"Delete Document\"},on:{\"click\":_vm.onDeleteDocClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport apiService from '@/shared/services/apiService'\nimport blobService from '@/shared/services/azureBlobStorageService';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class DocumentListActionButtons extends Vue{\n @Prop() item:any\n showDeleteDocumentConfirmation = false;\n\n onDeleteDocClick()\n {\n this.showDeleteDocumentConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n onCloseDelete()\n {\n this.showDeleteDocumentConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n onDownloadDocument(){\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Utility\",\"DownloadDocument\",{id:this.item.id}).then(\n response =>{\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n \n deleteDocument(){\n this.showDeleteDocumentConfirmation = false;\n this.onDocumentAction(this.item,DataTableActionTypes.Delete); \n }\n\n onPreviewDocument()\n {\n this.onDocumentAction(this.item,DataTableActionTypes.Preview); \n }\n\n onEditDocument(){\n if(!this.item.isReadOnly)\n {\n this.onDocumentAction(this.item,DataTableActionTypes.Edit);\n }\n }\n\n @Emit('customEvent') onDocumentAction(id:number,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DocumentListActionButtons.vue?vue&type=template&id=1edf5b6d&scoped=true\"\nimport script from \"./DocumentListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./DocumentListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DocumentListActionButtons.vue?vue&type=style&index=0&id=1edf5b6d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1edf5b6d\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{on:{\"click\":function($event){return _vm.onPreviewDocument()}}},[_vm._v(_vm._s(_vm.removeExtension(this.item.fileName)))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\nexport default class EditDocumentLink extends Vue{\n @Prop() item:any;\n\n removeExtension(fileName:string){\n var wordList = fileName.split(\".\");\n var name = wordList.slice(0,wordList.length-1).join('');\n return name;\n }\n\n onPreviewDocument()\n {\n this.onDocumentAction(this.item,DataTableActionTypes.RowSelect); \n }\n\n @Emit('customEvent') onDocumentAction(id:number,type:DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditDocumentLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditDocumentLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditDocumentLink.vue?vue&type=template&id=32e3bdec&scoped=true\"\nimport script from \"./EditDocumentLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditDocumentLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32e3bdec\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelDocumentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text wrap-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelDocumentConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelDocumentConf_OkButton\"},on:{\"click\":_vm.closeCancelConfirmation}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.showDocumentsList)?_c('div',[_c('b-card',{staticClass:\"mt-2 text-left\",attrs:{\"footer-tag\":\"footer\",\"header-tag\":\"header\"}},[(_vm.editMode)?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"5\"}},[_c('b-form-group',{attrs:{\"label\":\"File Name\",\"label-for\":\"fileName\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"fileName\",\"type\":\"text\",\"placeholder\":\"Enter File Name\"},model:{value:(_vm.fileName),callback:function ($$v) {_vm.fileName=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"fileName\"}})],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"5\"}},[_c('b-form-group',{attrs:{\"label\":\"Document Type\",\"label-for\":\"documentType\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"documentType\",\"plain\":true,\"options\":_vm.docTypes,\"required\":\"\"},model:{value:(_vm.selectedDocType),callback:function ($$v) {_vm.selectedDocType=$$v},expression:\"selectedDocType\"}},[(_vm.selectedDocType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),(!_vm.editMode)?_c('b-row',[_c('b-col',{staticClass:\"mt-2\"},[_c('FileUploader',{ref:\"docUploader\",attrs:{\"modalMode\":true,\"label\":\"\",\"imgUri\":'',\"accept\":_vm.acceptedFileTypes,\"fontSize\":10},on:{\"onFileChanged\":_vm.onDocumentSelected}})],1)],1):_c('b-row',[_c('b-col',{staticClass:\"mt-2\"},[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":_vm.docFileTypeImageAddress,\"alt\":\"\",\"thumbnail\":\"\",\"width\":\"50px\",\"height\":\"50px\"}}),_vm._v(\"\\n   \\n \"),_c('span',{staticClass:\"changeImgTxt\"},[_vm._v(\"\\n \"+_vm._s(_vm.selectedFile.fileName)+\"\\n \")])])],1),_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.editDocumentTitle)+\"\\n \")]),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"pull-right \",on:{\"click\":_vm.onCancelSave}},[_vm._v(\"Cancel\")]),_c('b-button',{staticClass:\"pull-right primary mr-1\",attrs:{\"disabled\":_vm.isOkayToDisable},on:{\"click\":_vm.onSaveDocument}},[_vm._v(\" \"+_vm._s(_vm.useStore? 'Add':'Save')+\" \")])],1)],1)],1):_vm._e(),(_vm.showDocumentsList)?_c('div',[_c('div',[_c('DragAndDropControl',{ref:\"dragDropControl\",staticClass:\"mb-3\",attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":0,\"accept\":_vm.acceptedFileTypes,\"filteredDocumentTypes\":_vm.filteredDocumentTypes,\"uploaderEnabled\":!_vm.isReadOnly,\"defaultDocType\":_vm.defaultDocType,\"filterByRelatedId\":_vm.isFilterByRelatedId ? _vm.relatedID : 0,\"index\":0,\"currentDocumentCount\":this.documentList.length,\"modalMode\":true},on:{\"OnDocumentsAdded\":_vm.OnDocumentsDragged}})],1),(_vm.documentsDragged)?_c('div',{staticClass:\"text-center\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":!_vm.isDraggedDocumentsValid},on:{\"click\":_vm.OnSaveDocumentsDragged}},[_vm._v(\"Save\")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){_vm.showCancelConfirmation = true;}}},[_vm._v(\" Cancel\")])],1):_vm._e(),(_vm.documentList.length > 0 && !_vm.documentsDragged)?_c('DataTable',{ref:\"documentTable\",attrs:{\"items\":_vm.documentList,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No documents to display.\",\"selectable\":true,\"select-mode\":_vm.selectMode},on:{\"customEvent\":_vm.onCustomDataTableAction}}):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('img',{staticClass:\"img-fluid\",attrs:{\"data-v-e3ff28ea\":\"\",\"src\":_vm.docFileTypeImageAddress,\"alt\":\"\",\"thumbnail\":\"\",\"width\":\"30px\",\"height\":\"30px\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import apiService from '@/shared/services/apiService'\r\n\r\nclass SystemSettingsService {\r\n systemSettings:any = null;\r\n \r\n\r\n LoadAllSystemSettings():Promise\r\n {\r\n return new Promise((resolve,reject)=> {\r\n if(this.systemSettings != null)\r\n {\r\n resolve(this.systemSettings);\r\n }\r\n else\r\n {\r\n apiService.sendGetRequest('Utility','AllSystemSettings').then(response=> {\r\n if(response.data)\r\n {\r\n this.systemSettings = response.data;\r\n resolve(this.systemSettings);\r\n }\r\n });\r\n }\r\n }); \r\n }\r\n}\r\n\r\nconst systemSettingsService = new SystemSettingsService();\r\nexport default systemSettingsService;\r\n","import systemSettingsService from '@/shared/services/systemSettingsService';\r\n\r\nclass DocumentService {\r\n\r\n getDocumentThumbnailUrl(document:any) {\r\n return new Promise((resolve, reject) => {\r\n systemSettingsService.LoadAllSystemSettings().then(data => \r\n {\r\n if(data)\r\n { \r\n var apexBaseImageUrl = data.ApexWebsiteHostedUrl.replace('//','\\\\\\\\').replace('/','\\\\') + \"\\\\img\\\\fileTypes\\\\\";\r\n switch(this.getFileExtension(document.fileName))\r\n {\r\n case \"pdf\": \r\n resolve(apexBaseImageUrl+\"pdf.svg\");\r\n case \"doc\":\r\n case \"docx\":\r\n resolve(apexBaseImageUrl+\"doc.svg\");\r\n case \"xls\":\r\n case \"xlsx\":\r\n resolve(apexBaseImageUrl+\"xls.svg\");\r\n case \"ppt\":\r\n case \"pptx\":\r\n resolve(apexBaseImageUrl+\"ppt.svg\");\r\n case \"txt\":\r\n resolve(apexBaseImageUrl+\"txt.svg\");\r\n case \"jpg\":\r\n resolve(apexBaseImageUrl+\"jpg.svg\");\r\n case \"png\":\r\n resolve(apexBaseImageUrl+\"png.svg\");\r\n default:\r\n resolve(apexBaseImageUrl+\"file.svg\")\r\n }\r\n }\r\n });\r\n })\r\n }\r\n\r\n getFileExtension(fileName:string){\r\n var wordList = fileName.split(\".\");\r\n return wordList[wordList.length-1];\r\n }\r\n}\r\n\r\nconst documentService = new DocumentService();\r\nexport default documentService;","\n\n\n\n\n\n \n import { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\n import Modal from '@/shared/components/modal/Modal.vue';\n import documentService from '@/shared/services/documentService';\n\n @Component({\n components: {\n Modal\n }\n })\n\n\nexport default class DocumentImagePreview extends Vue {\n \n @Prop() item:any\n @Watch('item')\n onItemChanged(val: any, oldVal: any) {\n this.getImageUrl(); \n }\n docFileTypeImageAddress:string =\"\";\n \n created() {\n this.getImageUrl();\n }\n\n getImageUrl(){\n documentService.getDocumentThumbnailUrl(this.item).then(data => {\n if(data){\n this.docFileTypeImageAddress = data as string;\n }\n });\n }\n}\n \n\n\n \n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentImagePreview.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentImagePreview.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DocumentImagePreview.vue?vue&type=template&id=2801cfc5\"\nimport script from \"./DocumentImagePreview.vue?vue&type=script&lang=ts\"\nexport * from \"./DocumentImagePreview.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport {Component,Prop, Emit} from 'vue-property-decorator';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport Modal from '@/shared/components/modal/Modal.vue'\r\nimport apiService from '@/shared/services/apiService';\r\nimport FileUploader from '@/shared/components/fileUploader/FileUploader.vue';\r\nimport blobService from '@/shared/services/azureBlobStorageService';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport DocumentListActionButtons from './DocumentListActionButtons.vue';\r\nimport DocumentImagePreview from './DocumentImagePreview.vue';\r\nimport EditDocumentLink from './EditDocumentLink.vue';\r\nimport moment from 'moment'\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport { BlobContainerType } from '@/shared/enums/blobContainerTypes.enum';\r\nimport {Document} from '@/models/document.model';\r\nimport fileViewerService from '@/shared/services/fileViewerService';\r\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\r\nimport DragAndDropControl from '@/shared/components/dragAndDropControl/DragAndDropControl.vue';\r\nimport documentService from '@/shared/services/documentService';\r\n\r\n@Component({\r\n components:\r\n {\r\n Modal,\r\n FileUploader,\r\n DataTable,\r\n DocumentListActionButtons,\r\n DocumentImagePreview,\r\n EditDocumentLink,\r\n DragAndDropControl\r\n }\r\n\r\n})\r\nexport default class DocumentUploaderCommonControl extends Vue{\r\n @Prop() relatedTable:RelatedTables;\r\n @Prop() relatedID:number;\r\n @Prop() index:number;\r\n @Prop() useStore:boolean;\r\n @Prop() acceptedFileTypes:string;\r\n @Prop() addToolTip:string;\r\n @Prop() isReadOnly:boolean;\r\n @Prop() defaultDocType:any;\r\n @Prop({default: ()=>([])}) filteredDocumentTypes:any;\r\n @Prop({default: false}) isFilterByRelatedId:boolean;\r\n\r\n documentList:any[] = [];\r\n docTypes:any[] = [];\r\n docChanged:boolean = false;\r\n showDocumentsList:boolean = true;\r\n editDocumentTitle:string = \"Edit Document\";\r\n selectedFile:any;\r\n selectedDocType:number = 0;\r\n fileName:string = \"\";\r\n editMode:boolean = false;\r\n docUri:string = \"\";\r\n apexBaseImageUrl:string = \"\";\r\n docFileTypeImageAddress:string =\"\";\r\n editIndex:number = 0;\r\n selectMode = \"single\"\r\n showCancelConfirmation:boolean = false;\r\n fields = [\r\n {key: 'fileThumbnail',label:\"\",class:'text-left thumbnail-column-width'},\r\n {key: 'fileName',class:'width_30 text-left',\r\n formatter: (value, key, item) => {\r\n return this.removeExtension(item.fileName);\r\n }\r\n },\r\n {key: 'createdByUserName',label:'Uploaded By',class:'no-side-padding width_20 text-left',},\r\n {key: 'createdOnUtc',label:\"Uploaded Date\",class:'no-side-padding width_17 text-left',\r\n formatter: (value, key, item) => {\r\n return moment(item.createdOnUtc).format(\"DD MMM YYYY\")\r\n }\r\n },\r\n {key: 'actions',label:\"\",class:'action-buttons-column-width'} \r\n ];\r\n customTemplateList:Array = [\r\n {slot:'fileName',customTemplate:EditDocumentLink},\r\n {slot:\"actions\",customTemplate:DocumentListActionButtons},\r\n {slot:\"fileThumbnail\",customTemplate:DocumentImagePreview}\r\n ];\r\n showEmptyBanner:boolean = false;\r\n documentsDragged:boolean = false;\r\n \r\n created()\r\n { \r\n this.loadDocTypes(); \r\n this.loadDocumentsList();\r\n if(this.filteredDocumentTypes.length != 1){\r\n this.fields.splice(2, 0, {key: 'fileType',label:'Document Type',class:'text-left width_20',\r\n formatter: (value, key, item) => {\r\n return this.getDocTypeName(item.fileType);\r\n }\r\n });\r\n }\r\n }\r\n \r\n loadDocumentsList()\r\n { \r\n if(this.isFilterByRelatedId){\r\n this.loadDocTypes();\r\n }\r\n \r\n if(this.useStore && this.relatedID <= 0)\r\n {\r\n this.documentList = this.$store.getters.getDocumentsByIndex(this.index);\r\n this.showDocumentsList = true;\r\n this.documentsDragged = false;\r\n this.showEmptyBanner = this.documentList.length <= 0;\r\n this.onDocumentsCountChanged(this.documentList.length);\r\n this.ClearDocsDragged();\r\n return;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {relatedTable:this.relatedTable, relatedID:this.relatedID, filteredDocumentTypes:this.filteredDocumentTypes};\r\n this.showEmptyBanner = false;\r\n apiService.sendGetRequest('Utility','Documents',params).then( response=>{\r\n if(this.relatedTable == RelatedTables.Client)\r\n {\r\n this.documentList = response.data.filter(obj => obj.fileType != FileTypes.ProfilePic);\r\n this.onEditDocumentMode(false);\r\n }\r\n else\r\n {\r\n this.documentList = response.data;\r\n this.documentList.forEach(doc => {\r\n if(doc.isReadOnly == false && this.isReadOnly == true){ \r\n doc.isReadOnly = this.isReadOnly\r\n }\r\n });\r\n this.onEditDocumentMode(false);\r\n }\r\n \r\n if(this.documentList.length == 0){\r\n this.showEmptyBanner = true;\r\n this.onEditDocumentMode(true);\r\n }\r\n this.showDocumentsList = true;\r\n this.documentsDragged = false;\r\n this.onDocumentsCountChanged(this.documentList.length);\r\n this.ClearDocsDragged();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n loadDocTypes()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {relatedTable:this.relatedTable, relatedId:this.relatedID};\r\n apiService.sendGetRequest('Utility','DocTypes',params).then( response=>{\r\n this.docTypes = response.data; \r\n if(this.defaultDocType && this.defaultDocType > 0){\r\n this.selectedDocType = this.defaultDocType;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n isPageDirty()\r\n {\r\n if(this.documentsDragged || this.docChanged)\r\n {\r\n return true;\r\n }\r\n if(this.editMode)\r\n {\r\n return ((this.selectedDocType != this.selectedFile.fileType) || (this.fileName + \".\" + this.getFileExtension(this.selectedFile.fileName) != this.selectedFile.fileName))\r\n }\r\n return false; \r\n }\r\n\r\n onCancelSave()\r\n {\r\n if(this.isPageDirty()){\r\n this.showCancelConfirmation = true;\r\n this.onEditDocumentMode(false);\r\n }\r\n else{\r\n this.selectedFile = null;\r\n if(!this.editMode && (this.$refs.docUploader as FileUploader) != null){\r\n (this.$refs.docUploader as FileUploader).resetUploder();\r\n }\r\n this.docChanged = false;\r\n this.selectedDocType = 0;\r\n this.showCancelConfirmation = false;\r\n this.editMode = false;\r\n this.fileName = \"\";\r\n this.showDocumentsList = true;\r\n this.ClearDocsDragged();\r\n this.onEditDocumentMode(false);\r\n }\r\n }\r\n\r\n ClearDocsDragged()\r\n {\r\n this.documentsDragged = false;\r\n if((this.$refs.dragDropControl as DragAndDropControl) != null)\r\n {\r\n (this.$refs.dragDropControl as DragAndDropControl).ClearDocumentListWithoutValidation();\r\n }\r\n }\r\n\r\n get isDraggedDocumentsValid()\r\n {\r\n return (this.$refs.dragDropControl as DragAndDropControl).isValidDocuments();\r\n }\r\n\r\n OnDocumentsDragged(docs:any)\r\n {\r\n this.documentsDragged = true;\r\n this.onDocumentChanged();\r\n }\r\n \r\n OnSaveDocumentsDragged()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.$store.dispatch('uploadDocuments').then(\r\n response => \r\n {\r\n var documents = (this.$refs.dragDropControl as DragAndDropControl).getDocumentList();\r\n documents.forEach(item => {\r\n item.relatedID = this.relatedID;\r\n });\r\n apiService.sendPutRequest('Utility','DocumentsList', documents).then(\r\n response => { \r\n if(response.data.isSuccess)\r\n {\r\n this.onDocumentSaved();\r\n this.$notify({\r\n group: 'modalgrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else\r\n {\r\n this.$notify({\r\n group: 'modalgrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.ClearDocsDragged();\r\n this.loadDocumentsList();\r\n }\r\n );\r\n }).catch(error => {\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: 'Error uploading documents.',\r\n type: 'error',\r\n duration: 5000\r\n });\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });;\r\n }\r\n\r\n onAddDocument()\r\n {\r\n this.showDocumentsList = false;\r\n }\r\n \r\n onSaveDocument()\r\n {\r\n if(this.useStore && this.relatedID <= 0)\r\n {\r\n if(this.editMode)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var document = Object.assign({},this.documentList[this.selectedFile.index]);\r\n document.fileName = this.fileName + \".\" + this.getFileExtension(this.selectedFile.fileName);\r\n document.fileType = this.selectedDocType;\r\n document.id = this.selectedFile.id;\r\n this.documentList.splice(document.index,1,document);\r\n this.$store.dispatch('updateDocumentsByIndex', { index: this.index, documents:this.documentList} );\r\n this.docChanged = false;\r\n this.selectedFile = null;\r\n this.selectedDocType = 0;\r\n this.editMode = false;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.loadDocumentsList();\r\n \r\n }\r\n else\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n blobService.getsasAndGuid(BlobContainerType.Private).then(response => {\r\n var docSas = response.data;\r\n var newDocument:Document = {\r\n id:0,\r\n fileName:this.selectedFile.name,\r\n relatedTable:this.relatedTable,\r\n relatedID:0,\r\n fileType:this.selectedDocType,\r\n guid:docSas.blobGuid,\r\n fileExtension:this.getFileExtension(this.selectedFile.name),\r\n uri:docSas.blobUri,\r\n locked:false,\r\n concurrencyKey:\"\",\r\n createdByUserName:localStorage.loggedInUserName,\r\n lastUpdateByName:'',\r\n createdOnUtc:new Date(),\r\n lastUpdatedDate:new Date(),\r\n index:this.documentList.length,\r\n file:this.selectedFile,\r\n sasTokenProperties:docSas,\r\n mimeType:this.selectedFile.type\r\n };\r\n\r\n (this.$refs.docUploader as FileUploader).resetUploder();\r\n this.docChanged = false;\r\n this.selectedFile = null;\r\n this.selectedDocType = 0;\r\n this.documentList.push(newDocument);\r\n this.$store.dispatch('updateDocumentsByIndex', { index: this.index, documents:this.documentList} );\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.loadDocumentsList();\r\n });\r\n }\r\n this.onDocumentChanged();\r\n }\r\n else\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n if(this.editMode){\r\n var docParams = {\r\n fileName:this.fileName + \".\" + this.getFileExtension(this.selectedFile.fileName),\r\n fileType: this.selectedDocType,\r\n id: this.selectedFile.id\r\n };\r\n apiService.sendPostRequest('Utility','Documents',docParams).then( response2 => {\r\n if(response2.data.isSuccess){\r\n this.onDocumentSaved()\r\n this.docChanged = false;\r\n this.selectedFile = null;\r\n this.selectedDocType = 0;\r\n this.editMode = false;\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response2.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.loadDocumentsList();\r\n this.onDocumentChanged();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response2.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n else{\r\n blobService.getsasAndGuid(BlobContainerType.Private).then(response => {\r\n var docSas = response.data;\r\n blobService.uploadFile(docSas,this.selectedFile).then( response => {\r\n var docParams = {\r\n fileName:this.selectedFile.name,\r\n fileType: this.selectedDocType,\r\n guid: docSas.blobGuid,\r\n fileExtension: this.getFileExtension(this.selectedFile.name),\r\n uri: docSas.blobUri,\r\n relatedTable:this.relatedTable,\r\n relatedId:this.relatedID,\r\n locked:false,\r\n mimeType:this.selectedFile.type\r\n };\r\n apiService.sendPutRequest('Utility','Documents',docParams).then( response2 => {\r\n if(response2.data.isSuccess){\r\n (this.$refs.docUploader as FileUploader).resetUploder();\r\n this.docChanged = false;\r\n this.selectedFile = null;\r\n this.selectedDocType = 0;\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response2.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.loadDocumentsList();\r\n this.onDocumentChanged();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response2.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }) \r\n }) \r\n }\r\n }\r\n \r\n }\r\n\r\n onDocumentSelected(file){\r\n if(file != null){\r\n this.selectedFile = file;\r\n this.fileName = this.selectedFile.name;\r\n this.docChanged = true;\r\n }\r\n else{\r\n this.docChanged = false;\r\n this.selectedFile = file;\r\n }\r\n }\r\n closeCancelConfirmation(){\r\n if(!this.editMode && (this.$refs.docUploader as FileUploader) != undefined){\r\n (this.$refs.docUploader as FileUploader).resetUploder();\r\n }\r\n this.docChanged = false;\r\n this.showDocumentsList = true;\r\n this.selectedDocType = 0;\r\n this.showCancelConfirmation = false;\r\n this.editMode = false;\r\n this.ClearDocsDragged();\r\n\r\n }\r\n getFileExtension(fileName:string){\r\n var wordList = fileName.split(\".\");\r\n return wordList[wordList.length-1];\r\n }\r\n removeExtension(fileName:string){\r\n var wordList = fileName.split(\".\");\r\n var extensionLength = wordList[wordList.length - 1].length + 1;\r\n return fileName.substring(0, fileName.length - extensionLength);\r\n }\r\n onDocumentDeleted(doc:any){\r\n if(this.useStore && this.relatedID <= 0)\r\n {\r\n this.documentList.splice(doc.index,1);\r\n var index = 0;\r\n this.documentList.forEach(element => {\r\n element.index = index++;\r\n });\r\n this.$store.dispatch('updateDocumentsByIndex', { index: this.index, documents:this.documentList} );\r\n this.onDocumentDeletedWithFileTypeAndId(doc.id, doc.fileType);\r\n this.loadDocumentsList();\r\n this.onDocumentChanged();\r\n }\r\n else\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n blobService.deleteFile(doc.id).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n\r\n this.onDocumentDeletedWithFileTypeAndId(doc.id, doc.fileType);\r\n this.loadDocumentsList();\r\n this.onDocumentChanged();\r\n this.onDocumentSaved();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n (this.$refs.documentTable as DataTable).resetLastCustomAction();\r\n }) \r\n }\r\n }\r\n onCustomDataTableAction(data:any,type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.ActionButtonSelect){\r\n (this.$refs.documentTable as DataTable).setLastCustomAction(type);\r\n }\r\n if(type == DataTableActionTypes.ResetActionButtton){\r\n (this.$refs.documentTable as DataTable).resetLastCustomAction();\r\n }\r\n if(type == DataTableActionTypes.Delete){\r\n this.onDocumentDeleted(data);\r\n }\r\n if(type == DataTableActionTypes.Edit){\r\n this.onEditDocument(data);\r\n }\r\n if(type == DataTableActionTypes.RowSelect){\r\n this.onPreviewDocument(data);\r\n }\r\n }\r\n getDocTypeName(num){\r\n var name = \"\";\r\n this.docTypes.forEach(docType => {\r\n if(docType.value == num){\r\n name = docType.text;\r\n }\r\n });\r\n return name;\r\n }\r\n\r\n onEditDocument(doc:any){\r\n this.setDocumentThumbnail(doc);\r\n this.onEditDocumentMode(true);\r\n if(this.useStore && this.relatedID <= 0)\r\n {\r\n var doc = this.documentList[doc.index];\r\n if(doc != null){\r\n this.fileName = this.removeExtension(doc.fileName);\r\n this.docUri = doc.uri;\r\n this.selectedDocType = doc.fileType;\r\n this.editMode = true;\r\n this.showDocumentsList = false;\r\n this.selectedFile = doc;\r\n } \r\n }\r\n else\r\n {\r\n var doc = this.getDocumentById(doc.id);\r\n if(doc != null){\r\n this.fileName = this.removeExtension(doc.fileName);\r\n this.docUri = doc.uri;\r\n this.selectedDocType = doc.fileType;\r\n this.editMode = true;\r\n this.showDocumentsList = false;\r\n this.selectedFile = doc;\r\n } \r\n }\r\n }\r\n\r\n setDocumentThumbnail(document:any)\r\n {\r\n documentService.getDocumentThumbnailUrl(document).then(data => \r\n {\r\n if(data){\r\n this.docFileTypeImageAddress= data as string;\r\n }\r\n }); \r\n }\r\n\r\n onPreviewDocument(doc:any)\r\n {\r\n if(doc.id > 0)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Utility\",\"DownloadDocument\",{id:doc.id}).then(\r\n response =>{\r\n if(response.data.isSuccess)\r\n {\r\n fileViewerService.PreviewDocument(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false);\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n else \r\n {\r\n var doc = this.documentList[doc.index];\r\n if(doc != null){\r\n fileViewerService.PreviewDocumentByFile(doc);\r\n } \r\n }\r\n }\r\n\r\n getDocumentById(id:number){\r\n var document = null;\r\n this.documentList.forEach(doc => {\r\n if(doc.id == id){\r\n document = doc;\r\n }\r\n })\r\n return document;\r\n }\r\n\r\n get isOkayToDisable(){\r\n if(this.editMode){\r\n return ((this.selectedDocType == this.selectedFile.fileType) && (this.fileName + \".\" + this.getFileExtension(this.selectedFile.fileName) == this.selectedFile.fileName))\r\n }\r\n else{\r\n return (!this.docChanged) || (this.selectedDocType <= 0);\r\n } \r\n }\r\n\r\n @Emit('onDocumentChanged') onDocumentChanged(){\r\n }\r\n\r\n @Emit('onDocumentDeletedWithFileTypeAndId') onDocumentDeletedWithFileTypeAndId(id:number, fileType:number){ \r\n }\r\n\r\n @Emit('onDocumentsCountChanged') onDocumentsCountChanged(docsCount:number){\r\n }\r\n\r\n @Emit('onEditDocumentMode') onEditDocumentMode(isEditMode){\r\n }\r\n\r\n @Emit('onDocumentSaved') onDocumentSaved(){\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentUploaderCommonControl.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentUploaderCommonControl.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DocumentUploaderCommonControl.vue?vue&type=template&id=2c10a32d\"\nimport script from \"./DocumentUploaderCommonControl.vue?vue&type=script&lang=ts\"\nexport * from \"./DocumentUploaderCommonControl.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DocumentUploaderCommonControl.vue?vue&type=style&index=0&id=2c10a32d&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport {Component,Prop, Emit, Watch} from 'vue-property-decorator';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport Modal from '@/shared/components/modal/Modal.vue'\r\nimport apiService from '@/shared/services/apiService';\r\nimport FileUploader from '@/shared/components/fileUploader/FileUploader.vue';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport DocumentListActionButtons from './DocumentListActionButtons.vue';\r\nimport EditDocumentLink from './EditDocumentLink.vue';\r\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\r\nimport fileViewerService from '@/shared/services/fileViewerService';\r\nimport DocumentUploaderCommonControl from './DocumentUploaderCommonControl.vue';\r\n\r\n@Component({\r\n components:\r\n {\r\n Modal,\r\n FileUploader,\r\n DataTable,\r\n DocumentListActionButtons,\r\n EditDocumentLink,\r\n DocumentUploaderCommonControl\r\n }\r\n\r\n})\r\n\r\nexport default class DocumentUploader extends Vue{\r\n @Prop() relatedTable:RelatedTables;\r\n @Prop() relatedID:number;\r\n @Prop() index:number;\r\n @Prop() modalTitle:string;\r\n @Prop() useStore:boolean;\r\n @Prop() buttonType:NoteAndDocumentButtonTypes;\r\n @Prop() acceptedFileTypes:string;\r\n @Prop() addToolTip:string;\r\n @Prop({default:\"\"}) iconToolTip:string;\r\n @Prop() isReadOnly:boolean;\r\n @Prop() colorToIndicateAvailability:boolean;\r\n @Prop() defaultDocType:any;\r\n @Prop() displayPopover:boolean;\r\n @Prop() popoverText:string;\r\n @Prop() externalDocumentCount:number;\r\n @Prop({default: ()=>([])}) filteredDocumentTypes:any;\r\n @Prop({default: false}) isFilterByRelatedId:boolean;\r\n @Watch('externalDocumentCount')\r\n onExternalDocumentsCountChanged(val: any, oldVal: any)\r\n {\r\n this.documentCount = val; \r\n }\r\n @Watch('relatedID')\r\n onRelatedIDChanged(val: any, oldVal: any)\r\n {\r\n this.documentCount = this.externalDocumentCount == undefined ? 0 : this.externalDocumentCount; \r\n }\r\n showDocumentsPopup:boolean = false;\r\n showPopupCancelConfirmation:boolean = false;\r\n docChanged:boolean = false;\r\n showDocumentsList:boolean = true;\r\n selectedFile:any;\r\n selectedDocType:number = 0;\r\n fileName:string = \"\";\r\n showEmptyBanner:boolean = false;\r\n editMode:boolean = false;\r\n iconButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\r\n textButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.TextButton;\r\n gridButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.GridButton;\r\n formFieldAppenedButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.FormFieldAppenedButtonType;\r\n fileUploadButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.FileUploadButton\r\n hidePopover:boolean = false;\r\n documentCount:number = 0;\r\n\r\n get DocumentButtonText()\r\n {\r\n if(this.documentCount > 0 || this.isReadOnly)\r\n {\r\n return this.iconToolTip == \"\" ? 'View Documents' : this.iconToolTip;\r\n }\r\n else if(!this.isReadOnly)\r\n {\r\n return 'Add Documents';\r\n }\r\n }\r\n\r\n created(){\r\n this.documentCount = this.externalDocumentCount == undefined ? 0 : this.externalDocumentCount;\r\n }\r\n\r\n openDocumentsPopup()\r\n {\r\n this.showDocumentsPopup = true;\r\n this.hidePopover = true;\r\n }\r\n\r\n closeDocumentsPopup()\r\n {\r\n \r\n if((this.$refs.documentUploaderCommonControl as DocumentUploaderCommonControl).isPageDirty()){\r\n this.showPopupCancelConfirmation = true;\r\n }\r\n else{\r\n this.closePopup();\r\n this.showDocumentsPopup = false;\r\n this.editMode=false;\r\n }\r\n } \r\n\r\n getFileExtension(fileName:string){\r\n var wordList = fileName.split(\".\");\r\n return wordList[wordList.length-1];\r\n }\r\n\r\n removeExtension(fileName:string){\r\n var wordList = fileName.split(\".\");\r\n var name = wordList.slice(0,wordList.length-1).join('');\r\n return name;\r\n }\r\n\r\n closePopup(){\r\n this.selectedFile = null;\r\n this.docChanged = false;\r\n this.selectedDocType = 0;\r\n this.showPopupCancelConfirmation = false;\r\n this.showDocumentsPopup = false;\r\n (this.$refs.documentUploaderCommonControl as DocumentUploaderCommonControl).ClearDocsDragged();\r\n this.fileName = \"\";\r\n }\r\n\r\n onDocumentsCountChanged(docsCount:number){\r\n this.documentCount = docsCount;\r\n }\r\n\r\n onEditDocumentMode(editModeEnable:boolean){\r\n this.editMode = editModeEnable;\r\n }\r\n\r\n onDownloadAllDocuments() {\r\n if(this.relatedTable > 0 && this.relatedID > 0) {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Utility\",\"DownloadAllDocumentsByRelatedTableAndID\",{relatedTable:this.relatedTable, relatedID: this.relatedID, \r\n filteredDocumentTypes : this.filteredDocumentTypes}).then(\r\n response =>{\r\n if(response.data.isSuccess) { \r\n fileViewerService.DownloadZipFile(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false);\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n }\r\n\r\n @Emit('onDocumentChanged') onDocumentChanged(){\r\n }\r\n\r\n @Emit('onDocumentSaved') onDocumentSaved(){\r\n }\r\n\r\n @Emit('onDocumentDeletedWithFileTypeAndId') onDocumentDeletedWithFileTypeAndId(id:number, fileType:number){\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentUploader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentUploader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DocumentUploader.vue?vue&type=template&id=72408d74&scoped=true\"\nimport script from \"./DocumentUploader.vue?vue&type=script&lang=ts\"\nexport * from \"./DocumentUploader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DocumentUploader.vue?vue&type=style&index=0&id=72408d74&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"72408d74\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelBPayAccountConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelBPayAccountConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelBPayAccountConf_OkButton\"},on:{\"click\":_vm.closeAddBPayAccountPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showAddBPayAccountPanel)?_c('div',[_c('AddEditBPayAccount',{attrs:{\"relatedID\":_vm.relatedID,\"relatedTable\":_vm.relatedTable,\"originalBPayAccount\":_vm.bpayAccount,\"isReadOnlyMode\":_vm.isReadOnlyMode},on:{\"onBPayAccountAdded\":_vm.createBPayAccount,\"onBPayAccountUpdated\":_vm.updateBPayAccount,\"onOkayToCancel\":_vm.closeAddBPayAccountPanel,\"dirtyValidatorNoSet\":_vm.dirtyValidatorNoSet}})],1):_vm._e(),(!_vm.showAddBPayAccountPanel)?_c('div',[(!_vm.modalMode && !_vm.isReadOnlyMode)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.showAddBPayAccountPanel},on:{\"click\":_vm.onAddBPayAccount}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add BPay Account\\n \")])],1)],1):_vm._e(),_c('DataTable',{ref:\"bpayAccountsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"hidePaginator\":_vm.hidePaginator,\"modalMode\":_vm.modalMode,\"selectable\":true,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No BPay account details to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteBPayAccountConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteBPayAccountConf\"},on:{\"ok\":_vm.deleteBPayAccount}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete BPay Account\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the BPay account?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteBpayAccountConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteBPayAccountConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteBpayAccountConf_OkButton\"},on:{\"click\":_vm.deleteBPayAccount}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.modalMode && !_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete BPay Account\"},on:{\"click\":function($event){_vm.showDeleteBPayAccountConfirmation = true}}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n import { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n import {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n import Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n @Component(\n {\n components: {\n Modal\n } \n }\n )\n export default class BPayAccountListActionButtons extends Vue {\n @Prop() item:any\n @Prop() modalMode:boolean\n showDeleteBPayAccountConfirmation = false;\n isStandardUser: false;\n \n created(){\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n\n deleteBPayAccount(){\n this.showDeleteBPayAccountConfirmation = false;\n this.item.isActive = false;\n this.onDeleteBPayAccount(this.item,DataTableActionTypes.Delete); \n }\n\n @Emit('customEvent') onDeleteBPayAccount(id:number,type:DataTableActionTypes){\n }\n \n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BPayAccountListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BPayAccountListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BPayAccountListActionButtons.vue?vue&type=template&id=c5201138&scoped=true\"\nimport script from \"./BPayAccountListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./BPayAccountListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BPayAccountListActionButtons.vue?vue&type=style&index=0&id=c5201138&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c5201138\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelBPayAccountConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelBPayAccountConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelBPayAccountConf_OkButton\"},on:{\"click\":_vm.closeAddBPayAccountPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":_vm.modalMode?12:8,\"lg\":_vm.modalMode?12:8}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bpayAccount.name.$error },attrs:{\"label\":\"Name\",\"label-for\":\"name\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bpayAccount.name.length == 0)},attrs:{\"id\":\"name\",\"type\":\"text\",\"placeholder\":\"Enter Name\",\"maxlength\":'24',\"required\":\"\",\"disabled\":_vm.isReadOnlyMode},on:{\"input\":function($event){return _vm.$v.bpayAccount.name.$touch()}},model:{value:(_vm.bpayAccount.name),callback:function ($$v) {_vm.$set(_vm.bpayAccount, \"name\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bpayAccount.name\"}}),(_vm.$v.bpayAccount.name.$dirty && !_vm.$v.bpayAccount.name.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bpayAccount.billerCode.$error },attrs:{\"label\":\"Biller Code\",\"label-for\":\"billercode\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bpayAccount.billerCode.length == 0)},attrs:{\"id\":\"billercode\",\"type\":\"text\",\"placeholder\":\"Enter Biller Code\",\"maxlength\":'10',\"required\":\"\",\"disabled\":_vm.isReadOnlyMode},on:{\"input\":function($event){return _vm.$v.bpayAccount.billerCode.$touch()}},model:{value:(_vm.bpayAccount.billerCode),callback:function ($$v) {_vm.$set(_vm.bpayAccount, \"billerCode\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bpayAccount.billerCode\"}}),(_vm.$v.bpayAccount.billerCode.$dirty && !_vm.$v.bpayAccount.billerCode.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Biller Code is required.\\n \")]):_vm._e(),(_vm.$v.bpayAccount.billerCode.$dirty && !_vm.$v.bpayAccount.billerCode.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Biller Code.\\n \")]):_vm._e()],1)],1)],1),_c('div',[(!_vm.isReadOnlyMode)?_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.isModelInvalid() || !_vm.isModelDirty())}},[_vm._v(\" \"+_vm._s(_vm.bpayAccount.id>0?'Update':'Save'))]):_vm._e(),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")]),(_vm.bpayAccount.id>0)?_c('b-row',{staticClass:\"ml-0 audit-text text-nowrap\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.bpayAccount.createdBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.bpayAccount.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.bpayAccount.updatedBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.bpayAccount.updatedDate))+\")\")])]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport {BPayAccount} from '@/models/bpayAccount.model';\nimport { validationMixin } from 'vuelidate'\nimport { required,numeric} from 'vuelidate/lib/validators'\nimport apiService from '@/shared/services/apiService'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n Modal\n },\n validations:{\n bpayAccount:{\n name:{\n required\n },\n billerCode:{\n required, \n numeric\n }\n }\n }\n }\n)\nexport default class AddEditBPayAccount extends Vue{\n @Prop() relatedID:number;\n @Prop() relatedTable:number;\n @Prop() originalBPayAccount:any;\n @Prop() modalMode:any;\n @Prop({default:false}) isReadOnlyMode:any;\n initialBPayAccount:BPayAccount = {\n id:0,\n name:\"\",\n billerCode:\"\",\n relatedID:this.relatedID,\n relatedTable:this.relatedTable,\n concurrencyKey:\"\",\n isActive:true,\n createdDate:\"\",\n createdBy:\"\",\n updatedDate:\"\",\n updatedBy:\"\"};\n bpayAccount:BPayAccount = Object.assign({}, this.initialBPayAccount);\n dirtyValidatorRefNo:number = 0;\n showCancelConfirmation:boolean = false;\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n \n mounted(){\n if(this.originalBPayAccount && this.originalBPayAccount.id > 0){\n this.bpayAccount = Object.assign({},this.originalBPayAccount);\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo, this.bpayAccount);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n\n onSubmit(){\n if(this.bpayAccount.id > 0){\n this.updateBPayAccount();\n }\n else{\n this.createBPayAccount();\n } \n }\n\n createBPayAccount(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('BankAccount','BPayAccount',this.bpayAccount).then(\n response => {\n if(response.data.isSuccess){\n this.bpayAccount.id = response.data.id;\n this.bpayAccount.concurrencyKey = response.data.concurrencyKey;\n this.bpayAccount.createdDate = new Date();\n this.bpayAccount.createdBy = response.data.updatedByName;\n this.bpayAccount.updatedDate = new Date();\n this.bpayAccount.updatedBy = response.data.updatedByName;\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.onBPayAccountAdded(this.bpayAccount);\n this.closeAddBPayAccountPanel();\n }\n else{\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n \n }\n );\n }\n\n updateBPayAccount(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('BankAccount','BPayAccount',this.bpayAccount).then(\n response => {\n if(response.data.isSuccess){\n this.bpayAccount.concurrencyKey = response.data.concurrencyKey;\n this.bpayAccount.updatedBy = response.data.updatedByName;\n this.bpayAccount.updatedDate = new Date();\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.onBPayAccountUpdated(this.bpayAccount);\n this.closeAddBPayAccountPanel();\n }\n );\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.showCancelConfirmation = true;\n }\n else{\n this.closeAddBPayAccountPanel();\n }\n }\n\n closeAddBPayAccountPanel(){\n this.bpayAccount = Object.assign({}, this.initialBPayAccount);\n this.showCancelConfirmation = false;\n this.$v.bpayAccount.$reset();\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.onOkayToCancel();\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n isModelInvalid()\n {\n return this.$v.bpayAccount.name.$invalid || this.$v.bpayAccount.billerCode.$invalid;\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n }\n\n @Emit('onSelectBPayAccount') onSelectBPayAccount(id:number){\n }\n\n @Emit('onBPayAccountAdded') onBPayAccountAdded(account:any){\n \n }\n\n @Emit('onBPayAccountUpdated') onBPayAccountUpdated(account:any){\n \n }\n\n @Emit('onOkayToCancel') onOkayToCancel(){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditBPayAccount.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditBPayAccount.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditBPayAccount.vue?vue&type=template&id=7c5b631f&scoped=true\"\nimport script from \"./AddEditBPayAccount.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditBPayAccount.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditBPayAccount.vue?vue&type=style&index=0&id=7c5b631f&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7c5b631f\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit,Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport {BPayAccount} from '@/models/bpayAccount.model';\nimport { validationMixin } from 'vuelidate'\nimport { required,numeric,minValue} from 'vuelidate/lib/validators'\nimport AppSettings from '@/app.config'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport BPayAccountListActionButtons from './BPayAccountListActionButtons.vue'\nimport lookupService from '@/shared/services/lookupService'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport AddEditBPayAccount from './AddEditBPayAccount.vue'\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n DataTable,\n Modal,\n AddEditBPayAccount\n },\n validations:{\n bpayAccount:{\n name:{\n required\n },\n billerCode:{\n required, \n numeric\n }\n }\n }\n }\n)\nexport default class BPayAccounts extends Vue{\n @Prop() relatedID:number;\n @Prop() relatedTable:number;\n @Prop() modalMode:boolean;\n @Prop({default:false}) isReadOnlyMode:any;\n initialBPayAccount:BPayAccount = {\n id:0,\n name:\"\",\n billerCode:\"\",\n relatedID:this.relatedID,\n relatedTable:this.relatedTable,\n concurrencyKey:\"\",\n isActive:true,\n createdDate:\"\",\n createdBy:\"\",\n updatedDate:\"\",\n updatedBy:\"\"};\n bpayAccount:BPayAccount = Object.assign({}, this.initialBPayAccount);\n items:any = [];\n showAddBPayAccountPanel:boolean = false;\n dirtyValidatorRefNo:number = 0;\n hidePaginator:boolean = true;\n fields = [\n {key: 'name', label:'Name', class: this.modalMode ? 'width_60' : 'width_15'},\n {key: 'billerCode', label:'Biller Code', class: this.modalMode ? 'width_15' : this.isReadOnlyMode ? 'width_15' : 'width_30'},\n ];\n customTemplateList:Array = [\n {slot:\"actions\",customTemplate:BPayAccountListActionButtons}\n ]\n showCancelConfirmation:boolean = false;\n bpayAccountsList:any = [];\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n\n @Watch('relatedID')\n onRelatedIDChanged(val: any, oldVal: any)\n {\n this.loadBPayAccountList(); \n }\n\n created(){\n if(this.relatedTable != RelatedTables.Company && !this.modalMode && !this.isReadOnlyMode)\n {\n this.fields.push({key: 'actions', label:'', class:'width_10 text-center'});\n }\n if(this.relatedID > 0){}\n this.loadBPayAccountList();\n }\n\n onDeleteBPayAccount(data:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"BankAccount\",\"BPayAccount\",data).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"BPay Account successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n if(this.bpayAccount.id == data.id){\n this.closeAddBPayAccountPanel();\n }\n this.loadBPayAccountList();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n ) \n }\n\n createBPayAccount(account:any){\n this.items.push(Object.assign({},account));\n this.closeAddBPayAccountPanel();\n }\n\n updateBPayAccount(account:any){\n var ba = this.getAccountById(account.id);\n var index = this.items.indexOf(ba);\n this.items[index] = account;\n var itemsCopy = Object.assign([],this.items);\n this.items = [];\n this.items = itemsCopy;\n this.closeAddBPayAccountPanel();\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.showCancelConfirmation = true;\n }\n else{\n this.closeAddBPayAccountPanel();\n }\n }\n\n closeAddBPayAccountPanel(){\n this.bpayAccount = Object.assign({}, this.initialBPayAccount);\n this.showAddBPayAccountPanel = false;\n }\n\n loadBPayAccountList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('BankAccount','BPayAccountList',{relatedTable:this.relatedTable, relatedID:this.relatedID}).then(\n response => {\n this.items = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onEditBPayAccount(data:any){\n this.bpayAccount = Object.assign({},this.getAccountById(data.id));\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.bpayAccount);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.showAddBPayAccountPanel = true;\n }\n\n getAccountById(id:number){\n var i;\n var account;\n for (i = 0; i < this.items.length; i++) { \n if(this.items[i].id == id){\n account = this.items[i];\n break;\n }\n }\n return account;\n }\n\n onAddBPayAccount(){\n this.bpayAccount = Object.assign({}, this.initialBPayAccount);\n this.showAddBPayAccountPanel = true;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.bpayAccount);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.Delete){\n this.onDeleteBPayAccount(data);\n }\n else if(type == DataTableActionTypes.RowSelect){\n this.onEditBPayAccount(data);\n }\n else if(type == DataTableActionTypes.Select){\n this.onSelectBPayAccount(data);\n }\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n }\n\n @Emit('onSelectBPayAccount') onSelectBPayAccount(id:number){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BPayAccounts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BPayAccounts.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BPayAccounts.vue?vue&type=template&id=21d71fac&scoped=true\"\nimport script from \"./BPayAccounts.vue?vue&type=script&lang=ts\"\nexport * from \"./BPayAccounts.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BPayAccounts.vue?vue&type=style&index=0&id=21d71fac&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"21d71fac\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showClientMotorVehiclesModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ClientMotorVehiclesModal\",\"minHeight\":\"10rem\",\"minWidth\":\"40rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"4\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"vehicleStatusList\",\"plain\":true,\"options\":_vm.vehicleStatusTypes},model:{value:(_vm.selectedVehicleStatusType),callback:function ($$v) {_vm.selectedVehicleStatusType=$$v},expression:\"selectedVehicleStatusType\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Statuses\")])])],2)],1),_c('b-col',{staticClass:\"text-nowrap text-center\",attrs:{\"sm\":\"5\"}},[_vm._v(\"\\n Motor Vehicles \\n \"),(_vm.showNavigateToClientLink)?_c('span',[_vm._v(\"- \\n \"),_c('span',{staticClass:\"clientNameTxt\",attrs:{\"title\":\"View Client Details\"},on:{\"click\":_vm.navigateToClient}},[_vm._v(\"\\n \"+_vm._s(_vm.clientName)+\"\\n \")])]):_vm._e()]),_c('b-col',{staticClass:\"float-right\",attrs:{\"sm\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ClientMotorVehiclesModalCancelBtn\"},on:{\"click\":_vm.onCloseMotorVehicles}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ClientMotorVehicles',{attrs:{\"relatedID\":_vm.clientID,\"relatedTable\":_vm.relatedTable,\"navigateToNewTab\":_vm.navigateToNewTab,\"selectedVehicleStatus\":_vm.selectedVehicleStatusType}})],1)]):_vm._e(),_c('b-button',{staticClass:\"cursor-pointer primary ml-2\",attrs:{\"disabled\":_vm.clientID <= 0,\"type\":\"button\",\"size\":\"md\",\"title\":\"View Motor Vehicles\"},on:{\"click\":_vm.ViewVehicle}},[_c('i',{staticClass:\"fas fa-car cursor-pointer grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import ClientMotorVehicles from '@/components/admin/clientManagement/clientMotorVehicles.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { VehicleStatuses } from '@/shared/enums/vehicleStatuses.enum';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n @Component(\n {\n components: {\n ClientMotorVehicles,\n Modal\n }\n }\n )\n export default class ClientVehicleTreeViewButton extends Vue{\n @Prop() clientID:any;\n @Prop() clientName:any;\n @Prop() showNavigateToClientLink:any;\n navigateToNewTab:boolean = false;\n showClientMotorVehiclesModal = false;\n relatedTable:RelatedTables = RelatedTables.Client;\n vehicleStatusTypes:any = [{text:'Active', value:VehicleStatuses.Active},\n {text:'Inactive', value:VehicleStatuses.Inactive}];\n selectedVehicleStatusType:VehicleStatuses = VehicleStatuses.Active;\n\n ViewVehicle(){\n this.selectedVehicleStatusType = VehicleStatuses.Active;\n this.showClientMotorVehiclesModal = true;\n }\n\n onCloseMotorVehicles(){\n this.showClientMotorVehiclesModal = false;\n }\n\n navigateToClient(){\n this.$router.push({ name: 'Edit Client', params: { id: this.clientID,topRouteDisplayName:'profile', routerDisplayName:'personal'}}); \n }\n }\n","export enum ClientCommunicationTypes{\r\n Email = 1\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientVehicleTreeViewButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientVehicleTreeViewButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientVehicleTreeViewButton.vue?vue&type=template&id=aa6dd33a&scoped=true\"\nimport script from \"./ClientVehicleTreeViewButton.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientVehicleTreeViewButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientVehicleTreeViewButton.vue?vue&type=style&index=0&id=aa6dd33a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"aa6dd33a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',[_c('b-col',{staticClass:\"pb-2 pl-3 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pb-2 pl-3 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 mr-3 pull-left status-filter-reset-button cursor-pointer\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('DataTable',{ref:\"clientCommunicationLogsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"selectable\":false,\"totalRows\":_vm.totalRows,\"emptyBanner\":\"No communication logs to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showClientEmailModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ShowClientEmailModal\",\"maxHeight\":\"80vh\",\"maxWidth\":\"90vh\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Email Details\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientEmailModalCancelBtn\"},on:{\"click\":_vm.onCloseClientEmailModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{staticClass:\"fix-overflow\",attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',{staticClass:\"ml-0 text-subject\",attrs:{\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Email Subject\",\"label-for\":\"subject\"}},[_c('b-form-textarea',{staticClass:\"textInput\",attrs:{\"id\":\"subject\",\"rows\":\"1\",\"max-rows\":\"2\",\"disabled\":\"\"},model:{value:(_vm.item.description),callback:function ($$v) {_vm.$set(_vm.item, \"description\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"item.description\"}})],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0 pb-2\",attrs:{\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('span',{staticClass:\"pb-1 total-content text-nowrap float-left\"},[_vm._v(\"Email Content\")])])],1),_c('b-card',[_c('b-card-body',{staticClass:\"text-emil-body\"},[_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.item.content)}})])],1)],1)]):_vm._e(),(_vm.item && _vm.item.content)?_c('b-btn',{staticClass:\"cursor-pointer action-btn select-client\",attrs:{\"title\":\"View Email Details\"},on:{\"click\":_vm.ViewEmail}},[_c('i',{staticClass:\"fas fa-eye transfer-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component(\n {\n components: {\n Modal\n }\n }\n)\nexport default class ClientCommunicationLogsActionButtons extends Vue{\n @Prop() item:any\n showClientEmailModal:boolean = false;\n\n ViewEmail(){\n this.showClientEmailModal = true;\n }\n\n onCloseClientEmailModal(){\n this.showClientEmailModal = false;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientCommunicationLogsActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientCommunicationLogsActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientCommunicationLogsActionButtons.vue?vue&type=template&id=8efd671a&scoped=true\"\nimport script from \"./ClientCommunicationLogsActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientCommunicationLogsActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientCommunicationLogsActionButtons.vue?vue&type=style&index=0&id=8efd671a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8efd671a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport { ClientCommunicationLogFilterParams } from '@/models/tableFilterParams.model';\r\nimport apiService from '@/shared/services/apiService';\r\nimport AppSettings from '@/app.config';\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\nimport { ClientCommunicationTypes } from '@/shared/enums/clientCommunicationTypes.enum';\r\nimport { ApexDateTimeFormat } from '@/filters/dateFilter';\r\nimport moment from 'moment';\r\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\r\nimport ClientCommunicationLogsActionButtons from './ClientCommunicationLogsActionButtons.vue';\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n ClientCommunicationLogsActionButtons\r\n }\r\n})\r\nexport default class ClientCommunicationLogs extends Vue{\r\n @Prop() relatedID:number\r\n\r\n perPage:number = AppSettings.defaultGridSize;\r\n sortBy: string = \"eventDate\";\r\n sortDesc: boolean = true;\r\n showEmptyBanner:boolean = false;\r\n totalRows:number = 0;\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n toDate:any = this.todayDateUTC;\r\n fromDate:any = moment(new Date()).add(-14,'days').toDate();\r\n disabledFromDates:any ={};\r\n disabledToDates:any ={};\r\n items:any[] = [];\r\n resetButtonDisabled:boolean = true;\r\n customTemplateList: Array = [{slot:\"actions\", customTemplate: ClientCommunicationLogsActionButtons}];\r\n\r\n fields = [\r\n { key: 'communicationType', label:\"Communication Method\", class:'width_14',\r\n formatter:(value, key, item) => {\r\n if(item.communicationType == ClientCommunicationTypes.Email){\r\n return \"Email\"\r\n } else {\r\n return \"Other\"\r\n }\r\n }},\r\n { key: 'description',label:'Short Description', class:'width_40 text-left'},\r\n { key: 'receiverAddress',label:'Recipient', class:'width_20 text-left'},\r\n { key: 'isSuccess',label:'Successfully Sent', class:'width_8 text-left',\r\n formatter:(value, key, item) => {\r\n if(item.isSuccess){\r\n return \"Yes\"\r\n } else {\r\n return \"No\"\r\n }\r\n }},\r\n { key: 'eventDate',label:'Date Sent', class:'width_17 text-right', sortable: \"true\",\r\n formatter:(value, key, item) => {\r\n return ApexDateTimeFormat(item.eventDate);\r\n }},\r\n {key: 'actions',label:\"\",class:'width_5 text-right'}\r\n ];\r\n \r\n created(){\r\n this.disabledToDates = {to:this.fromDate};\r\n this.disabledFromDates = {from:this.toDate};\r\n this.loadCommunicationLogsList(); \r\n }\r\n\r\n loadCommunicationLogsList(){\r\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\r\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\r\n this.refreshGrid({FromIndex:0, Count:this.perPage, SortBy: this.sortBy, SortDesc: this.sortDesc ,SearchByString: '', RelatedId: this.relatedID, FromDate:from, ToDate:to, Status:0});\r\n };\r\n\r\n refreshGrid(tableFilterParams:ClientCommunicationLogFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Client\",\"ClientCommunicationLogs\",tableFilterParams).then(response =>{\r\n this.items = response.data;\r\n this.totalRows = response.data.length;\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n fromDateChanged(){\r\n if(fieldValidations.isValidDate(this.fromDate)){\r\n var from = moment(this.fromDate).toDate();\r\n this.disabledToDates = {to:from};\r\n }\r\n else{\r\n this.disabledToDates = {};\r\n }\r\n this.dateChanged();\r\n }\r\n\r\n toDateChanged(){\r\n if(fieldValidations.isValidDate(this.toDate)){\r\n var to = moment(this.toDate).toDate();\r\n this.disabledFromDates = {from:to};\r\n }\r\n else{\r\n this.disabledFromDates = {};\r\n }\r\n this.dateChanged();\r\n }\r\n\r\n dateChanged(){\r\n this.resetButtonDisabled = false;\r\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\r\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\r\n this.refreshGrid({FromIndex:0, Count:this.perPage, SortBy: this.sortBy, SortDesc: this.sortDesc ,SearchByString: '', RelatedId: this.relatedID, FromDate:from, ToDate:to, Status:0});\r\n }\r\n\r\n resetFilterParams(){\r\n this.toDate = this.todayDateUTC;\r\n this.fromDate = moment(new Date()).add(-14,'days').toDate();\r\n var from = this.fromDate.getTime();\r\n var to = this.toDate.getTime();\r\n this.resetButtonDisabled = true;\r\n this.refreshGrid({FromIndex:0, Count:this.perPage, SortBy: this.sortBy, SortDesc:this.sortDesc ,SearchByString: '', RelatedId: this.relatedID, FromDate:from, ToDate:to, Status:0});\r\n }\r\n\r\n onSortingChange(ctx:any){\r\n this.sortBy = ctx.sortBy;\r\n this.sortDesc = ctx.sortDesc\r\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\r\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\r\n this.refreshGrid({FromIndex:0, Count:this.perPage, SortBy: this.sortBy, SortDesc:this.sortDesc ,SearchByString: '', RelatedId: this.relatedID, FromDate:from, ToDate:to, Status:0});\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientCommunicationLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientCommunicationLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientCommunicationLogs.vue?vue&type=template&id=ea973da4&scoped=true\"\nimport script from \"./ClientCommunicationLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientCommunicationLogs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientCommunicationLogs.vue?vue&type=style&index=0&id=ea973da4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ea973da4\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport AddEditClient from './AddEditClient.vue';\nimport BankAccounts from '@/components/admin/bankAccount/BankAccounts.vue';\nimport Addresses from '@/components/admin/address/Addresses.vue';\nimport MotorVehicleList from '@/components/admin/motorVehicleManagement/MotorVehicleList.vue';\nimport ClientApplicationList from '@/components/admin/clientManagement/ClientApplicationList.vue';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport TopTab from '@/shared/components/tabs/TopTab.vue';\nimport TopTabs from '@/shared/components/tabs/TopTabs.vue';\nimport apiService from '@/shared/services/apiService';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport PortalAccess from '@/components/admin/portalAccess/PortalAccess.vue';\nimport {SignInUserRoles} from '@/shared/enums/signInUserRoles.enum';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport BPayAccounts from '@/components/admin/bpayAccount/BPayAccounts.vue';\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\nimport ClientVehicleTreeViewButton from '@/components/admin/clientManagement/ClientVehicleTreeViewButton.vue';\nimport Filtrations from '@/shared/filtrations';\nimport ClientCommunicationLogs from './ClientCommunicationLogs.vue';\n\n@Component(\n {\n components: {\n AddEditClient,\n Tab,\n Tabs,\n TopTab,\n TopTabs,\n BankAccounts,\n MotorVehicleList,\n Addresses,\n ClientApplicationList,\n Modal,\n PortalAccess,\n Notes,\n DocumentUploader,\n BPayAccounts,\n ClientVehicleTreeViewButton,\n ClientCommunicationLogs\n }\n }\n)\nexport default class ClientDetails extends Vue{\n @Prop() IsProfileMode:any;\n @Prop() ClientId:any;\n @Prop() RouteName:any;\n\n clientId:number = 0;\n selectedTabRouteName:string = 'personal';\n selectedTopTabRouteName:string = 'profile';\n dirtyValidationRefNumbers:number[] =[0,0,0,0,0,0];\n topTabdirtyValidationRefNumbers:number[] =[0,0];\n clientName:string = \"\";\n relatedTable:RelatedTables = RelatedTables.Client;\n pendingApplicationCount:number = 0;\n dirtyValidationConfirmation:boolean = false;\n clientUserType:SignInUserRoles = SignInUserRoles.Client;\n routeName:string = \"Edit Client\";\n clientRole:number = UserRoles.Client;\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\n clientApplicationQueryData: any = {};\n\n created(){\n if (Object.keys(this.$route.query).length > 0) {\n this.clientApplicationQueryData = this.$route.query;\n }\n\n this.routeName = this.IsProfileMode? \"My Profile\" : \"Edit Client\";\n this.relatedTable = RelatedTables.Client;\n this.clientId = this.IsProfileMode? this.ClientId : (+this.$route.params.id ? +this.$route.params.id : 0);\n this.selectedTopTabRouteName = this.$route.params.topRouteDisplayName ? this.$route.params.topRouteDisplayName : this.selectedTopTabRouteName;\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n if(this.clientId > 0) {\n this.loadClientBasicDetailsByClientID() \n }\n }\n \n loadClientBasicDetailsByClientID()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.clientId}\n apiService.sendGetRequest('Client','ClientBasicDetails',params).then(response=>{ \n this.clientName = response.data.name;\n this.pendingApplicationCount = response.data.pendingApplicationCount;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n onIdUpdated(id:number){\n this.clientId = id;\n }\n\n personalTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[0] = refNo;\n this.topTabdirtyValidationRefNumbers[0] = refNo;\n }\n \n isPersonalTabDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]);\n }\n\n addressTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n this.topTabdirtyValidationRefNumbers[0] = refNo;\n }\n\n bankTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[2] = refNo;\n this.topTabdirtyValidationRefNumbers[0] = refNo;\n }\n\n portalAccessTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[4] = refNo;\n this.topTabdirtyValidationRefNumbers[0] = refNo;\n }\n \n onClientNameUpdated(name:string){\n this.clientName = name;\n }\n \n routerNavigateBack()\n {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]) || \n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[1]) || \n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[2]) ||\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[5])\n ){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.navigateBack();\n }\n }\n\n navigateBack(){\n var queryData = {};\n if(Object.keys(this.$route.query).length > 0){\n let clientFilter = this.$route.query[Filtrations.CLIENT_FILTER];\n let clientStatuses = this.$route.query[Filtrations.CLIENT_STATUSES];\n if (clientFilter) {\n queryData[Filtrations.CLIENT_FILTER] = clientFilter;\n }\n if (clientStatuses) { \n queryData[Filtrations.CLIENT_STATUSES] = clientStatuses;\n }\n }\n this.$router.push({ name: \"Clients\", query: queryData });\n }\n get applicationTabName(){\n return this.pendingApplicationCount > 0 ? \"Applications (\"+this.pendingApplicationCount+\")\":\"Applications\";\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientDetails.vue?vue&type=template&id=3376bae4&scoped=true\"\nimport script from \"./ClientDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientDetails.vue?vue&type=style&index=0&id=3376bae4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3376bae4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app\"},[_c('UserInactivityTracker'),_c('b-navbar',{staticClass:\"navBarStyles\",attrs:{\"toggleable\":\"xl\"}},[_c('b-link',{staticClass:\"navbar-brand\",attrs:{\"to\":\"/dashboard\"}},[_c('img',{staticClass:\"navbar-brand-full\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"60\",\"alt\":\"Apex Logo\"}})]),_c('b-navbar-toggle',{staticClass:\"navbar_toggle\",attrs:{\"target\":\"nav_collapse\"},on:{\"click\":_vm.onToggle}}),(_vm.toggled)?_c('b-navbar-nav',{staticClass:\"ml-auto\"},[_c('b-nav-form',[(_vm.standardMenuEnabled)?_c('DefaultAddNewButton',{on:{\"onAddFinanceApplication\":_vm.onAddApplicationClick}}):_vm._e(),(_vm.standardMenuEnabled)?_c('b-button',{staticClass:\"search-button\",attrs:{\"title\":\"Search Client, Vehicle, Lease Details\"},on:{\"click\":_vm.onShowSelectClientPopupClick}},[_c('i',{staticClass:\"fas fa-search search-button-icon\"})]):_vm._e()],1)],1):_vm._e(),_c('b-collapse',{attrs:{\"is-nav\":\"\",\"id\":\"nav_collapse\"}},[_c('b-navbar-nav',[(_vm.standardMenuEnabled)?_c('b-nav-item-dropdown',{staticClass:\"px-3\",attrs:{\"extra-toggle-classes\":\"nav-link-custom\",\"text\":\"Contacts\",\"offset\":\"50\",\"id\":\"contactsBtn\"}},[_c('b-dropdown-item',{attrs:{\"to\":\"/clients\",\"id\":\"clientsDropDwnBtn\"}},[_vm._v(\"Clients\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/employers\",\"id\":\"employersDropDownBtn\"}},[_vm._v(\"Employers\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/financiers\",\"id\":\"financiersDropDownBtn\"}},[_vm._v(\"Financiers\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/suppliers\",\"id\":\"suppliersDropDownBtn\"}},[_vm._v(\"Suppliers\")])],1):_vm._e(),(_vm.standardMenuEnabled)?_c('b-nav-item-dropdown',{staticClass:\"px-3\",attrs:{\"extra-toggle-classes\":\"nav-link-custom\",\"text\":\"Financials\",\"offset\":\"50\",\"id\":\"financialsBtn\"}},[_c('b-dropdown-item',{attrs:{\"to\":\"/bankRecAndBankFile/bankTransactions\",\"id\":\"bankRecDrowpdownBtn\"}},[_vm._v(\"Bank Reconciliation\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/eftDetails/generate\",\"id\":\"efttransactionsDrowpdownBtn\"}},[_vm._v(\"Generate Payment File\")])],1):_vm._e(),(_vm.standardMenuEnabled)?_c('b-nav-item-dropdown',{staticClass:\"px-3\",attrs:{\"extra-toggle-classes\":\"nav-link-custom\",\"text\":\"Expense Claims\",\"offset\":\"50\",\"id\":\"expenseClaimsBtn\"}},[_c('b-dropdown-item',{attrs:{\"id\":\"addRecurringScheduledPaymentDropDwnBtn\"},on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = true;}}},[_vm._v(\"Add Recurring Scheduled Payment\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/expenseClaims/submit/reimbursement\",\"id\":\"submitReimbursementExpenseClaimDropDwnBtn\"}},[_vm._v(\" Submit Reimbursement Claim\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/expenseClaims/submit/bill\",\"id\":\"submitBillExpenseClaimDropDwnBtn\"}},[_vm._v(\"Submit Bill for Payment\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/expenseClaims/reviewExpenseClaims\",\"id\":\"reviewexpenseClaimsDropDwnBtn\"}},[_vm._v(\" Review Expense Claims\")])],1):_vm._e(),(_vm.standardMenuEnabled)?_c('b-nav-item-dropdown',{staticClass:\"px-3\",attrs:{\"extra-toggle-classes\":\"nav-link-custom\",\"text\":\"Applications\",\"offset\":\"50\",\"id\":\"applicationsBtn\"}},[_c('b-dropdown-item',{attrs:{\"to\":\"/applications/financeApplication/summary\",\"id\":\"financeApplicationDropDwnBtn\"}},[_vm._v(\"Submitted Finance Application\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/applications/clientFinanceApplication/summary\",\"id\":\"clientFinanceApplicationDropDwnBtn\"}},[_vm._v(\"Pending Finance Application\")])],1):_vm._e(),(_vm.isSystemAdmin)?_c('b-nav-item',{staticClass:\"px-3\",attrs:{\"to\":\"/tenants\"}},[_vm._v(\"Tenants\")]):_vm._e(),(_vm.standardMenuEnabled)?_c('b-nav-item-dropdown',{staticClass:\"px-3\",attrs:{\"extra-toggle-classes\":\"nav-link-custom\",\"text\":\"Reports\",\"offset\":\"50\",\"id\":\"reportsBtn\"}},[_c('b-dropdown-item',{attrs:{\"to\":\"/reports/activityStatement/summary\",\"id\":\"activityStatementDropDwnBtn\"}},[_vm._v(\" Activity Statement \")]),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/RCTIInvoices\",\"id\":\"RCTIInvoiceDropDwnBtn\"}},[_vm._v(\" RCTI Invoice \")]),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/ledgerbalance\",\"id\":\"LedgerBalanceDropDwnBtn\"}},[_vm._v(\"Related Entity Ledger Balance\")]),(_vm.isTenantAdmin)?_c('b-dropdown-item',{attrs:{\"to\":\"/companydetails/gstLedger\",\"id\":\"CompanyGSTLedgerDropDwnBtn\"}},[_vm._v(\"Company GST Ledger \")]):_vm._e(),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/unallocatedTransactions\",\"id\":\"UnAllocatedNovationTransactionsDropDwnBtn\"}},[_vm._v(\"Unallocated Ledger Transactions \")]),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/entitiesWithoutInvoices\",\"id\":\"EntitiesWithoutInvoicesDropDwnBtn\"}},[_vm._v(\"Entities without Invoices\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/entitiesWithOutstandingBalance\",\"id\":\"EntitiesWithOutstandingBalanceDropDwnBtn\"}},[_vm._v(\"Entities with Outstanding Balance\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/entitiesWithoutServiceAgreement\",\"id\":\"EntitiesWithOutServiceAgreementDropDwnBtn\"}},[_vm._v(\"Entities without Service Agreement\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/residualDue\",\"id\":\"ResidualDueDropDwnBtn\"}},[_vm._v(\"Residual Due Leases \")]),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/entitiesWithoutAdminFee\",\"id\":\"EntitiesWithoutAdminFeeDropDwnBtn\"}},[_vm._v(\"Active Lease and Novation with no Admin Fee\")]),_c('b-dropdown-item',{attrs:{\"to\":\"/reports/novationsExceedingFourFBTYears\",\"id\":\"novationsExceedingFourFBTYears\"}},[_vm._v(\"Novations Exceeding Four FBT Years\")])],1):_vm._e(),(_vm.settingsMenuEnabled)?_c('b-nav-item-dropdown',{staticClass:\"px-3\",attrs:{\"extra-toggle-classes\":\"nav-link-custom\",\"text\":\"Settings\",\"offset\":\"50\",\"id\":\"settingsBtn\"}},[_c('b-dropdown-item',{attrs:{\"to\":\"/users\",\"id\":\"usersDropDwnBtn\"}},[_vm._v(\" Users\")]),(_vm.isTenantAdmin)?_c('b-dropdown-item',{attrs:{\"to\":\"/settings/theme\",\"id\":\"themeDropDownBtn\"}},[_vm._v(\" Themes\")]):_vm._e(),(_vm.isTenantAdmin)?_c('b-dropdown-item',{attrs:{\"to\":\"/settings/schedules\",\"id\":\"schedulesDropDownBtn\"}},[_vm._v(\" Schedules\")]):_vm._e(),(_vm.isTenantAdmin)?_c('b-dropdown-item',{attrs:{\"to\":\"/companydetails/details\",\"id\":\"companyDetailsDropDwnBtn\"}},[_vm._v(\"Company Details\")]):_vm._e(),(_vm.isSystemAdmin)?_c('b-dropdown-item',{attrs:{\"to\":\"/fbtRates\",\"id\":\"fbtRatesDropDwnBtn\"}},[_vm._v(\"Fringe Benefits Tax Rates\")]):_vm._e(),(_vm.isSystemAdmin)?_c('b-dropdown-item',{attrs:{\"to\":\"/settings/systemValues\",\"id\":\"themeDropDownBtn\"}},[_vm._v(\" System Values\")]):_vm._e(),(_vm.isTenantAdmin)?_c('b-dropdown-item',{attrs:{\"to\":\"/settings/uploadReportTemplates\",\"id\":\"uploadReportTemplateDropDownBtn\"}},[_vm._v(\" Upload Report Templates\")]):_vm._e(),(_vm.isTenantAdmin)?_c('b-dropdown-item',{attrs:{\"to\":\"/settings/remittanceAdvice\",\"id\":\"remittanceAdviceDropDownBtn\"}},[_vm._v(\" Remittance Advice\")]):_vm._e()],1):_vm._e()],1),_c('b-navbar-nav',{staticClass:\"header_dropdown_1\"},[_c('DefaultHeaderDropdownAccnt')],1)],1),(!_vm.toggled)?_c('b-navbar-nav',{staticClass:\"ml-auto\"},[_c('b-nav-form',[(_vm.standardMenuEnabled)?_c('DefaultAddNewButton',{on:{\"onAddApplication\":_vm.onAddApplicationClick}}):_vm._e(),(_vm.standardMenuEnabled)?_c('b-button',{staticClass:\"search-button\",attrs:{\"title\":\"Search Client, Vehicle, Lease Details\"},on:{\"click\":_vm.onShowSelectClientPopupClick}},[_c('i',{staticClass:\"fas fa-search search-button-icon\"})]):_vm._e()],1)],1):_vm._e(),_c('b-navbar-nav',{staticClass:\"header_dropdown_2\"},[_c('DefaultHeaderDropdownAccnt')],1)],1),_c('div',{staticClass:\"app-body\",class:[(this.$route.name != 'Dashboard') ? '' : 'dashboard-body']},[_c('main',{staticClass:\"main remove-ml\"},[_c('div',{class:[(this.$route.name != 'Dashboard') ? 'container' : _vm.isClient ? 'client-dashboard-container' : 'admin-dashboard-container']},[_c('notifications',{attrs:{\"group\":\"growlNotification\",\"position\":\"top center\"}}),_c('BusyIndicator'),_c('router-view',{key:_vm.$route.path})],1)])]),(_vm.showSelectClientPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"1890px\",\"minHeight\":\"900px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select \"+_vm._s(_vm.getSelectedGlobalSearchTypeText())+\"\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":_vm.closeSelectClientPopup}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"ledger-select-modal-body\"},[_c('b-row',{staticClass:\"pl-3\"},[_c('b-col',{staticClass:\"ml-0 pl-0 pb-2\",attrs:{\"sm\":\"12\",\"md\":\"4\",\"lg\":\"8\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput ledger-filter selectListHeight\",attrs:{\"id\":\"ledgerTypeSelectList\",\"plain\":true,\"options\":_vm.globalSearchTypes,\"required\":\"\"},model:{value:(_vm.selectedGlobalSearchType),callback:function ($$v) {_vm.selectedGlobalSearchType=$$v},expression:\"selectedGlobalSearchType\"}})],1)],1),_c('b-card',[(_vm.selectedGlobalSearchType == _vm.relatedTable.Client)?_c('ClientsList',{attrs:{\"viewMode\":_vm.modalModeClientListView},on:{\"onSelectClient\":_vm.onClientSelect}}):_vm._e(),(_vm.selectedGlobalSearchType == _vm.relatedTable.Vehicle)?_c('MotorVehicleSearchList'):_vm._e(),(_vm.selectedGlobalSearchType == _vm.relatedTable.VehicleLease)?_c('VehicleLeaseSearchList'):_vm._e()],1)],1)])]):_vm._e(),(_vm.showRecurringScheduledPaymentPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"recurringScheduledPaymentModalId\",\"maxWidth\":\"1890px\",\"minHeight\":\"85vh\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Add Recurring Scheduled Payment\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"recurringScheduledPaymentModal_CloseButton\"},on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddRecurringScheduledPayment',{on:{\"onCloseModal\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"recurringScheduledPaymentModal_CloseButton\"},on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),_c('CFooter',{staticClass:\"primary\"},[_c('div',{staticClass:\"text-center\"},[_c('strong',[_vm._v(\"Apex\")]),_c('span',[_vm._v(\" © \"+_vm._s(this.$store.getters.getWebSiteVersion)+\" All Rights Reserved.\")])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"3\"}},[_c('b-form-group',{attrs:{\"rm-group\":\"\",\"label\":\"\",\"label-for\":\"vehicleStatusSelect\"}},[_c('multiselect',{ref:\"multiselect\",staticClass:\"vehicleStatusMultiselect\",attrs:{\"id\":\"vehicleStatusSelect\",\"options\":_vm.vehicleStatusList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onVehicleStatusChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(\"\\n \"+_vm._s(_vm.vehicleStatusList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Status\" : \"Statuses\")+\" \\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedVehicleStatus.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedVehicleStatusFilterList),callback:function ($$v) {_vm.selectedVehicleStatusFilterList=$$v},expression:\"selectedVehicleStatusFilterList\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No type found.\")])],2)],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Rest All Filtrations'},on:{\"click\":function($event){return _vm.resetFiltrations()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('DataTable',{ref:\"vehiclesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"selectable\":true,\"select-mode\":_vm.selectMode,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No matching vehicle record found. Try searching with more statuses.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showClientMotorVehiclesModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ClientMotorVehiclesModal\",\"minHeight\":\"10rem\",\"minWidth\":\"40rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},on:{\"click\":_vm.OnStopClickPropagation},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"4\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"vehicleStatusList\",\"plain\":true,\"options\":_vm.vehicleStatusTypes},model:{value:(_vm.selectedVehicleStatusType),callback:function ($$v) {_vm.selectedVehicleStatusType=$$v},expression:\"selectedVehicleStatusType\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Statuses\")])])],2)],1),_c('b-col',{staticClass:\"text-nowrap text-center\",attrs:{\"sm\":\"5\"}},[_vm._v(\"\\n Motor Vehicles \\n \"),_c('span',[_vm._v(\"- \\n \"),_c('span',{staticClass:\"clientNameTxt\",attrs:{\"title\":\"View Client Details\"},on:{\"click\":_vm.navigateToClient}},[_vm._v(\"\\n \"+_vm._s(_vm.item.clientShortName)+\"\\n \")])])]),_c('b-col',{staticClass:\"float-right\",attrs:{\"sm\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ClientMotorVehiclesModalCancelBtn\"},on:{\"click\":_vm.onCloseMotorVehicles}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},on:{\"click\":_vm.OnStopClickPropagation},slot:\"modal-body\"},[_c('ClientMotorVehicles',{attrs:{\"relatedID\":_vm.item.clientId,\"relatedTable\":_vm.relatedTable,\"navigateToNewTab\":_vm.navigateToNewTab,\"selectedVehicleStatus\":_vm.selectedVehicleStatusType}})],1)]):_vm._e(),(_vm.item.isActiveClient)?_c('b-button',{staticClass:\"cursor-pointer action-btn\",attrs:{\"disabled\":_vm.item.clientId <= 0,\"type\":\"button\",\"size\":\"md\",\"title\":\"View Ledger\"},on:{\"click\":_vm.ViewVehicle}},[_c('i',{staticClass:\"fas fa-eye cursor-pointer grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n import ClientMotorVehicles from '@/components/admin/clientManagement/clientMotorVehicles.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { VehicleStatuses } from '@/shared/enums/vehicleStatuses.enum';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n @Component({\n components: {\n Modal,\n ClientMotorVehicles\n }\n })\n export default class MotorVehiclesSearchActionButtons extends Vue{\n @Prop() item:any;\n navigateToNewTab:boolean = true;\n showClientMotorVehiclesModal = false;\n relatedTable:RelatedTables = RelatedTables.Client;\n vehicleStatusTypes:any = [{text:'Active', value:VehicleStatuses.Active},\n {text:'Inactive', value:VehicleStatuses.Inactive}];\n selectedVehicleStatusType:VehicleStatuses = VehicleStatuses.Active;\n \n ViewVehicle(){\n this.selectedVehicleStatusType = VehicleStatuses.Active;\n this.showClientMotorVehiclesModal = true;\n }\n\n onCloseMotorVehicles(){\n this.showClientMotorVehiclesModal = false;\n }\n\n navigateToClient(){\n let routeData = this.$router.resolve({ name: 'Edit Client', params: { id: this.item.clientId, topRouteDisplayName:'profile', routerDisplayName:'personal'}}); \n window.open(routeData.href, '_blank');\n }\n\n OnStopClickPropagation(event){\n event.stopPropagation();\n }\n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehiclesSearchActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehiclesSearchActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehiclesSearchActionButtons.vue?vue&type=template&id=48a08c98&scoped=true\"\nimport script from \"./MotorVehiclesSearchActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehiclesSearchActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehiclesSearchActionButtons.vue?vue&type=style&index=0&id=48a08c98&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"48a08c98\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport MotorVehiclesSearchActionButtons from '@/components/admin/motorVehicleManagement/MotorVehiclesSearchActionButtons.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {VehicleStatusMultiSelectFilterParams} from '@/models/tableFilterParams.model';\nimport lookupService from '@/shared/services/lookupService';\nimport {VehicleStatuses} from '@/shared/enums/vehicleStatuses.enum';\n\n@Component\n(\n {\n components: {\n DataTable,\n MotorVehiclesSearchActionButtons,\n FilterTextInput\n }\n }\n)\nexport default class MotorVehicleSearchList extends Vue{\n items:any = [];\n fields = [\n {key: 'mvrn',label:'MVRN', class:'width_10'},\n {key: 'make',class:'width_10'},\n {key: 'model',class:'width_10'},\n {key: 'year',class:'width_10'},\n {key: 'plateNumber', label: 'Plate #', class:'width_15'},\n {key: 'vehicleIDNumber', label: 'VIN',class:'width_15'},\n {key: 'clientName', label: 'Client',sortable:'true',class:'width_25'},\n {key: 'actions',label:\"\",class:'text-center width_5'} \n ];\n customTemplateList:Array = [{slot:\"actions\",customTemplate:MotorVehiclesSearchActionButtons}]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"mVRN\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = false;\n selectMode = \"single\";\n isPanelOpen:boolean = false;\n selectedVehicleStatusFilterIdList: any = \"\";\n resetButtonDisabled:boolean = true;\n selectedVehicleStatusFilterList: any[] = [];\n vehicleStatusList:any = [];\n\n created(){\n this.loadVehicleStatuses();\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedVehicleStatusFilterList: this.selectedVehicleStatusFilterIdList});\n }\n\n onSortingChange(ctx:any){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedVehicleStatusFilterList: this.selectedVehicleStatusFilterIdList});\n }\n\n refreshGrid(vehicleStatusMultiSelectFilterParams:VehicleStatusMultiSelectFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Vehicle\",\"MotorVehicleSearchList\",vehicleStatusMultiSelectFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n resetFiltrations() {\n this.filter = '';\n this.resetTable();\n this.selectedVehicleStatusFilterList = this.vehicleStatusList;\n this.selectedVehicleStatusFilterIdList = this.selectedVehicleStatusFilterList.map(type => type.value).toString();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedVehicleStatusFilterList: this.selectedVehicleStatusFilterIdList});\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.vehiclesTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.vehiclesTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onViewVehicle(data);\n }\n }\n \n onViewVehicle(data:any){\n let routeData = this.$router.resolve({name:'Edit Vehicle', params:{ vehicleID: data.id,topRouteDisplayName:'vehicles', routerDisplayName:'details'}});\n window.open(routeData.href, '_self');\n }\n\n filterGrid(filterString:string){\n this.filter = filterString;\n this.resetButtonDisabled = false;\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedVehicleStatusFilterList: this.selectedVehicleStatusFilterIdList});\n }\n\n resetTable(){\n this.sortBy = \"mVRN\";\n (this.$refs.vehiclesTable as DataTable).reset();\n }\n \n loadVehicleStatuses(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleStatusList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleStatusList = data.filter(f => f.value != VehicleStatuses.Deleted);\n this.selectedVehicleStatusFilterList = data.filter(f => f.value != VehicleStatuses.Deleted);\n this.selectedVehicleStatusFilterIdList = this.selectedVehicleStatusFilterList.map(type => type.value).toString();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,selectedVehicleStatusFilterList: this.selectedVehicleStatusFilterIdList});\n }); \n }\n\n removeSelectedVehicleStatus(){\n this.selectedVehicleStatusFilterList = [];\n this.selectedVehicleStatusFilterIdList = [0];\n this.resetButtonDisabled = false; \n if(!this.isPanelOpen){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedVehicleStatusFilterList: this.selectedVehicleStatusFilterIdList});\n }\n }\n\n onVehicleStatusChanged(){\n this.isPanelOpen = false;\n this.selectedVehicleStatusFilterIdList = this.selectedVehicleStatusFilterList.map(type => type.value).toString();\n this.resetButtonDisabled = false; \n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedVehicleStatusFilterList: this.selectedVehicleStatusFilterIdList});\n }\n}\n","export enum VehicleLeaseTypes\r\n{\r\n NovatedFullyMaintained = 1,\r\n MadeAvailable = 2,\r\n RunningCostOnly = 3\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleSearchList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleSearchList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleSearchList.vue?vue&type=template&id=faf6ec82\"\nimport script from \"./MotorVehicleSearchList.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleSearchList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehicleSearchList.vue?vue&type=style&index=0&id=faf6ec82&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 \",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"8\",\"md\":\"3\",\"lg\":\"3\"}},[_c('b-form-group',{attrs:{\"rm-group\":\"\",\"label\":\"\",\"label-for\":\"vehicleLeaseTypeSelect\"}},[_c('multiselect',{ref:\"multiselect\",staticClass:\"leaseTypeMultiselect\",attrs:{\"id\":\"vehicleLeaseTypeSelect\",\"options\":_vm.mvLeaseTypes,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onLeaseTypeChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(\"\\n \"+_vm._s(_vm.mvLeaseTypes.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Type\" : \"Types\")+\" \\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedLeaseType.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedLeaseTypesFilterList),callback:function ($$v) {_vm.selectedLeaseTypesFilterList=$$v},expression:\"selectedLeaseTypesFilterList\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No type found.\")])],2)],1)],1),_c('b-col',{staticClass:\"pb-2 pl-1 date-filter\",attrs:{\"sm\":\"8\",\"md\":\"3\",\"lg\":\"3\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Start Date',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 date-filter\",attrs:{\"sm\":\"8\",\"md\":\"3\",\"lg\":\"3\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'End Date',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"8\",\"md\":\"1\",\"lg\":\"1\"}},[_c('b-button',{staticClass:\"mb-3 pull-left filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Rest All Filtrations'},on:{\"click\":function($event){return _vm.resetFiltrations()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('DataTable',{ref:\"vehicleLeasesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"selectable\":true,\"select-mode\":_vm.selectMode,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No matching lease record found. Try searching with more statuses.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport MotorVehiclesSearchActionButtons from '@/components/admin/motorVehicleManagement/MotorVehiclesSearchActionButtons.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {VehicleLeaseSearchTableFilterParams} from '@/models/tableFilterParams.model';\nimport moment from 'moment';\nimport lookupService from '@/shared/services/lookupService';\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\nimport fieldValidations from '@/shared/services/fieldValidationService';\n\n@Component\n(\n {\n components: {\n DataTable,\n MotorVehiclesSearchActionButtons,\n FilterTextInput\n }\n }\n)\nexport default class VehicleLeaseSearchList extends Vue{\n items:any = [];\n fields = [\n {\n key: 'accountNumber',\n label:'Account #',\n class:'width_10'\n },\n {\n key: 'type', \n label:\"Type\",\n class:'width_10',\n formatter: (value, key, item) => {\n return this.getTypeName(item.type)\n }\n },\n {\n key: 'financier', \n label:\"Financier\",\n class:'width_20',\n formatter: (value, key, item) => {\n return this.getFinancierName(item)\n }\n },\n {\n key: 'leaseStartDate', \n label:\"Start Date\",\n class:'width_15',\n formatter: (value, key, item) => {\n return moment(item.leaseStartDate).format(\"DD MMM YYYY\")\n }\n },\n {\n key: 'leaseEndDate', \n label:\"End Date\",\n class:'width_15',\n formatter: (value, key, item) => {\n if(item.leaseEndDate == null) { return '';}\n return moment(item.leaseEndDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'clientName',sortable:'true',label:\"Client\",class:'text-center width_10'}, \n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n customTemplateList:Array = [{slot:\"actions\",customTemplate:MotorVehiclesSearchActionButtons}]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"id\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = false;\n selectMode = \"single\";\n isPanelOpen:boolean = false;\n selectedVehicleStatusFilterIdList: any = \"\";\n resetButtonDisabled:boolean = true;\n financiers:any = [];\n mvLeaseTypes:any = [];\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n fromDate:any = null;\n toDate:any = null;\n disabledFromDates:any ={};\n disabledToDates:any ={};\n selectedLeaseTypesFilterList: any[] = [];\n selectedLeaseTypesFilterIdList: any;\n\n created(){\n this.loadLeaseTypes();\n this.loadFinanciers();\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,FromDate:from,ToDate:to, selectedLeaseTypesFilterList: this.selectedLeaseTypesFilterIdList});\n }\n\n onSortingChange(ctx:any){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,FromDate:from,ToDate:to, selectedLeaseTypesFilterList: this.selectedLeaseTypesFilterIdList});\n }\n\n loadLeaseTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetLeaseTypesList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.mvLeaseTypes = data;\n this.selectedLeaseTypesFilterList = data;\n this.selectedLeaseTypesFilterIdList = this.selectedLeaseTypesFilterList.map(type => type.value).toString();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,FromDate:this.fromDate,ToDate:this.toDate, selectedLeaseTypesFilterList: this.selectedLeaseTypesFilterIdList});\n });\n }\n\n\n removeSelectedLeaseType() {\n this.selectedLeaseTypesFilterList = [];\n this.selectedLeaseTypesFilterIdList = [0];\n this.resetButtonDisabled = false; \n if(!this.isPanelOpen){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,FromDate:this.fromDate,ToDate:this.toDate, selectedLeaseTypesFilterList: this.selectedLeaseTypesFilterIdList});\n }\n }\n\n onLeaseTypeChanged(){\n this.isPanelOpen = false;\n this.selectedLeaseTypesFilterIdList = this.selectedLeaseTypesFilterList.map(type => type.value).toString();\n this.resetButtonDisabled = false; \n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,FromDate:this.fromDate,ToDate:this.toDate, selectedLeaseTypesFilterList: this.selectedLeaseTypesFilterIdList});\n }\n\n loadFinanciers(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetFinanciersList(false).then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.financiers = data;\n });\n }\n\n getTypeName(type:number){\n var name = \"\";\n this.mvLeaseTypes.forEach(element => {\n if(element.value == type){\n name = element.text;\n }\n });\n return name;\n }\n\n getFinancierName(item:any){\n var name = \"\";\n if (item.type == VehicleLeaseTypes.NovatedFullyMaintained){\n this.financiers.forEach(element => {\n if(element.value == item.financier){\n name = element.text;\n }\n });\n }\n\n return name;\n }\n\n refreshGrid(vehicleStatusMultiSelectFilterParams:VehicleLeaseSearchTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Lease\",\"VehicleLeaseSearchList\",vehicleStatusMultiSelectFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n dateChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.resetButtonDisabled = false; \n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,FromDate:from,ToDate:to, selectedLeaseTypesFilterList: this.selectedLeaseTypesFilterIdList});\n }\n\n fromDateChanged(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n this.dateChanged();\n }\n\n toDateChanged(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n this.dateChanged();\n }\n\n resetFiltrations() {\n this.filter = '';\n this.fromDate = null;\n this.toDate = null;\n this.resetTable();\n this.selectedLeaseTypesFilterList = this.mvLeaseTypes;\n this.selectedLeaseTypesFilterIdList = this.selectedLeaseTypesFilterList.map(type => type.value).toString();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,FromDate:this.fromDate,ToDate:this.toDate, selectedLeaseTypesFilterList: this.selectedLeaseTypesFilterIdList});\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.vehicleLeasesTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.vehicleLeasesTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onViewVehicleLease(data);\n }\n }\n \n onViewVehicleLease(data:any){\n let routeData = this.$router.resolve({name:'Edit Lease',params:{leaseID: data.id, topRouteDisplayName:'leasetypes', routerDisplayName:'details'}});\n window.open(routeData.href, '_self');\n }\n\n filterGrid(filterString:string){\n this.filter = filterString;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.resetButtonDisabled = false;\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0,FromDate:from,ToDate:to, selectedLeaseTypesFilterList: this.selectedLeaseTypesFilterIdList});\n }\n\n resetTable(){\n this.sortBy = \"id\";\n (this.$refs.vehicleLeasesTable as DataTable).reset();\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseSearchList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseSearchList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleLeaseSearchList.vue?vue&type=template&id=0d4447e2\"\nimport script from \"./VehicleLeaseSearchList.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleLeaseSearchList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleLeaseSearchList.vue?vue&type=style&index=0&id=0d4447e2&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showUserInactivityWarning)?_c('Modal',{staticClass:\"userInactivityWarning\",attrs:{\"centered\":\"\",\"id\":\"showUserInactivityWarning\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Session Timeout \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Your session is about to expire. You will be logged out in \"),_c('b',[_vm._v(_vm._s(_vm.remainingSecondsToLogOut))]),_vm._v(\" seconds.\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"UserInactivityWarning_LogOutButton\"},on:{\"click\":function($event){return _vm.onClickLogout()}}},[_vm._v(\"\\n Log Out\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"UserInactivityWarning_ContinueSessionButton\"},on:{\"click\":_vm.continueSession}},[_vm._v(\"\\n Continue Session\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","class AuthService {\r\n logout(store, router){\r\n store.dispatch('storeIsBusyValue',true);\r\n store.dispatch('destroyToken')\r\n .then(response => {\r\n store.dispatch('removeToken');\r\n store.dispatch('storeIsBusyValue',false);\r\n store.dispatch('changeProfilePicUrl','');\r\n router.push({path: '/auth/login'});\r\n localStorage.setItem(\"loggedInUserName\",\"\");\r\n localStorage.setItem(\"loggedInUserId\",\"\");\r\n localStorage.setItem(\"profilePicUrl\",\"\");\r\n localStorage.setItem(\"apex-web-app-version\",\"\");\r\n localStorage.setItem(\"currentTab\",\"\");\r\n })\r\n }\r\n}\r\n\r\nconst authService = new AuthService();\r\nexport default authService;","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport apiService from '@/shared/services/apiService';\r\nimport AuthService from '@/shared/services/authService'\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component({\r\n components: {\r\n Modal\r\n }\r\n})\r\nexport default class UserInactivityTracker extends Vue {\r\n events: any[] = ['click', 'mousemove', 'mousedown', 'scroll', 'keypress', 'load'];\r\n warningTimer: any = null;\r\n logoutInterval: any = null;\r\n showUserInactivityWarning: boolean = false;\r\n userInactivitySessionExpirationMinutes: number = 0;\r\n secondsToLogOut: number = 15;\r\n remainingSecondsToLogOut: number = 0;\r\n currentTab: string = null;\r\n windowFocusEvent: string = \"focus\";\r\n windowBeforeUnloadEvent: string = \"beforeunload\";\r\n\r\n created(){\r\n this.currentTab = this.generateTabId();\r\n localStorage.setItem('currentTab', this.currentTab);\r\n this.getUserInactivitySessionExpirationMinutes();\r\n }\r\n\r\n getUserInactivitySessionExpirationMinutes(){\r\n apiService.sendGetRequest('Utility', 'UserInactivitySessionExpirationMinutes').then(response => {\r\n this.userInactivitySessionExpirationMinutes = response.data;\r\n this.initialize();\r\n })\r\n }\r\n\r\n initialize(){\r\n this.events.forEach((e) => {\r\n window.addEventListener(e, this.resetWarningTimer);\r\n })\r\n window.addEventListener(this.windowFocusEvent, this.setCurrentTab);\r\n window.addEventListener(this.windowBeforeUnloadEvent, this.resetCurrentTab);\r\n this.remainingSecondsToLogOut = this.secondsToLogOut;\r\n this.setWarningTimer();\r\n }\r\n\r\n resetCurrentTab(e){\r\n e.preventDefault();\r\n localStorage.setItem('currentTab', \"\");\r\n }\r\n\r\n setCurrentTab(){\r\n localStorage.setItem('currentTab', this.currentTab);\r\n this.resetWarningTimer();\r\n }\r\n\r\n generateTabId(){\r\n return 'apexnovated_' + new Date().getTime().toString() + Math.floor(Math.random() * 1000);\r\n }\r\n\r\n setWarningTimer(){\r\n this.warningTimer = setTimeout(() => {\r\n if (localStorage.getItem('currentTab') == this.currentTab || localStorage.getItem('currentTab') == \"\"){\r\n this.showUserInactivityWarning = true;\r\n this.setLogoutTimer();\r\n } else {\r\n this.resetWarningTimer();\r\n }\r\n }, this.userInactivitySessionExpirationMinutes * 60 * 1000);\r\n }\r\n\r\n setLogoutTimer(){\r\n this.logoutInterval = setInterval(() => {\r\n this.remainingSecondsToLogOut--;\r\n if (this.remainingSecondsToLogOut == 0){\r\n this.onClickLogout();\r\n }\r\n }, 1000)\r\n }\r\n\r\n resetWarningTimer(){\r\n if (!this.showUserInactivityWarning){\r\n clearTimeout(this.warningTimer);\r\n this.setWarningTimer();\r\n }\r\n }\r\n\r\n continueSession(){\r\n this.showUserInactivityWarning = false;\r\n clearInterval(this.logoutInterval);\r\n this.remainingSecondsToLogOut = this.secondsToLogOut;\r\n }\r\n\r\n onClickLogout(){\r\n this.showUserInactivityWarning = false;\r\n clearInterval(this.logoutInterval);\r\n this.remainingSecondsToLogOut = this.secondsToLogOut;\r\n AuthService.logout(this.$store, this.$router);\r\n }\r\n\r\n destroyed(){\r\n this.events.forEach((e) => {\r\n window.removeEventListener(e, this.resetWarningTimer);\r\n })\r\n window.removeEventListener(this.windowFocusEvent, this.setCurrentTab)\r\n window.removeEventListener(this.windowBeforeUnloadEvent, this.resetCurrentTab);\r\n clearInterval(this.logoutInterval);\r\n clearTimeout(this.warningTimer);\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserInactivityTracker.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserInactivityTracker.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UserInactivityTracker.vue?vue&type=template&id=0739b7d2&scoped=true\"\nimport script from \"./UserInactivityTracker.vue?vue&type=script&lang=ts\"\nexport * from \"./UserInactivityTracker.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UserInactivityTracker.vue?vue&type=style&index=0&id=0739b7d2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0739b7d2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:{'busy-indicator-container': true, 'busy':this.$store.getters.getIsBusy},attrs:{\"id\":\"apploading\"}},[_c('div',{staticClass:\"busy-indicator-overlay\"}),_c('div',{staticClass:\"busy-indicator\",attrs:{\"id\":\"divBusyindicator\"}},[_c('orbit-spinner',{attrs:{\"animation-duration\":1200,\"size\":100,\"color\":this.$store.getters.getBaseColorCode}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport OrbitSpinner from 'epic-spinners/src/components/lib/OrbitSpinner.vue'\n@Component(\n {\n components: {\n OrbitSpinner\n }\n }\n)\nexport default class BusyIndicator extends Vue{\n spinnerColor:string = '#1db959';\n created(){\n this.spinnerColor = this.$store.getters.getBaseColorCode;\n }\n}\n","export enum AddNavigationTypes {\r\n Client = 1,\r\n Employer = 2,\r\n Financier = 3,\r\n Supplier = 4,\r\n Payment = 5,\r\n BankFile = 6,\r\n Reimbursement = 7,\r\n Bill = 8,\r\n FinanceApplication = 9,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BusyIndicator.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BusyIndicator.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BusyIndicator.vue?vue&type=template&id=23c84b56&scoped=true\"\nimport script from \"./BusyIndicator.vue?vue&type=script&lang=ts\"\nexport * from \"./BusyIndicator.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BusyIndicator.vue?vue&type=style&index=0&id=23c84b56&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23c84b56\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-dropdown',{staticClass:\"ml-auto btn\",attrs:{\"id\":\"dropdown-grouped\",\"title\":\"Add New\",\"offset\":\"-75\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_c('i',{staticClass:\"fas fa-plus-circle fa-lg\"})]},proxy:true}])},[_c('b-dropdown-group',{attrs:{\"id\":\"dropdown-group-1\",\"header\":\"Contact\"}},[_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.Client)}}},[_vm._v(\"+ Client\")]),_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.Employer)}}},[_vm._v(\"+ Employer\")]),_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.Financier)}}},[_vm._v(\"+ Financier\")]),_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.Supplier)}}},[_vm._v(\"+ Supplier\")])],1),_c('b-dropdown-group',{attrs:{\"id\":\"dropdown-group-2\",\"header\":\"Financials\"}},[_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.Payment)}}},[_vm._v(\"+ Payment\")]),_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.BankFile)}}},[_vm._v(\"+ Bank File\")])],1),_c('b-dropdown-group',{attrs:{\"id\":\"dropdown-group-3\",\"header\":\"Expense Claim\"}},[_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.Reimbursement)}}},[_vm._v(\"+ Reimbursement\")]),_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.Bill)}}},[_vm._v(\"+ Bill\")])],1),_c('b-dropdown-group',{attrs:{\"id\":\"dropdown-group-4\",\"header\":\"Application\"}},[_c('b-dropdown-item',{staticClass:\"dropdown-group-item\",on:{\"click\":function($event){return _vm.doNavigate(_vm.addNavigationTypes.FinanceApplication)}}},[_vm._v(\"+ Finance Application\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Emit } from 'vue-property-decorator';\r\nimport { AddNavigationTypes } from '@/shared/enums/addNavigationTypes.enum';\r\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\r\n\r\n@Component(\r\n {\r\n components: {\r\n \r\n }\r\n }\r\n)\r\nexport default class DefaultAddNewButton extends Vue{\r\n addNavigationTypes: any = AddNavigationTypes;\r\n modalModeClientListView:ClientsListViewModes = ClientsListViewModes.ModalMode;\r\n\r\n doNavigate(navigationType){\r\n let route;\r\n let tab = '_blank';\r\n if(navigationType == AddNavigationTypes.Client){\r\n route = this.$router.resolve({ name:'Add Client',params:{id:\"0\",routerDisplayName:\"personal\"}});\r\n window.open(route.href,tab);\r\n } else if(navigationType == AddNavigationTypes.Employer){\r\n route = this.$router.resolve({name:'Add Employer', params:{routerDisplayName:'details'}});\r\n window.open(route.href,tab);\r\n } else if(navigationType == AddNavigationTypes.Financier){\r\n route = this.$router.resolve({name:'Add Financier', params:{routerDisplayName:'details'}});\r\n window.open(route.href,tab);\r\n } else if(navigationType == AddNavigationTypes.Supplier){\r\n route = this.$router.resolve({name:'Add Supplier', params:{routerDisplayName:'details'}});\r\n window.open(route.href,tab);\r\n } else if(navigationType == AddNavigationTypes.Payment){\r\n route = this.$router.resolve({name:'Pay Money'});\r\n window.open(route.href,tab);\r\n } else if(navigationType == AddNavigationTypes.BankFile){\r\n route = this.$router.resolve({name:'Bank Rec and Upload Bank File', params:{routerDisplayName:'bankFile'},query:{ uploadBankFile:'true'} });\r\n window.open(route.href,tab);\r\n } else if(navigationType == AddNavigationTypes.Reimbursement){ \r\n route = this.$router.resolve({name:'Submit Expense Claims', params:{type:'reimbursement'}});\r\n window.open(route.href,tab);\r\n } else if(navigationType == AddNavigationTypes.Bill){\r\n route = this.$router.resolve({name:'Submit Expense Claims', params:{type:'bill'}});\r\n window.open(route.href,tab);\r\n } else if(navigationType == AddNavigationTypes.FinanceApplication){ \r\n this.onAddApplication(true, navigationType);\r\n }\r\n }\r\n\r\n @Emit('onAddApplication') onAddApplication(showSelectClientPopup: boolean, navigationType: AddNavigationTypes){\r\n \r\n }\r\n\r\n \r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultAddNewButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultAddNewButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DefaultAddNewButton.vue?vue&type=template&id=8b46a3ca&scoped=true\"\nimport script from \"./DefaultAddNewButton.vue?vue&type=script&lang=ts\"\nexport * from \"./DefaultAddNewButton.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8b46a3ca\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('CDropdown',{staticClass:\"c-header-nav-items\",attrs:{\"inNav\":\"\",\"placement\":\"bottom-end\",\"add-menu-classes\":\"pt-0\"},scopedSlots:_vm._u([{key:\"toggler\",fn:function(){return [_c('CHeaderNavLink',{staticClass:\"userNameText\"},[_c('span',{staticClass:\"mr-1 ml-3 userNameTxt\"},[_vm._v(_vm._s(_vm.loggedInUserName))]),_c('span',[_c('img',{staticClass:\"img-avatar\",attrs:{\"src\":_vm.profileurl,\"alt\":\"admin@bootstrapmaster.com\",\"width\":\"40px\",\"height\":\"40px\"}})])])]},proxy:true}])},[(_vm.isClient || _vm.isSupplier)?_c('CDropdownItem',{on:{\"click\":_vm.navigateToProfile}},[_c('i',{staticClass:\"fas fa-user\"}),_vm._v(\" Profile \")]):_vm._e(),_c('CDropdownItem',{on:{\"click\":_vm.logout}},[_c('i',{staticClass:\"fas fa-lock\"}),_vm._v(\" Logout \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport CDropdownHeader from '@coreui/vue/src/components/dropdown/CDropdownHeader.vue';\r\nimport CDropdown from '@coreui/vue/src/components/dropdown/CDropdown.vue';\r\nimport CDropdownItem from '@coreui/vue/src/components/dropdown/CDropdownItem.vue';\r\nimport CHeaderNavLink from '@coreui/vue/src/components/template/CHeaderNavLink.vue';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport AuthService from '@/shared/services/authService'\r\n\r\n@Component(\r\n {\r\n components: {\r\n CDropdownHeader,\r\n CDropdown,\r\n CDropdownItem,\r\n CHeaderNavLink\r\n }\r\n }\r\n)\r\nexport default class DefaultHeaderDropdownAccnt extends Vue{\r\n loggedInUserName:string = \"\";\r\n isClient:boolean = false;\r\n isSupplier:boolean = false;\r\n profileurl:string =\"\";\r\n\r\n mounted(){\r\n this.loggedInUserName = localStorage.loggedInUserName;\r\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n this.isSupplier = this.$store.getters.isAuthorizedRole(UserRoles.Supplier);\r\n this.$store.dispatch('changeProfilePicUrl',localStorage.getItem('profilePicUrl'));\r\n this.profileurl = this.$store.getters.getProfilePicUrl;\r\n }\r\n\r\n logout(){\r\n AuthService.logout(this.$store, this.$router)\r\n }\r\n navigateToProfile(){\r\n this.$router.push({name:'My Profile', params:{routerDisplayName:'personal'}});\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultHeaderDropdownAccnt.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultHeaderDropdownAccnt.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DefaultHeaderDropdownAccnt.vue?vue&type=template&id=7fa55ce1&scoped=true\"\nimport script from \"./DefaultHeaderDropdownAccnt.vue?vue&type=script&lang=ts\"\nexport * from \"./DefaultHeaderDropdownAccnt.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DefaultHeaderDropdownAccnt.vue?vue&type=style&index=0&id=7fa55ce1&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7fa55ce1\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport ClientsList from '@/components/admin/clientManagement/ClientsList.vue';\r\nimport MotorVehicleSearchList from '@/components/admin/motorVehicleManagement/MotorVehicleSearchList.vue';\r\nimport AddRecurringScheduledPayment from '@/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue';\r\nimport VehicleLeaseSearchList from '@/components/admin/vehicleLeaseManagement/VehicleLeaseSearchList.vue';\r\nimport UserInactivityTracker from '@/components/shared/UserInactivityTracker.vue';\r\nimport BusyIndicator from '@/shared/components/busyIndicator/BusyIndicator.vue';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport { AddNavigationTypes } from '@/shared/enums/addNavigationTypes.enum';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\r\nimport CFooter from '@coreui/vue/src/components/template/CFooter.vue';\r\nimport CHeader from '@coreui/vue/src/components/template/CHeader.vue';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport DefaultAddNewButton from './DefaultAddNewButton.vue';\r\nimport DefaultHeaderDropdownAccnt from './DefaultHeaderDropdownAccnt.vue';\r\n\r\n@Component(\r\n {\r\n name: 'full',\r\n components: {\r\n CHeader,\r\n CFooter,\r\n DefaultHeaderDropdownAccnt,\r\n BusyIndicator,\r\n ClientsList,\r\n Modal,\r\n DefaultAddNewButton,\r\n MotorVehicleSearchList,\r\n VehicleLeaseSearchList,\r\n UserInactivityTracker,\r\n AddRecurringScheduledPayment\r\n }\r\n }\r\n)\r\nexport default class DefaultContainer extends Vue {\r\n showSelectClientPopup: boolean = false;\r\n hideFooter: boolean = true;\r\n standardMenuEnabled: boolean = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\r\n settingsMenuEnabled: boolean = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.SystemAdmin]);\r\n isSystemAdmin: boolean = this.$store.getters.isAuthorizedRole(UserRoles.SystemAdmin);\r\n isTenantAdmin: boolean = this.$store.getters.isAuthorizedRole(UserRoles.TenantAdmin);\r\n isClient: boolean = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n modalModeClientListView: ClientsListViewModes = ClientsListViewModes.GlobalSearchMode;\r\n toggled: boolean = false;\r\n addNavigationTypes: any = AddNavigationTypes;\r\n selectedNavigationType: any = null;\r\n selectedGlobalSearchType: number = RelatedTables.Client;\r\n globalSearchTypes = [{ text: 'Clients', value: RelatedTables.Client }, { text: 'Motor Vehicles', value: RelatedTables.Vehicle }, { text: 'Vehicle Leases', value: RelatedTables.VehicleLease },]\r\n relatedTable = RelatedTables;\r\n showRecurringScheduledPaymentPopup: boolean = false;\r\n\r\n onClientSelect(data: any) {\r\n if (this.modalModeClientListView == ClientsListViewModes.ModalMode) {\r\n if (this.selectedNavigationType == AddNavigationTypes.FinanceApplication) {\r\n let route = this.$router.resolve({ name: 'Edit Finance Application', params: { id: \"0\", routerDisplayName: \"initialDetails\", clientId: data.id.toString() } });\r\n window.open(route.href, '_blank');\r\n }\r\n\r\n this.modalModeClientListView = ClientsListViewModes.GlobalSearchMode;\r\n this.showSelectClientPopup = false;\r\n this.selectedNavigationType = null;\r\n }\r\n }\r\n\r\n onShowSelectClientPopupClick() {\r\n this.modalModeClientListView = ClientsListViewModes.GlobalSearchMode;\r\n this.selectedGlobalSearchType = RelatedTables.Client;\r\n this.showSelectClientPopup = true;\r\n }\r\n\r\n getSelectedGlobalSearchTypeText() {\r\n let searchTypeText = this.globalSearchTypes.filter(t => t.value == this.selectedGlobalSearchType)[0].text;\r\n return searchTypeText.substring(0, searchTypeText.length - 1);\r\n }\r\n\r\n closeSelectClientPopup() {\r\n this.modalModeClientListView = ClientsListViewModes.GlobalSearchMode;\r\n this.showSelectClientPopup = false;\r\n this.selectedNavigationType = null;\r\n }\r\n\r\n onToggle() {\r\n this.toggled = !this.toggled;\r\n }\r\n\r\n onAddApplicationClick(showSelectClientPopup: boolean, navigationType: AddNavigationTypes) {\r\n this.selectedNavigationType = navigationType;\r\n if (showSelectClientPopup) {\r\n this.modalModeClientListView = ClientsListViewModes.ModalMode;\r\n this.selectedGlobalSearchType = RelatedTables.Client;\r\n this.showSelectClientPopup = true\r\n }\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultContainer.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultContainer.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DefaultContainer.vue?vue&type=template&id=3f111595&scoped=true\"\nimport script from \"./DefaultContainer.vue?vue&type=script&lang=ts\"\nexport * from \"./DefaultContainer.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DefaultContainer.vue?vue&type=style&index=0&id=3f111595&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3f111595\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app flex-row align-items-center bg\"},[_c('div',{staticClass:\"container auth-container\"},[_c('router-view')],1),_c('BusyIndicator')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\r\nimport BusyIndicator from '@/shared/components/busyIndicator/BusyIndicator.vue';\r\nimport { Component, Vue } from 'vue-property-decorator';\r\n\r\n@Component(\r\n {\r\n name: 'full',\r\n components: {\r\n BusyIndicator\r\n }\r\n }\r\n)\r\nexport default class AuthContainer extends Vue {\r\n\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthContainer.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuthContainer.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AuthContainer.vue?vue&type=template&id=c9650368&scoped=true\"\nimport script from \"./AuthContainer.vue?vue&type=script&lang=ts\"\nexport * from \"./AuthContainer.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c9650368\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showSetupAuthenticatorSection)?_c('SetupAuthenticatorApp',{attrs:{\"qrCode\":_vm.qrCode}}):_c('div',[_c('b-row',{staticClass:\"justify-content-center\"},[_c('b-col',{staticClass:\"responsive-width-xl\",attrs:{\"sm\":\"10\",\"md\":\"8\",\"lg\":\"4\"}},[_c('b-card-group',[_c('b-card',{staticClass:\"px-4 pb-0\",attrs:{\"no-body\":\"\"}},[_c('b-card-body',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmitLogin.apply(null, arguments)}}},[_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"my-3\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"80\",\"alt\":\"Apex Logo\"}}),_c('h3',{staticClass:\"text-muted\"},[_vm._v(\"Login\")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\"Login to your account\")])]),(!_vm.showTwoFactorCodeSection)?_c('div',{staticClass:\"mb-auto\"},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-user-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-form-input',{staticClass:\"form-control textInput\",attrs:{\"type\":\"text\",\"placeholder\":\"Username\",\"autocomplete\":\"username\"},model:{value:(_vm.username),callback:function ($$v) {_vm.username=$$v},expression:\"username\"}})],1),_c('b-input-group',{staticClass:\"mb-4\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-lock\"})])],1),_c('b-form-input',{staticClass:\"form-control textInput\",attrs:{\"type\":_vm.showPassword? 'text': 'password',\"placeholder\":\"Password\",\"autocomplete\":\"current-password\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('b-input-group-append',[_c('b-button',{attrs:{\"id\":\"passwordShowHide\",\"title\":_vm.showPassword? 'Hide' : 'Show'},on:{\"click\":function($event){$event.preventDefault();return _vm.toggleShowPassword.apply(null, arguments)}}},[_c('i',{staticClass:\"fas\",class:{ 'fa-eye-slash': _vm.showPassword, 'fa-eye': !_vm.showPassword },attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-checkbox',{staticClass:\"mx-auto\",model:{value:(_vm.rememberMe),callback:function ($$v) {_vm.rememberMe=$$v},expression:\"rememberMe\"}},[_vm._v(\"Remember Me\")])],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.onError),expression:\"onError\"}],staticClass:\"alert alert-danger alert-custom\",attrs:{\"role\":\"alert\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\"}},[_vm._v(_vm._s(_vm.errorMessage))])],1):_c('div',{staticClass:\"mb-auto\"},[_c('b-input-group',{staticClass:\"mb-4 mt-2 textInput\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-key\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-form-input',{staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":'Enter ' + (_vm.useRecoveryCodes ? 'Recovery': 'Verification') + ' Code',\"autocomplete\":\"code\"},model:{value:(_vm.verificationCode),callback:function ($$v) {_vm.verificationCode=$$v},expression:\"verificationCode\"}})],1),(!_vm.useRecoveryCodes)?_c('b-input-group',{staticClass:\"center-button\"},[_c('b-checkbox',{model:{value:(_vm.rememberDevice),callback:function ($$v) {_vm.rememberDevice=$$v},expression:\"rememberDevice\"}},[_vm._v(\"Remember this Device\")])],1):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.onErrorTwoFactorLogin),expression:\"onErrorTwoFactorLogin\"}],staticClass:\"alert alert-danger alert-custom mt-3\",attrs:{\"role\":\"alert\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\"}},[_vm._v(_vm._s(_vm.errorTwoFactorLoginMessage)+\"\\n \")])],1),_c('b-row',{staticClass:\"mt-3\"},[_c('div',{staticClass:\"mx-auto\"},[_c('b-row',{staticClass:\"center-button mt-2 mb-3\"},[_c('b-button',{staticClass:\"px-4 primary\",attrs:{\"type\":\"submit\",\"disabled\":_vm.showTwoFactorCodeSection && (!_vm.verificationCode || _vm.verificationCode.length == 0)}},[_vm._v(_vm._s(_vm.showTwoFactorCodeSection ? \"Submit\" : \"Login\"))])],1),(_vm.showTwoFactorCodeSection && !_vm.useRecoveryCodes)?_c('b-row',[_c('b-button',{staticClass:\"px-0 mx-auto primary-text\",attrs:{\"variant\":\"link\"},on:{\"click\":function($event){_vm.useRecoveryCodes = true;}}},[_vm._v(\"Use a\\n recovery code instead\")])],1):_vm._e()],1)]),(!_vm.showTwoFactorCodeSection)?_c('b-row',[_c('b-button',{staticClass:\"px-0 mx-auto my-3 primary-text\",attrs:{\"variant\":\"link\"},on:{\"click\":_vm.forgotPassword}},[_vm._v(\"Forgot password?\")])],1):_vm._e()],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { QRCodeModel } from '@/models/qrCode.model';\r\nimport SetupAuthenticatorApp from './SetupAuthenticatorApp.vue';\r\n\r\n@Component({\r\n components: {\r\n SetupAuthenticatorApp\r\n }\r\n})\r\nexport default class Login extends Vue{\r\n username:string = '';\r\n password:string = '';\r\n rememberMe:boolean = false;\r\n onError:boolean = false;\r\n longitude:any = '';\r\n latitude:any = '';\r\n errorMessage:string = '';\r\n showPassword = false;\r\n\r\n showTwoFactorCodeSection: boolean = false;\r\n verificationCode: string = '';\r\n rememberDevice: boolean = false;\r\n useRecoveryCodes: boolean = false;\r\n showSetupAuthenticatorSection: boolean = false;\r\n qrCode: QRCodeModel = { uri: '', key: '', userId: 0 };\r\n errorTwoFactorLoginMessage: string = '';\r\n onErrorTwoFactorLogin: boolean = false;\r\n\r\n created(){\r\n navigator.geolocation.getCurrentPosition(this.locationCallBack);\r\n }\r\n\r\n onSubmitLogin() {\r\n if (this.showTwoFactorCodeSection) {\r\n this.twoFactorLogin();\r\n } else {\r\n this.login();\r\n }\r\n }\r\n\r\n login() {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var isRememberMe = this.rememberMe;\r\n var clientInfo = {\r\n longitude: this.longitude,\r\n latitude: this.latitude,\r\n clientApp: this.getBrowserInfo(),\r\n osInfo: this.getOsInfo() \r\n }\r\n var credentials = {\r\n username: this.username,\r\n password: this.password,\r\n rememberMe: isRememberMe\r\n }\r\n this.$store.dispatch('fetchToken',{\r\n credentials: credentials,\r\n clientInfo: clientInfo,\r\n rememberMe: isRememberMe\r\n }).then(response => {\r\n if (response.data.isSuccess) {\r\n if(response.data.requiresTwoFactor) {\r\n this.showTwoFactorCodeSection = true;\r\n this.qrCode = response.data.twoFactorSetupData;\r\n this.showSetupAuthenticatorSection = !response.data.twoFactorConfigured;\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n } else { \r\n this.storeToken(response.data.user, isRememberMe);\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n }\r\n }\r\n })\r\n .catch(error =>{\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.onError = true;\r\n this.errorMessage = error.response.data ||'error occurred';\r\n });\r\n }\r\n\r\n storeToken(user, isRememberMe) { \r\n this.$store.dispatch('storeToken',{\r\n token: user,\r\n rememberMe: isRememberMe\r\n });\r\n\r\n localStorage.setItem(\"loggedInUserName\", user.firstName + \" \" + user.lastName);\r\n localStorage.setItem(\"loggedInUserId\", user.id);\r\n localStorage.setItem(\"profilePicUrl\", user.profilePicUrl);\r\n \r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$store.dispatch('changeProfilePicUrl', user.profilePicUrl);\r\n this.$router.push({name: 'Dashboard'});\r\n\r\n if(this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]))\r\n {\r\n lookupService.LoadAllSelectItemLists();\r\n }\r\n\r\n if(this.$store.getters.getToken && this.$store.getters.getToken.relatedEntityId > 0){\r\n var params = {id:this.$store.getters.getToken.relatedEntityId}\r\n if(this.$store.getters.isAuthorizedRole(UserRoles.Client)){\r\n apiService.sendGetRequest('Client','ClientBasicDetails',params).then(response=>{ \r\n if(response.data.user.proPicUri){\r\n this.$store.dispatch('changeProfilePicUrl',response.data.user.proPicUri);\r\n }\r\n if(response.data.user.firstName){\r\n this.$store.dispatch('changeFirstName',response.data.user.firstName);\r\n this.$store.dispatch('changeLastName',response.data.user.lastName);\r\n }\r\n });\r\n }\r\n\r\n if(this.$store.getters.isAuthorizedRole(UserRoles.Supplier)){\r\n apiService.sendGetRequest('Supplier','SupplierName',params).then(response=>{ \r\n this.$store.dispatch('changeFirstName',response.data.user);\r\n this.$store.dispatch('changeLastName',\"\");\r\n });\r\n }\r\n }\r\n }\r\n\r\n twoFactorLogin() {\r\n this.$store.dispatch('storeIsBusyValue', true);\r\n var isRememberMe = this.rememberMe;\r\n\r\n var clientInfo = {\r\n longitude: this.longitude,\r\n latitude: this.latitude,\r\n clientApp: this.getBrowserInfo(),\r\n osInfo: this.getOsInfo()\r\n }\r\n apiService.sendPostRequest('Account', 'TwoFaSignIn', {\r\n clientInfo: clientInfo,\r\n userName: this.username,\r\n TwoFactorCode: this.verificationCode,\r\n UseRecoveryCode: this.useRecoveryCodes,\r\n RememberMachine: this.rememberDevice,\r\n })\r\n .then(response => {\r\n if (response.data.isSuccess) {\r\n this.storeToken(response.data.user, isRememberMe);\r\n }\r\n })\r\n .catch(error => {\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n this.onErrorTwoFactorLogin = true;\r\n this.errorTwoFactorLoginMessage = error.response.data || 'error occurred';\r\n });\r\n }\r\n\r\n forgotPassword(){\r\n this.$router.push({name:'ForgotPassword'});\r\n }\r\n\r\n toggleShowPassword(){\r\n this.showPassword = !this.showPassword;\r\n }\r\n\r\n getBrowserInfo(){\r\n var ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\\/))\\/?\\s*(\\d+)/i) || [];\r\n if(/trident/i.test(M[1])){\r\n tem=/\\brv[ :]+(\\d+)/g.exec(ua) || []; \r\n return {name:'IE ',version:(tem[1]||'')};\r\n } \r\n if(M[1]==='Chrome'){\r\n tem=ua.match(/\\bOPR\\/(\\d+)/)\r\n if(tem!=null) {return {name:'Opera', version:tem[1]};}\r\n tem = ua.match(/\\bEdg\\/(\\d+)/)\r\n if(tem!=null) {return 'Edge'+'('+ tem[1] +')'}\r\n } \r\n M=M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];\r\n if((tem=ua.match(/version\\/(\\d+)/i))!=null) {M.splice(1,1,tem[1]);}\r\n return M[0]+'('+ M[1] +')';\r\n }\r\n\r\n getOsInfo(){\r\n var OSName = \"Unknown\";\r\n if (window.navigator.userAgent.indexOf(\"Windows NT 10.0\")!= -1) OSName=\"Windows 10\";\r\n else if (window.navigator.userAgent.indexOf(\"Windows NT 6.2\") != -1) OSName=\"Windows 8\";\r\n else if (window.navigator.userAgent.indexOf(\"Windows NT 6.1\") != -1) OSName=\"Windows 7\";\r\n else if (window.navigator.userAgent.indexOf(\"Windows NT 6.0\") != -1) OSName=\"Windows Vista\";\r\n else if (window.navigator.userAgent.indexOf(\"Windows NT 5.1\") != -1) OSName=\"Windows XP\";\r\n else if (window.navigator.userAgent.indexOf(\"Windows NT 5.0\") != -1) OSName=\"Windows 2000\";\r\n else if (window.navigator.userAgent.indexOf(\"Mac\") != -1) OSName=\"Mac/iOS\";\r\n else if (window.navigator.userAgent.indexOf(\"X11\") != -1) OSName=\"UNIX\";\r\n else if (window.navigator.userAgent.indexOf(\"Linux\") != -1) OSName=\"Linux\";\r\n else OSName = window.navigator.userAgent\r\n return OSName;\r\n }\r\n\r\n locationCallBack(position){\r\n this.longitude = position.coords.longitude;\r\n this.latitude = position.coords.latitude;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=4c5e3e21&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=ts\"\nexport * from \"./Login.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=4c5e3e21&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4c5e3e21\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',{staticClass:\"justify-content-center\"},[_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"8\"}},[_c('b-card',{staticClass:\"mx-4\",attrs:{\"no-body\":\"\"}},[_c('b-card-body',{staticClass:\"p-4\"},[_c('b-form',[_c('h1',[_vm._v(\"Register\")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\"Create your account\")]),_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-user\"})])],1),_c('b-form-input',{staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"Username\",\"autocomplete\":\"username\"}})],1),_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_vm._v(\"@\")])],1),_c('b-form-input',{staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"Email\",\"autocomplete\":\"email\"}})],1),_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-lock\"})])],1),_c('b-form-input',{staticClass:\"form-control\",attrs:{\"type\":\"password\",\"placeholder\":\"Password\",\"autocomplete\":\"new-password\"}})],1),_c('b-input-group',{staticClass:\"mb-4\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-lock\"})])],1),_c('b-form-input',{staticClass:\"form-control\",attrs:{\"type\":\"password\",\"placeholder\":\"Repeat password\",\"autocomplete\":\"new-password\"}})],1),_c('b-button',{attrs:{\"variant\":\"success\",\"block\":\"\"}},[_vm._v(\"Create Account\")])],1)],1),_c('b-card-footer',{staticClass:\"p-4\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-button',{staticClass:\"btn btn-facebook\",attrs:{\"block\":\"\"}},[_c('span',[_vm._v(\"facebook\")])])],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-button',{staticClass:\"btn btn-twitter\",attrs:{\"block\":\"\",\"type\":\"button\"}},[_c('span',[_vm._v(\"twitter\")])])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator'; \r\n@Component\r\nexport default class Register extends Vue{\r\n \r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Register.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Register.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Register.vue?vue&type=template&id=7358ccbe\"\nimport script from \"./Register.vue?vue&type=script&lang=ts\"\nexport * from \"./Register.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.showSetUpAuthenticator)?_c('SetResetPassword',{attrs:{\"activateUser\":true,\"userID\":this.$route.params.userId,\"resetToken\":this.$route.query.token},on:{\"OnSuccessSetPassword\":_vm.OnSuccessSetPassword}}):_vm._e(),(_vm.showSetUpAuthenticator)?_c('SetupAuthenticatorApp',{attrs:{\"qrCode\":_vm.qrCode}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',{staticClass:\"justify-content-center\"},[_c('b-col',{attrs:{\"md\":\"4\",\"sm\":\"4\"}},[(_vm.showSetPasswordForm)?_c('b-card',{staticClass:\"mx-4\",attrs:{\"no-body\":\"\"}},[_c('b-card-body',{staticClass:\"p-4\"},[_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"my-3\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"40\",\"alt\":\"Apex Logo\"}}),_c('h3',{staticClass:\"primary-text\"},[_vm._v(_vm._s(_vm.activateUser ? \"Set\": \"Reset\")+\" Password\")])]),_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.setPassword.apply(null, arguments)}}},[(_vm.activateUser)?_c('b-input-group',{staticClass:\"mb-3 mt-3\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-user-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-form-input',{staticClass:\"form-control\",attrs:{\"type\":\"text\",\"disabled\":\"\",\"placeholder\":\"Username\",\"autocomplete\":\"username\"},model:{value:(_vm.userName),callback:function ($$v) {_vm.userName=$$v},expression:\"userName\"}})],1):_vm._e(),_c('b-input-group',[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-lock\"})])],1),_c('b-form-input',{staticClass:\"textInput\",attrs:{\"type\":\"password\",\"placeholder\":\"Password\",\"autocomplete\":\"new-password\"},on:{\"input\":function($event){return _vm.$v.passwordText.$touch()}},nativeOn:{\"keyup\":function($event){return _vm.checkPasswordStrength()}},model:{value:(_vm.passwordText),callback:function ($$v) {_vm.passwordText=$$v},expression:\"passwordText\"}})],1),(_vm.passwordStrength>0)?_c('b-progress',{staticClass:\"mt-1\",attrs:{\"value\":_vm.passwordStrength,\"max\":_vm.max,\"height\":\"3px\",\"animated\":\"\",\"variant\":_vm.passwordStrengthVarient}}):_vm._e(),(_vm.$v.passwordText.$dirty && _vm.showPasswordValidationWarning)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.passwordValidationWarning)+\"\\n \")]):_vm._e(),_c('b-input-group',{staticClass:\"mt-3\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"icon-lock\"})])],1),_c('b-form-input',{staticClass:\"form-control textInput\",attrs:{\"type\":\"password\",\"placeholder\":\"Confirm Password\",\"autocomplete\":\"new-password\"},on:{\"input\":function($event){return _vm.$v.confirmPasswordText.$touch()}},model:{value:(_vm.confirmPasswordText),callback:function ($$v) {_vm.confirmPasswordText=$$v},expression:\"confirmPasswordText\"}})],1),(_vm.$v.confirmPasswordText.$dirty && !_vm.$v.confirmPasswordText.sameAsPassWord)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Passwords do not match.\\n \")]):_vm._e(),_c('b-button',{staticClass:\"mt-4 primary\",attrs:{\"type\":\"submit\",\"block\":\"\",\"disabled\":_vm.$v.passwordText.$invalid || _vm.$v.confirmPasswordText.$invalid}},[_vm._v(\"Set Password\")])],1)],1)],1):_vm._e(),(_vm.showErrorBanner)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-card',{staticClass:\"mx-4\",attrs:{\"no-body\":\"\"}},[_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"mt-3\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"80\",\"alt\":\"Apex Logo\"}})]),_c('b-card-body',{staticClass:\" text-center px-4 banner-text text-muted\"},[_c('p',{staticClass:\"mb-4 mt-3\"},[_vm._v(_vm._s(_vm.errorMessage))]),_c('p',[_vm._v(\"Go back to \"),_c('a',{staticClass:\"primary-text\",attrs:{\"href\":\"\\\\auth\\\\login\\\\\"}},[_vm._v(\"Login\")]),_vm._v(\" page.\")])])],1)],1)],1):_vm._e(),(_vm.showSuccessBanner)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-card',{staticClass:\"mx-4\",attrs:{\"no-body\":\"\"}},[_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"mt-3\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"80\",\"alt\":\"Apex Logo\"}})]),_c('b-card-body',{staticClass:\"py-3 text-center text-muted banner-text\",domProps:{\"innerHTML\":_vm._s(_vm.successMessage)}})],1)],1)],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Emit } from 'vue-property-decorator'; \r\nimport apiService from '@/shared/services/apiService'\r\nimport passwordStrengthService from '@/shared/services/passwordStrengthService'\r\nimport { validationMixin } from 'vuelidate'\r\nimport { minLength,required, sameAs } from 'vuelidate/lib/validators';\r\nimport { PasswordModel } from '@/models/password.model';\r\nimport { QRCodeModel } from '@/models/qrCode.model';\r\n\r\n@Component(\r\n {\r\n mixins:[validationMixin],\r\n validations:{\r\n passwordText:{\r\n required,\r\n minLength:minLength(8)\r\n },\r\n confirmPasswordText:{\r\n sameAsPassWord:sameAs('passwordText')\r\n }\r\n }\r\n }\r\n)\r\nexport default class SetResetPassword extends Vue{\r\n @Prop() activateUser: boolean\r\n @Prop() userID:number;\r\n @Prop() resetToken:string; \r\n\r\n showSetPasswordForm:boolean = false;\r\n showErrorBanner:boolean = false;\r\n showSuccessBanner:boolean = false;\r\n errorMessage:string = \"\";\r\n passwordResetToken:string = \"\";\r\n passwordModel:PasswordModel = null;\r\n passwordText:any = \"\";\r\n confirmPasswordText:any = \"\";\r\n successMessage:string = \"\";\r\n passwordStrength:number = 0;\r\n max:number = 4;\r\n passwordStrengthVarient:string = \"danger\";\r\n passwordValidationWarning:string = \"\";\r\n showPasswordValidationWarning:boolean = false;\r\n userName:string = \"\";\r\n \r\n created() {\r\n var params = {\r\n UserId : this.userID,\r\n EmailConfirmationToken : this.resetToken\r\n }\r\n\r\n if(this.activateUser)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Account','ConfirmUserEmail',params).then( response =>{\r\n if(response.data.operationResult.isSuccess){\r\n this.passwordResetToken = response.data.passwordResetToken;\r\n this.showSetPasswordForm = true;\r\n this.userName = response.data.userName;\r\n }\r\n else{\r\n this.showSetPasswordForm = false;\r\n this.showErrorBanner = true;\r\n this.errorMessage = response.data.operationResult.message;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n else\r\n {\r\n this.passwordResetToken = this.resetToken;\r\n this.showSetPasswordForm = true;\r\n this.userName = \"\";\r\n }\r\n\r\n this.SetPasswordModel();\r\n }\r\n\r\n SetPasswordModel() {\r\n var params = {\r\n UserId : this.userID,\r\n EmailConfirmationToken : this.resetToken\r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Account','PasswordModel',params).then(response =>{\r\n if(response.data){\r\n this.passwordModel = response.data;\r\n }\r\n else\r\n {\r\n this.showSetPasswordForm = false;\r\n this.showErrorBanner = true;\r\n this.errorMessage = \"Invalid Request\";\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n setPassword() {\r\n var params = {\r\n UserId: this.userID,\r\n Password: this.passwordText,\r\n ConfirmPassword: this.confirmPasswordText,\r\n PasswordResetToken: this.passwordResetToken,\r\n generateTwoFactorData: this.activateUser,\r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Account','ResetPassword',params).then(response =>{\r\n if(response.data.isSuccess){\r\n if(this.$store.getters.isAuthenticated)\r\n {\r\n this.$store.dispatch('destroyToken').then(response => {\r\n this.$store.dispatch('removeToken');\r\n });\r\n }\r\n if (response.data.showTwoFactorSetup) {\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n this.OnSuccessSetPassword(response.data.twoFactorData);\r\n }\r\n else if(this.activateUser)\r\n {\r\n this.successMessage = \"

Your Account has been activated.

Please click here to login.

\"\r\n }\r\n else\r\n {\r\n this.successMessage = \"

Password Reset Success.Please click here to login.

\"\r\n }\r\n \r\n this.showSetPasswordForm = false;\r\n this.showSuccessBanner = true;\r\n } else {\r\n this.showSetPasswordForm = false;\r\n this.showErrorBanner = true;\r\n this.errorMessage = response.data.message\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n checkPasswordStrength(){ \r\n this.passwordStrength = passwordStrengthService.checkPasswordStrength(this.passwordText,this.passwordModel);\r\n if(this.passwordStrength < 2){\r\n this.passwordValidationWarning = passwordStrengthService.getPasswordErrorMsg();\r\n this.showPasswordValidationWarning = true;\r\n this.passwordStrengthVarient = \"danger\";\r\n } else {\r\n this.showPasswordValidationWarning = false;\r\n this.passwordStrengthVarient = \"success\";\r\n }\r\n }\r\n\r\n @Emit('OnSuccessSetPassword') OnSuccessSetPassword(data: QRCodeModel) {}\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetResetPassword.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetResetPassword.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SetResetPassword.vue?vue&type=template&id=121edc3a&scoped=true\"\nimport script from \"./SetResetPassword.vue?vue&type=script&lang=ts\"\nexport * from \"./SetResetPassword.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SetResetPassword.vue?vue&type=style&index=0&id=121edc3a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"121edc3a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\r\nimport { QRCodeModel } from '@/models/qrCode.model';\r\nimport { Component, Vue } from 'vue-property-decorator'; \r\nimport SetResetPassword from './SetResetPassword.vue';\r\nimport SetupAuthenticatorApp from './SetupAuthenticatorApp.vue';\r\n\r\n@Component(\r\n {\r\n components : {\r\n SetResetPassword,\r\n SetupAuthenticatorApp\r\n }\r\n }\r\n)\r\nexport default class SetPassword extends Vue{\r\n showSetUpAuthenticator: boolean = false;\r\n qrCode: QRCodeModel = { uri: '', key: '', userId: 0 };\r\n\r\n OnSuccessSetPassword(qrCode: QRCodeModel) {\r\n this.qrCode = qrCode;\r\n this.showSetUpAuthenticator = true;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetPassword.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SetPassword.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SetPassword.vue?vue&type=template&id=26687457&scoped=true\"\nimport script from \"./SetPassword.vue?vue&type=script&lang=ts\"\nexport * from \"./SetPassword.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"26687457\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app flex-row align-items-center\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"middle-container\"},[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":require(\"@/assets/img/errors/404.png\"),\"alt\":\"\"}}),_c('h1',{staticStyle:{\"margin-top\":\"20px\"}},[_vm._v(\"\\n OOPS...\\n \")]),_c('h3',[_vm._v(\"\\n Wheel is missing!\\n \")]),_c('p',[_vm._v(\"\\n We're sorry, but the page you requested could not be found\\n \")]),_c('small',[_vm._v(\"\\n Back to \"),_c('a',{attrs:{\"href\":\"\\\\auth\\\\login\\\\\"}},[_vm._v(\"Login\")])])])])])}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page404.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page404.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Page404.vue?vue&type=template&id=2e70adfe\"\nimport script from \"./Page404.vue?vue&type=script&lang=js\"\nexport * from \"./Page404.vue?vue&type=script&lang=js\"\nimport style0 from \"./Page404.vue?vue&type=style&index=0&id=2e70adfe&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app flex-row align-items-center\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"middle-container\"},[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":require(\"@/assets/img/errors/500.png\"),\"alt\":\"\"}}),_c('h1',{staticStyle:{\"margin-top\":\"50px\"}},[_vm._v(\"\\n Sorry...\\n \")]),_c('h3',[_vm._v(\"\\n It's not you. It's us.\\n \")]),_c('p',[_vm._v(\"\\n We're experiencing an internal server problem. (500) \"),_c('br'),_vm._v(\"\\n Please Try again later.\\n \")]),_c('small',[_vm._v(\"\\n Back to \"),_c('a',{attrs:{\"href\":\"\\\\auth\\\\login\\\\\"}},[_vm._v(\"Login\")])])])])])}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page500.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page500.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Page500.vue?vue&type=template&id=7ada6e96\"\nimport script from \"./Page500.vue?vue&type=script&lang=js\"\nexport * from \"./Page500.vue?vue&type=script&lang=js\"\nimport style0 from \"./Page500.vue?vue&type=style&index=0&id=7ada6e96&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app flex-row align-items-center\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"middle-container\"},[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":require(\"@/assets/img/errors/403.png\"),\"alt\":\"\"}}),_c('h3',[_vm._v(\"\\n Sorry, you're not allowed in here.\\n \")]),_c('p',[_vm._v(\"\\n The page or resource you were trying to reach is absolutely \"),_c('br'),_vm._v(\"\\n forbidden for some reason.\\n \")]),_c('small',[_vm._v(\"\\n Back to \"),_c('a',{attrs:{\"href\":\"\\\\dashboard\"}},[_vm._v(\"Dashboard\")])])])])])}]\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page403.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Page403.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Page403.vue?vue&type=template&id=5f14de63\"\nimport script from \"./Page403.vue?vue&type=script&lang=js\"\nexport * from \"./Page403.vue?vue&type=script&lang=js\"\nimport style0 from \"./Page403.vue?vue&type=style&index=0&id=5f14de63&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app flex-row align-items-center\"},[_c('div',{staticClass:\"container\"},[_c('b-row',{staticClass:\"justify-content-center\"},[_c('b-col',{attrs:{\"md\":\"6\"}},[_c('div',{staticClass:\"clearfix\"},[_c('h4',{staticClass:\"pt-3\"},[_vm._v(\"Oops! You're lost.\")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\"Cannot reach the server\")])]),_c('b-input-group',[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-search\"})])],1),_c('input',{staticClass:\"form-control\",attrs:{\"id\":\"prependedInput\",\"size\":\"16\",\"type\":\"text\",\"placeholder\":\"What are you looking for?\"}}),_c('b-input-group-append',[_c('b-button',{attrs:{\"variant\":\"info\"}},[_vm._v(\"Search\")])],1)],1)],1)],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ServerNotFound.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ServerNotFound.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ServerNotFound.vue?vue&type=template&id=1ba13532\"\nimport script from \"./ServerNotFound.vue?vue&type=script&lang=js\"\nexport * from \"./ServerNotFound.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"app flex-row align-items-center\"},[_c('div',{staticClass:\"container\"},[_c('b-row',{staticClass:\"justify-content-center\"},[_c('b-col',{attrs:{\"md\":\"6\"}},[_c('div',{staticClass:\"clearfix\"},[_c('h4',{staticClass:\"pt-3\"},[_vm._v(\"Oops!\")]),_c('p',{staticClass:\"text-muted\"},[_vm._v(\"Unfortunately There has been a Server Error\")])])])],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ServerError.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ServerError.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ServerError.vue?vue&type=template&id=027ea77a\"\nimport script from \"./ServerError.vue?vue&type=script&lang=js\"\nexport * from \"./ServerError.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"middle-container\"},[_c('img',{staticClass:\"img-fluid incompatibleImage\",attrs:{\"src\":require(\"@/assets/img/errors/improve_ux.png\"),\"alt\":\"\"}}),_c('h1',{staticStyle:{\"margin-top\":\"50px\"}},[_vm._v(\"\\n Improve Your Experience\\n \")]),_c('h5',[_vm._v(\"\\n It looks like that the browser you are using may not be compatible and supported\\n \")]),_c('p',[_vm._v(\"\\n Please switch to one of the above browsers\\n \")]),_c('small',[_c('a',{staticClass:\"cursor-pointer\",on:{\"click\":_vm.navigateBack}},[_vm._v(\"Continue with this browser\")])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrowserIncompatiblePage.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrowserIncompatiblePage.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BrowserIncompatiblePage.vue?vue&type=template&id=1b574791\"\nimport script from \"./BrowserIncompatiblePage.vue?vue&type=script&lang=js\"\nexport * from \"./BrowserIncompatiblePage.vue?vue&type=script&lang=js\"\nimport style0 from \"./BrowserIncompatiblePage.vue?vue&type=style&index=0&id=1b574791&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search pl-0\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-select',{ref:\"userStatusList\",staticClass:\"textInput indentedTextInput status-filter selectListHeight\",attrs:{\"id\":\"userStatusFilter\",\"plain\":true,\"options\":_vm.userStatusList,\"required\":\"\"},on:{\"input\":_vm.onUserStatusChanged},model:{value:(_vm.selectedUserStatus),callback:function ($$v) {_vm.selectedUserStatus=$$v},expression:\"selectedUserStatus\"}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetSelectedUserStatusList()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"id\":\"addUserBtn\",\"disabled\":_vm.isAddButtonDisabled,\"title\":_vm.isAddButtonDisabled?'Please perform a search prior to adding a new record':'Add new user'},on:{\"click\":function($event){return _vm.navigateToAddUser()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add User\\n \")])],1)],1),_c('DataTable',{ref:\"userTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"selectable\":true,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No user details to display.\",\"customTemplates\":_vm.customTemplateList},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Users\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteUserConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"deleteUserModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete User\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the user?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelDeleteUsrBtn\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"okToDeleteUsrBtn\"},on:{\"click\":_vm.deleteUser}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showResendEmailConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"resendEmailConfirmationModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.item.activationEmailSent?'Resend':'Send')+\" Email\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to \"+_vm._s(_vm.item.activationEmailSent?'resend':'send')+\" the activation email?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelResendUserActivationEmailBtn\"},on:{\"click\":_vm.onCloseResendEmailModal}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"okToResendUsrActivationEmailBtn\"},on:{\"click\":_vm.resendUserActivationEmail}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showResendEmailChangedVerification)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"resendEmailChangedVerification\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Resend Email\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to resend the email change confirmation?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelResendEmailChangeVerificationBtn\"},on:{\"click\":_vm.onCloseResendChangeEmailModal}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"okToResendEmailChangeVerificationBtn\"},on:{\"click\":_vm.resendEmailChangedVerification}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showActivateUserConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"activateUserConfirmationModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Activate User\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to activate the user?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelactivateUserBtn\"},on:{\"click\":function($event){_vm.showActivateUserConfirmationModal=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"okToactivateUserBtn\"},on:{\"click\":_vm.activateUser}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.item.isActive)?_c('div',[(!_vm.item.emailConfirmed)?_c('b-btn',{staticClass:\"action-btn\",attrs:{\"title\":_vm.item.activationEmailSent?'Resend User Activation Email':'Send User Activation Email'},on:{\"click\":_vm.viewResendEmailConfirmationModal}},[_c('i',{staticClass:\"fas fa-envelope resend-mail-button \",attrs:{\"aria-hidden\":\"true\",\"id\":'sendActivationMailBtn'+_vm.item.id}})]):_vm._e(),(this.item.pendingChangeEmail != null && _vm.item.pendingChangeEmail.length > 0)?_c('b-btn',{staticClass:\"action-btn\",attrs:{\"title\":\"Resend Email Change Verification\"},on:{\"click\":function($event){_vm.viewResendChangeEmailModal = true;}}},[_c('i',{staticClass:\"fas fa-envelope resend-mail-button \",attrs:{\"aria-hidden\":\"true\",\"id\":'sendVerificationMailBtn'+_vm.item.id}})]):_vm._e(),(this.item.id != _vm.loggedInUserId)?_c('b-btn',{staticClass:\"ml-2 action-btn\",class:{'ml-4':(_vm.item.emailConfirmed && (this.item.pendingChangeEmail == null || _vm.item.pendingChangeEmail.length == 0))},attrs:{\"title\":\"Delete User\",\"id\":'deleteUsr'+_vm.item.id},on:{\"click\":_vm.onDeleteUserClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1):_c('div',[_c('b-btn',{staticClass:\"action-btn\",attrs:{\"title\":\"Activate User\"},on:{\"click\":function($event){_vm.showActivateUserConfirmationModal = true}}},[_c('i',{staticClass:\"fas fa-reply resend-mail-button\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport apiService from '@/shared/services/apiService'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue'\n\n@Component(\n{\n components:{\n Modal\n }\n})\nexport default class UserListActionButtons extends Vue{\n @Prop() item:any\n showDeleteUserConfirmationModal = false;\n showResendEmailConfirmationModal = false;\n showResendEmailChangedVerification = false;\n showActivateUserConfirmationModal = false;\n loggedInUserId:number = +localStorage.getItem(\"loggedInUserId\");\n deleteUser(){\n this.showDeleteUserConfirmationModal = false;\n this.item.isActive = false;\n this.onCustomEvent(this.item,DataTableActionTypes.Delete);\n }\n onDeleteUserClick()\n {\n this.showDeleteUserConfirmationModal = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n onCloseDelete()\n {\n this.showDeleteUserConfirmationModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n onCloseResendEmailModal(){\n this.showResendEmailConfirmationModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton); \n }\n viewResendEmailConfirmationModal()\n {\n this.showResendEmailConfirmationModal = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n onCloseResendChangeEmailModal(){\n this.showResendEmailChangedVerification = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton); \n }\n viewResendChangeEmailModal()\n {\n this.showResendEmailChangedVerification = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n activateUser(){\n this.showActivateUserConfirmationModal = false;\n this.item.isActive = true;\n this.onCustomEvent(this.item,DataTableActionTypes.Activate) \n }\n\n resendUserActivationEmail(){\n this.showResendEmailConfirmationModal = false;\n this.onCustomEvent(this.item,DataTableActionTypes.ResendEmail);\n }\n\n resendEmailChangedVerification(){\n this.showResendEmailChangedVerification = false;\n this.onCustomEvent(this.item,DataTableActionTypes.ResendVerification);\n }\n\n @Emit('customEvent') onCustomEvent(id:number,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UserListActionButtons.vue?vue&type=template&id=2d681356&scoped=true\"\nimport script from \"./UserListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./UserListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UserListActionButtons.vue?vue&type=style&index=0&id=2d681356&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2d681356\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport UserListActionButtons from './UserListActionButtons.vue'\nimport {FilterStatus} from '@/shared/enums/filterStatus.enum';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Filtrations from '@/shared/filtrations';\n\n@Component\n(\n {\n components: {\n DataTable,\n UserListActionButtons,\n FilterTextInput, \n }\n }\n)\nexport default class UserList extends Vue{\n items:any = [];\n showEmptyBanner:boolean = true;\n fields = [\n {key: 'firstName', sortable:true, class:'width_20'},\n {key: 'lastName', sortable:true, class:'width_20'},\n {key: 'email', sortable:true, class:'width_30'},\n {key: 'userRoleText', label:\"Role\", sortable:false, class:'width_20'},\n {key: 'actions', label:\"\", class:'text-right '} \n ];\n customTemplateList:Array = [\n {slot:\"actions\",customTemplate:UserListActionButtons}\n ]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"firstName\";\n filter:string = \"\";\n sortDesc:boolean = false;\n userStatusList:any = [{value:1,text:\"Active\"},{value:2,text:\"Inactive\"}];\n selectedUserStatus:any = 1;\n isAddButtonDisabled:boolean = true;\n resetButtonDisabled:boolean = true;\n\n mounted(){\n if(Object.keys(this.$route.query).length > 0) {\n this.validateAndAssignQueryParams();\n }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"firstName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",Status:this.selectedUserStatus,RelatedId:0});\n }\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",Status:this.selectedUserStatus,RelatedId:0});\n }\n onSortingChange(ctx:any){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",Status:this.selectedUserStatus,RelatedId:0});\n }\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"User\",\"UserList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.isAddButtonDisabled = this.isAddButtonDisabled && !(this.filter && this.filter.length>2) && this.totalRows>AppSettings.defaultGridSize;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n resetSelectedUserStatusList(){\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.selectedUserStatus = 1 ;\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"firstName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",Status:this.selectedUserStatus,RelatedId:0});\n }\n navigateToAddUser(){\n var rawLocation = {name:'Add User',params:{id:\"0\",routerDisplayName:\"personal\"}}\n this.$router.push(rawLocation);\n }\n refreshAndReset(){\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"firstName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",Status:this.selectedUserStatus,RelatedId:0});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n filterGrid(filterText:string){\n this.filter = filterText;\n this.resetButtonDisabled = false;\n this.updateURL();\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"firstName\",SortDesc:false,SearchByString:filterText,Status:this.selectedUserStatus,RelatedId:0});\n }\n resetTable(){\n this.sortBy = \"firstName\";\n (this.$refs.userTable as DataTable).reset();\n }\n onUserStatusChanged(){\n if(this.selectedUserStatus != 1) {\n this.resetButtonDisabled = false;\n }\n if(this.$route.query[Filtrations.USER_FILTER] == \"\"){\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.filter = \"\";\n }\n this.resetTable();\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"firstName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",Status:this.selectedUserStatus,RelatedId:0});\n }\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.userTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.userTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.deleteUser(data);\n }\n if(type == DataTableActionTypes.Activate){\n this.activateUser(data);\n }\n if(type == DataTableActionTypes.ResendEmail){\n this.resendUserActivationEmail(data);\n }\n if(type == DataTableActionTypes.ResendVerification){\n this.resendEmailChangedVerification(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n this.viewUserDetails(data);\n }\n }\n viewUserDetails(data:any){\n var queryData = {};\n if (this.filter != \"\") {\n queryData[Filtrations.USER_FILTER] = this.filter;\n }\n if (this.selectedUserStatus != 1){\n queryData[Filtrations.USER_STATUS] = this.selectedUserStatus;\n }\n this.$router.push({ name: 'Edit User', params: { id: data.id,routerDisplayName:'personal'}, query: queryData }); \n }\n \n deleteUser(item:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"User\",\"User\",item).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"User successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n \n this.refreshAndReset();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.userTable as DataTable).resetLastCustomAction();\n }) \n }\n\n activateUser(item:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"User\",\"User\",item).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"User successfully activated.\",\n type: 'success',\n duration: 5000\n });\n \n this.refreshAndReset();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.userTable as DataTable).resetLastCustomAction();\n }) \n }\n\n resendUserActivationEmail(item:any){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:item.id}\n apiService.sendGetRequest(\"User\",\"UserActivationEmail\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Activation email successfully resent.\",\n type: 'success',\n duration: 5000\n }); \n this.refreshAndReset();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n this.refreshAndReset();\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.userTable as DataTable).resetLastCustomAction();\n })\n }\n\n resendEmailChangedVerification(item:any){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {userID:item.id}\n apiService.sendGetRequest(\"User\",\"SendEmailChangeVerification\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Email change confirmation successfully resent.\",\n type: 'success',\n duration: 5000\n }); \n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n this.refreshAndReset();\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.userTable as DataTable).resetLastCustomAction();\n })\n }\n\n validateAndAssignQueryParams(){\n let userFilter = this.$route.query[Filtrations.USER_FILTER];\n let userStatus = this.$route.query[Filtrations.USER_STATUS];\n this.filter = userFilter ? String(userFilter) : \"\";\n if(this.filter != \"\" || this.selectedUserStatus != userStatus) {\n this.resetButtonDisabled = false;\n };\n this.selectedUserStatus = userStatus != null ? +userStatus : 1;\n this.$nextTick(()=>{\n (this.$refs.filterTextInput as FilterTextInput).filter = userFilter ? String(userFilter) : \"\"\n });\n }\n \n updateURL(){\n let qp = new URLSearchParams();\n if(this.filter != \"\") qp.set(Filtrations.USER_FILTER, this.filter);\n if(this.selectedUserStatus != 1) qp.set(Filtrations.USER_STATUS, this.selectedUserStatus)\n history.replaceState(null, null, \"?\"+qp.toString());\n }\n \n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UserList.vue?vue&type=template&id=45ec124d\"\nimport script from \"./UserList.vue?vue&type=script&lang=ts\"\nexport * from \"./UserList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UserList.vue?vue&type=style&index=0&id=45ec124d&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',{staticClass:\"justify-content-center\"},[_c('b-col',{attrs:{\"md\":\"4\",\"sm\":\"4\"}},[(!(_vm.showSuccessMessage))?_c('b-card',{staticClass:\"mx-4\",attrs:{\"no-body\":\"\"}},[_c('b-card-body',{staticClass:\"password-card\"},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.SendForgotPasswordEmail(_vm.$v.userName.$error && _vm.$v.email.$error)}}},[_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"mt-0 mb-4\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"80\",\"alt\":\"Apex Logo\"}})]),_c('h3',{staticClass:\"text-center text-muted\"},[_vm._v(\"Forgot Password\")]),_c('p',{staticClass:\"text-muted text-center\"},[_vm._v(\"Forgot your password? Please enter your Username & Email\")]),_c('b-form-group',{class:{ 'form-group--error': _vm.$v.userName.$error }},[_c('b-input-group',[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-user-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-form-input',{attrs:{\"id\":\"userName\",\"type\":\"text\",\"placeholder\":\"Username\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.userName.$touch()}},model:{value:(_vm.userName),callback:function ($$v) {_vm.userName=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"userName\"}})],1),(_vm.$v.userName.$dirty && !_vm.$v.userName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Username is required.\\n \")]):_vm._e()],1),_c('b-form-group',{class:{ 'form-group--error': _vm.$v.email.$error }},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-input-group-prepend',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-envelope\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-form-input',{attrs:{\"id\":\"email\",\"type\":\"text\",\"placeholder\":\"Email\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.email.$touch()}},model:{value:(_vm.email),callback:function ($$v) {_vm.email=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"email\"}})],1),(_vm.$v.email.$dirty && !_vm.$v.email.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email is required.\\n \")]):_vm._e(),(_vm.$v.email.$dirty && !_vm.$v.email.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email is invalid.\\n \")]):_vm._e()],1),(_vm.showErrorMessage)?_c('div',{staticClass:\"alert alert-danger\",attrs:{\"role\":\"alert\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\"}},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e(),_c('b-button',{staticClass:\"primary\",attrs:{\"type\":\"submit\",\"block\":\"\",\"disabled\":!_vm.$v.userName.required && !_vm.$v.email.required && !_vm.$v.email.email}},[_vm._v(\"Send Email\")])],1)],1)],1):_vm._e(),(_vm.showSuccessMessage)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-card',{staticClass:\"mx-4\",attrs:{\"no-body\":\"\"}},[_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"mt-4\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"80\",\"alt\":\"Apex Logo\"}})]),_c('b-card-body',{staticClass:\"f-size16 text-center text-muted banner-text\"},[_c('div',{staticClass:\"py-3\"},[_c('p',[_vm._v(\"Password Reset Email sent. \\n \"),_c('br'),_vm._v(\"\\n Please check your inbox. \")])]),_c('p',[_vm._v(\"Go back to \"),_c('router-link',{staticClass:\"primary-text\",attrs:{\"to\":{ name: 'Login'}}},[_vm._v(\"Login\")]),_vm._v(\" page.\")],1)])],1)],1)],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator'; \r\nimport apiService from '@/shared/services/apiService'\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required,email} from 'vuelidate/lib/validators'\r\nimport store from '@/store/store';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\n\r\n@Component({\r\n mixins:[validationMixin],\r\n validations:{\r\n userName:{\r\n required\r\n },\r\n email: {\r\n required,\r\n email\r\n }\r\n }\r\n})\r\nexport default class ForgotPassword extends Vue{\r\n userName:string = '';\r\n email:string = '';\r\n showSuccessMessage: boolean = false;\r\n showErrorMessage: boolean = false;\r\n dirtyValidatorRefNo:number = 0;\r\n dirtyValidationConfirmation:boolean = false;\r\n errorMessage: string = ''\r\n created(){\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,{userName: this.userName, email: this.email });\r\n }\r\n SendForgotPasswordEmail(isFormInvalid: boolean)\r\n {\r\n if(!isFormInvalid)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Account','ResetPasswordEmail',{userName:this.userName, email: this.email}).then(response=>{\r\n this.showErrorMessage = !response.data.isSuccess;\r\n this.showSuccessMessage = response.data.isSuccess;\r\n this.errorMessage = !response.data.isSuccess ? response.data.message : '';\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPassword.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPassword.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ForgotPassword.vue?vue&type=template&id=7a1bc9f6&scoped=true\"\nimport script from \"./ForgotPassword.vue?vue&type=script&lang=ts\"\nexport * from \"./ForgotPassword.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ForgotPassword.vue?vue&type=style&index=0&id=7a1bc9f6&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7a1bc9f6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('SetResetPassword',{attrs:{\"activateUser\":false,\"userID\":this.$route.params.userId,\"resetToken\":this.$route.query.token}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator'; \r\nimport SetResetPassword from './SetResetPassword.vue';\r\n\r\n@Component(\r\n {\r\n components : {\r\n SetResetPassword\r\n }\r\n }\r\n)\r\nexport default class ResetPassword extends Vue{\r\n\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetPassword.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetPassword.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ResetPassword.vue?vue&type=template&id=86648baa&scoped=true\"\nimport script from \"./ResetPassword.vue?vue&type=script&lang=ts\"\nexport * from \"./ResetPassword.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"86648baa\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',{staticClass:\"justify-content-center\"},[_c('b-col',{attrs:{\"md\":\"4\",\"sm\":\"4\"}},[(_vm.showErrorBanner)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-card',{staticClass:\"mx-4\",attrs:{\"no-body\":\"\"}},[_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"mt-3\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"80\",\"alt\":\"Apex Logo\"}})]),_c('b-card-body',{staticClass:\" text-center px-4 banner-text text-muted\"},[_c('p',{staticClass:\"mb-4 mt-3\"},[_vm._v(_vm._s(_vm.errorMessage)+\"\\n \")]),_c('p',[_vm._v(\"Go back to \"),_c('a',{staticClass:\"primary-text\",attrs:{\"href\":\"\\\\auth\\\\login\\\\\"}},[_vm._v(\"Login\")]),_vm._v(\" page.\")])])],1)],1)],1):_vm._e(),(_vm.showSuccessBanner)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"12\"}},[_c('b-card',{staticClass:\"mx-4\",attrs:{\"no-body\":\"\"}},[_c('div',{staticClass:\"text-center\"},[_c('img',{staticClass:\"mt-3\",attrs:{\"src\":this.$store.getters.getLogoImageUri,\"height\":\"80\",\"alt\":\"Apex Logo\"}})]),_c('b-card-body',{staticClass:\" text-center px-4 banner-text text-muted\"},[_c('p',{staticClass:\"mb-4 mt-3\"},[_vm._v(_vm._s(_vm.successMessage)+\"\\n \")]),_c('p',[_vm._v(\"Go back to \"),_c('a',{staticClass:\"primary-text\",attrs:{\"href\":\"\\\\auth\\\\login\\\\\"}},[_vm._v(\"Login\")]),_vm._v(\" page.\")])])],1)],1)],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator'; \r\nimport apiService from '@/shared/services/apiService';\r\nimport store from '@/store/store';\r\n\r\n@Component\r\nexport default class ChangeEmail extends Vue{\r\n useremail:string = '';\r\n errorMessage: string = ''\r\n showErrorBanner:boolean = false;\r\n showSuccessBanner:boolean = false;\r\n successMessage:string = \"\";\r\n beforeCreate(){\r\n var id = this.$route.params.id;\r\n var email = this.$route.params.email;\r\n var token = this.$route.query.token;\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest(\"Account\",\"ChangeEmail\",{UserId:id,EmailConfirmationToken:token,Email:email}).then(response =>\r\n {\r\n this.$store.dispatch('destroyToken')\r\n .then(response => {\r\n this.$store.dispatch('removeToken');})\r\n if(response.data.isSuccess){\r\n this.successMessage = \"Email address changed successfully.\"\r\n this.showSuccessBanner = true;\r\n }\r\n else{\r\n this.errorMessage = response.data.message;\r\n this.showErrorBanner = true;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeEmail.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeEmail.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ChangeEmail.vue?vue&type=template&id=49071f32\"\nimport script from \"./ChangeEmail.vue?vue&type=script&lang=ts\"\nexport * from \"./ChangeEmail.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelThemeConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to reset the fields?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelThemeConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelThemeConf_OkButton\"},on:{\"click\":_vm.onOkayToCancel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.backNavigationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"NavigateThemeConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to go back?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"NavigateThemeConf_CancelButton\"},on:{\"click\":function($event){_vm.backNavigationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"NavigateThemeConf_OkButton\"},on:{\"click\":_vm.onOkayToGoBack}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mt-3\"},[_c('b-container',[_c('b-row',{attrs:{\"align-h\":\"center\"}},[_c('b-col',{attrs:{\"md\":\"9\",\"lg\":\"7\",\"xl\":\"5\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',{staticClass:\"primary-text\"},[_c('strong',[_vm._v(\"Change Theme\")]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Dashboard\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])])]),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"6\",\"md\":\"6\",\"lg\":\"6\",\"xl\":\"6\"}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":\"Theme colour\",\"label-for\":\"themeColor\",\"label-class\":\"text-nowrap\"}},[_c('b-form-input',{staticClass:\"textInput themeColorInput\",attrs:{\"id\":\"themeColor\",\"type\":\"color\",\"required\":\"\"},on:{\"change\":_vm.onColorSelect},model:{value:(_vm.selectedColor),callback:function ($$v) {_vm.selectedColor=$$v},expression:\"selectedColor\"}})],1)],1)],1),_c('b-row',[_c('b-col',[_c('FileUploader',{ref:\"logoUploader\",attrs:{\"label\":\"Logo\",\"imgUri\":_vm.logoImageUri,\"accept\":\"image/*\"},on:{\"onFileChanged\":_vm.onLogoSelected}})],1)],1),_c('b-row',[_c('b-col',[_c('FileUploader',{ref:\"favIconUploader\",attrs:{\"label\":\"Fav Icon\",\"imgUri\":_vm.favIconImageUri,\"accept\":\"image/*\",\"showAdditionalMessage\":\"true\",\"additionalMessage\":\"Preferred size is 64px*64px.\"},on:{\"onFileChanged\":_vm.onFavIconSelected}})],1)],1)],1),_c('b-col',{attrs:{\"sm\":\"6\",\"md\":\"6\",\"lg\":\"6\",\"xl\":\"6\"}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":\"Success colour\",\"label-for\":\"successColor\",\"label-class\":\"text-nowrap\"}},[_c('b-form-input',{staticClass:\"textInput themeColorInput\",attrs:{\"id\":\"successColor\",\"type\":\"color\",\"required\":\"\"},on:{\"change\":_vm.onSuccessColorSelect},model:{value:(_vm.selectedSuccessColor),callback:function ($$v) {_vm.selectedSuccessColor=$$v},expression:\"selectedSuccessColor\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":\"Warning colour\",\"label-for\":\"warningColor\",\"label-class\":\"text-nowrap\"}},[_c('b-form-input',{staticClass:\"textInput themeColorInput\",attrs:{\"id\":\"warningColor\",\"type\":\"color\",\"required\":\"\"},on:{\"change\":_vm.onWarningColorSelect},model:{value:(_vm.selectedWarningColor),callback:function ($$v) {_vm.selectedWarningColor=$$v},expression:\"selectedWarningColor\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":\"Error colour\",\"label-for\":\"errorColor\",\"label-class\":\"text-nowrap\"}},[_c('b-form-input',{staticClass:\"textInput themeColorInput\",attrs:{\"id\":\"errorColor\",\"type\":\"color\",\"required\":\"\"},on:{\"change\":_vm.onErrorColorSelect},model:{value:(_vm.selectedErrorColor),callback:function ($$v) {_vm.selectedErrorColor=$$v},expression:\"selectedErrorColor\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":\"Note colour\",\"label-for\":\"noteColor\",\"label-class\":\"text-nowrap\"}},[_c('b-form-input',{staticClass:\"textInput themeColorInput\",attrs:{\"id\":\"noteColor\",\"type\":\"color\",\"required\":\"\"},on:{\"change\":_vm.onNoteColorSelect},model:{value:(_vm.selectedNoteColor),callback:function ($$v) {_vm.selectedNoteColor=$$v},expression:\"selectedNoteColor\"}})],1)],1)],1)],1)],1),_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.lastUpadatedBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.lastUpdatedDate))+\")\")])]),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":!_vm.logoChanged && !_vm.favIconChanged && !_vm.colorChanged && !_vm.successColorChanged && !_vm.warningColorChanged && !_vm.errorColorChanged && !_vm.noteColorChanged}},[_vm._v(\" Update \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":!_vm.logoChanged && !_vm.favIconChanged && !_vm.colorChanged && !_vm.successColorChanged && !_vm.warningColorChanged && !_vm.errorColorChanged && !_vm.noteColorChanged},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport colorConvertService from \"@/shared/services/colorConvertService\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport FileUploader from \"@/shared/components/fileUploader/FileUploader.vue\"\r\nimport blobService from '@/shared/services/azureBlobStorageService';\r\nimport {FileTypes} from '@/shared/enums/fileTypes.enum'\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport {BlobContainerType} from '@/shared/enums/blobContainerTypes.enum';\r\n\r\n@Component({\r\n components:{\r\n FileUploader,\r\n Modal\r\n }\r\n})\r\nexport default class ManageTheme extends Vue{\r\n \r\n selectedColor:string = \"\";\r\n selectedSuccessColor:string = \"\";\r\n selectedWarningColor:string = \"\";\r\n selectedErrorColor:string = \"\";\r\n selectedNoteColor:string = \"\";\r\n initialBaseColor:string = \"\";\r\n initialBaseSuccessColor:string = \"\";\r\n initialBaseWarningColor:string = \"\";\r\n initialBaseErrorColor:string = \"\";\r\n initialBaseNoteColor:string = \"\";\r\n dirtyValidationConfirmation:boolean = false;\r\n backNavigationConfirmation:boolean = false;\r\n fileUploaderRef:any = this.$refs.fileUploader;\r\n selectedLogo:any = null;\r\n selectedFavIcon:any = null;\r\n logoChanged:boolean = false;\r\n favIconChanged:boolean = false;\r\n colorChanged:boolean = false;\r\n successColorChanged:boolean = false;\r\n warningColorChanged:boolean = false;\r\n errorColorChanged:boolean = false;\r\n noteColorChanged:boolean = false;\r\n logoSettings:any = null;\r\n favIconSettings:any = null;\r\n logoImageUri:string = '';\r\n favIconImageUri:string = '';\r\n lastUpadatedBy:string = '';\r\n logoUploaded:boolean = false;\r\n favIconUploaded:boolean = false;\r\n lastUpdatedDate:any = new Date();\r\n created(){\r\n this.loadThemeSettings();\r\n }\r\n onCancel(){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n onOkayToCancel(){\r\n this.selectedColor = this.initialBaseColor;\r\n this.selectedSuccessColor = this.initialBaseSuccessColor;\r\n this.selectedWarningColor = this.initialBaseWarningColor;\r\n this.selectedErrorColor = this.initialBaseErrorColor;\r\n this.selectedNoteColor = this.initialBaseNoteColor;\r\n this.logoImageUri = this.logoSettings? this.logoSettings.uri : '';\r\n this.favIconImageUri = this.favIconSettings ? this.favIconSettings.uri : '';\r\n this.resetForm();\r\n }\r\n resetForm(){\r\n this.colorChanged = false;\r\n this.successColorChanged = false;\r\n this.warningColorChanged = false;\r\n this.errorColorChanged = false;\r\n this.noteColorChanged = false;\r\n this.logoChanged = false;\r\n this.favIconChanged = false;\r\n this.dirtyValidationConfirmation = false;\r\n (this.$refs.logoUploader as FileUploader).resetUploder();\r\n (this.$refs.favIconUploader as FileUploader).resetUploder();\r\n }\r\n onColorSelect(){\r\n this.colorChanged = true;\r\n }\r\n onSuccessColorSelect(){\r\n this.successColorChanged = true;\r\n }\r\n onWarningColorSelect(){\r\n this.warningColorChanged = true;\r\n }\r\n onErrorColorSelect(){\r\n this.errorColorChanged = true;\r\n }\r\n onNoteColorSelect()\r\n {\r\n this.noteColorChanged = true;\r\n }\r\n changeColor(){\r\n var params = {\r\n selectedColor: this.selectedColor,\r\n selectedSuccessColor: this.selectedSuccessColor,\r\n selectedWarningColor: this.selectedWarningColor,\r\n selectedErrorColor: this.selectedErrorColor,\r\n selectedNoteColor: this.selectedNoteColor\r\n };\r\n this.$store.dispatch('changeBaseColorCodes',params);\r\n this.initialBaseColor = this.selectedColor;\r\n this.initialBaseSuccessColor =this.selectedSuccessColor;\r\n this.initialBaseWarningColor = this.selectedWarningColor;\r\n this.initialBaseErrorColor = this.selectedErrorColor;\r\n this.initialBaseNoteColor = this.selectedNoteColor;\r\n\r\n }\r\n resetColor(){\r\n this.selectedColor = this.initialBaseColor;\r\n this.selectedSuccessColor = this.initialBaseSuccessColor;\r\n this.selectedWarningColor = this.initialBaseWarningColor;\r\n this.selectedErrorColor = this.initialBaseErrorColor;\r\n this.selectedNoteColor = this.initialBaseNoteColor;\r\n }\r\n\r\n onLogoSelected(file:any){\r\n this.selectedLogo = file;\r\n if(file){\r\n this.logoImageUri = '';\r\n this.logoChanged = true;\r\n }\r\n else{\r\n this.logoImageUri = this.logoSettings? this.logoSettings.uri : '';\r\n this.logoChanged = false;\r\n }\r\n }\r\n\r\n onFavIconSelected(file:any){\r\n this.selectedFavIcon = file;\r\n if(file){\r\n this.favIconImageUri = '';\r\n this.favIconChanged = true;\r\n }\r\n else{\r\n this.favIconImageUri = this.favIconSettings ? this.favIconSettings.uri : '';\r\n this.favIconChanged = false;\r\n }\r\n }\r\n\r\n onSubmit(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n if(this.selectedLogo && this.selectedFavIcon){\r\n var promise1 = this.logoSettings? blobService.getsasForExisting(BlobContainerType.Public, this.logoSettings.guid): blobService.getsasAndGuid(BlobContainerType.Public);\r\n var promise2 = this.favIconSettings? blobService.getsasForExisting(BlobContainerType.Public, this.favIconSettings.guid):blobService.getsasAndGuid(BlobContainerType.Public);\r\n var logoSas;\r\n var favIconSas;\r\n Promise.all([promise1,promise2]).then(response => {\r\n logoSas = response[0].data;\r\n favIconSas = response[1].data;\r\n var imgUploadPromise1 = blobService.uploadFile(logoSas,this.selectedLogo);\r\n var imgUploadPromise2 = blobService.uploadFile(favIconSas,this.selectedFavIcon);\r\n Promise.all([imgUploadPromise1,imgUploadPromise2]).then( response1 =>{\r\n var logoParams = {\r\n fileName:this.selectedLogo.name,\r\n fileType: FileTypes.SystemLogo,\r\n guid: logoSas.blobGuid,\r\n fileExtension: this.getFileExtension(this.selectedLogo.name),\r\n uri: logoSas.blobUri\r\n }\r\n\r\n var favIconParams = {\r\n fileName:this.selectedFavIcon.name,\r\n fileType: FileTypes.SystemFavIcon,\r\n guid: favIconSas.blobGuid,\r\n fileExtension: this.getFileExtension(this.selectedFavIcon.name),\r\n uri: favIconSas.blobUri\r\n }\r\n\r\n var params = {\r\n selectedColor: this.selectedColor,\r\n selectedSuccessColor: this.selectedSuccessColor,\r\n selectedWarningColor: this.selectedWarningColor,\r\n selectedErrorColor: this.selectedErrorColor,\r\n selectedNoteColor: this.selectedNoteColor,\r\n logoSettings: logoParams,\r\n favIconSettings: favIconParams\r\n }\r\n\r\n apiService.sendPostRequest('Utility','ThemeSettings',params).then( response2 => {\r\n this.changeColor();\r\n this.logoImageUri = logoSas.blobUri;\r\n this.favIconImageUri = favIconSas.blobUri; \r\n this.$store.dispatch('changeLogoImageUri',this.logoImageUri);\r\n this.$store.dispatch('changeFavIconImageUri',this.favIconImageUri);\r\n this.lastUpadatedBy = response2.data.updatedByName;\r\n this.lastUpdatedDate = response2.data.lastUpdatedDate;\r\n this.logoSettings = logoParams;\r\n this.favIconSettings = favIconParams;\r\n this.resetForm();\r\n (this.$refs.logoUploader as FileUploader).setAltImg();\r\n (this.$refs.favIconUploader as FileUploader).setAltImg();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response2.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n })\r\n }) \r\n })\r\n }\r\n else if(this.selectedLogo){\r\n var promise = this.logoSettings? blobService.getsasForExisting(BlobContainerType.Public, this.logoSettings.guid): blobService.getsasAndGuid(BlobContainerType.Public);\r\n promise.then(response => {\r\n var logoSas = response.data;\r\n blobService.uploadFile(logoSas,this.selectedLogo).then( response1 =>{\r\n var logoParams = {\r\n fileName:this.selectedLogo.name,\r\n fileType: FileTypes.SystemLogo,\r\n guid: logoSas.blobGuid,\r\n fileExtension: this.getFileExtension(this.selectedLogo.name),\r\n uri: logoSas.blobUri\r\n };\r\n var params = {\r\n selectedColor: this.selectedColor,\r\n selectedSuccessColor: this.selectedSuccessColor,\r\n selectedWarningColor: this.selectedWarningColor,\r\n selectedErrorColor: this.selectedErrorColor,\r\n selectedNoteColor: this.selectedNoteColor,\r\n logoSettings: logoParams,\r\n favIconSettings: null\r\n }\r\n apiService.sendPostRequest('Utility','ThemeSettings',params).then( response2 => {\r\n this.changeColor();\r\n this.logoImageUri = logoSas.blobUri;\r\n this.$store.dispatch('changeLogoImageUri',this.logoImageUri);\r\n this.lastUpadatedBy = response2.data.updatedByName;\r\n this.lastUpdatedDate = response2.data.lastUpdatedDate;\r\n this.logoSettings = logoParams;\r\n this.resetForm();\r\n (this.$refs.logoUploader as FileUploader).setAltImg();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response2.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n })\r\n }) \r\n })\r\n }\r\n else if(this.selectedFavIcon){\r\n var promise = this.favIconSettings? blobService.getsasForExisting(BlobContainerType.Public, this.favIconSettings.guid):blobService.getsasAndGuid(BlobContainerType.Public);\r\n promise.then(response => {\r\n var favIconSas = response.data;\r\n blobService.uploadFile(favIconSas,this.selectedFavIcon).then( response1 =>{\r\n var favIconParams = {\r\n fileName:this.selectedFavIcon.name,\r\n fileType: FileTypes.SystemFavIcon,\r\n guid: favIconSas.blobGuid,\r\n fileExtension: this.getFileExtension(this.selectedFavIcon.name),\r\n uri: favIconSas.blobUri\r\n }\r\n\r\n var params = {\r\n selectedColor: this.selectedColor,\r\n selectedSuccessColor: this.selectedSuccessColor,\r\n selectedWarningColor: this.selectedWarningColor,\r\n selectedErrorColor: this.selectedErrorColor,\r\n selectedNoteColor:this.selectedNoteColor,\r\n logoSettings: null,\r\n favIconSettings: favIconParams\r\n }\r\n\r\n apiService.sendPostRequest('Utility','ThemeSettings',params).then( response2 => {\r\n this.changeColor();\r\n this.favIconImageUri = favIconSas.blobUri;\r\n this.$store.dispatch('changeFavIconImageUri',this.favIconImageUri);\r\n this.lastUpadatedBy = response2.data.updatedByName;\r\n this.lastUpdatedDate = response2.data.lastUpdatedDate;\r\n this.favIconSettings = favIconParams;\r\n this.resetForm();\r\n (this.$refs.favIconUploader as FileUploader).setAltImg();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response2.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n })\r\n }) \r\n })\r\n }\r\n else{\r\n var params = {\r\n selectedColor: this.selectedColor,\r\n selectedSuccessColor: this.selectedSuccessColor,\r\n selectedWarningColor: this.selectedWarningColor,\r\n selectedErrorColor: this.selectedErrorColor,\r\n selectedNoteColor:this.selectedNoteColor,\r\n logoSettings: null,\r\n favIconSettings: null\r\n }\r\n\r\n apiService.sendPostRequest('Utility','ThemeSettings',params).then( response2 => {\r\n this.changeColor();\r\n this.resetForm();\r\n this.lastUpadatedBy = response2.data.updatedByName;\r\n this.lastUpdatedDate = response2.data.lastUpdatedDate;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: \"Theme colors changed successfully.\",\r\n type: 'success',\r\n duration: 5000\r\n });\r\n })\r\n }\r\n }\r\n getFileExtension(fileName:string){\r\n var wordList = fileName.split(\".\");\r\n return wordList[wordList.length-1];\r\n }\r\n loadThemeSettings(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Utility','ThemeSettings',null).then(response => {\r\n \r\n this.selectedColor = response.data.selectedColor;\r\n this.selectedSuccessColor = response.data.selectedSuccessColor;\r\n this.selectedWarningColor = response.data.selectedWarningColor;\r\n this.selectedErrorColor = response.data.selectedErrorColor;\r\n this.selectedNoteColor = response.data.selectedNoteColor;\r\n this.initialBaseColor = response.data.selectedColor;\r\n this.initialBaseSuccessColor = response.data.selectedSuccessColor;\r\n this.initialBaseWarningColor = response.data.selectedWarningColor;\r\n this.initialBaseErrorColor = response.data.selectedErrorColor;\r\n this.initialBaseNoteColor = response.data.selectedNoteColor;\r\n this.logoSettings = response.data.logoSettings;\r\n this.favIconSettings = response.data.favIconSettings;\r\n this.logoImageUri = this.logoSettings ? this.logoSettings.uri : '';\r\n this.favIconImageUri = this.favIconSettings ? this.favIconSettings.uri : '';\r\n this.lastUpadatedBy = response.data.updateByUser;\r\n this.lastUpdatedDate = response.data.lastUpdatedDateTime;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n routerNavigateBack(){\r\n if(this.logoChanged || this.favIconChanged || this.colorChanged || this.successColorChanged || this.warningColorChanged || this.errorColorChanged || this.noteColorChanged){\r\n this.backNavigationConfirmation = true;\r\n }\r\n else{\r\n this.onOkayToGoBack();\r\n }\r\n }\r\n onOkayToGoBack(){\r\n this.$router.push({name:'Dashboard'}); \r\n this.backNavigationConfirmation = false;\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Theme.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Theme.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Theme.vue?vue&type=template&id=fded789e&scoped=true\"\nimport script from \"./Theme.vue?vue&type=script&lang=ts\"\nexport * from \"./Theme.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Theme.vue?vue&type=style&index=0&id=fded789e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fded789e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showUploadReportTemplatePanel)?_c('div',[_c('AddEditReportTemplate',{attrs:{\"originalUploadTemplate\":_vm.uploadTemplate},on:{\"onOkayToCancel\":_vm.closeUploadTemplatePanel,\"onReportTemplateUploaded\":_vm.onReportTemplateUploaded,\"onReportTemplateUpdated\":_vm.onReportTemplateUpdated}})],1):_vm._e(),(!_vm.showUploadReportTemplatePanel)?_c('div',[_c('b-row',[_c('b-col',[_c('div',{staticClass:\"mt-2 page-title primary-text\"},[_c('strong',[_vm._v(\"Template List\")])])])],1),_c('b-row',{staticClass:\"top-button-row mb-3 mt-1\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"pull-right primary\",on:{\"click\":_vm.onUploadReportTemplate}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Upload Report Template\\n \")])],1)],1),_c('DataTable',{ref:\"bankAccountsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"hidePaginator\":true,\"showEmptyBanner\":\"true\",\"selectable\":true,\"emptyBanner\":\"No template types to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export class BaseEntityModel{\r\n tenantId: number\r\n}","import { BaseEntityModel } from \"./baseEntity.model\";\r\n\r\nexport class AuditedDbEntityModel extends BaseEntityModel{\r\n id: number;\r\n createdByUserId: number;\r\n createdByUser: string;\r\n createdOnUtc: any;\r\n lastUpdatedByUserId: number;\r\n lastUpdatedByUser: string;\r\n lastUpdatedOnUtc: any;\r\n concurrencyKey: any\r\n}","import { AuditedDbEntityModel } from \"../BaseModels/auditedDbEntityModel\";\r\n\r\nexport class TemplatedReportConfigurationModel extends AuditedDbEntityModel{\r\n reportType: string;\r\n TemplateToObjectMappingJsonString: any;\r\n}","import { AuditedDbEntityModel } from \"../BaseModels/auditedDbEntityModel\";\r\nimport { TemplatedReportConfigurationModel } from \"./templatedReportConfiuguration.model\";\r\n\r\nexport class TemplateReportTypeModel extends AuditedDbEntityModel{\r\n templateId: string = \"\";\r\n reportName: string = \"\";\r\n templatedReportConfigurationId: number = 0;\r\n templatedReportConfiguration: TemplatedReportConfigurationModel = new TemplatedReportConfigurationModel();\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelBankAccountConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelBankAccountConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelBankAccountConf_OkButton\"},on:{\"click\":_vm.closeUploadTemplatePanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mt-4 mb-4\"},[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"8\",\"lg\":\"8\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.uploadTemplate.reportName.$error },attrs:{\"label\":\"Report Name\",\"label-for\":\"reportName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.uploadTemplate.reportName.length == 0)},attrs:{\"id\":\"reportName\",\"type\":\"text\",\"placeholder\":\"Enter Report Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.uploadTemplate.reportName.$touch()}},model:{value:(_vm.uploadTemplate.reportName),callback:function ($$v) {_vm.$set(_vm.uploadTemplate, \"reportName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"uploadTemplate.reportName\"}}),(_vm.$v.uploadTemplate.reportName.$dirty && !_vm.$v.uploadTemplate.reportName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Report Name is required.\\n \")]):_vm._e()],1)],1)],1),(_vm.reportTypesList.length > 0)?_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Report Configuration Type\",\"label-for\":\"reportType\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error':_vm.$v.uploadTemplate.templatedReportConfigurationId.$error, 'requiredField': (_vm.uploadTemplate.templatedReportConfigurationId == 0)},attrs:{\"id\":\"reportType\",\"plain\":true,\"options\":_vm.reportTypesList},on:{\"change\":function($event){_vm.onReportTypeChanged(); _vm.$v.uploadTemplate.templatedReportConfigurationId.$touch();}},model:{value:(_vm.uploadTemplate.templatedReportConfigurationId),callback:function ($$v) {_vm.$set(_vm.uploadTemplate, \"templatedReportConfigurationId\", $$v)},expression:\"uploadTemplate.templatedReportConfigurationId\"}},[(_vm.uploadTemplate.templatedReportConfigurationId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.uploadTemplate.templatedReportConfigurationId.$dirty && !_vm.$v.uploadTemplate.templatedReportConfigurationId.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Report type is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',[(_vm.uploadTemplate.id>0)?_c('b-btn',{staticClass:\"cursor-pointer action-btn download-template\",attrs:{\"title\":\"Download Template\"},on:{\"click\":_vm.downloadTemplate}},[_c('i',{staticClass:\"fas fa-download cursor-pointer grid-large-icon mt-2 mb-4\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)],1),_c('b-row',[_c('b-col',[_c('FileUploader',{ref:\"docUploader\",attrs:{\"label\":\"\",\"modalMode\":false,\"imgUri\":'',\"accept\":_vm.acceptedFileTypes,\"fontSize\":10,\"showErrorMessage\":false,\"errorMessage\":\"\"},on:{\"onFileChanged\":_vm.onDocumentSelected}})],1)],1),_c('b-row',[_c('b-col',[(_vm.fileName == '' && _vm.isSaveButtonClicked)?_c('div',{staticClass:\"text-danger requiredFieldText\"},[_vm._v(\"\\n file is required\\n \")]):_vm._e()])],1),_c('div',{staticClass:\"mt-4\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.isModelInvalid() || !_vm.isModelDirty())}},[_vm._v(\" \"+_vm._s(_vm.uploadTemplate.id>0?'Update':'Save'))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1)],1)],1)],1)],1),(_vm.selectedReportId > 0)?_c('ReportPropertyKeyMappingTableView',{attrs:{\"itemList\":_vm.selectedReportConfigurationPayload}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default class BlobContainerNames\r\n{\r\n public static readonly REPORT_TEMPLATE_CONTAINER_NAME= \"reporttemplates\";\r\n public static readonly TENANT_DOCUMENTS_CONTAINER_NAME= \"tenant-documents\";\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"pl-2 pr-2\"},[_c('SystemTextNotes',{attrs:{\"boldText\":\"Note:\",\"text1\":\"Report Static Mappings are shown below\",\"isDecimalValue\":false}}),(_vm.staticItems && _vm.staticItems.length > 0)?_c('div',{staticClass:\"reportMappingTable mt-3 mb-4\"},[_c('DataTable',{ref:\"staticPropertyTableTable\",attrs:{\"items\":_vm.staticItems,\"fields\":_vm.fields,\"hidePaginator\":true,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No template types to display.\"}})],1):_vm._e(),_c('SystemTextNotes',{attrs:{\"boldText\":\"Note:\",\"text1\":\"Report Dynamic Mappings are shown below\",\"isDecimalValue\":false}}),(_vm.dynamicItems && _vm.dynamicItems.length > 0)?_c('div',{staticClass:\"reportMappingTable mt-3 mb-4\"},_vm._l((_vm.dynamicItems),function(dynamicTable,index){return _c('div',{key:index},[_c('b-row',[_c('b-col',[_c('b',[_vm._v(\"Table Header Name: \")]),_vm._v(\" \"+_vm._s(dynamicTable.TableHeaderName)+\"\\n \")])],1),_c('b-row',[_c('b-col',[_c('b',[_vm._v(\"Table Row Property Name:\")]),_vm._v(\" \"+_vm._s(dynamicTable.TableRowPropertyName)+\"\\n \")])],1),_c('b-row',{staticClass:\"mb-3\"},[_c('b-col',[_c('b',[_vm._v(\"Zero Based Values PlaceHolder Row Index: \")]),_vm._v(\" \"+_vm._s(dynamicTable.ZeroBasedValuesPlaceHolderRowIndex)+\"\\n \")])],1),_c('DataTable',{ref:\"staticPropertyTableTable\",refInFor:true,attrs:{\"items\":dynamicTable.TableRowKeyMappings,\"fields\":_vm.fields,\"hidePaginator\":true,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No template types to display.\"}})],1)}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\n\n@Component(\n {\n components: {\n DataTable,\n SystemTextNotes\n }\n }\n)\nexport default class ReportPropertyKeyMappingTableView extends Vue{\n @Prop() itemList:any\n \n fields = [\n {key: 'PropertyName',label:\"Property Name\",class:'width_30'},\n {key: 'Key',label:\"Key\",class:'width_30'},\n {key: 'Description',label:\"Description\",class:'width_40'}, \n ];\n staticItems:any = [];\n dynamicItems:any = [];\n @Watch('itemList')\n onGSTCalculationPeriodIdChanged(val: any, oldVal: any)\n {\n var parsedObj = JSON.parse(val);\n this.staticItems = parsedObj.StaticPropertyKeyMappings;\n this.dynamicItems = parsedObj.DynamicTablePropertyKeyMappings;\n }\n\n\n\n \n \n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportPropertyKeyMappingTableView.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportPropertyKeyMappingTableView.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReportPropertyKeyMappingTableView.vue?vue&type=template&id=d876bc66&scoped=true\"\nimport script from \"./ReportPropertyKeyMappingTableView.vue?vue&type=script&lang=ts\"\nexport * from \"./ReportPropertyKeyMappingTableView.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ReportPropertyKeyMappingTableView.vue?vue&type=style&index=0&id=d876bc66&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d876bc66\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { validationMixin } from 'vuelidate';\nimport { required, numeric, minValue } from 'vuelidate/lib/validators';\nimport apiService from '@/shared/services/apiService';\nimport lookupService from '@/shared/services/lookupService'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport FileUploader from '@/shared/components/fileUploader/FileUploader.vue';\nimport blobService from '@/shared/services/azureBlobStorageService';\nimport BlobContainerNames from '@/shared/blobContainerNames';\nimport ReportPropertyKeyMappingTableView from './ReportPropertyKeyMappingTableView.vue';\nimport { TemplateReportTypeModel } from '@/models/TemplatedReport/templateReportType.model';\nimport fileViewerService from '@/shared/services/fileViewerService';\n\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n Modal,\n FileUploader,\n ReportPropertyKeyMappingTableView\n },\n validations:{\n uploadTemplate:{\n reportName:\n {\n required\n },\n templatedReportConfigurationId:{\n required\n }\n }\n }\n }\n)\nexport default class AddEditReportTemplate extends Vue{\n @Prop() originalUploadTemplate:any;\n uploadTemplate:TemplateReportTypeModel = new TemplateReportTypeModel();\n dirtyValidatorRefNo:number = 0;\n showCancelConfirmation:boolean = false;\n reportTypesList:any = [];\n bankAccountTypesList:any = [];\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n selectedFile:any;\n fileName:string = \"\";\n acceptedFileTypes:string = \".docx\";\n selectedReportId:number = 0;\n selectedReportType: string = \"\";\n selectedReportConfigurationPayload:string = \"\";\n isSaveButtonClicked:boolean = false;\n\n created(){\n this.loadReportTypeList();\n }\n\n mounted(){\n if(this.originalUploadTemplate && this.originalUploadTemplate.id > 0){\n this.uploadTemplate = Object.assign({}, this.originalUploadTemplate);\n \n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo, this.uploadTemplate);\n }\n\n loadReportTypeList()\n {\n lookupService.GetReportTypes().then(data => \n {\n this.reportTypesList = data;\n if(this.uploadTemplate.id > 0){\n this.onReportTypeChanged();\n }\n });\n }\n\n onReportTypeChanged(){\n this.selectedReportId = this.uploadTemplate.templatedReportConfigurationId;\n this.selectedReportType = this.reportTypesList.filter((r) => r.value == this.uploadTemplate.templatedReportConfigurationId)[0].text;\n this.getTemplatedReportConfiguration();\n }\n\n getTemplatedReportConfiguration(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.selectedReportId}\n apiService.sendGetRequest('TemplatedReportConfiguration','TemplatedReportConfiguration',params).then(response=>{\n this.selectedReportConfigurationPayload = response.data.templateToObjectMappingJsonString;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onSubmit(){\n if(this.uploadTemplate.id > 0){\n this.updateReportTemplate();\n }\n else{\n this.onUploadNewReportTemplate();\n } \n }\n\n onDocumentSelected(file){\n if(file != null){\n this.selectedFile = file;\n this.fileName = this.selectedFile.name;\n }\n else{\n this.selectedFile = null;\n }\n }\n\n onUploadNewReportTemplate(){\n this.$store.dispatch('storeIsBusyValue',true);\n blobService.getSasAndGuidByBlobContainerName(BlobContainerNames.REPORT_TEMPLATE_CONTAINER_NAME).then(response => {\n if(this.selectedFile != null) {\n //TODO: Review following work flow\n var docSas = response.data;\n //TODO: Ideally it should not be possible to upload an empty file. If the used library allows it, we need to modify the blobService.uploadFile() method with our own validation to check if file is not null\n blobService.uploadFile(docSas,this.selectedFile).then( response =>{\n var docParams = {\n templateId:docSas.blobGuid,\n reportName:this.uploadTemplate.reportName,\n templatedReportConfigurationId:this.uploadTemplate.templatedReportConfigurationId\n };\n apiService.sendPutRequest('TemplateReportType','TemplateReportType',docParams).then( response => {\n if(response.data.isSuccess){\n (this.$refs.docUploader as FileUploader).resetUploder();\n this.selectedFile = null;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.closeUploadTemplatePanel();\n this.uploadTemplate.templateId = docParams.templateId; \n this.uploadTemplate.templatedReportConfiguration.reportType = this.selectedReportType;\n this.onReportTemplateUploaded(this.uploadTemplate);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }) \n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: \"Please select a file\",\n type: 'error',\n duration: 5000\n });\n this.$store.dispatch('storeIsBusyValue',false);\n }\n })\n }\n\n updateReportTemplate(){\n this.$store.dispatch('storeIsBusyValue',true);\n if(this.fileName != \"\") {\n blobService.deleteFileByContainerName(BlobContainerNames.REPORT_TEMPLATE_CONTAINER_NAME, this.uploadTemplate.templateId).then(response => {\n if(response.data.isSuccess){\n blobService.getSasAndGuidByBlobContainerName(BlobContainerNames.REPORT_TEMPLATE_CONTAINER_NAME).then(response => {\n if(this.selectedFile != null) {\n var docSas = response.data;\n blobService.uploadFile(docSas,this.selectedFile).then( response =>{\n var docParams = {\n id:this.uploadTemplate.id,\n templateId:docSas.blobGuid,\n reportName:this.uploadTemplate.reportName,\n templatedReportConfigurationId:this.uploadTemplate.templatedReportConfigurationId,\n ConcurrencyKey:this.uploadTemplate.concurrencyKey,\n };\n this.updateReportTemplateData(docParams);\n }) \n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: \"Please select a file\",\n type: 'error',\n duration: 5000\n });\n }\n })\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n } else { \n var params = {\n id:this.uploadTemplate.id,\n templateId:this.uploadTemplate.templateId,\n reportName:this.uploadTemplate.reportName,\n ConcurrencyKey:this.uploadTemplate.concurrencyKey,\n templatedReportConfigurationId:this.uploadTemplate.templatedReportConfigurationId\n };\n this.updateReportTemplateData(params);\n }\n }\n\n\n updateReportTemplateData(params: any){\n this.$store.dispatch('storeIsBusyValue',false);\n apiService.sendPostRequest('TemplateReportType','TemplateReportType',params).then( response => {\n if(response.data.isSuccess){\n (this.$refs.docUploader as FileUploader).resetUploder();\n this.selectedFile = null;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.closeUploadTemplatePanel();\n this.uploadTemplate.templateId = params.templateId; \n this.uploadTemplate.templatedReportConfiguration.reportType = this.selectedReportType;\n this.onReportTemplateUpdated(this.uploadTemplate);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.showCancelConfirmation = true;\n }\n else{\n this.closeUploadTemplatePanel();\n }\n }\n\n downloadTemplate(){\n var params = { blobContainerName:BlobContainerNames.REPORT_TEMPLATE_CONTAINER_NAME, fileName:this.uploadTemplate.templateId}\n apiService.sendGetRequest(\"Utility\",\"DownloadEncodedDocument\",params).then(response => \n {\n if(response.data)\n {\n fileViewerService.DownloadDocument(response.data,\"template\",\".docx\",true);\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n\n closeUploadTemplatePanel(){\n this.showCancelConfirmation = false;\n this.$v.uploadTemplate.$reset();\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.onOkayToCancel();\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo) || (this.uploadTemplate.id > 0 && this.fileName != \"\");\n }\n\n formatDocumentName(fileName:string){\n var lowerCasedFileName = fileName.toLowerCase();\n var formattedFileName = lowerCasedFileName.replace(/\\s/g , \"-\");\n return formattedFileName;\n }\n\n isModelInvalid()\n {\n return this.uploadTemplate.id == 0 && this.fileName == \"\" || (this.uploadTemplate.id > 0 && this.uploadTemplate.reportName == \"\");\n }\n\n @Emit('onReportTemplateUploaded') onReportTemplateUploaded(ba:any){\n \n }\n\n @Emit('onReportTemplateUpdated') onReportTemplateUpdated(ba:any){\n \n }\n\n @Emit('onOkayToCancel') onOkayToCancel(){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditReportTemplate.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditReportTemplate.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditReportTemplate.vue?vue&type=template&id=14453c8f&scoped=true\"\nimport script from \"./AddEditReportTemplate.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditReportTemplate.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditReportTemplate.vue?vue&type=style&index=0&id=14453c8f&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"14453c8f\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteClientConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteTemplateConf\"},on:{\"ok\":_vm.deleteTemplate}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Report Template\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the template?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteTemplateConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteTemplateConf_OkButton\"},on:{\"click\":_vm.deleteTemplate}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-btn',{staticClass:\"cursor-pointer action-btn download-template\",attrs:{\"title\":\"Download Template\"},on:{\"click\":_vm.downloadTemplate}},[_c('i',{staticClass:\"fas fa-download cursor-pointer grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport ClientMotorVehicles from '@/components/admin/clientManagement/clientMotorVehicles.vue'\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport apiService from '@/shared/services/apiService';\nimport BlobContainerNames from '@/shared/blobContainerNames';\n\n@Component(\n {\n components: {\n ClientMotorVehicles,\n Modal\n }\n }\n)\nexport default class ReportTemplateActionList extends Vue{\n @Prop() item:any\n @Prop() viewMode:any;\n showDeleteClientConfirmationModal = false;\n showClientMotorVehiclesModal = false;\n relatedTable:RelatedTables = RelatedTables.Client;\n normalMode:ClientsListViewModes = ClientsListViewModes.Normal;\n modalMode:ClientsListViewModes = ClientsListViewModes.ModalMode;\n globalSearchMode:ClientsListViewModes = ClientsListViewModes.GlobalSearchMode;\n\n onDeleteTemplateClick()\n {\n this.showDeleteClientConfirmationModal = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n downloadTemplate(){\n var params = { blobContainerName:BlobContainerNames.REPORT_TEMPLATE_CONTAINER_NAME, fileName:this.item.templateId}\n apiService.sendGetRequest(\"Utility\",\"DownloadEncodedDocument\",params).then(response => \n {\n if(response.data)\n {\n fileViewerService.DownloadDocument(response.data,\"template\",\".docx\",true);\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onCloseDelete()\n {\n this.showDeleteClientConfirmationModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n\n deleteTemplate(){\n this.showDeleteClientConfirmationModal = false;\n this.item.isActive = false;\n this.onAction(this.item,DataTableActionTypes.Delete)\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportTemplateActionList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportTemplateActionList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReportTemplateActionList.vue?vue&type=template&id=77907f51&scoped=true\"\nimport script from \"./ReportTemplateActionList.vue?vue&type=script&lang=ts\"\nexport * from \"./ReportTemplateActionList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ReportTemplateActionList.vue?vue&type=style&index=0&id=77907f51&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"77907f51\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport { DatatableField } from '@/models/datatableField.model';\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport { TemplateReportTypeModel } from '@/models/TemplatedReport/templateReportType.model';\nimport AddEditReportTemplate from './AddEditReportTemplate.vue';\nimport apiService from '@/shared/services/apiService';\nimport ReportTemplateActionList from '@/components/admin/TemplatedReport/ReportTemplateActionList.vue';\n\n@Component(\n {\n components: {\n DataTable,\n AddEditReportTemplate,\n }\n }\n)\nexport default class UploadReportTemplate extends Vue{\n items: TemplateReportTypeModel[] = [];\n showUploadReportTemplatePanel:boolean = false;\n fields = [\n {key: 'reportName',label:\"Report Name\",class:'width_40'},\n {key: 'templatedReportConfiguration.reportType',label:\"Report Type\",class:'width_40'},\n {key: 'actions',label:\"\",class:'width_20'}, \n ];\n customTemplateList:Array = [ {slot:\"actions\",customTemplate:ReportTemplateActionList} ];\n initialUploadTemplate:TemplateReportTypeModel = new TemplateReportTypeModel();\n uploadTemplate:TemplateReportTypeModel = Object.assign({}, this.initialUploadTemplate);\n\n\n created(){\n this.loadReportTemplateList();\n }\n\n onUploadReportTemplate(){\n this.uploadTemplate = Object.assign({}, this.initialUploadTemplate);\n this.showUploadReportTemplatePanel = true;\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.bankAccountsTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.bankAccountsTable as DataTable).resetLastCustomAction();\n }\n \n if(type == DataTableActionTypes.RowSelect){\n this.onEditReportTemplate(data);\n }\n }\n\n onEditReportTemplate(data:any){\n this.uploadTemplate = Object.assign({},this.getTemplateById(data.id));\n this.showUploadReportTemplatePanel = true; \n }\n\n getTemplateById(id:number){\n var template;\n if(this.items.filter(t => t.id == id).length > 0){\n template = this.items.filter(t => t.id == id)[0];\n return template;\n }\n return null;\n }\n\n closeUploadTemplatePanel(){\n this.uploadTemplate = Object.assign({}, this.initialUploadTemplate);\n this.showUploadReportTemplatePanel = false;\n }\n\n loadReportTemplateList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('TemplateReportType','TemplateReportTypes').then(\n response => {\n if(response.data){\n this.items = response.data;\n }\n this.$store.dispatch('storeIsBusyValue',false); \n }\n );\n }\n\n onReportTemplateUploaded(uploadedReportedTemplate){\n this.items.push(Object.assign({},uploadedReportedTemplate));\n this.closeUploadTemplatePanel();\n }\n \n onReportTemplateUpdated(updatedReportTemplate){\n var template = this.getTemplateById(updatedReportTemplate.id);\n var index = this.items.indexOf(template);\n this.items[index] = updatedReportTemplate;\n var itemsCopy = Object.assign([],this.items);\n this.items = [];\n this.items = itemsCopy;\n this.closeUploadTemplatePanel();\n }\n\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadReportTemplate.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UploadReportTemplate.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UploadReportTemplate.vue?vue&type=template&id=89ee9396\"\nimport script from \"./UploadReportTemplate.vue?vue&type=script&lang=ts\"\nexport * from \"./UploadReportTemplate.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelMoterVehicleDetailsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelMoterVehicleDetailsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelMoterVehicleDetailsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.headerTitleText)+\" \"+_vm._s(this.vehicleID > 0 ? ' - '+ this. vehicleName: '')+\"\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Vehicles\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('TopTabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.topTabdirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTopTabRouteName,\"routeName\":\"Edit Vehicle\"}},[_c('TopTab',{attrs:{\"name\":\"Profile\",\"selected\":true,\"index\":0,\"routeUrl\":'/clients/editClient/' + _vm.clientID + '/profile/personal',\"routerDisplayName\":\"profile\"}}),_c('TopTab',{attrs:{\"name\":\"Vehicles\",\"index\":1,\"routeUrl\":'/clients/editClient/' + _vm.clientID + '/vehicles',\"routerDisplayName\":\"vehicles\"}},[_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Edit Vehicle\"}},[_c('Tab',{attrs:{\"name\":\"Details\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"details\"}},[_c('AddEditMotorVehicle',{attrs:{\"clientID\":_vm.clientID,\"vehicleID\":_vm.vehicleID},on:{\"dirtyValidatorNoSet\":_vm.detailsTabDirtySet,\"onEmitVehicleName\":_vm.onVehicleNameUpdated,\"onIdUpdated\":_vm.onIdUpdated}})],1),_c('Tab',{attrs:{\"name\":\"Budget\",\"index\":1,\"disabled\":_vm.vehicleID==0,\"routerDisplayName\":\"budget\"}},[_c('MotorVehicleBudget',{attrs:{\"vehicleId\":_vm.vehicleID,\"novationId\":0},on:{\"dirtyValidatorNoSet\":_vm.budgetTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Expense Claims\",\"index\":2,\"disabled\":_vm.vehicleID==0,\"routerDisplayName\":\"expenseclaims\",\"queryData\":_vm.queryParams}},[_c('MotorVehicleExpenseClaimsList',{attrs:{\"vehicleID\":_vm.vehicleID}})],1),_c('Tab',{attrs:{\"name\":\"Fuel Cards\",\"index\":3,\"disabled\":_vm.vehicleID==0,\"routerDisplayName\":\"fuelcards\"}},[_c('FuelCardList',{attrs:{\"vehicleId\":_vm.vehicleID},on:{\"dirtyValidatorNoSet\":_vm.fuelCardTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Scheduled Payments\",\"disabled\":_vm.vehicleID == 0,\"index\":5,\"routerDisplayName\":\"scheduledpayments\"}},[_c('ScheduledPayment',{attrs:{\"vehicleId\":_vm.vehicleID,\"showInactive\":true}})],1),_c('Tab',{attrs:{\"name\":\"Charges\",\"disabled\":_vm.vehicleID == 0,\"index\":4,\"routerDisplayName\":\"charges\"}},[_c('MotorVehicleAdminFeeChargeList',{attrs:{\"vehicleId\":_vm.vehicleID}})],1),_c('b-row',{staticClass:\"float-right mr-1\",attrs:{\"slot\":\"tabs-buttons\"},slot:\"tabs-buttons\"},[_c('Notes',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.vehicleID,\"addToolTip\":\"Please save the vehicle to add notes\",\"isReadOnly\":false,\"modalTitle\":\"Vehicle Notes\",\"buttonType\":_vm.buttonType,\"useStore\":false}}),_c('DocumentUploader',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.vehicleID,\"addToolTip\":\"Please save the vehicle to add documents\",\"modalTitle\":\"Vehicle Documents\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'*'}}),_c('ClientVehicleTreeViewButton',{attrs:{\"clientID\":_vm.clientID,\"clientName\":_vm.clientName,\"showNavigateToClientLink\":true}})],1)],1)],1),(_vm.vehicleID > 0)?_c('TopTab',{attrs:{\"name\":\"Lease Types\",\"index\":2,\"routerDisplayName\":\"leasetypes\"}},[_c('VehicleLeaseList',{attrs:{\"vehicleID\":_vm.vehicleID},on:{\"dirtyValidatorNoSet\":_vm.leasesTabDirtySet}})],1):_vm._e()],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.useStore ? 'ml-2': ''},[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditMotorVehicleConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditMotorVehicleConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditMotorVehicleConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.isImageCropperOpened)?_c('ImageCropper',{attrs:{\"imageSrc\":_vm.vehicleImageSrc},on:{\"onCropImage\":_vm.onCropVehicleImage,\"onCancelCrop\":_vm.onCancelCropVehicleImage}}):_vm._e(),_c('div',[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"12\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmitVehicle.apply(null, arguments)}}},[(_vm.applicationType == _vm.financeApplicationType)?_c('b-row',[(_vm.vehicleID == 0)?_c('b-col',{attrs:{\"md\":\"7\",\"lg\":\"4\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Vehicle Type\",\"label-for\":\"vehicleTypeSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",attrs:{\"id\":\"vehicleTypeSelect\",\"plain\":true,\"disabled\":this.$store.getters.getFinanceApplicationIsLeaseCreated || (_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || this.$store.getters.getIsFinanceApplicationConvertedApplication || this.$store.getters.getFinanceApplicationIsFinanceOnly,\"options\":_vm.vehicleTypes},on:{\"change\":function($event){return _vm.onSelectedVehicleTypeChange()}},model:{value:(_vm.selectedVehicleType),callback:function ($$v) {_vm.selectedVehicleType=$$v},expression:\"selectedVehicleType\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])])],2)],1)],1):_vm._e(),(_vm.vehicleID == 0 && _vm.selectedVehicleType == _vm.existingVehicleType)?_c('b-col',{attrs:{\"md\":\"7\",\"lg\":\"4\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Vehicles\",\"label-for\":\"vehicleList\"}},[_c('b-input-group',[_c('b-form-select',{class:{'textInput': _vm.selectedVehicle <= 0, 'textInput_custom' : _vm.selectedVehicle > 0},attrs:{\"id\":\"vehicleList\",\"plain\":true,\"disabled\":this.$store.getters.getFinanceApplicationIsLeaseCreated || (_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser),\"options\":_vm.vehicleList},on:{\"change\":function($event){return _vm.onSelectedVehicleChange()}},model:{value:(_vm.selectedVehicle),callback:function ($$v) {_vm.selectedVehicle=$$v},expression:\"selectedVehicle\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])])],2),_c('div',{staticClass:\"input-group-append\",attrs:{\"title\":\"View Vehicle Details\"}},[(_vm.selectedVehicle > 0)?_c('b-button',{staticClass:\"primary\",attrs:{\"size\":\"md\",\"type\":\"button\"},on:{\"click\":function($event){return _vm.redirectToVehicleDetails()}}},[_c('i',{staticClass:\"fas fa-window-restore\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)],1)],1)],1):_vm._e()],1):_vm._e(),((_vm.applicationType == null) || (_vm.selectedVehicleType == _vm.newVehicleType) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0))?_c('b-row',[_c('b-col',{attrs:{\"md\":\"7\",\"lg\":\"4\",\"sm\":\"12\"}},[_c('b-row',[(_vm.vehicleID > 0)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"MVRN\",\"label-for\":\"mvrn\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"disabled\":true,\"id\":\"mvrn\",\"type\":\"text\"},model:{value:(_vm.vehicle.mvrn),callback:function ($$v) {_vm.$set(_vm.vehicle, \"mvrn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicle.mvrn\"}})],1)],1):_vm._e()],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicle.make.$error },attrs:{\"label\":\"Make\",\"label-for\":\"make\"}},[(!((_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0)))?_c('vue-bootstrap-typeahead',{ref:\"refmaketypeahead\",class:{ 'requiredField': (_vm.vehicle.make == null || _vm.vehicle.make.length == 0), 'textInput':true },attrs:{\"placeholder\":\"Enter Make\",\"id\":\"make\",\"minMatchingChars\":1,\"required\":\"\",\"data\":_vm.allVehicleMakes},on:{\"input\":function($event){return _vm.$v.vehicle.make.$touch()}},model:{value:(_vm.vehicle.make),callback:function ($$v) {_vm.$set(_vm.vehicle, \"make\", $$v)},expression:\"vehicle.make\"}}):_vm._e(),((_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0))?_c('b-form-input',{ref:\"refmaketypeahead\",staticClass:\"textInput\",attrs:{\"id\":\"make\",\"type\":\"text\",\"disabled\":\"\"},model:{value:(_vm.vehicle.make),callback:function ($$v) {_vm.$set(_vm.vehicle, \"make\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicle.make\"}}):_vm._e(),((_vm.checkValidationMessages || _vm.$v.vehicle.make.$dirty) && !_vm.$v.vehicle.make.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle make is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicle.model.$error },attrs:{\"label\":\"Model\",\"label-for\":\"model\"}},[(!((_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0)))?_c('vue-bootstrap-typeahead',{ref:\"refmodeltypeahead\",class:{ 'requiredField': (_vm.vehicle.model == null || _vm.vehicle.model.length == 0), 'textInput':true },attrs:{\"placeholder\":\"Enter Model\",\"id\":\"model\",\"minMatchingChars\":1,\"required\":\"\",\"data\":_vm.allVehicleModels},on:{\"input\":function($event){return _vm.$v.vehicle.model.$touch();}},model:{value:(_vm.vehicle.model),callback:function ($$v) {_vm.$set(_vm.vehicle, \"model\", $$v)},expression:\"vehicle.model\"}}):_vm._e(),((_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0))?_c('b-form-input',{ref:\"refmodeltypeahead\",staticClass:\"textInput\",attrs:{\"id\":\"model\",\"type\":\"text\",\"disabled\":\"\"},model:{value:(_vm.vehicle.model),callback:function ($$v) {_vm.$set(_vm.vehicle, \"model\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicle.model\"}}):_vm._e(),((_vm.checkValidationMessages || _vm.$v.vehicle.model.$dirty) && !_vm.$v.vehicle.model.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle model is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicle.variant.$error },attrs:{\"label\":\"Variant\",\"label-for\":\"variant\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"variant\",\"type\":\"text\",\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"placeholder\":\"Enter Variant\"},on:{\"input\":function($event){return _vm.$v.vehicle.variant.$touch()}},model:{value:(_vm.vehicle.variant),callback:function ($$v) {_vm.$set(_vm.vehicle, \"variant\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicle.variant\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"New/Used\",\"label-for\":\"conditionSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",attrs:{\"id\":\"conditionSelect\",\"plain\":true,\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"options\":_vm.vehicleConditionTypes},model:{value:(_vm.vehicle.condition),callback:function ($$v) {_vm.$set(_vm.vehicle, \"condition\", $$v)},expression:\"vehicle.condition\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])])],2)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Body Type\",\"label-for\":\"bodyTypeSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",attrs:{\"id\":\"bodyTypeSelect\",\"plain\":true,\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"options\":_vm.vehicleBodyTypes},model:{value:(_vm.vehicle.bodyType),callback:function ($$v) {_vm.$set(_vm.vehicle, \"bodyType\", $$v)},expression:\"vehicle.bodyType\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])])],2)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Transmission\",\"label-for\":\"transmissionTypeSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",attrs:{\"id\":\"transmissionTypeSelect\",\"plain\":true,\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"options\":_vm.vehicleTransmissionTypes},model:{value:(_vm.vehicle.transmission),callback:function ($$v) {_vm.$set(_vm.vehicle, \"transmission\", $$v)},expression:\"vehicle.transmission\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])])],2)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Fuel Type\",\"label-for\":\"fuelTypeSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",attrs:{\"id\":\"fuelTypeSelect\",\"plain\":true,\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"options\":_vm.vehicleFuelTypes},model:{value:(_vm.vehicle.fuelType),callback:function ($$v) {_vm.$set(_vm.vehicle, \"fuelType\", $$v)},expression:\"vehicle.fuelType\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])])],2)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Colour\",\"label-for\":\"colorSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",attrs:{\"id\":\"colorSelect\",\"plain\":true,\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"options\":_vm.vehicleColors},model:{value:(_vm.vehicle.colour),callback:function ($$v) {_vm.$set(_vm.vehicle, \"colour\", $$v)},expression:\"vehicle.colour\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])])],2)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicle.yearDateTime.$error },attrs:{\"label\":\"Year\",\"label-for\":\"year\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.vehicle.yearDateTime == null || _vm.vehicle.yearDateTime.length == 0) },attrs:{\"use-utc\":true,\"id\":'year',\"format\":'yyyy',\"input-class\":'form-control textInput',\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"clear-button\":_vm.clearButtonEnabled,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"wrapper-class\":'textInput',\"placeholder\":'Enter Year',\"minimum-view\":'year'},model:{value:(_vm.vehicle.yearDateTime),callback:function ($$v) {_vm.$set(_vm.vehicle, \"yearDateTime\", $$v)},expression:\"vehicle.yearDateTime\"}}),((_vm.checkValidationMessages || _vm.$v.vehicle.yearDateTime.$dirty) && !_vm.$v.vehicle.yearDateTime.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle year is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Plate Number\",\"label-for\":\"platenumber\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"platenumber\",\"type\":\"text\",\"placeholder\":\"Enter plate number\",\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0)},on:{\"input\":function($event){return _vm.$v.vehicle.plateNumber.$touch()}},model:{value:(_vm.vehicle.plateNumber),callback:function ($$v) {_vm.$set(_vm.vehicle, \"plateNumber\", $$v)},expression:\"vehicle.plateNumber\"}}),((_vm.$v.vehicle.plateNumber.$dirty && !_vm.$v.vehicle.plateNumber.isValidPlateNumber))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Plate number should not contain whitespaces.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{staticClass:\"responsive-margin-bottom\",attrs:{\"md\":\"7\",\"lg\":\"4\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicle.vehicleIDNumber.$error },attrs:{\"label\":\"Vehicle Identification Number\",\"label-for\":\"idnumber\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"idnumber\",\"type\":\"text\",\"maxlength\":'17',\"placeholder\":\"Enter Identification number\",\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0)},on:{\"input\":function($event){return _vm.$v.vehicle.vehicleIDNumber.$touch()}},model:{value:(_vm.vehicle.vehicleIDNumber),callback:function ($$v) {_vm.$set(_vm.vehicle, \"vehicleIDNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicle.vehicleIDNumber\"}}),((_vm.checkValidationMessages || _vm.$v.vehicle.vehicleIDNumber.$dirty) && !_vm.$v.vehicle.vehicleIDNumber.isValidID)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n ID Number should only contain numbers or numbers with uppercase characters excluding letters I, O and Q.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Engine Number\",\"label-for\":\"enginenumber\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"enginenumber\",\"maxlength\":'50',\"type\":\"text\",\"placeholder\":\"Enter Engine number\",\"disabled\":(_vm.initialObj.status==_vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0)},model:{value:(_vm.vehicle.engineNumber),callback:function ($$v) {_vm.$set(_vm.vehicle, \"engineNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicle.engineNumber\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Rego Renewal Date\",\"label-for\":\"Rego Renewal Date\"}},[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"fas fa-calendar-alt\",\"clear-button\":_vm.clearButtonEnabled,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Select a Date'},model:{value:(_vm.vehicle.regoRenewalDate),callback:function ($$v) {_vm.$set(_vm.vehicle, \"regoRenewalDate\", $$v)},expression:\"vehicle.regoRenewalDate\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Insurance Renewal Date\",\"label-for\":\"Insurance Renewal Date\"}},[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"fas fa-calendar-alt\",\"clear-button\":_vm.clearButtonEnabled,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Select a Date'},model:{value:(_vm.vehicle.insuranceRenewalDate),callback:function ($$v) {_vm.$set(_vm.vehicle, \"insuranceRenewalDate\", $$v)},expression:\"vehicle.insuranceRenewalDate\"}})],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[(_vm.vehicle.id != 0)?_c('b-form-group',[_c('label',{attrs:{\"label-for\":\"statusSelect\"}},[_vm._v(\"\\n Status\\n \")]),_c('b-form-select',{staticClass:\"textInput\",attrs:{\"id\":\"statusSelect\",\"plain\":true,\"options\":_vm.vehicleStatusList,\"disabled\":(_vm.initialObj.status == _vm.VehicleStatusNonactive && _vm.isStandardUser) || (_vm.selectedVehicleType == _vm.existingVehicleType && _vm.selectedVehicle > 0),\"required\":\"\"},on:{\"change\":function($event){_vm.$v.vehicle.status.$touch();_vm.triggerStatusChangeVaidation()}},model:{value:(_vm.vehicle.status),callback:function ($$v) {_vm.$set(_vm.vehicle, \"status\", $$v)},expression:\"vehicle.status\"}}),((!_vm.possibleToChangeNonActive && _vm.trackStatusChangeActiveToNonActive))?_c('div',{staticClass:\"text-danger\"},[_c('span',[_vm._v(\"Vehicle cannot be changed to Inactive because,\")]),_c('ul',{staticClass:\"textInput\"},_vm._l((_vm.nonActiveReasonText),function(e){return _c('li',{key:e.reason},[_vm._v(\"\\n \"+_vm._s(e.reason)+\"\\n \")])}),0)]):_vm._e()],1):_vm._e()],1)],1)],1),_c('b-col',{attrs:{\"lg\":\"4\",\"md\":\"7\",\"sm\":\"12\"}},[_c('FileUploader',{ref:\"vehicleImageUploader\",staticClass:\"pro-pic responsive-margin-top responsive-left-margin\",attrs:{\"align-h\":\"center\",\"modalMode\":false,\"label\":\"\",\"assignedWidth\":\"170px\",\"assignedHeight\":\"170px\",\"keepDummy\":true,\"imgUri\":_vm.vehicleImageUri,\"dummyImage\":_vm.initialVehicleImageUri,\"changeLabelClass\":\"ml-4\",\"accept\":\"image/*\",\"avatarMode\":_vm.avatarMode,\"fileExists\":_vm.fileExists},on:{\"onFileChanged\":_vm.onImageChanged,\"onCropModalOpen\":_vm.onCropModalOpen,\"onCropModalClose\":_vm.onCropModalClose,\"onDeleteFile\":_vm.onDeleteVehicleImage}})],1)],1):_vm._e(),(!_vm.useStore)?_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.vehicle.$invalid) || !_vm.isModelDirty()}},[_vm._v(\" \"+_vm._s(_vm.buttonType))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1):_vm._e(),(_vm.vehicleID>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.vehicle.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.vehicle.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.vehicle.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.vehicle.lastUpdatedDate))+\")\")])]):_vm._e()],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { Vehicle } from '@/models/vehicle.model';\nimport FileUploader from '@/shared/components/fileUploader/FileUploader.vue';\nimport ImageCropper from '@/shared/components/imageCropper/ImageCropper.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\nimport { BlobContainerType } from '@/shared/enums/blobContainerTypes.enum';\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport { VehicleStatuses, VehicleTypes } from '@/shared/enums/vehicleStatuses.enum';\nimport apiService from '@/shared/services/apiService';\nimport blobService from '@/shared/services/azureBlobStorageService';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport lookupService from '@/shared/services/lookupService';\nimport { Component, Emit, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { required } from 'vuelidate/lib/validators';\n\n @Component({\n mixins:[validationMixin],\n components: {\n Modal,\n FileUploader,\n ImageCropper\n },\n validations:{\n vehicle:{\n status:{\n },\n make:{\n required\n },\n model:{\n required \n },\n variant:{},\n bodyType:{},\n yearDateTime:{\n required,\n },\n vehicleIDNumber:\n {\n isValidID : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^[A-Z0-9]+$/.test(value) && /[0-9]+/.test(value) && !/(i|o|q)+/.test(value.toLowerCase())\n }\n },\n // administrationFeeAmount:{\n // isDecimal : value => \n // {\n // if (typeof value === 'undefined' || value === null || value === '') {\n // return true\n // }\n // return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n // }\n // },\n plateNumber:{\n isValidPlateNumber : value => {\n return !(/\\s/.test(value))\n }\n }\n\n },\n // administrationFeeAmount:{\n // isDecimal : value => \n // {\n // if (typeof value === 'undefined' || value === null || value === '') {\n // return true\n // }\n // return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n // }\n // }\n }\n })\n export default class AddEditMotorVehicle extends Vue\n {\n @Prop() clientID:number;\n @Prop() vehicleID:number;\n @Prop() useStore:boolean;\n @Prop({ default: null}) applicationType:ClientApplicationTypes;\n vehicle:Vehicle = {\n id:0,\n mvrn:0,\n make:\"\",\n model:\"\",\n year:0,\n yearDateTime:\"\",\n plateNumber:\"\",\n vehicleIDNumber:\"\",\n engineNumber:\"\",\n regoRenewalDate:\"\",\n insuranceRenewalDate:\"\",\n clientid:0,\n concurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:new Date(),\n lastUpdatedDate:new Date(),\n isImageChanged:false,\n imageInfo:null,\n administrationFeeStartDate:\"\",\n administrationFeeEndDate:\"\",\n administrationFeeAmount:\"\",\n administrationFeeChargeFrequency:\"\",\n administrationFeeAmountWithFrequency:\"\",\n isAdministrationFeeAmountOverridden:false,\n status:0,\n variant:\"\",\n condition:null,\n bodyType:null,\n transmission:null,\n fuelType:null,\n colour:null,\n isCreatedByFinanceApplication:false,\n isPossibleToInactiveVehicle: \"\",\n isImageUploadedByApplication:false,\n };\n initialObj:Vehicle = Object.assign({}, this.vehicle);\n initialVehicleDetails:Vehicle = Object.assign({}, this.vehicle);\n allVehicleModels:any = [];\n allVehicleMakes:any = [];\n allVehicleMakesAndModels:any = [];\n dirtyValidatorRefNo:number = 0;\n dirtyValidationConfirmation:boolean = false;\n viewMode:string = \"\";\n actionType:string = \"\";\n buttonType:string = \"\";\n onSuccess:boolean = false;\n onError:boolean = false;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n vehicleImageUri:string = '../../../img/avatars/vehicle_img.png';\n initialVehicleImageUri:string = '../../../img/avatars/vehicle_img.png';\n avatarMode:boolean = true;\n isImageCropperOpened:boolean = false;\n vehicleImageSrc:any = null;\n selectedVehicleImage:any = null;\n vehicleImageChanged:boolean = false;\n vehicleImageSettings:any = null;\n fileExists:boolean = false;\n // administrationFeeAmountWithFrequency:any = \"\";\n // administrationFeeChargeFrequency:any = \"\";\n // administrationFeeAmount:any =\"\";\n // administrationFeeAmountPrevious:any = \"\";\n // showDirtyOverrideAdminFee:boolean = false;\n // isAdminFeeChargeModelEnabled:boolean = true;\n // showOverrideAdminFee:boolean = false;\n //isAdministrationStartDateEnabled:boolean = true;\n disabledEndDates:any = {};\n disabledStartDates:any = {};\n // isAdminFeeChargeScheduleAvailable: boolean = false;\n // adminFeeScheduleStartDate: any;\n vehicleConditionTypes:any = [];\n vehicleTypes:any = [];\n vehicleBodyTypes:any = [];\n vehicleTransmissionTypes:any = [];\n vehicleFuelTypes:any = [];\n vehicleColors:any = [];\n checkValidationMessages:boolean = false;\n stepNo:number = 0;\n clientId:number = 0;\n vehicleStatusList:any = [];\n VehicleStatusNonactive:any = VehicleStatuses.Inactive;\n\n // isAdminFeeEndedOrNotStarted:boolean = false;\n isLedgerBlanaceZero:boolean = false;\n isPendingExpenceClaimExist:boolean = false;\n possibleToChangeNonActive:boolean = false;\n nonActiveReasonText:any = [];\n trackStatusChangeActiveToNonActive:boolean = false;\n isStandardUser:boolean = false;\n isTenantAdmin:boolean = false;\n\n selectedVehicleType: number = 0;\n newVehicleType: VehicleTypes = VehicleTypes.NewVehicle;\n existingVehicleType: VehicleTypes = VehicleTypes.ExistingVehicle;\n vehicleList : any = [];\n selectedVehicle: number = 0;\n financeApplicationType = ClientApplicationTypes.Finance;\n clearButtonEnabled: boolean = true;\n\n created(){\n this.checkValidationMessages = false;\n this.loadVehicleTypes();\n this.loadVehicleList(this.clientID);\n this.loadAllVehicleMakesAndModels();\n // this.checkActiveAdminFeeChargeSchedules();\n this.loadVehicleConditionTypes();\n this.loadVehicleBodyTypes();\n this.loadVehicleTransmissionTypes();\n this.loadVehicleFuelTypes();\n this.loadVehicleColours();\n this.loadVehicleStatusList();\n this.isTenantAdmin = this.$store.getters.isAuthorizedRole(UserRoles.TenantAdmin);\n this.isStandardUser = this.$store.getters.isAuthorizedRole(UserRoles.StandardUser);\n\n if (this.useStore){\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n if(this.applicationType == ClientApplicationTypes.Finance){\n this.stepNo = FinanceApplicationStates.VehicleDetails\n this.vehicle = Object.assign(this.$store.getters.getFinanceApplicationVehicleDetails);\n this.vehicle.isImageChanged = false;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.vehicle);\n this.$store.dispatch('updateFinanceApplicationDirtyValidatorRefNos',{index:this.stepNo-1,dirtyValidationNo:this.dirtyValidatorRefNo});\n }\n\n if(this.vehicle) {\n if(this.vehicle.id > 0){\n this.selectedVehicleType = this.existingVehicleType;\n this.selectedVehicle = this.vehicle.id;\n this.clearButtonEnabled = false;\n } else {\n this.selectedVehicleType = this.newVehicleType;\n this.clearButtonEnabled = true;\n }\n }\n if(this.vehicle.imageInfo){\n this.vehicleImageUri = this.vehicle.imageInfo.uri;\n this.fileExists = true;\n }\n // if(this.vehicle.isAdministrationFeeAmountOverridden){\n // this.initialObj = Object.assign({},this.vehicle);\n // this.administrationFeeAmount = ApexCurrencyFormat(this.vehicle.administrationFeeAmount, \"\");\n // this.administrationFeeChargeFrequency = this.vehicle.administrationFeeChargeFrequency;\n // this.isAdminFeeChargeModelEnabled = this.administrationFeeChargeFrequency == \"\" ? false : true;\n // this.administrationFeeAmountWithFrequency = ApexCurrencyFormat(this.vehicle.administrationFeeAmount, \"\") +\" \"+this.vehicle.administrationFeeChargeFrequency; \n // }\n }else{\n if(this.vehicleID>0){\n this.viewMode = \"Edit\"\n this.buttonType = \"Update\"\n this.loadVehicleDetails();\n this.onSuccess = true;\n }\n else{\n this.initialVehicleImageUri = \"../\" + this.initialVehicleImageUri;\n this.vehicleImageUri = \"../\" + this.initialVehicleImageUri;\n this.viewMode = \"Add\"\n this.buttonType = \"Add\"\n this.vehicle.clientid = this.clientID;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.vehicle);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.onSuccess = true;\n }\n }\n }\n\n mounted(){\n if (this.useStore && this.vehicle.make && this.vehicle.model){\n (this.$refs['refmaketypeahead'] as any).inputValue = this.vehicle.make;\n (this.$refs['refmodeltypeahead'] as any).inputValue = this.vehicle.model;\n }\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number):boolean{\n this.checkValidationMessages = true;\n if(this.applicationType == ClientApplicationTypes.Finance){\n if(this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.Rejected || this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateFinanceApplicationVehicleDetails',this.vehicle);\n this.$store.dispatch('updateFinanceApplicationMotorVehicleID',this.vehicle.id);\n return true;\n }\n if(this.validateStep()){ \n if(!saveOnUpdate){\n return true;\n }\n this.$store.dispatch('updateFinanceApplicationVehicleDetails',this.vehicle);\n this.$store.dispatch('updateFinanceApplicationMotorVehicleID',this.vehicle.id);\n if(this.stepNo+1>this.$store.getters.getFinanceApplicationStatus){\n this.$store.dispatch('updateFinanceApplicationStatus',this.stepNo+1);\n }\n this.uploadVehicleImage().then(() => {\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:false,nextStep:nextStep,isOkayToComplete:false}).then(() => {\n if(this.vehicle.isImageChanged){\n var updatedVehicleDetails = this.$store.getters.getFinanceApplicationVehicleDetails\n this.vehicle.imageInfo.concurrencyKey = updatedVehicleDetails.imageInfo.concurrencyKey;\n this.vehicle.imageInfo.id = updatedVehicleDetails.imageInfo.id;\n this.vehicle.isImageChanged = false;\n this.selectedVehicleImage = null;\n if(this.$refs && this.$refs.vehicleImageUploader ){\n (this.$refs.vehicleImageUploader as FileUploader).resetUploder();\n }\n } \n });\n });\n return true;\n }\n }\n return false;\n }\n\n updateModelOnSave(){\n this.checkValidationMessages = true;\n if(this.applicationType == ClientApplicationTypes.Finance){\n if(this.validateStep()){ \n this.uploadVehicleImage().then(() => {\n this.$store.dispatch('updateFinanceApplicationVehicleDetails',this.vehicle);\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToComplete:false}).then(() => {\n if(this.vehicle.isImageChanged){\n var updatedVehicleDetails = this.$store.getters.getFinanceApplicationVehicleDetails\n this.vehicle.imageInfo.concurrencyKey = updatedVehicleDetails.imageInfo.concurrencyKey;\n this.vehicle.imageInfo.id = updatedVehicleDetails.imageInfo.id;\n this.vehicle.isImageChanged = false;\n this.selectedVehicleImage = null;\n if(this.$refs && this.$refs.vehicleImageUploader ){\n (this.$refs.vehicleImageUploader as FileUploader).resetUploder();\n }\n }\n }); \n }); \n }\n }\n }\n\n validateStep(){\n return !this.$v.vehicle.$invalid;\n }\n\n navigateBack(){\n this.$router.back();\n }\n\n onSelectedVehicleTypeChange() {\n this.vehicle = Object.assign({},this.initialVehicleDetails);\n this.selectedVehicle = 0;\n this.clearButtonEnabled = this.selectedVehicleType == this.newVehicleType;\n this.vehicle.isCreatedByFinanceApplication = !(this.selectedVehicleType == this.newVehicleType);\n this.vehicleImageUri = \"\";\n this.fileExists = false;\n if(this.vehicleList && this.vehicleList.length <= 0){\n this.loadVehicleList(this.clientID);\n }\n }\n\n onSelectedVehicleChange() {\n var params = { id: this.selectedVehicle };\n apiService.sendGetRequest(\"Vehicle\", \"Vehicle\", params).then(response => {\n this.vehicle = response.data.item2\n this.clearButtonEnabled = false;\n this.vehicle.isCreatedByFinanceApplication = true;\n this.vehicleImageUri = this.vehicle && this.vehicle.imageInfo ? this.vehicle.imageInfo.uri : \"\";\n this.fileExists = this.vehicle && this.vehicle.imageInfo ? true : false;\n });\n }\n\n redirectToVehicleDetails(){\n let routeData = this.$router.resolve({name:'Edit Vehicle', params: {vehicleID: this.selectedVehicle.toString(), topRouteDisplayName:'vehicles', routerDisplayName:'details'}});\n window.open(routeData.href, '_blank');\n }\n\n loadVehicleConditionTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleConditionTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleConditionTypes = data;\n }); \n } \n\n loadVehicleTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleTypes = data;\n }); \n } \n\n loadVehicleBodyTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleBodyTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleBodyTypes = data;\n }); \n }\n\n loadVehicleTransmissionTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleTransmissionTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleTransmissionTypes = data;\n }); \n }\n\n loadVehicleList(clientID:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Vehicle\",\"MotorVehicleSelectList\",{clientID:clientID}).then(response =>{\n this.vehicleList = response.data.filter(obj => obj.disabled == false);\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n loadVehicleFuelTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleFuelTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleFuelTypes = data;\n }); \n }\n\n loadVehicleColours(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleColours().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleColors = data;\n }); \n }\n\n loadAllVehicleMakesAndModels()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Vehicle','VehicleMakesAndModels').then(response=>{\n if(response.data){\n this.allVehicleMakesAndModels = response.data;\n this.allVehicleMakes = this.allVehicleMakesAndModels.map((value) => {\n return value.make;\n });\n } \n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n // checkActiveAdminFeeChargeSchedules() {\n // this.$store.dispatch('storeIsBusyValue',true);\n // lookupService.GetAdminFeeAndFrequency().then(data => \n // { \n // this.$store.dispatch('storeIsBusyValue',false);\n // this.isAdminFeeChargeScheduleAvailable = data.adminFeeStartDate == null ? false : true;\n // this.adminFeeScheduleStartDate = moment(data.adminFeeStartDate).toDate();\n // this.disabledStartDates = {to:this.adminFeeScheduleStartDate};\n // if(this.vehicleID<=0 ||(this.useStore && !this.vehicle.isAdministrationFeeAmountOverridden)){\n // this.administrationFeeAmount = ApexCurrencyFormat(data.adminFeeChargeAmount,\"\");\n // this.administrationFeeChargeFrequency = data.adminFeeChargeFrequency;\n // this.isAdminFeeChargeModelEnabled = this.administrationFeeChargeFrequency == \"\" ? false : true;\n // this.administrationFeeAmountWithFrequency = ApexCurrencyFormat(data.adminFeeChargeAmount, \"\") +\" \"+ data.adminFeeChargeFrequency;\n // this.initialObj.administrationFeeAmount = ApexCurrencyFormat(data.adminFeeChargeAmount,\"\");\n // this.administrationFeeAmountPrevious = this.administrationFeeAmount;\n // this.initialObj.administrationFeeChargeFrequency = this.administrationFeeChargeFrequency;\n // this.initialObj.administrationFeeAmountWithFrequency = this.administrationFeeAmountWithFrequency;\n // this.vehicle.administrationFeeAmount = this.administrationFeeAmount;\n // this.vehicle.administrationFeeChargeFrequency = this.administrationFeeChargeFrequency;\n // this.vehicle.administrationFeeAmountWithFrequency = this.administrationFeeAmountWithFrequency;\n // } \n // });\n // }\n\n @Watch('vehicle.make')\n onVehicleMakeChange(val: any) { \n this.filterModels(val);\n }\n\n filterModels(value)\n {\n var result = this.allVehicleMakesAndModels.filter(obj=> obj.make.toLowerCase() == value.toLowerCase());\n this.allVehicleModels = [];\n if(result && result.length > 0)\n {\n this.allVehicleModels = result[0].models;\n }\n }\n\n loadVehicleDetails()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.vehicleID}\n apiService.sendGetRequest('Vehicle','Vehicle',params).then(response=>{\n if(response.data.item1.isSuccess){\n this.vehicle = response.data.item2;\n this.onEmitVehicleName(this.vehicle.make + ' ' + this.vehicle.model);\n // this.administrationFeeAmount = ApexCurrencyFormat(response.data.item2.administrationFeeAmount,\"\");\n // this.administrationFeeChargeFrequency = response.data.item2.administrationFeeChargeFrequency;\n // this.isAdminFeeChargeModelEnabled = this.administrationFeeChargeFrequency == \"\" ? false : true;\n // this.administrationFeeAmountWithFrequency = ApexCurrencyFormat(response.data.item2.administrationFeeAmount, \"\") +\" \"+response.data.item2.administrationFeeChargeFrequency;\n // this.vehicle.administrationFeeAmount = this.administrationFeeAmount;\n // this.vehicle.administrationFeeChargeFrequency = this.administrationFeeChargeFrequency;\n // this.vehicle.administrationFeeAmountWithFrequency = this.administrationFeeAmountWithFrequency;\n // if(this.vehicle.administrationFeeStartDate == null || this.vehicle.administrationFeeStartDate == \"\"){\n // this.isAdministrationStartDateEnabled = true;\n // } else {\n // this.isAdministrationStartDateEnabled = false;\n // this.onAdminFeeStartDateChanged();\n // }\n this.initialObj = Object.assign({},this.vehicle);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.vehicle);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n (this.$refs['refmaketypeahead'] as any).inputValue = this.vehicle.make;\n (this.$refs['refmodeltypeahead'] as any).inputValue = this.vehicle.model;\n if(this.vehicle.imageInfo){\n this.vehicleImageUri = this.vehicle.imageInfo.uri;\n this.fileExists = true;\n }\n }\n // this.isAdminFeeEndedOrNotStarted = this.vehicle.isPossibleToInactiveVehicle.isAdminFeeEndedOrNotStarted;\n this.isLedgerBlanaceZero = this.vehicle.isPossibleToInactiveVehicle.isLedgerBlanaceZero;\n this.isPendingExpenceClaimExist = this.vehicle.isPossibleToInactiveVehicle.isPendingExpenceClaimExist;\n this.checkIsPossibleStatusToNonActive();\n \n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onSubmitVehicle()\n {\n if(this.vehicleID>0)\n {\n this.updateVehicle();\n }else\n {\n this.addNewVehicle();\n }\n }\n\n addNewVehicle(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.uploadVehicleImage().then(() => {\n apiService.sendPutRequest('Vehicle','Vehicle',this.vehicle).then(data=>{\n var response = data.data;\n if(response.item1.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.item1.message,\n type: 'success',\n duration: 5000\n });\n if(this.vehicle.isImageChanged){\n this.vehicle.imageInfo.concurrencyKey = response.item2.concurrencyKey;\n this.vehicle.imageInfo.id = response.item2.id;\n this.vehicle.isImageChanged = false;\n this.selectedVehicleImage = null;\n (this.$refs.vehicleImageUploader as FileUploader).resetUploder();\n }\n this.$router.push({name:'Edit Vehicle', params: {vehicleID : response.item1.id,topRouteDisplayName:'vehicles', routerDisplayName:'details'}});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.item1.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false); \n });\n })\n }\n\n updateVehicle(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.uploadVehicleImage().then(() => {\n apiService.sendPostRequest('Vehicle','Vehicle',this.vehicle).then(data=>{\n var response = data.data;\n if(response.item1 && response.item1.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.item1.message,\n type: 'success',\n duration: 5000\n });\n this.onEmitVehicleName(this.vehicle.make + ' ' + this.vehicle.model);\n this.vehicle.concurrencyKey = response.item1.concurrencyKey; \n this.vehicle.lastUpdateByName = response.item1.updatedByName;\n this.vehicle.lastUpdatedDate = response.item1.lastUpdatedDate;\n // if(this.vehicle.administrationFeeStartDate == null || this.vehicle.administrationFeeStartDate == \"\"){\n // this.isAdministrationStartDateEnabled = true;\n // } else {\n // this.isAdministrationStartDateEnabled = false;\n // this.onAdminFeeStartDateChanged();\n // }\n if(this.vehicle.isImageChanged){\n this.vehicle.imageInfo.concurrencyKey = response.item2.concurrencyKey;\n this.vehicle.imageInfo.id = response.item2.id;\n this.vehicle.isImageChanged = false;\n this.selectedVehicleImage = null;\n (this.$refs.vehicleImageUploader as FileUploader).resetUploder();\n }\n this.initialObj = Object.assign({},this.vehicle);\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.item1 == undefined ? response.message : response.item1.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false); \n });\n })\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.$router.push({name:'Edit Client', params:{id:this.clientID.toString(), topRouteDisplayName:'profile', routerDisplayName: 'vehicles'}});\n }\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n onImageChanged(file:any){\n this.selectedVehicleImage = file;\n if(file){\n this.vehicleImageUri = '';\n this.vehicleImageChanged = true;\n this.vehicle.isImageChanged = true;\n }\n else{\n this.vehicleImageUri = this.vehicle.imageInfo? this.vehicle.imageInfo.uri : '';\n this.vehicleImageChanged = false;\n this.vehicle.isImageChanged = false;\n }\n }\n\n onCropModalOpen(data:any){\n this.isImageCropperOpened = true;\n this.vehicleImageSrc = data;\n }\n\n onCropModalClose(){\n this.isImageCropperOpened = false; \n }\n\n onCropVehicleImage(data:any){\n (this.$refs.vehicleImageUploader as FileUploader).OnCropImage(data);\n }\n\n onCancelCropVehicleImage(){\n this.isImageCropperOpened = false;\n }\n\n uploadVehicleImage():Promise{\n return new Promise((resolve)=>{\n if(this.selectedVehicleImage){\n var promise = this.vehicleImageSettings? blobService.getsasForExisting(BlobContainerType.ProfilePicContainer, this.vehicleImageSettings.guid): blobService.getsasAndGuid(BlobContainerType.ProfilePicContainer);\n promise.then(response => {\n var vehicleImageSas = response.data;\n blobService.uploadFile(vehicleImageSas,this.selectedVehicleImage).then(() =>{\n var vehicleImageParams = {\n fileName:this.selectedVehicleImage.name,\n fileType: FileTypes.ProfilePic,\n guid: vehicleImageSas.blobGuid,\n fileExtension: \"png\",\n uri: vehicleImageSas.blobUri\n };\n if(this.vehicle.imageInfo){\n this.vehicle.imageInfo.fileName = this.selectedVehicleImage.name;\n this.vehicle.imageInfo.fileType = FileTypes.ProfilePic;\n this.vehicle.imageInfo.guid = vehicleImageSas.blobGuid;\n this.vehicle.imageInfo.fileExtension = \"png\";\n this.vehicle.imageInfo.uri = vehicleImageSas.blobUri;\n }\n else{\n this.vehicle.imageInfo = vehicleImageParams;\n }\n \n this.vehicleImageUri = vehicleImageSas.blobUri;\n this.vehicleImageSettings = vehicleImageParams;\n if (this.$refs && this.$refs.vehicleImageUploader){\n (this.$refs.vehicleImageUploader as FileUploader).setAltImg();\n }\n this.fileExists = true;\n this.vehicle.isImageUploadedByApplication = this.useStore ? true : false;\n resolve();\n })\n })\n }\n else{\n resolve();\n }\n })\n }\n\n onDeleteVehicleImage(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.vehicle.imageInfo.id};\n apiService.sendDeleteRequest('Utility','Document',params).then(data=>{\n var response = data.data;\n if(response.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.message,\n type: 'success',\n duration: 5000\n });\n this.vehicle.imageInfo = null;\n this.vehicle.isImageChanged = false;\n this.selectedVehicleImage = null;\n if(this.$refs && this.$refs.vehicleImageUploader ){\n (this.$refs.vehicleImageUploader as FileUploader).resetUploder();\n }\n this.$v.vehicle.$reset();\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.vehicleImageUri = this.initialVehicleImageUri;\n this.fileExists = false;\n this.vehicle.isImageUploadedByApplication = this.useStore ? false : true;\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false); \n });\n }\n\n loadVehicleStatusList(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleStatusList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleStatusList = data.filter(f => f.value != VehicleStatuses.Deleted)\n }); \n }\n checkIsPossibleStatusToNonActive(){\n if(this.isLedgerBlanaceZero && this.isPendingExpenceClaimExist){\n return this.possibleToChangeNonActive = true;\n }\n // else if(!this.isAdminFeeEndedOrNotStarted && this.isLedgerBlanaceZero && this.isPendingExpenceClaimExist){\n // this.nonActiveReasonText=[{reason:\"Currently an administration fee is progressing\"}];\n // return this.possibleToChangeNonActive = false;\n // }\n else if(!this.isLedgerBlanaceZero && this.isPendingExpenceClaimExist){\n this.nonActiveReasonText=[{reason:\"Avialable ledger balance is not zero for vehicle\"}];\n return this.possibleToChangeNonActive = false; \n }\n else if(this.isLedgerBlanaceZero && !this.isPendingExpenceClaimExist){\n this.nonActiveReasonText=[{reason:\"Expense Claims are on Pending/Progressing Statuses\"}];\n return this.possibleToChangeNonActive = false;\n }\n // else if(!this.isAdminFeeEndedOrNotStarted && !this.isLedgerBlanaceZero && this.isPendingExpenceClaimExist){\n // this.nonActiveReasonText=[{reason:\"Currently an administration fee is progressing\"},{reason:\"Avialable ledger balance is not zero for vehicle\"}];\n // return this.possibleToChangeNonActive = false; \n // }\n // else if(!this.isAdminFeeEndedOrNotStarted && this.isLedgerBlanaceZero && !this.isPendingExpenceClaimExist){\n // this.nonActiveReasonText=[{reason:\"Currently an administration fee is progressing\"},{reason:\"Expense Claims are on Pending/Progressing Statuses\"}];\n // return this.possibleToChangeNonActive = false;\n // }\n else if(!this.isLedgerBlanaceZero && !this.isPendingExpenceClaimExist){\n this.nonActiveReasonText=[{reason:\"Avialable ledger balance is not zero for vehicle\"},{reason:\"Expense Claims are on Pending/Progressing Statuses\"}];\n return this.possibleToChangeNonActive = false;\n }\n // else if(!this.isAdminFeeEndedOrNotStarted && !this.isLedgerBlanaceZero && !this.isPendingExpenceClaimExist){\n // this.nonActiveReasonText=[{reason:\"Currently an administration fee is progressing\"},{reason:\"Avialable ledger balance is not zero for vehicle\"},{reason:\"Expense Claims are on Pending or Progressing Statuses\"}];\n // return this.possibleToChangeNonActive = false;\n // }\n\n }\n \n // onAdminFeeStartOrEndDateChange(){\n // var todayDate = moment(new Date()).toDate();\n // var endDate = moment(this.vehicle.administrationFeeEndDate).toDate();\n // this.isAdminFeeEndedOrNotStarted = (this.vehicle.administrationFeeStartDate != null ? ((this.vehicle.administrationFeeEndDate != null && endDate < todayDate) ? true : false) : true);\n // this.checkIsPossibleStatusToNonActive();\n // }\n\n triggerStatusChangeVaidation(){\n if(this.vehicle.status == VehicleStatuses.Inactive && !this.possibleToChangeNonActive){\n this.trackStatusChangeActiveToNonActive=true;\n this.vehicle.status = VehicleStatuses.Active;\n }\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(_refNo:number){}\n @Emit('onIdUpdated') onIdUpdated(){}\n @Emit('onEmitVehicleName') onEmitVehicleName(_vehicleName:string){}\n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditMotorVehicle.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditMotorVehicle.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditMotorVehicle.vue?vue&type=template&id=4ed2660e&scoped=true\"\nimport script from \"./AddEditMotorVehicle.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditMotorVehicle.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditMotorVehicle.vue?vue&type=style&index=0&id=4ed2660e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4ed2660e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[((!_vm.maxAllowedLeaseCountExceeded && _vm.allLeasesAndNovationsHaveEndDate))?_c('b-button',{staticClass:\"mb-3 pull-right primary\",on:{\"click\":_vm.onAddVehicleLease}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Vehicle Lease\\n \")]):_vm._e()],1)],1),(_vm.showLeaseAddingPriorValidationNote && (_vm.maxAllowedLeaseCountExceeded || !_vm.allLeasesAndNovationsHaveEndDate))?_c('SystemTextNotes',{attrs:{\"boldText\":_vm.getLeaseAddingPriorValidationNote()}}):_vm._e(),_c('div',[_c('DataTable',{ref:\"leaseTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No vehicle leases to display.\",\"selectable\":true},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteVehicleLeaseConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"650px\",\"id\":\"DeleteLeaseListConf\"},on:{\"ok\":_vm.deleteVehicleLease}},[(_vm.isLeaseDeletable)?_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Lease\")]):_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Lease Failed\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.isLeaseDeletable)?_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the lease?\\n \")]):_c('b-row',[(_vm.errorsList.length > 0)?_c('b-col',_vm._l((_vm.errorsList),function(error,index){return _c('SystemTextErrors',{key:index,attrs:{\"text1\":error,\"isDecimalValue\":false}})}),1):_vm._e()],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteLeaseListConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),(_vm.isLeaseDeletable)?_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteLeaseListConf_OkButton\"},on:{\"click\":_vm.deleteVehicleLease}},[_vm._v(\"\\n Delete\\n \")]):_vm._e()],1)]):_vm._e(),(!_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Vehicle Lease\"},on:{\"click\":_vm.onDeleteLeaseClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport SystemTextErrors from '@/components/shared/SystemTextErrors.vue';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { Component, Emit, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({\r\n components: {\r\n Modal,\r\n SystemTextErrors\r\n }\r\n})\r\nexport default class VehicleLeaseListActionButtons extends Vue {\r\n @Prop() item: any\r\n showDeleteVehicleLeaseConfirmation = false;\r\n isLeaseDeletable: boolean = false;\r\n errorsList: any[];\r\n isStandardUser = false;\r\n \r\n created()\r\n {\r\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\r\n }\r\n\r\n onDeleteLeaseClick() {\r\n this.getDeleteNovationValidations();\r\n }\r\n\r\n getDeleteNovationValidations() {\r\n this.$store.dispatch('storeIsBusyValue', true);\r\n apiService.sendGetRequest('Lease', 'ValidateNovation', { id: this.item.id }).then(\r\n response => {\r\n this.errorsList = response.data;\r\n this.isLeaseDeletable = this.errorsList.length <= 0;\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n\r\n this.showDeleteVehicleLeaseConfirmation = true;\r\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\r\n }\r\n );\r\n }\r\n\r\n deleteVehicleLease() {\r\n this.showDeleteVehicleLeaseConfirmation = false;\r\n this.item.isActive = false;\r\n this.onVehicleLeaseDeleted(this.item.id, DataTableActionTypes.Delete);\r\n }\r\n\r\n onCloseDelete() {\r\n this.showDeleteVehicleLeaseConfirmation = false;\r\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\r\n }\r\n\r\n @Emit('customEvent') onAction(_data: any, _type: DataTableActionTypes) {\r\n }\r\n\r\n @Emit('customEvent') onVehicleLeaseDeleted(_id: number, _type: DataTableActionTypes) {\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleLeaseListActionButtons.vue?vue&type=template&id=86ffbc44&scoped=true\"\nimport script from \"./VehicleLeaseListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleLeaseListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleLeaseListActionButtons.vue?vue&type=style&index=0&id=86ffbc44&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"86ffbc44\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"text-nowrap\"},[_vm._v(\"\\n \"+_vm._s(_vm.getTypeName(_vm.item.type))+\"\\n \"),(_vm.item.startsInFuture)?_c('i',{staticClass:\"fas fa-info-circle text-warning cursor-pointer pl-1\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Novation starts in the future.\"}}):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport lookupService from '@/shared/services/lookupService';\n\n@Component({components: {}})\n\nexport default class VehicleLeaseListType extends Vue{\n @Prop() item:any\n mvLeaseTypes = [];\n\n created(){\n this.loadLeaseAndFinanceTypes();\n }\n \n loadLeaseAndFinanceTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetLeaseTypesList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.mvLeaseTypes = data;\n });\n }\n\n getTypeName(type:number){\n var name = \"\";\n this.mvLeaseTypes.forEach(element => {\n if(element.value == type){\n name = element.text;\n }\n });\n return name;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseListType.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseListType.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleLeaseListType.vue?vue&type=template&id=42db59e1&scoped=true\"\nimport script from \"./VehicleLeaseListType.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleLeaseListType.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"42db59e1\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue'\nimport apiService from '@/shared/services/apiService'\nimport {TableTemplate} from '@/models/tableCustomTemplate.model'\nimport VehicleLeaseListActionButtons from './VehicleLeaseListActionButtons.vue'\nimport VehicleLeaseListType from './VehicleLeaseListType.vue'\nimport moment from 'moment'\nimport lookupService from '@/shared/services/lookupService'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue'\n\n@Component(\n {\n components:{\n DataTable,\n SystemTextNotes\n }\n }\n)\nexport default class VehicleLeaseList extends Vue{\n @Prop() vehicleID:any; \n items:any = [];\n mvFinanceTypes:any = [];\n showEmptyBanner:boolean = false;\n maxAllowedLeaseCountExceeded:boolean = false;\n allLeasesAndNovationsHaveEndDate:boolean = false;\n showLeaseAddingPriorValidationNote:boolean = false;\n\n fields = [\n {\n key: 'type', \n label:\"Type\",\n class:'width_10'\n },\n {key: 'accountNumber',label:'Account Number', class:'width_10'},\n {\n key: 'financier', \n label:\"Financier\",\n class:'width_20',\n formatter: (value, key, item) => {\n return this.getFinancierName(item.financier)\n }\n },\n {\n key: 'leaseStartDate', \n label:\"Start Date\",\n class:'width_15',\n formatter: (value, key, item) => {\n return moment(item.leaseStartDate).format(\"DD MMM YYYY\")\n }\n },\n {\n key: 'leaseEndDate', \n label:\"End Date\",\n class:'width_15',\n formatter: (value, key, item) => {\n if(item.leaseEndDate == null) { return '';}\n return moment(item.leaseEndDate).format(\"DD MMM YYYY\")\n }\n },\n {\n key: 'residualDueDate', \n label:\"Residual Due Date\",\n class:'width_15',\n formatter: (value, key, item) => {\n if (item.residualDueDate == null) { \n return ''\n }\n return moment(item.residualDueDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n \n customTemplateList:Array = [\n {slot:\"actions\",customTemplate:VehicleLeaseListActionButtons},\n {slot:\"type\",customTemplate:VehicleLeaseListType}\n ]\n created(){\n this.loadFinanceTypes();\n this.loadVehicleLeaseList();\n }\n\n loadFinanceTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetFinanciersList(false).then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.mvFinanceTypes = data;\n });\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.leaseTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.leaseTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onVehicleLeaseDeleted(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n this.$router.push({name:\"Edit Lease\",params:{vehicleID:this.vehicleID, leaseID:data.id, topRouteDisplayName:'leasetypes', routerDisplayName:\"details\"}})\n } \n }\n\n onVehicleLeaseDeleted(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"Lease\",\"Lease\",{id:id}).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Vehicle Lease successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n \n this.loadVehicleLeaseList();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.leaseTable as DataTable).resetLastCustomAction();\n }) \n }\n \n loadVehicleLeaseList(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n this.showLeaseAddingPriorValidationNote = false;\n apiService.sendGetRequest('Lease','VehicleLeaseList',{vehicleID:this.vehicleID}).then(\n response => {\n this.items = response.data.leases;\n this.maxAllowedLeaseCountExceeded = response.data.maxAllowedLeaseCountExceeded;\n this.allLeasesAndNovationsHaveEndDate = response.data.allLeasesAndNovationsHaveEndDate;\n this.showLeaseAddingPriorValidationNote = true;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n \n onAddVehicleLease(){\n this.$router.push({name:\"Add Lease\",params:{vehicleID:this.vehicleID,routerDisplayName:\"details\"}})\n }\n \n getFinancierName(id:number){\n var name = \"\";\n this.mvFinanceTypes.forEach(element => {\n if(element.value == id){\n name = element.text;\n }\n });\n return name;\n }\n\n getLeaseAddingPriorValidationNote(){\n if(this.maxAllowedLeaseCountExceeded){\n return 'Maximum number of leases reached.';\n }else if (!this.allLeasesAndNovationsHaveEndDate){\n return 'All leases and related entities must be ended before adding a new lease.';\n }else{\n return '';\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleLeaseList.vue?vue&type=template&id=67ab2306&scoped=true\"\nimport script from \"./VehicleLeaseList.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleLeaseList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleLeaseList.vue?vue&type=style&index=0&id=67ab2306&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"67ab2306\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelMoterVehicleDetailsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue without saving?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelMoterVehicleDetailsConf_CancelButton\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelMoterVehicleDetailsConf_OkButton\"},on:{\"click\":function($event){return _vm.onOkayToContinue()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showPopulateConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"PopulateAnnualBudgetConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Do you want to populate the updated annual budget amount for \"+_vm._s(_vm.updatedCategory)+\" to all FBT years?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelMoterVehicleDetailsConf_CancelButton\"},on:{\"click\":function($event){_vm.showPopulateConfirmation = false}}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelMoterVehicleDetailsConf_OkButton\"},on:{\"click\":_vm.onUpdateAnnualBudget}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showAnnualBudgetSaveConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"annualBudgetSaveConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n The budget will be populated for the FBT periods. Continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"AnnualBudgetSaveConf_CancelButton\"},on:{\"click\":function($event){_vm.showAnnualBudgetSaveConfirmation = false}}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"AnnualBudgetSaveConf_OkButton\"},on:{\"click\":_vm.onSaveAnnualBudget}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showBudgetLockConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"budgetLockConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to lock the budget. Continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"BudgetLockConf_CancelButton\"},on:{\"click\":function($event){_vm.showBudgetLockConfirmation = false}}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"BudgetLockConf_OkButton\"},on:{\"click\":function($event){return _vm.setBudgetLock(true)}}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showEmptyBanner)?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n No Vehicle Budget Found.\\n \")])])],2):_vm._e(),(!_vm.showEmptyBanner && _vm.novationId == 0)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label-cols-sm\":\"12\",\"label-cols-lg\":\"2\",\"label-cols-xl\":\"2\",\"label\":\"Select a Novation\",\"label-for\":\"select-a-novation\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput mt-1 col-md-4 col-lg-5 col-xl-5 selectListHeight\",attrs:{\"id\":\"selectNovation\",\"plain\":true,\"options\":_vm.novationSelectGroupList,\"size\":\"sm\"},on:{\"change\":_vm.onSelectedNovationChange},model:{value:(_vm.selectedNovationId),callback:function ($$v) {_vm.selectedNovationId=$$v},expression:\"selectedNovationId\"}})],1)],1)],1):_vm._e(),(!_vm.showEmptyBanner)?_c('SystemTextNotes',{attrs:{\"boldText\":\"Note:\",\"text1\":\"All Amounts are GST Inclusive\",\"isDecimalValue\":false}}):_vm._e(),(!_vm.showEmptyBanner)?_c('b-table',{attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([{key:\"thead-top\",fn:function(){return [_c('b-tr',[_c('b-th',{attrs:{\"rowspan\":\"2\"}}),_c('b-th',{staticClass:\"color-header-column text-center\",attrs:{\"rowspan\":\"1\"}},[_vm._v(\"\\n Annual Budget \\n \")]),_c('b-th',{staticClass:\"color-header-column text-center\",attrs:{\"colspan\":\"2\"}},[(_vm.firstPeriodStartDate > _vm.minStartDate)?_c('span',{staticClass:\"previous-navigation-year cursor-pointer\",attrs:{\"title\":\"Previous Year\"},on:{\"click\":function($event){return _vm.onClickPreviousYear()}}},[_c('i',{staticClass:\"cui-chevron-left\"})]):_vm._e(),_vm._v(\"\\n \"+_vm._s(_vm.year1HeaderName)+\"\\n \")]),_c('b-th',{staticClass:\"color-header-column text-center\",attrs:{\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.year2HeaderName))]),_c('b-th',{staticClass:\"color-header-column text-center\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"\\n \"+_vm._s(_vm.year3HeaderName)+\"\\n \"),(_vm.thirdPeriodEndDate < _vm.maxEndDate || _vm.thirdPeriodEndDate < _vm.novationEndDate)?_c('span',{staticClass:\"next-navigation-year cursor-pointer\",attrs:{\"title\":\"Next Year\"},on:{\"click\":function($event){return _vm.onClickNextYear()}}},[_c('i',{staticClass:\"cui-chevron-right\"})]):_vm._e()])],1)]},proxy:true},{key:\"head(categoryDisplayText)\",fn:function(){return [(_vm.isTenantAdmin && _vm.novationId > 0 && _vm.budgetLocked)?_c('div',{staticClass:\"action-button-section\"},[_c('b-button',{staticClass:\"action-button\",on:{\"click\":function($event){return _vm.setBudgetLock(false)}}},[_c('i',{staticClass:\"fa fa-unlock\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"  Unlock\")])],1):_vm._e(),(_vm.novationId > 0 && !_vm.isNewBudget && !_vm.budgetLocked && !_vm.isModelDirty())?_c('div',{staticClass:\"action-button-section\"},[_c('b-button',{staticClass:\"action-button\",on:{\"click\":function($event){_vm.showBudgetLockConfirmation = true}}},[_c('i',{staticClass:\"fa fa-lock\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"  Lock\")])],1):_vm._e(),(!_vm.isAllAnnualBudgetFieldsFiled() && _vm.vehicleNovationList.length > 1 && !_vm.isFirstNovation() && !_vm.budgetLocked)?_c('div',{staticClass:\"action-button-section\"},[_c('b-button',{staticClass:\"action-button\",on:{\"click\":function($event){return _vm.rollOverFromPreviousBudget()}}},[_vm._v(\" Rollover\")])],1):_vm._e()]},proxy:true},{key:\"cell(annualBudget)\",fn:function(row){return [_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",class:{ 'form-group--error': !_vm.isValidAmount(row.item.annualBudget.budgetAmount) },attrs:{\"id\":'annualbudget_' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"disabled\":_vm.budgetLocked,\"placeholder\":\"Enter Budget amount\"},on:{\"click\":function($event){return _vm.onClickAnnualBudget()},\"change\":function($event){return _vm.onChangeAnnualBudget(row.item)}},model:{value:(row.item.annualBudget.budgetAmount),callback:function ($$v) {_vm.$set(row.item.annualBudget, \"budgetAmount\", $$v)},expression:\"row.item.annualBudget.budgetAmount\"}})],1)]}},{key:\"cell(year1Budget)\",fn:function(row){return [_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",class:{ 'form-group--error': !_vm.isValidAmount(row.item.year1Budget.budgetAmount) },attrs:{\"id\":'budget1_' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"disabled\":_vm.isNewBudget,\"placeholder\":\"Enter Budget amount\"},model:{value:(row.item.year1Budget.budgetAmount),callback:function ($$v) {_vm.$set(row.item.year1Budget, \"budgetAmount\", $$v)},expression:\"row.item.year1Budget.budgetAmount\"}})],1)]}},{key:\"cell(year1ActualAmount)\",fn:function(row){return [_c('span',{class:_vm.onArrears(row.item.year1Budget.budgetAmount, row.item.year1ActualAmount) ? 'apex-text-error' : ''},[_c('ApexCurrency',{attrs:{\"value\":row.item.year1ActualAmount}})],1)]}},{key:\"cell(year2Budget)\",fn:function(row){return [_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",class:{ 'form-group--error': !_vm.isValidAmount(row.item.year2Budget.budgetAmount) },attrs:{\"id\":'budget2_' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"disabled\":_vm.isNewBudget || _vm.fbtPeriodCount == 1 || (_vm.thirdPeriodEndDate == _vm.novationEndDate && _vm.fbtPeriodCount == 1),\"placeholder\":\"Enter Budget amount\"},model:{value:(row.item.year2Budget.budgetAmount),callback:function ($$v) {_vm.$set(row.item.year2Budget, \"budgetAmount\", $$v)},expression:\"row.item.year2Budget.budgetAmount\"}})],1)]}},{key:\"cell(year2ActualAmount)\",fn:function(row){return [_c('span',{class:_vm.onArrears(row.item.year2Budget.budgetAmount, row.item.year2ActualAmount) ? 'apex-text-error' : ''},[_c('ApexCurrency',{attrs:{\"value\":row.item.year2ActualAmount}})],1)]}},{key:\"cell(year3Budget)\",fn:function(row){return [_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",class:{ 'form-group--error': !_vm.isValidAmount(row.item.year3Budget.budgetAmount) },attrs:{\"id\":'budget3_' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"disabled\":_vm.isNewBudget || _vm.fbtPeriodCount <= 2 || _vm.thirdPeriodEndDate == _vm.novationEndDate && _vm.fbtPeriodCount == 2,\"placeholder\":\"Enter Budget amount\"},model:{value:(row.item.year3Budget.budgetAmount),callback:function ($$v) {_vm.$set(row.item.year3Budget, \"budgetAmount\", $$v)},expression:\"row.item.year3Budget.budgetAmount\"}})],1)]}},{key:\"cell(year3ActualAmount)\",fn:function(row){return [_c('span',{class:_vm.onArrears(row.item.year3Budget.budgetAmount, row.item.year3ActualAmount) ? 'apex-text-error' : ''},[_c('ApexCurrency',{attrs:{\"value\":row.item.year3ActualAmount}})],1)]}},{key:\"bottom-row\",fn:function(){return [_c('b-td',{staticClass:\"text-bold color-header-column\"},[_vm._v(\" Total\")]),_c('b-td',{staticClass:\"text-center text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.annualBudgetTotal}})],1),_c('b-td',{staticClass:\"text-center text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.year1BudgetTotal}})],1),_c('b-td',{staticClass:\"text-center text-bold color-header-column\",class:{ 'apex-text-error': _vm.onArrears(_vm.year1BudgetTotal, _vm.year1ActualTotal) }},[_c('ApexCurrency',{attrs:{\"value\":_vm.year1ActualTotal}})],1),_c('b-td',{staticClass:\"text-center text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.year2BudgetTotal}})],1),_c('b-td',{staticClass:\"text-center text-bold color-header-column\",class:{ 'apex-text-error': _vm.onArrears(_vm.year2BudgetTotal, _vm.year2ActualTotal) }},[_c('ApexCurrency',{attrs:{\"value\":_vm.year2ActualTotal}})],1),_c('b-td',{staticClass:\"text-center text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.year3BudgetTotal}})],1),_c('b-td',{staticClass:\"text-center text-bold color-header-column\",class:{ 'apex-text-error': _vm.onArrears(_vm.year3BudgetTotal, _vm.year3ActualTotal) }},[_c('ApexCurrency',{attrs:{\"value\":_vm.year3ActualTotal}})],1)]},proxy:true}],null,false,4190180919)}):_vm._e(),(!_vm.showEmptyBanner)?_c('div',{staticClass:\"mb-2 text-info text-center\"},[_c('i',{staticClass:\"fas fa-info-circle mr-1\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"Actual amount does not reflect the ledger transactions with \"),_c('b',[_vm._v(\" NEW \")]),_vm._v(\" status\")]):_vm._e(),(!_vm.showEmptyBanner && !_vm.isAllAnnualBudgetFieldsFiled())?_c('div',{staticClass:\"mb-3 text-warning text-center\"},[_vm._v(\" Please enter annual budget for all the categories \")]):_vm._e(),(!_vm.showEmptyBanner)?_c('div',{staticClass:\"budget-save-button\"},[_c('b-button',{staticClass:\"primary\",attrs:{\"disabled\":((!_vm.isModelDirty() && !_vm.isNewBudget) || !_vm.isAllAnnualBudgetFieldsFiled())},on:{\"click\":_vm.onSaveUpdateBudget}},[_vm._v(\"Save\")]),_vm._v(\"\\n    \"),_c('b-button',{attrs:{\"disabled\":!_vm.isModelDirty()},on:{\"focus\":_vm.onCancelUpdateBudget}},[_vm._v(\"Cancel\")])],1):_vm._e(),(_vm.items.length>0 && _vm.createdBy.length > 0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.createdBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.lastUpdatedBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.lastUpdatedDate))+\")\")])]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport apiService from '@/shared/services/apiService'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport moment from 'moment';\nimport lookupService from '@/shared/services/lookupService';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n\n@Component({\n components: \n {\n Modal,\n SystemTextNotes\n }\n})\nexport default class MotorVehicleBudget extends Vue{\n @Prop() vehicleId:number;\n @Prop() novationId:number;\n\n items:any[] = [];\n fields:any[] = [\n { key:'categoryDisplayText', label:'', class:'rolloverButtonCell'},\n { key:'annualBudget', label:'', class:'width_15 text-center hide-header-column', variant:'annual-budget-column-variant'},\n { key: 'year1Budget', label: 'Budgeted', class:'width_15 text-center', variant:'budget-column-variant' },\n { key: 'year1ActualAmount', label: 'Actual', class:'width_10 text-center actual-amount-column', variant:'budget-column-variant' },\n { key: 'year2Budget', label: 'Budgeted', class:'width_15 text-center' },\n { key: 'year2ActualAmount', label: 'Actual', class:'width_10 text-center actual-amount-column' },\n { key: 'year3Budget', label: 'Budgeted', class:'width_15 text-center', variant:'budget-column-variant' },\n { key: 'year3ActualAmount', label: 'Actual', class:'width_10 text-center actual-amount-column', variant:'budget-column-variant' }\n ];\n dirtyValidatorRefNo:number = 0;\n \n year1HeaderName:string = '';\n year2HeaderName:string = '';\n year3HeaderName:string = '';\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n middleYear:number = this.todayDateUTC.getMonth() > 3 ? this.todayDateUTC.getFullYear() : this.todayDateUTC.getFullYear() - 1;\n firstPeriodStartDate:any = null;\n thirdPeriodEndDate:any = null;\n novationStartDate:Date = null;\n novationEndDate:Date = null;\n minStartDate:Date = null;\n maxEndDate:Date = null;\n dirtyValidationConfirmation:boolean = false;\n dataBeforeChange:any[] = [];\n year1BudgetTotal:number = 0; year2BudgetTotal:number = 0; year3BudgetTotal:number = 0;\n year1ActualTotal:number = 0; year2ActualTotal:number = 0; year3ActualTotal:number = 0;\n annualBudgetTotal:number = 0;\n createdBy:string = '';\n lastUpdatedBy:string = '';\n createdDate:any = '';\n lastUpdatedDate:any = '';\n categoryList:any = [];\n selectedCategoryList:any = [];\n vehicleNovationList:any = [];\n novationSelectGroupList:any = [];\n selectedNovation:any = [];\n selectedNovationId:number = 0;\n isNewBudget:boolean = true;\n fbtPeriodCount:number = 0;\n showEmptyBanner:boolean = false;\n showPopulateConfirmation:boolean = false;\n showAnnualBudgetSaveConfirmation:boolean = false;\n showBudgetLockConfirmation:boolean = false;\n updatedAnnualBudget:any = [];\n updatedCategory:string = \"\";\n isClickedNext:boolean = false;\n isClickedPrevious:boolean = false;\n budgetLocked:boolean = false;\n isTenantAdmin:boolean = false;\n\n @Watch(\"vehicleId\")\n onVehicleIdChanged(val: any, oldVal: any)\n {\n if(val > 0){\n this.loadAllVehicleNovations(val);\n }\n \n }\n \n created()\n {\n this.isTenantAdmin = this.$store.getters.isAuthorizedRole(UserRoles.TenantAdmin);\n if(this.vehicleId > 0){\n this.loadAllVehicleNovations(this.vehicleId);\n }\n lookupService.GetExpenseCategoryList().then(data => {\n this.categoryList = data;\n this.selectedCategoryList = data;\n }) \n }\n\n loadBudgetData()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var startDate = fieldValidations.isValidDate(this.firstPeriodStartDate) ? moment(this.firstPeriodStartDate).toDate().getTime():null;\n var endDate = fieldValidations.isValidDate(this.thirdPeriodEndDate) ? moment(this.thirdPeriodEndDate).toDate().getTime():null;\n var params = {\n vehicleId: this.vehicleId,\n novationId: this.selectedNovationId,\n startDate:startDate,\n endDate: endDate\n }\n apiService.sendGetRequest('Finance','VehicleBudget', params).then(response=>{\n if(response.data){\n this.items = response.data.vehicleBudgetLines;\n this.dataBeforeChange = JSON.parse(JSON.stringify(this.items));\n this.createdBy = response.data.createdBy;\n this.lastUpdatedBy = response.data.lastUpdatedBy;\n this.createdDate = response.data.createdDate;\n this.lastUpdatedDate = response.data.lastUpdatedDate;\n this.firstPeriodStartDate = response.data.firstStartDate;\n this.thirdPeriodEndDate = response.data.thirdEndDate;\n this.year1HeaderName = response.data.year1HeaderText;\n this.year2HeaderName = response.data.year2HeaderText;\n this.year3HeaderName = response.data.year3HeaderText;\n this.isNewBudget = response.data.isNewBudget;\n this.budgetLocked = response.data.budgetLocked;\n this.fbtPeriodCount = response.data.fbtPeriodCount;\n this.CalculateTotalAmounts();\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.items);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadMinMaxFBTYearsForNovation()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = { novationId: this.selectedNovationId };\n apiService.sendGetRequest('Finance','MinMaxFBTYearsForNovation', params).then(response=>{\n if(response.data){\n this.minStartDate = response.data.minBudgetPeriodStartDate;\n this.maxEndDate = response.data.maxBudgetPeriodEndDate;\n this.novationStartDate = response.data.novationStartDate;\n this.novationEndDate = response.data.novationEndDate;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadAllVehicleNovations(vehicleId){\n var params = { vehicleId: this.vehicleId, onlyActiveNovations: true };\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest('Novation','NovationsGroupedByLease',params).then(response => {\n if(response.data){\n this.showEmptyBanner = false;\n this.novationSelectGroupList = response.data;\n if(this.novationSelectGroupList.length > 0){\n this.novationSelectGroupList.forEach(groupList => {\n if (groupList.options != null && groupList.options.length > 0){\n this.vehicleNovationList.push(...groupList.options);\n }\n });\n }\n if(this.vehicleNovationList.length > 0){\n if(this.novationId > 0){\n this.selectedNovation = this.vehicleNovationList.filter(obj => obj.value == this.novationId);\n } else {\n this.selectedNovation = this.vehicleNovationList.filter(obj => obj.type == 1);\n }\n this.selectedNovationId = this.selectedNovation.length >= 1 ? this.selectedNovation[0].value : this.vehicleNovationList[0].value;\n this.loadMinMaxFBTYearsForNovation();\n this.loadBudgetData();\n } else {\n this.showEmptyBanner = true;\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onClickPreviousYear(){\n if(this.isModelDirty()){\n this.dirtyValidationConfirmation = true;\n this.isClickedPrevious = true;\n } else {\n this.onPreviousYear();\n }\n }\n\n onClickNextYear(){\n if(this.isModelDirty()){\n this.dirtyValidationConfirmation = true;\n this.isClickedNext = true;\n } else {\n this.onNextYear();\n }\n }\n\n onPreviousYear()\n {\n if(this.firstPeriodStartDate == this.minStartDate)\n {\n return;\n }\n this.thirdPeriodEndDate = null;\n this.loadBudgetData();\n }\n\n onNextYear()\n {\n if((this.thirdPeriodEndDate == this.maxEndDate && this.maxEndDate > this.novationEndDate) || (this.thirdPeriodEndDate == this.novationEndDate))\n {\n return;\n }\n this.firstPeriodStartDate = null;\n this.loadBudgetData();\n }\n\n onUpdateBudget()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var isValidAmounts = true;\n for (var _i = 0; _i < this.items.length; _i++) {\n var item = this.items[_i];\n isValidAmounts = this.isValidAmount(item.year1Budget.budgetAmount) && \n this.isValidAmount(item.year2Budget.budgetAmount) && \n this.isValidAmount(item.year3Budget.budgetAmount) && \n this.isValidAmount(item.annualBudget.budgetAmount);\n if(!isValidAmounts)\n break;\n }\n\n if(!isValidAmounts)\n {\n this.$notify({\n group: 'growlNotification',\n title: 'Invalid budget amounts.',\n type: 'error',\n duration: 3000\n });\n this.$store.dispatch('storeIsBusyValue',false);\n return;\n }\n\n var startDate = fieldValidations.isValidDate(this.firstPeriodStartDate) ? moment(this.firstPeriodStartDate).toDate().getTime():null;\n var lastFbtPeriodEndDate = this.thirdPeriodEndDate == this.novationEndDate ? this.maxEndDate : this.thirdPeriodEndDate;\n var endDate = fieldValidations.isValidDate(lastFbtPeriodEndDate) ? moment(lastFbtPeriodEndDate).toDate().getTime():null;\n var params = {\n vehicleBudgetLines: this.items,\n vehicleId : this.vehicleId,\n startDate:startDate,\n endDate: endDate,\n novationId : this.selectedNovationId,\n fbtPeriodCount : this.fbtPeriodCount\n };\n apiService.sendPostRequest('Finance','VehicleBudget', params).then(response=>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.loadBudgetData();\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onSaveAnnualBudget() {\n this.showAnnualBudgetSaveConfirmation = false;\n this.$store.dispatch('storeIsBusyValue',true);\n var isValidAmounts = true;\n for (var _i = 0; _i < this.items.length; _i++) {\n var item = this.items[_i];\n isValidAmounts = this.isValidAmount(item.annualBudget.budgetAmount)\n if(!isValidAmounts)\n break;\n }\n if(!isValidAmounts)\n {\n this.$notify({\n group: 'growlNotification',\n title: 'Invalid budget amounts.',\n type: 'error',\n duration: 3000\n });\n this.$store.dispatch('storeIsBusyValue',false);\n return;\n }\n var startDate = fieldValidations.isValidDate(this.minStartDate) ? moment(this.minStartDate).toDate().getTime():null;\n var endDate = fieldValidations.isValidDate(this.maxEndDate) ? moment(this.maxEndDate).toDate().getTime():null;\n var params = {\n vehicleBudgetLines: this.items,\n vehicleId : this.vehicleId,\n novationId : this.selectedNovationId,\n startDate:startDate,\n endDate: endDate\n };\n apiService.sendPostRequest('Finance','AnnualVehicleBudget', params).then(response=>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.loadBudgetData()\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onCancelUpdateBudget(){\n this.showPopulateConfirmation = false;\n this.dirtyValidationConfirmation = true\n }\n\n onSaveUpdateBudget(){\n if(this.isNewBudget){\n this.showAnnualBudgetSaveConfirmation = true;\n } else {\n this.onUpdateBudget();\n }\n }\n\n onChangeAnnualBudget(AnnualBudgetData){\n if(this.isNewBudget){\n return;\n } else {\n if(this.isValidAmount(AnnualBudgetData.annualBudget.budgetAmount) && this.isModelDirty() && AnnualBudgetData.annualBudget.budgetAmount !== \"\") {\n this.showPopulateConfirmation = true\n this.updatedAnnualBudget = AnnualBudgetData.annualBudget;\n this.updatedCategory = AnnualBudgetData.categoryDisplayText\n }\n \n }\n }\n\n onOkayToContinue()\n {\n if(this.isClickedNext){\n this.onNextYear();\n this.isClickedNext = false;\n } else if(this.isClickedPrevious){\n this.onPreviousYear()\n this.isClickedPrevious = false;\n } else {\n this.items = JSON.parse(JSON.stringify(this.dataBeforeChange));\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.items);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n this.dirtyValidationConfirmation = false;\n }\n\n onArrears(budgetAmount, actualAmount)\n {\n if(budgetAmount >= 0)\n {\n return budgetAmount < actualAmount;\n }\n return false;\n }\n\n CalculateTotalAmounts()\n {\n this.year1BudgetTotal = this.year2BudgetTotal = this.year3BudgetTotal = 0;\n this.year1ActualTotal = this.year2ActualTotal = this.year3ActualTotal = 0;\n this.annualBudgetTotal = 0;\n this.items.forEach(item => {\n this.year1BudgetTotal += item.year1Budget.budgetAmount == null ? 0 : parseFloat(item.year1Budget.budgetAmount);\n this.year2BudgetTotal += item.year2Budget.budgetAmount == null ? 0 : parseFloat(item.year2Budget.budgetAmount);\n this.year3BudgetTotal += item.year3Budget.budgetAmount == null ? 0 : parseFloat(item.year3Budget.budgetAmount);\n this.annualBudgetTotal += item.annualBudget.budgetAmount == null ? 0 : parseFloat(item.annualBudget.budgetAmount);\n this.year1ActualTotal += item.year1ActualAmount;\n this.year2ActualTotal += item.year2ActualAmount;\n this.year3ActualTotal += item.year3ActualAmount;\n });\n }\n\n isValidAmount(value:any)\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true;\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value);\n }\n\n onUpdateAnnualBudget(){\n this.showPopulateConfirmation = false;\n this.$store.dispatch('storeIsBusyValue',true);\n var startDate = fieldValidations.isValidDate(this.minStartDate) ? moment(this.minStartDate).toDate().getTime():null;\n var endDate = fieldValidations.isValidDate(this.maxEndDate) ? moment(this.maxEndDate).toDate().getTime():null;\n var params = {\n novationId : this.selectedNovationId,\n budgetAmount : this.updatedAnnualBudget.budgetAmount,\n Category : this.updatedAnnualBudget.category,\n CategoryType : this.updatedAnnualBudget.categoryType,\n concurrencyKey : this.updatedAnnualBudget.concurrencyKey,\n id : this.updatedAnnualBudget.id,\n fbtPeriodCount : this.fbtPeriodCount,\n startDate:startDate,\n endDate: endDate,\n };\n apiService.sendPostRequest('Finance','UpdateAnnualVehicleBudget', params).then(response=>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.loadBudgetData()\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onClickAnnualBudget(){\n if(this.isModelDirty() && !this.isNewBudget && !this.showPopulateConfirmation){\n this.dirtyValidationConfirmation = true;\n }\n }\n\n setBudgetLock(budgetLocked){\n this.showBudgetLockConfirmation = false;\n var params = { novationId: this.selectedNovationId, budgetLocked: budgetLocked};\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Novation','SetBudgetLock',params).then(response => {\n if(response.data.isSuccess){\n this.budgetLocked = budgetLocked;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n\n }\n\n rollOverFromPreviousBudget(){\n var params = { novationId: this.getPreviousNovationId()};\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Finance','RollOverFromPreviousBudget',params).then(response => {\n if(response.data.length > 0){\n for (var i = 0; i < this.items.length; i++) {\n var amountFromPreviousBudget = 0;\n for (var j = 0; j < response.data.length; j++) {\n if(response.data[j].category == this.items[i].category && response.data[j].categoryType == this.items[i].categoryType){\n amountFromPreviousBudget = response.data[j].budgetAmount;\n break;\n }\n }\n this.items[i].annualBudget.budgetAmount = amountFromPreviousBudget;\n }\n this.$notify({\n group: 'growlNotification',\n title: \"Previous annual budget data has been duplicated successfully.\",\n type: 'success',\n duration: 5000\n });\n } else {\n this.$notify({\n group: 'growlNotification',\n title: \"No previous budget found.\",\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n\n }\n\n getPreviousNovationId(){\n var selectedNovationIndex = this.vehicleNovationList.findIndex(y => y.value == this.selectedNovationId);\n return this.vehicleNovationList[selectedNovationIndex + 1].value;\n }\n\n isFirstNovation(){\n var selectedNovationIndex = this.vehicleNovationList.findIndex(y => y.value == this.selectedNovationId);\n if(selectedNovationIndex == this.vehicleNovationList.length-1){\n return true;\n } else {\n return false;\n }\n }\n\n onSelectedNovationChange(){\n this.isNewBudget = true;\n this.fbtPeriodCount = 0;\n this.showEmptyBanner = false;\n this.firstPeriodStartDate = null;\n this.thirdPeriodEndDate = null;\n this.minStartDate= null;\n this.maxEndDate= null;\n this.loadMinMaxFBTYearsForNovation();\n this.loadBudgetData();\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo,true)\n }\n\n isAllAnnualBudgetFieldsFiled(){\n return this.items.filter(obj => obj.annualBudget.budgetAmount == null || obj.annualBudget.budgetAmount === \"\") .length == 0\n }\n\n onCategoryListChanged(){\n this.loadBudgetData();\n }\n\n get SelectedCategoryList()\n {\n return this.selectedCategoryList.map(a => a.value);\n }\n\n onCancel(){\n this.dirtyValidationConfirmation = false;\n this.isClickedNext = false;\n this.isClickedPrevious = false;\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./motorVehicleBudget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./motorVehicleBudget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./motorVehicleBudget.vue?vue&type=template&id=305f63b6\"\nimport script from \"./motorVehicleBudget.vue?vue&type=script&lang=ts\"\nexport * from \"./motorVehicleBudget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./motorVehicleBudget.vue?vue&type=style&index=0&id=305f63b6&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showAddFuelCardPanel)?_c('div',[_c('AddEditFuelCard',{attrs:{\"vehicleId\":_vm.vehicleId,\"originalFuelCard\":_vm.fuelCard},on:{\"onFuelCardAdded\":_vm.createFuelCard,\"onFuelCardUpdated\":_vm.updateFuelCard,\"dirtyValidatorNoSet\":_vm.dirtyValidatorNoSet,\"onOkayToCancel\":_vm.closeAddFuelCardPanel}})],1):_vm._e(),(!_vm.showAddFuelCardPanel)?_c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary add-btn\",on:{\"click\":function($event){return _vm.navigateToAddFuelCard()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Fuel Card\\r\\n \")])],1)],1),_c('DataTable',{ref:\"fuelCardsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"selectable\":true,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No fuel cards to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelFuelCardConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelFuelCardConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelFuelCardConf_OkButton\"},on:{\"click\":_vm.closeAddFuelCardPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"5\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Brand\",\"label-for\":\"brandSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': (_vm.$v.fuelCard.brand.$error),'requiredField': (_vm.fuelCard.brand == 0) },attrs:{\"id\":\"brandSelect\",\"options\":_vm.fuelCardBrandTypeList,\"plain\":true},on:{\"input\":function($event){return _vm.$v.fuelCard.brand.$touch()}},model:{value:(_vm.fuelCard.brand),callback:function ($$v) {_vm.$set(_vm.fuelCard, \"brand\", $$v)},expression:\"fuelCard.brand\"}},[(_vm.fuelCard.brand == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Select a Brand --\")])]):_vm._e()],2),(_vm.$v.fuelCard.brand.$dirty && !_vm.$v.fuelCard.brand.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Brand is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Account Number\",\"label-for\":\"accountNumber\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"accountNumber\",\"maxlength\":'20',\"type\":\"text\",\"placeholder\":\"Enter Account number\"},on:{\"input\":function($event){return _vm.$v.fuelCard.accountNumber.$touch()}},model:{value:(_vm.fuelCard.accountNumber),callback:function ($$v) {_vm.$set(_vm.fuelCard, \"accountNumber\", $$v)},expression:\"fuelCard.accountNumber\"}}),(_vm.$v.fuelCard.accountNumber.$dirty && !_vm.$v.fuelCard.accountNumber.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Account Number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Card Number\",\"label-for\":\"cardNumber\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"cardNumber\",\"maxlength\":'16',\"type\":\"text\",\"placeholder\":\"Enter Card number\"},on:{\"input\":function($event){return _vm.$v.fuelCard.cardNumber.$touch()}},model:{value:(_vm.fuelCard.cardNumber),callback:function ($$v) {_vm.$set(_vm.fuelCard, \"cardNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"fuelCard.cardNumber\"}}),(_vm.$v.fuelCard.cardNumber.$dirty && !_vm.$v.fuelCard.cardNumber.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Card Number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('div',{staticClass:\"ml-3 mb-2\"},[_vm._v(\"\\n Expiry Date\\n \")])]),_c('b-row',[_c('b-col',{staticClass:\"monthPicker\"},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"expireDateMonth\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"expireMonth\",\"options\":_vm.monthList,\"plain\":true},on:{\"change\":_vm.onChangeMonth,\"input\":function($event){return _vm.$v.fuelCard.expireMonth.$touch()}},model:{value:(_vm.fuelCard.expiryMonth),callback:function ($$v) {_vm.$set(_vm.fuelCard, \"expiryMonth\", $$v)},expression:\"fuelCard.expiryMonth\"}},[(_vm.fuelCard.expiryMonth == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"Month\")])]):_vm._e()],2)],1)],1),_c('b-col',{staticClass:\"seperatorLine\"},[_c('div',[_c('h5',[_vm._v(\" / \")])])]),_c('b-col',{staticClass:\"yearPicker\"},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"expireDate\"}},[_c('DatePicker',{key:\"year\",attrs:{\"use-utc\":true,\"format\":'yyyy',\"input-class\":'form-control textInput',\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"wrapper-class\":'textInput',\"placeholder\":'Year',\"minimum-view\":'year'},on:{\"input\":_vm.onChangeExpiryYear},model:{value:(_vm.fuelCard.yearDateTime),callback:function ($$v) {_vm.$set(_vm.fuelCard, \"yearDateTime\", $$v)},expression:\"fuelCard.yearDateTime\"}})],1)],1)],1),_c('b-row',[(_vm.fuelCard.id > 0)?_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Closing Date\",\"label-for\":\"Closing Date\"}},[_c('DatePicker',{key:\"closingDate\",attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"input-class\":'form-control textInput',\"calendar-button\":true,\"calendar-button-icon\":\"fas fa-calendar-alt\",\"clear-button\":true,\"disabledDates\":{from: _vm.fromDate},\"bootstrap-styling\":true,\"wrapper-class\":'textInput',\"placeholder\":'Select a Date'},model:{value:(_vm.fuelCard.closingDate),callback:function ($$v) {_vm.$set(_vm.fuelCard, \"closingDate\", $$v)},expression:\"fuelCard.closingDate\"}})],1)],1):_vm._e()],1)],1),_c('b-col',{attrs:{\"lg\":\"5\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Note\",\"label-for\":\"note\"}},[_c('vue-editor',{attrs:{\"id\":\"fuelCardNote\",\"editorToolbar\":_vm.customEditorToolbar,\"placeholder\":\"Add a New Note.\"},model:{value:(_vm.fuelCard.note),callback:function ($$v) {_vm.$set(_vm.fuelCard, \"note\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"fuelCard.note\"}})],1)],1)],1)],1)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-row',{staticClass:\"mt-4\"},[_c('b-col',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.isModelInvalid() || !_vm.isModelDirty())}},[_vm._v(\" \"+_vm._s(_vm.fuelCard.id>0?'Update':'Save')+\" \")]),_c('b-button',{attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1),(_vm.fuelCard.id>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('span',[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.fuelCard.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.fuelCard.createdDate))+\")\")])]),_vm._v(\"\\n     \\n \"),_c('span',[_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.fuelCard.updatedByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.fuelCard.lastUpdatedDate))+\")\")])])]):_vm._e()],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Emit, Watch } from \"vue-property-decorator\";\r\nimport { FuelCard } from '@/models/fuelCard.model';\r\nimport { validationMixin } from 'vuelidate';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport apiService from '@/shared/services/apiService';\r\nimport AppSettings from '@/app.config';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport { required,numeric,email,minValue,maxLength} from 'vuelidate/lib/validators';\r\nimport moment from \"moment\";\r\n@Component\r\n(\r\n {\r\n mixins:[validationMixin],\r\n components: {\r\n Modal\r\n },\r\n validations:{\r\n fuelCard: {\r\n brand:{\r\n required\r\n },\r\n accountNumber:{\r\n maxLength:maxLength(20),\r\n numeric,\r\n },\r\n cardNumber:{\r\n maxLength:maxLength(16),\r\n numeric\r\n },\r\n yearDateTime: {\r\n\r\n },\r\n expireMonth:{\r\n\r\n }\r\n \r\n }\r\n }\r\n }\r\n)\r\nexport default class AddEditFuelCard extends Vue {\r\n @Prop() vehicleId:number;\r\n @Prop() originalFuelCard:any;\r\n fuelCard:FuelCard = {\r\n id:0,\r\n isActive:true,\r\n brand:0,\r\n accountNumber:\"\",\r\n cardNumber:\"\",\r\n expiryYear:0,\r\n expiryMonth:0,\r\n yearDateTime:null,\r\n motorVehicleId:0,\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n updatedByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdatedDate:new Date(),\r\n brandDisplayText:\"\",\r\n expiryDate:\"\",\r\n closingDate:null,\r\n note: null\r\n };\r\n\r\n initialFuelCard:FuelCard = Object.assign({},this.fuelCard);\r\n dirtyValidatorRefNo:number = 0;\r\n dirtyValidationConfirmation:boolean = false;\r\n fuelCardBrandTypeList:any = [];\r\n showCancelConfirmation:boolean = false;\r\n monthList:any = [];\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n fromDate:any = null;\r\n \r\n testDate:Date = new Date();\r\n\r\n customEditorToolbar = [\r\n [\"bold\", \"italic\", \"underline\"],\r\n [{ list: \"ordered\" }, { list: \"bullet\" }]\r\n ];\r\n\r\n created(){\r\n this.loadFualCardBrandList();\r\n this.loadMonthList();\r\n this.fuelCard.motorVehicleId = this.vehicleId;\r\n }\r\n\r\n mounted(){\r\n if(this.originalFuelCard && this.originalFuelCard.id > 0){\r\n this.fuelCard = Object.assign({}, this.originalFuelCard);\r\n this.fuelCard.expiryMonth = this.fuelCard.expiryMonth <= 0 || this.fuelCard.expiryMonth == null ? 0 : this.fuelCard.expiryMonth;\r\n if(this.fuelCard.yearDateTime != null && this.fuelCard.expiryMonth != null){\r\n this.getFormattedClosingDate();\r\n }\r\n }\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo, this.fuelCard);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n \r\n loadFualCardBrandList(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetFuelCardBrandTypeList().then(data => \r\n {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.fuelCardBrandTypeList=data;\r\n });\r\n }\r\n\r\n loadMonthList(){ \r\n this.monthList = lookupService.GetMonthList();\r\n }\r\n\r\n onSubmit(){\r\n if(this.fuelCard.id > 0){\r\n this.updateFuelCard();\r\n } else {\r\n this.addNewFuelCard()\r\n }\r\n }\r\n\r\n onChangeExpiryYear(){\r\n this.onCheckClosingDateChange();\r\n }\r\n\r\n onChangeMonth(){\r\n this.onCheckClosingDateChange();\r\n }\r\n\r\n onCheckClosingDateChange(){\r\n if(this.fuelCard.yearDateTime != null && this.fuelCard.expiryMonth != null){\r\n this.getFormattedClosingDate();\r\n }\r\n }\r\n\r\n getFormattedClosingDate(){\r\n let year = null;\r\n let month = null;\r\n let formattedClosingDate = null;\r\n year = new Date(this.fuelCard.yearDateTime).getFullYear();\r\n month = this.fuelCard.expiryMonth-1;\r\n formattedClosingDate = new Date(Date.UTC(year, month, 0));\r\n this.getValidClosingDate(formattedClosingDate);\r\n }\r\n\r\n getValidClosingDate(formattedClosingDate){\r\n this.fromDate = new Date(moment(formattedClosingDate).add(1, 'month').toDate());\r\n if(this.fuelCard.closingDate != null && new Date(this.fuelCard.closingDate) > this.fromDate){\r\n this.fuelCard.closingDate = null;\r\n }\r\n }\r\n\r\n addNewFuelCard() {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {\r\n brand:this.fuelCard.brand,\r\n accountNumber:this.fuelCard.accountNumber,\r\n cardNumber:this.fuelCard.cardNumber,\r\n expiryYear:this.fuelCard.expiryYear,\r\n expiryMonth:this.fuelCard.expiryMonth == 0 ? null : this.fuelCard.expiryMonth,\r\n motorVehicleId:this.fuelCard.motorVehicleId,\r\n yearDateTime:this.fuelCard.yearDateTime != null ? this.fuelCard.yearDateTime : null,\r\n closingDate:this.fuelCard.closingDate != null ? this.fuelCard.closingDate : null,\r\n note: this.fuelCard.note\r\n }\r\n apiService.sendPutRequest('FuelCard','FuelCard',params).then(response => {\r\n if(response.data.isSuccess){\r\n this.fuelCard.id = response.data.id;\r\n this.fuelCard.concurrencyKey = response.data.concurrencyKey;\r\n this.fuelCard.createdDate = new Date();\r\n this.fuelCard.createdByName = response.data.updatedByName;\r\n this.fuelCard.lastUpdatedDate = new Date();\r\n this.fuelCard.updatedByName = response.data.updatedByName;\r\n this.fuelCard.expiryYear = this.fuelCard.yearDateTime != null ? new Date(this.fuelCard.yearDateTime).getFullYear() : \"\";\r\n this.fuelCard.yearDateTime = this.fuelCard.yearDateTime != null ? new Date(this.fuelCard.yearDateTime).toUTCString(): null;\r\n this.fuelCard.brandDisplayText = this.fuelCardBrandTypeList.filter(obj => obj.value == this.fuelCard.brand)[0].text;\r\n this.fuelCard.expiryDate = this.fuelCard.expiryMonth == 0 && this.fuelCard.yearDateTime == null ? \"\" : \r\n this.fuelCard.expiryMonth <= 9 ? ( \"0\" + this.fuelCard.expiryMonth + \" / \" + this.fuelCard.expiryYear) :\r\n this.fuelCard.expiryMonth + \" / \" + this.fuelCard.expiryYear\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.onFuelCardAdded(this.fuelCard);\r\n this.closeAddFuelCardPanel();\r\n\r\n } else {\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n updateFuelCard(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.fuelCard.expiryMonth = this.fuelCard.expiryMonth == 0 ? null : this.fuelCard.expiryMonth;\r\n apiService.sendPostRequest('FuelCard','FuelCard',this.fuelCard).then(\r\n response => {\r\n if(response.data.isSuccess){\r\n this.fuelCard.concurrencyKey = response.data.concurrencyKey;\r\n this.fuelCard.updatedByName = response.data.updatedByName;\r\n this.fuelCard.expiryYear = this.fuelCard.yearDateTime != null ? new Date(this.fuelCard.yearDateTime).getFullYear() : \"\";\r\n this.fuelCard.brandDisplayText = this.fuelCardBrandTypeList.filter(obj => obj.value == this.fuelCard.brand)[0].text;\r\n this.fuelCard.lastUpdatedDate = new Date();\r\n this.fuelCard.yearDateTime = this.fuelCard.yearDateTime != null ? new Date(this.fuelCard.yearDateTime).toUTCString(): null;\r\n this.fuelCard.closingDate = this.fuelCard.closingDate != null ? new Date(this.fuelCard.closingDate).toUTCString(): null;\r\n this.fuelCard.expiryMonth = this.fuelCard.expiryMonth == null ? 0 : this.fuelCard.expiryMonth;\r\n this.fuelCard.expiryDate = this.fuelCard.expiryMonth == 0 && this.fuelCard.yearDateTime == null ? \"\" : \r\n this.fuelCard.expiryMonth <= 9 ? ( \"0\" + this.fuelCard.expiryMonth + \" / \" + this.fuelCard.expiryYear) :\r\n this.fuelCard.expiryMonth + \" / \" + this.fuelCard.expiryYear\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.onFuelCardUpdated(this.fuelCard);\r\n this.closeAddFuelCardPanel();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n\r\n closeAddFuelCardPanel(){\r\n this.showCancelConfirmation = false;\r\n this.$v.fuelCard.$reset();\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n this.onOkayToCancel();\r\n }\r\n\r\n onCancel(){\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.showCancelConfirmation = true;\r\n }\r\n else{\r\n this.closeAddFuelCardPanel();\r\n }\r\n }\r\n\r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n\r\n isModelInvalid()\r\n {\r\n return this.$v.fuelCard.accountNumber.$invalid || this.$v.fuelCard.cardNumber.$invalid \r\n || this.$v.fuelCard.brand.$invalid || this.fuelCard.brand <= 0 \r\n || (this.fuelCard.expiryMonth != 0 && (this.fuelCard.yearDateTime == null || this.fuelCard.cardNumber == \"\"))\r\n || (this.fuelCard.yearDateTime != null && (this.fuelCard.expiryMonth == 0 || this.fuelCard.cardNumber == \"\"))\r\n || (this.fuelCard.cardNumber != \"\" && (this.fuelCard.expiryMonth == 0 || this.fuelCard.yearDateTime == null))\r\n }\r\n\r\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\r\n\r\n }\r\n\r\n @Emit('onFuelCardAdded') onFuelCardAdded(ba:any){\r\n \r\n }\r\n\r\n @Emit('onFuelCardUpdated') onFuelCardUpdated(ba:any){\r\n \r\n }\r\n\r\n @Emit('onOkayToCancel') onOkayToCancel(){\r\n\r\n }\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFuelCard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFuelCard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditFuelCard.vue?vue&type=template&id=94e0d17c&scoped=true\"\nimport script from \"./AddEditFuelCard.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditFuelCard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditFuelCard.vue?vue&type=style&index=0&id=94e0d17c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"94e0d17c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteFuelCardConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteFuelCardConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Fuel Card \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the fuel card?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteFuelCardConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteFuelCardConf_OkButton\"},on:{\"click\":_vm.deletFuelCard}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showNoteModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ViewNoteModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Fuel Card Note \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.item.note !== null && _vm.item.note !== '')?_c('p',{staticClass:\"modal-text\",domProps:{\"innerHTML\":_vm._s(_vm.item.note)}}):_vm._e(),(_vm.item.note === null || _vm.item.note === '')?_c('p',{staticClass:\"modal-text empty-note-text\"},[_vm._v(\"\\n No note available.\\n \")]):_vm._e()]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"ViewNoteModal_OkButton\"},on:{\"click\":function($event){_vm.showNoteModal = false}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-btn',{staticClass:\"action-btn\",attrs:{\"title\":\"View Note\"},on:{\"click\":function($event){_vm.showNoteModal = true}}},[_c('i',{staticClass:\"fas fa-eye\",class:{'note-button': _vm.item.note !== null && _vm.item.note !== ''},attrs:{\"aria-hidden\":\"true\"}})]),(!_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Fuel Card\"},on:{\"click\":_vm.onDeleteFuelCardClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n@Component(\n {\n components: {\n Modal\n } \n }\n)\nexport default class FuelCardListActionButtons extends Vue {\n @Prop() item:any\n @Prop() modalMode:boolean\n showDeleteFuelCardConfirmation = false;\n showNoteModal = false;\n isStandardUser = false;\n \n created(){\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n\n onCloseDelete()\n {\n this.showDeleteFuelCardConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n onDeleteFuelCardClick()\n {\n this.showDeleteFuelCardConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n deletFuelCard(){\n this.showDeleteFuelCardConfirmation = false;\n this.item.isActive = false;\n this.onDeleteFuelCard(this.item,DataTableActionTypes.Delete); \n }\n\n @Emit('customEvent') onDeleteFuelCard(id:number,type:DataTableActionTypes){\n }\n\n \n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n \n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FuelCardListActionButtions.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FuelCardListActionButtions.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FuelCardListActionButtions.vue?vue&type=template&id=42aa499c&scoped=true\"\nimport script from \"./FuelCardListActionButtions.vue?vue&type=script&lang=ts\"\nexport * from \"./FuelCardListActionButtions.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FuelCardListActionButtions.vue?vue&type=style&index=0&id=42aa499c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"42aa499c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Emit, Watch } from \"vue-property-decorator\";\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport apiService from '@/shared/services/apiService';\r\nimport AppSettings from '@/app.config';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport AddEditFuelCard from '@/components/admin/fuelCards/AddEditFuelCard.vue';\r\nimport FuelCardListActionButtions from './FuelCardListActionButtions.vue';\r\nimport { FuelCard } from '@/models/fuelCard.model';\r\nimport moment from \"moment\";\r\n\r\n@Component\r\n(\r\n {\r\n components: {\r\n DataTable,\r\n AddEditFuelCard\r\n }\r\n }\r\n)\r\nexport default class FuelCardList extends Vue {\r\n @Prop() vehicleId:number;\r\n @Prop() originalFuelCard:any;\r\n showAddFuelCardPanel:boolean = false;\r\n items:any = [];\r\n initialFuelCard:FuelCard = {\r\n id:0,\r\n isActive:true,\r\n brand:0,\r\n accountNumber:\"\",\r\n cardNumber:\"\",\r\n expiryYear:0,\r\n expiryMonth:0,\r\n yearDateTime:null,\r\n motorVehicleId:0,\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n updatedByName:\"\",\r\n createdDate:\"\",\r\n lastUpdatedDate:\"\",\r\n brandDisplayText:\"\",\r\n expiryDate:\"\",\r\n closingDate:null,\r\n note: null\r\n };\r\n\r\n fuelCard:FuelCard = Object.assign({}, this.initialFuelCard);\r\n\r\n fields = [\r\n {key: 'brandDisplayText',label:\"Brand\",class:'width_15'},\r\n {key: 'accountNumber', label:\"Account Number\", class:'width_25'}, \r\n {key: 'cardNumber',label:\"Card Number\", class:'width_20'},\r\n {key: 'expiryDate',label:\"Expiry Date\", class:'width_15'},\r\n {key: 'closingDate',label:\"Closing Date\", class:'width_15',\r\n formatter: (value, key, item) => {\r\n if(item.closingDate != null){\r\n return moment(item.closingDate).format(\"DD MMM YYYY\")\r\n }\r\n } \r\n },\r\n {key: 'actions',label:\"\",class:'text-center width_10'} \r\n ];\r\n customTemplateList:Array = [\r\n {slot:\"actions\",customTemplate:FuelCardListActionButtions},\r\n ]\r\n\r\n created(){\r\n this.loadFuelCardList();\r\n }\r\n\r\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.ActionButtonSelect){\r\n (this.$refs.fuelCardsTable as DataTable).setLastCustomAction(type);\r\n }\r\n if(type == DataTableActionTypes.ResetActionButtton){\r\n (this.$refs.fuelCardsTable as DataTable).resetLastCustomAction();\r\n }\r\n if(type == DataTableActionTypes.Delete){\r\n this.onDeleteFuelCard(data);\r\n }\r\n else if(type == DataTableActionTypes.RowSelect){\r\n this.onEditFuelCard(data)\r\n }\r\n }\r\n\r\n onEditFuelCard(data){\r\n this.fuelCard = Object.assign({},this.getAccountById(data.id));\r\n this.showAddFuelCardPanel = true;\r\n }\r\n\r\n createFuelCard(createdFuelCard:any){\r\n createdFuelCard.expiryMonth = createdFuelCard.expiryMonth == 0 ? null : createdFuelCard.expiryMonth;\r\n this.items.push(Object.assign({},createdFuelCard));\r\n this.closeAddFuelCardPanel();\r\n }\r\n\r\n getAccountById(id:number){\r\n var i;\r\n var fuelCard;\r\n for (i = 0; i < this.items.length; i++) { \r\n if(this.items[i].id == id){\r\n fuelCard = this.items[i];\r\n break;\r\n }\r\n }\r\n return fuelCard;\r\n }\r\n\r\n loadFuelCardList(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = { vehicleId:this.vehicleId}\r\n apiService.sendGetRequest('FuelCard','FuelCardList',params).then(\r\n response => {\r\n if(response.data){\r\n this.items = response.data; \r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n\r\n closeAddFuelCardPanel(){\r\n this.fuelCard = Object.assign({}, this.initialFuelCard);\r\n this.showAddFuelCardPanel = false;\r\n }\r\n\r\n updateFuelCard(updatedFuelCard:any){\r\n var fuelcard = this.getAccountById(updatedFuelCard.id);\r\n fuelcard.expiryMonth = updatedFuelCard.expiryMonth == null ? 0 : fuelcard.expiryMonth;\r\n var index = this.items.indexOf(fuelcard);\r\n this.items[index] = updatedFuelCard;\r\n var itemsCopy = Object.assign([],this.items);\r\n this.items = [];\r\n this.items = itemsCopy;\r\n this.closeAddFuelCardPanel();\r\n }\r\n\r\n navigateToAddFuelCard(){\r\n this.showAddFuelCardPanel = true;\r\n }\r\n\r\n onDeleteFuelCard(data:any){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest(\"FuelCard\",\"FuelCard\",data).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: \"Fuel card successfully deleted.\",\r\n type: 'success',\r\n duration: 5000\r\n });\r\n if(this.fuelCard.id == data.id){\r\n this.closeAddFuelCardPanel();\r\n }\r\n this.loadFuelCardList();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n (this.$refs.fuelCardsTable as DataTable).resetLastCustomAction();\r\n }\r\n ) \r\n }\r\n\r\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\r\n\r\n }\r\n}\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FuelCardList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FuelCardList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FuelCardList.vue?vue&type=template&id=aeff4b18&scoped=true\"\nimport script from \"./FuelCardList.vue?vue&type=script&lang=ts\"\nexport * from \"./FuelCardList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"aeff4b18\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"page-title primary-text\"},[_c('SystemTextNotes',{attrs:{\"boldText\":\"The Vehicle Admin Fee charges has been moved to Novation. Only historical charges are shown here.\"}}),_c('strong',[_vm._v(\"Administration Fee Charges \")])],1),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{attrs:{\"sm\":\"4\",\"md\":\"4\",\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"showInvoicedCheckbox\"},on:{\"input\":_vm.onShowInactiveChanged},model:{value:(_vm.showInvoiced),callback:function ($$v) {_vm.showInvoiced=$$v},expression:\"showInvoiced\"}},[_c('span',[_vm._v(\"Show Invoiced Charges\")])])],1)],1),(_vm.isTableDataLoaded)?_c('div',[_c('DataTable',{ref:\"adminFeeChargesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No Administration fee charge records to display.\",\"customTemplates\":_vm.customTemplateList},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport {ScheduleTableFilterParams} from '@/models/tableFilterParams.model';\r\nimport apiService from '@/shared/services/apiService'\r\nimport AppSettings from '@/app.config'\r\nimport moment from 'moment';\r\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\r\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\r\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\r\n@Component\r\n (\r\n {\r\n components: {\r\n DataTable,\r\n SystemTextNotes\r\n }\r\n }\r\n )\r\n export default class MotorVehicleAdminFeeChargeList extends Vue {\r\n @Prop() vehicleId:any;\r\n items:any = [];\r\n fields = [\r\n {key: 'recordCreatedDate', label:'Date', sortable:'true',class:'width_25',\r\n formatter: (value, key, item) => {\r\n return moment(item.recordCreatedDate).format(\"DD MMM YYYY\");\r\n },\r\n },\r\n {key: 'amount', label:'Amount',class:'width_15'},\r\n {key: 'gstAmount', label:'GST', class:'width_15'},\r\n {key: 'chargedAmount', label:'Total',class:'width_15'},\r\n {key: 'isInvoiced',label:'Invoiced',class:'width_15',sortable:'true'},\r\n {key:'invoicedDate',class:'width_20', sortable:'true',\r\n formatter: (value, key, item) => {\r\n return item.invoicedDate != null ? moment(item.invoicedDate != null ? item.invoicedDate : null).format(\"DD MMM YYYY\") : item.invoicedDate;\r\n },\r\n },\r\n ]\r\n totalRows:number = 0;\r\n perPage:number = AppSettings.defaultGridSize;\r\n sortBy:string = \"recordCreatedDate\";\r\n sortDesc:boolean = true;\r\n showEmptyBanner:boolean = false;\r\n isTableDataLoaded:boolean = false;\r\n showInvoiced:boolean = false;\r\n customTemplateList: Array = [{ slot: \"amount\", customTemplate: ApexCurrency },\r\n { slot: \"gstAmount\", customTemplate: ApexCurrency },\r\n { slot: \"chargedAmount\", customTemplate: ApexCurrency }]\r\n mounted(){\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"recordCreatedDate\",SortDesc:true,SearchByString:\"\",RelatedId:this.vehicleId,Status:0, ShowInactive:this.showInvoiced});\r\n }\r\n\r\n\r\n refreshGrid(tableFilterParams:ScheduleTableFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.showEmptyBanner = false;\r\n apiService.sendGetRequest(\"Vehicle\",\"AdminFeeChargeList\",tableFilterParams).then(response =>{\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.isTableDataLoaded = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\r\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:\"\",RelatedId:this.vehicleId,Status:0,ShowInactive:this.showInvoiced});\r\n }\r\n\r\n onSortingChange(ctx:any){\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:\"\",RelatedId:this.vehicleId,Status:0,ShowInactive:this.showInvoiced});\r\n }\r\n\r\n onShowInactiveChanged(){\r\n (this.$refs.adminFeeChargesTable as DataTable).resetPaginator();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"recordCreatedDate\",SortDesc:true,SearchByString:\"\",RelatedId:this.vehicleId,Status:0, ShowInactive:this.showInvoiced});\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleAdminFeeChargeList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleAdminFeeChargeList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleAdminFeeChargeList.vue?vue&type=template&id=58c36f10\"\nimport script from \"./MotorVehicleAdminFeeChargeList.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleAdminFeeChargeList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"card-body\"},[_c('CRow',[_c('CCol',{attrs:{\"cols\":\"12\"}},[_c('DataTable',{ref:\"scheduledPaymentsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"paginationColor\":\"scheduled-payment-widget-paginator\",\"emptyBanner\":\"No scheduled payments to display.\",\"selectable\":true,\"select-mode\":_vm.selectMode},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[(_vm.showDeletedReasonPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showReasonConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Deleted Reason\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.item.deletedReason)+\"\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"showReasonConf_OkButton\"},on:{\"click\":function($event){return _vm.onCloseReason()}}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e()],1),_c('div',[(!_vm.item.isActive && _vm.item.deletedReason)?_c('b-btn',{staticClass:\"ml-2 cursor-pointer action-btn\",attrs:{\"title\":\"View Deleted Reason\"},on:{\"click\":_vm.onShowReasonClick}},[_c('i',{staticClass:\"fas fa-info-circle grid-large-icon action-btn info-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n \r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\r\nimport { Component, Emit, Prop, Vue } from 'vue-property-decorator';\r\n\r\n @Component({\r\n components:\r\n {\r\n Modal,\r\n },\r\n })\r\n export default class ScheduledPaymentsActionButtons extends Vue{\r\n @Prop() item:any\r\n\r\n showDeletedReasonPopup:boolean = false\r\n\r\n onShowReasonClick()\r\n {\r\n this.showDeletedReasonPopup = true;\r\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\r\n }\r\n \r\n onCloseReason()\r\n {\r\n this.showDeletedReasonPopup = false;\r\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\r\n }\r\n\r\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){}\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentsActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentsActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ScheduledPaymentsActionButtons.vue?vue&type=template&id=2dbe28ae&scoped=true\"\nimport script from \"./ScheduledPaymentsActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./ScheduledPaymentsActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ScheduledPaymentsActionButtons.vue?vue&type=style&index=0&id=2dbe28ae&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2dbe28ae\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from \"vue-property-decorator\";\r\nimport Modal from \"@/shared/components/modal/Modal.vue\";\r\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\r\nimport moment from \"moment\";\r\nimport { ScheduleTableFilterParams } from \"@/models/tableFilterParams.model\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\r\nimport { DataTableActionTypes } from \"@/shared/enums/dataTableActionTypes.enum\";\r\nimport WidgetBusyIndicator from \"@/shared/components/busyIndicator/WidgetBusyIndicator.vue\";\r\nimport { CRow, CCol, CDropdown, CSwitch, CDropdownItem } from \"@coreui/vue\";\r\nimport ScheduledPaymentsActionButtons from \"./ScheduledPaymentsActionButtons.vue\";\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tModal,\r\n\t\tDataTable,\r\n WidgetBusyIndicator,\r\n CRow, CCol, CDropdown, CSwitch, CDropdownItem,\r\n\t},\r\n})\r\nexport default class ScheduledPayment extends Vue {\r\n\t@Prop() vehicleId: number;\r\n @Prop({default: false}) showInactive: boolean;\r\n\r\n items:any[] = [];\r\n showEmptyBanner:boolean = false;\r\n fields = [\r\n { key: 'scheduleType', label:'Name'},\r\n { key: 'insuranceCompanyName', label:'Company Name', class:'width_20', sortable:false},\r\n { key: 'monthlyInsuranceDueDate', label:'Monthly Insurance Due Date'},\r\n { key: 'finalMonthInsuranceDueDate', label:'Final Month Insurance Due Date', class:'width_25', sortable:true, \r\n formatter: (value, key, item) => {\r\n return moment([moment(item.finalMonthInsuranceDueDate).format('YYYY'),(item.finalMonthInsuranceDueMonthComponent-1),item.monthlyInsuranceDueDate]).format('DD MMM YYYY');\r\n }, \r\n },\r\n\t\t\t { key: 'nextPaymentDue', label:'Next Payment Due',formatter: (value, key, item) => {\r\n if(item.nextPaymentDue == null){\r\n return 'No Current Payment Available';\r\n } else {\r\n return moment(item.nextPaymentDue).format('DD MMM YYYY');\r\n }\r\n }, \r\n },\r\n {key: 'actions',label:\"\",class:'text-center',tdClass:'action-buttons'}\r\n ]; \r\n\r\n sortBy:string = \"finalMonthInsuranceDueDate\";\r\n sortDesc:boolean = true;\r\n totalRows:number = 0; \r\n customTemplateList:Array = [{slot:\"actions\",customTemplate:ScheduledPaymentsActionButtons}];\r\n perPage:number = 5;\r\n selectMode = \"single\";\r\n\r\n\tcreated() {\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: \"finalMonthInsuranceDueDate\",\r\n SortDesc: true,\r\n SearchByString: \"\",\r\n RelatedId: this.vehicleId,\r\n Status: 0,\r\n ShowInactive: this.showInactive,\r\n });\r\n }\r\n \r\n @Watch('showInactive')\r\n onShowInactiveChanged(val: any, oldVal: any)\r\n {\r\n this.showInactiveSchedules(); \r\n }\r\n\r\n refreshGrid(params: ScheduleTableFilterParams) {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n apiService.sendGetRequest(\"RecurringPayment\", \"ScheduledVehicleInsurance\", params).then((response) => {\r\n this.items = response.data.resultDto;\r\n\r\n this.items.forEach(item => {\r\n if(!item.isActive) {\r\n item.nextPaymentDue = null;\r\n }\r\n });\r\n\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n })\r\n .catch((error) => {\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n onPageChange(sortBy: string, sortDesc: boolean, fromIndex: number) {\r\n this.refreshGrid({\r\n FromIndex: fromIndex,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: this.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: this.vehicleId,\r\n Status: 0,\r\n ShowInactive: this.showInactive,\r\n });\r\n }\r\n\r\n onSortingChange(ctx: any) {\r\n if (ctx.sortBy) {\r\n this.sortDesc = ctx.sortDesc;\r\n this.sortBy = ctx.sortBy;\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: this.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: this.vehicleId,\r\n Status: 0,\r\n ShowInactive: this.showInactive,\r\n });\r\n }\r\n }\r\n\r\n onCustomDataTableEvent(data: any, type: DataTableActionTypes) {\r\n if (type == DataTableActionTypes.ActionButtonSelect) {\r\n (this.$refs.scheduledPaymentsTable as DataTable).setLastCustomAction(type);\r\n }\r\n else if (type == DataTableActionTypes.ResetActionButtton) {\r\n (this.$refs.scheduledPaymentsTable as DataTable).resetLastCustomAction();\r\n }\r\n else if (type == DataTableActionTypes.RowSelect) {\r\n this.$router.push({\r\n name: \"Vehicle Insurance Schedule\",\r\n params: { vehicleId: this.vehicleId.toString(), vehicleInsuranceId:data.insuranceScheduleId },\r\n });\r\n }\r\n }\r\n\r\n showInactiveSchedules() {\r\n this.sortBy = \"finalMonthInsuranceDueDate\";\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: true,\r\n SearchByString: \"\",\r\n RelatedId: this.vehicleId,\r\n Status: 0,\r\n ShowInactive: this.showInactive,\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPayment.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPayment.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ScheduledPayment.vue?vue&type=template&id=44419480&scoped=true\"\nimport script from \"./ScheduledPayment.vue?vue&type=script&lang=ts\"\nexport * from \"./ScheduledPayment.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ScheduledPayment.vue?vue&type=style&index=0&id=44419480&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"44419480\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDirtyValidationConfirmation)?_c('Modal',{staticClass:\"dirtyValidationConfirmation\",attrs:{\"centered\":\"\",\"id\":\"CancelConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditMotorVehicleConf_CancelButton\"},on:{\"click\":function($event){_vm.showDirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditMotorVehicleConf_OkButton\"},on:{\"click\":function($event){return _vm.closeModal()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showToggleCategoriesModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"MoterVehicleDetailsToggleCategoriesModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Toggle Categories\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},_vm._l((_vm.expenseClaimCategories),function(category){return _c('b-row',{key:category.value,staticClass:\"align-items-center\"},[_c('b-col',{attrs:{\"cols\":\"8\"}},[_vm._v(\"\\n \"+_vm._s(category.text)+\"\\n \")]),_c('b-col',{staticClass:\"d-flex justify-content-end\",attrs:{\"cols\":\"4\"}},[_c('b-form-group',{staticClass:\"ml-1 mt-2 text-nowrap\",attrs:{\"label\":\"\",\"label-for\":\"isDisabled\",\"title\":category.isDisabled ? 'Disabled': 'Enabled'}},[_c('div',{staticClass:\"custom-control custom-switch\"},[_c('input',{staticClass:\"custom-control-input\",attrs:{\"type\":\"checkbox\",\"id\":category.value},domProps:{\"checked\":!category.isDisabled},on:{\"change\":function($event){return _vm.onChangeCategoryStatus(category)}}}),_c('label',{staticClass:\"custom-control-label\",attrs:{\"for\":category.value}})])])],1)],1)}),1),_c('div',{attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"MoterVehicleDetailsToggleCategoriesModal_CancelButton\"},on:{\"click\":function($event){return _vm.onClickCancelToggleCategoryModal()}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"MoterVehicleDetailsToggleCategoriesModal_SaveButton\",\"disabled\":!_vm.isClaimCategoryDirty},on:{\"click\":function($event){return _vm.updateDisabledExpenseClaimCategories()}}},[_vm._v(\"\\n Save\\n \")])],1)]):_vm._e(),(_vm.showAddClaimNoteModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"MoterVehicleDetailsAddClaimNoteModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Add Claim Note\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('vue-editor',{attrs:{\"id\":\"claimNote\",\"editorToolbar\":_vm.customEditorToolbar,\"placeholder\":\"Add a New Claim Note.\"},on:{\"input\":function($event){return _vm.updateClaimNoteDirtyValidation()}},model:{value:(_vm.claimNote),callback:function ($$v) {_vm.claimNote=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"claimNote\"}})],1),_c('div',{attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"MoterVehicleDetailsAddClaimNoteModal_CancelButton\"},on:{\"click\":function($event){return _vm.onClickCancelClaimNote()}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"MoterVehicleDetailsAddClaimNoteModal_SaveButton\",\"disabled\":!_vm.isClaimNoteDirty},on:{\"click\":function($event){return _vm.updateClaimNote()}}},[_vm._v(\"\\n Save\\n \")])],1)]):_vm._e(),_c('b-row',{staticClass:\"px-3 mb-3 justify-content-end\"},[_c('div',{staticClass:\"d-flex\"},[_c('b-button',{staticClass:\"primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.loadExpenseClaimCategories()}}},[_vm._v(\"Toggle Categories\")]),_c('b-button',{staticClass:\"primary ml-2\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.loadClaimNote()}}},[_vm._v(\"Add Claim Note\")])],1)]),_c('ExpenseClaimsList',{attrs:{\"vehicleId\":_vm.vehicleID}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"8\",\"md\":\"\",\"lg\":\"\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",staticClass:\"responsive-search\",on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\" pl-0\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"8\",\"md\":\"\",\"lg\":\"\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"companyBankAccounSelectList\",\"plain\":true,\"options\":_vm.expenseClaimTypes},on:{\"input\":_vm.onExpenseClaimTypeChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.selectedExpenseClaimType),callback:function ($$v) {_vm.selectedExpenseClaimType=$$v},expression:\"selectedExpenseClaimType\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Types\")])])],2)],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"companyBankAccounSelectList\",\"plain\":true,\"options\":_vm.expenseClaimStatuses},on:{\"input\":_vm.onExpenseClaimStatusChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.selectedExpenseClaimStatus),callback:function ($$v) {_vm.selectedExpenseClaimStatus=$$v},expression:\"selectedExpenseClaimStatus\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Statuses\")])])],2)],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"8\",\"md\":\"\",\"lg\":\"\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"catagorySelectList\"}},[_c('multiselect',{ref:\"multiselect\",attrs:{\"id\":\"catogorySelect\",\"options\":_vm.expenseClaimCategoryList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onTransactionCategoryChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(_vm._s(_vm.expenseClaimCategoryList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Category\" : \"Categories\")+\"\\r\\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedExpenseClaimCategoryList),callback:function ($$v) {_vm.selectedExpenseClaimCategoryList=$$v},expression:\"selectedExpenseClaimCategoryList\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"8\",\"md\":\"1\",\"lg\":\"1\"}},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('div',{staticClass:\"pt-4\"},[_c('DataTable',{ref:\"expenseClaimsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No expense claims to display.\",\"selectable\":true},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',[_vm._v(_vm._s(this.item.ecrn))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component,Emit, Vue, Prop } from \"vue-property-decorator\";\r\nimport moment from 'moment';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\n\r\n@Component({})\r\nexport default class ExpenseClaimLink extends Vue {\r\n @Prop() item:any;\r\n\r\n onClick()\r\n {\r\n this.onSelectExpenseClaim(this.item,DataTableActionTypes.RowSelect);\r\n }\r\n\r\n get displayDate()\r\n {\r\n return moment(this.item.date).format(\"DD MMM YYYY\")\r\n }\r\n\r\n @Emit('customEvent') onSelectExpenseClaim(data:any,type:DataTableActionTypes){}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./expenseClaimLink.vue?vue&type=template&id=118f9c0c&scoped=true\"\nimport script from \"./expenseClaimLink.vue?vue&type=script&lang=ts\"\nexport * from \"./expenseClaimLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"118f9c0c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showExpenseClaimAuditLogsModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"expenseClaimAuditLogsModal\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap modal-title\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Expense Claim Audit Logs\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"expenseClaimAuditLogsCancelBtn\"},on:{\"click\":_vm.onCloseModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ExpenseClaimAuditLogs',{staticClass:\"modal-body-text\",attrs:{\"expenseClaimId\":_vm.item.id}})],1)]):_vm._e(),(_vm.spanMode)?_c('span',{staticClass:\"float-right ml-2 mr-2 edit-button spanModeClass \",attrs:{\"title\":\"Show Expense Claim Audit Logs\"},on:{\"click\":function($event){_vm.showExpenseClaimAuditLogsModal = true}}},[_c('i',{staticClass:\"fas fa-history fa\",attrs:{\"aria-hidden\":\"true\"}})]):_c('b-btn',{staticClass:\"ml-3 action-btn\",attrs:{\"title\":\"Show Expense Claim Audit Logs\"},on:{\"click\":_vm.viewExpenseClaimAuditLogs}},[_c('i',{staticClass:\"fas fa-history edit-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"pt-4\",staticStyle:{\"font-size\":\"11pt\"}},[_c('DataTable',{ref:\"expenseClaimLogsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No audit logs to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop, Emit, Watch } from \"vue-property-decorator\";\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport moment from 'moment';\r\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\r\nimport AppSettings from '@/app.config'\r\n\r\n@Component({\r\n components: {\r\n DataTable\r\n }\r\n})\r\nexport default class ExpenseClaimAuditLogs extends Vue{\r\n @Prop() expenseClaimId:number;\r\n items:any[] = [];\r\n showEmptyBanner:boolean = false;\r\n fields = [\r\n {key: 'date',label:'Date', class:'width_25 text-left', sortable:true, \r\n formatter: (value, key, item) => {\r\n return moment(item.date).format(\"DD MMM YYYY HH:mm:ss\");\r\n }, \r\n },\r\n {key: 'description', class:'text-left' }\r\n ]; \r\n customTemplateList:Array = [];\r\n perPage:number = AppSettings.defaultGridSize;\r\n sortBy:string = \"date\";\r\n sortDesc:boolean = true;\r\n totalRows:number = 0;\r\n\r\n created()\r\n {\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: '',RelatedId: this.expenseClaimId,Status: 0});\r\n }\r\n \r\n refreshGrid(tableFilterParams:TableFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"ExpenseClaim\",\"ExpenseClaimAuditLogs\",tableFilterParams).then(response =>{\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n onSortingChange(ctx:any)\r\n {\r\n if(ctx.sortBy){\r\n this.sortDesc = ctx.sortDesc;\r\n this.sortBy = ctx.sortBy;\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: this.expenseClaimId, Status: 0});\r\n }\r\n }\r\n\r\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number)\r\n {\r\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: this.expenseClaimId, Status :0});\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimAuditLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimAuditLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./expenseClaimAuditLogs.vue?vue&type=template&id=49e7caab\"\nimport script from \"./expenseClaimAuditLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./expenseClaimAuditLogs.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport ExpenseClaimAuditLogs from './expenseClaimAuditLogs.vue';\n\n@Component(\n {\n components: {\n Modal,\n ExpenseClaimAuditLogs\n }\n }\n)\nexport default class ExpenseClaimsAuditLogsActionButton extends Vue{\n @Prop() item:any;\n @Prop() spanMode:any;\n hideFooter:boolean = true;\n showExpenseClaimAuditLogsModal:boolean = false;\n onCloseModal()\n {\n this.showExpenseClaimAuditLogsModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n viewExpenseClaimAuditLogs(){\n this.showExpenseClaimAuditLogsModal = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimsAuditLogsActionButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimsAuditLogsActionButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./expenseClaimsAuditLogsActionButton.vue?vue&type=template&id=025bd0c5&scoped=true\"\nimport script from \"./expenseClaimsAuditLogsActionButton.vue?vue&type=script&lang=ts\"\nexport * from \"./expenseClaimsAuditLogsActionButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./expenseClaimsAuditLogsActionButton.vue?vue&type=style&index=0&id=025bd0c5&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"025bd0c5\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport moment from 'moment';\r\nimport ExpenseClaimLink from '@/components/admin/expenseClaims/expenseClaimLink.vue';\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\nimport {ExpenseClaimTableFilterParams} from '@/models/tableFilterParams.model';\r\nimport AppSettings from '@/app.config'\r\nimport lookupService from '@/shared/services/lookupService'\r\nimport ExpenseClaimsAuditLogsActionButton from './expenseClaimsAuditLogsActionButton.vue';\r\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\r\nimport Filtrations from \"@/shared/filtrations\";\r\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\r\n\r\n@Component({\r\n components: {\r\n DataTable, FilterTextInput\r\n }\r\n})\r\nexport default class ExpenseClaimsList extends Vue{\r\n @Prop() vehicleId:number;\r\n items:any[] = [];\r\n showEmptyBanner:boolean = false;\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n fields = [\r\n {key: 'ecrn',label:'ECRN', class:'width_25', sortable:true},\r\n {key: 'date',label:'Submitted', class:'width_15', sortable:true, \r\n formatter: (value, key, item) => {\r\n return moment(item.date).format(\"DD MMM YYYY\");\r\n }, \r\n },\r\n {key: 'typeText',label:'Type', class:'width_10', sortable:true },\r\n {key: 'categoryText',label:'Category', class:'width_15', sortable:true },\r\n {key: 'statusText',label:'Status', class:'width_15', sortable:true},\r\n {key: 'totalAmount',label:'Total', class:'text-right', sortable:true},\r\n {key: 'actions',label:\"\",class:'text-center width_10'} \r\n ]; \r\n customTemplateList:Array = [\r\n {slot:\"ecrn\",customTemplate : ExpenseClaimLink},\r\n {slot:\"actions\",customTemplate: ExpenseClaimsAuditLogsActionButton},\r\n {slot:\"totalAmount\",customTemplate: ApexCurrency}\r\n ];\r\n fromDate:any = null;\r\n toDate:any = null;\r\n disabledFromDates:any ={};\r\n disabledToDates:any ={};\r\n perPage:number = AppSettings.defaultGridSize;\r\n expenseClaimTypes:any = [];\r\n expenseClaimStatuses: any = [];\r\n selectedExpenseClaimType:number = 0;\r\n selectedExpenseClaimStatus:number = 0;\r\n sortBy:string = \"date\";\r\n sortDesc:boolean = true;\r\n totalRows:number = 0;\r\n filter:string = \"\";\r\n expenseClaimCategoryList:any = [];\r\n selectedExpenseClaimCategoryList:any = [];\r\n isPanelOpen= false \r\n resetButtonDisabled:boolean = true;\r\n convertedFrom:any = null;\r\n convertedTo:any = null;\r\n\r\n created(){\r\n var promise1 = this.loadExpenseClaimTypes();\r\n var promise2 = this.loadExpenseClaimStatusList();\r\n var promise3 = this.loadTransactionCategoryList();\r\n \r\n Promise.all([promise1, promise2,promise3]).then(response => {\r\n if(Object.keys(this.$route.query).length > 0){\r\n this.validateAndAssignQueryParams();\r\n this.convertFromAndToDates();\r\n }\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }); \r\n }\r\n\r\n removeSelectedList(){\r\n this.selectedExpenseClaimCategoryList = [];\r\n if(!this.isPanelOpen){\r\n this.resetTable();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n }\r\n\r\n fromDateChanged(){\r\n if(fieldValidations.isValidDate(this.fromDate)){\r\n var from = moment(this.fromDate).toDate();\r\n this.disabledToDates = {to:from};\r\n }\r\n else{\r\n this.disabledToDates = {};\r\n }\r\n this.dateChanged();\r\n }\r\n\r\n toDateChanged(){\r\n if(fieldValidations.isValidDate(this.toDate)){\r\n var to = moment(this.toDate).toDate();\r\n this.disabledFromDates = {from:to};\r\n }\r\n else{\r\n this.disabledFromDates = {};\r\n }\r\n this.dateChanged();\r\n }\r\n\r\n resetFilters(){\r\n this.filter = '';\r\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\r\n this.fromDate = null;\r\n this.toDate = null;\r\n this.selectedExpenseClaimType = 0;\r\n this.selectedExpenseClaimStatus = 0;\r\n this.selectedExpenseClaimCategoryList = this.expenseClaimCategoryList;\r\n this.resetButtonDisabled = true;\r\n this.updateURL();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.fromDate,ToDate:this.toDate, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n \r\n }\r\n\r\n filterGrid(filterString:string){\r\n this.convertFromAndToDates(); \r\n this.filter = filterString;\r\n this.resetTable();\r\n this.resetButtonDisabled = false;\r\n this.updateURL();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n\r\n resetTable(){\r\n this.sortBy = \"date\";\r\n (this.$refs.expenseClaimsTable as DataTable).reset(true);\r\n }\r\n\r\n dateChanged(){\r\n this.convertFromAndToDates();\r\n this.updateURL(); \r\n this.resetTable();\r\n this.resetButtonDisabled = false;\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n \r\n refreshGrid(tableFilterParams:ExpenseClaimTableFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"ExpenseClaim\",\"ExpenseClaimList\",tableFilterParams).then(response =>{\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadExpenseClaimTypes()\r\n {\r\n return new Promise ((resolve,reject) => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetExpenseClaimTypesList().then(data => \r\n {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.expenseClaimTypes = data;\r\n });\r\n resolve();\r\n });\r\n }\r\n \r\n loadExpenseClaimStatusList()\r\n {\r\n return new Promise ((resolve,reject) => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetExpenseClaimStatusWithoutCountList().then(data => \r\n {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.expenseClaimStatuses = data;\r\n this.expenseClaimStatuses = [{label: 'Approval', options: [this.expenseClaimStatuses[4] ,this.expenseClaimStatuses[0]]},\r\n this.expenseClaimStatuses[1], this.expenseClaimStatuses[3],\r\n {label: 'Queried', options: [this.expenseClaimStatuses[2], this.expenseClaimStatuses[5]]},\r\n {label: 'Rejected', options: [this.expenseClaimStatuses[6], this.expenseClaimStatuses[7]]}];\r\n });\r\n resolve();\r\n });\r\n }\r\n\r\n loadTransactionCategoryList(){\r\n return new Promise ((resolve,reject) => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetExpenseClaimCategoryList().then(data => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.expenseClaimCategoryList = data;\r\n this.selectedExpenseClaimCategoryList = this.expenseClaimCategoryList;\r\n resolve();\r\n });\r\n });\r\n }\r\n\r\n get selecetedCategoryList(){\r\n return this.selectedExpenseClaimCategoryList.map(a => a.value);\r\n }\r\n\r\n onSortingChange(ctx:any){\r\n if(ctx.sortBy){\r\n this.sortDesc = ctx.sortDesc;\r\n this.sortBy = ctx.sortBy == \"ecrn\" ? \"eCRN\" : ctx.sortBy;\r\n this.convertFromAndToDates();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0,FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n }\r\n\r\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\r\n this.convertFromAndToDates();\r\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0,FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n\r\n onExpenseClaimTypeChanged(){\r\n this.convertFromAndToDates();\r\n this.updateURL();\r\n this.resetTable();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0,FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n\r\n onExpenseClaimStatusChanged(){\r\n this.convertFromAndToDates(); \r\n this.updateURL();\r\n this.resetTable();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0,FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n\r\n onChangeResetButton(){\r\n this.resetTable();\r\n this.resetButtonDisabled = false;\r\n }\r\n\r\n onTransactionCategoryChanged(){\r\n this.convertFromAndToDates();\r\n this.updateURL();\r\n this.resetTable();\r\n this.resetButtonDisabled = false;\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: this.filter.length>2?this.filter:\"\",RelatedId: 0,FromDate:this.convertedFrom,ToDate:this.convertedTo, VehicleId:this.vehicleId, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n this.isPanelOpen = false;\r\n }\r\n\r\n convertFromAndToDates(){\r\n this.convertedFrom = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\r\n this.convertedTo = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\r\n }\r\n\r\n updateURL(){\r\n let qp = new URLSearchParams();\r\n if(String(this.selectedExpenseClaimType) != '') qp.set(Filtrations.EXPENSE_CLAIM_TYPE, String(this.selectedExpenseClaimType));\r\n if(String(this.selectedExpenseClaimStatus) != '') qp.set(Filtrations.EXPENSE_CLAIM_STATUS, String(this.selectedExpenseClaimStatus));\r\n this.selecetedCategoryList.length > 0 ? qp.set(Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST, this.selecetedCategoryList) :qp.set(Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST, null);\r\n if(this.filter != \"\") qp.set(Filtrations.EXPENSE_CLAIM_FILTER, this.filter);\r\n if(this.fromDate != null) qp.set(Filtrations.EXPENSE_CLAIM_FROM_DATE, this.fromDate);\r\n if(this.toDate != null) qp.set(Filtrations.EXPENSE_CLAIM_TO_DATE, this.toDate);\r\n history.replaceState(null, null, \"?\"+qp.toString());\r\n }\r\n\r\n validateAndAssignQueryParams(){\r\n if (fieldValidations.isValidDecimal(+this.$route.query.type)){\r\n this.selectedExpenseClaimType = +this.$route.query.type;\r\n }\r\n if (fieldValidations.isValidDecimal(+this.$route.query.status)){\r\n this.selectedExpenseClaimStatus = +this.$route.query.status;\r\n }\r\n if(this.$route.query.transactionCategoryList && this.$route.query.transactionCategoryList.length > 0 && fieldValidations.isValidCommaSeparatedList(this.$route.query.transactionCategoryList)){\r\n this.selectedExpenseClaimCategoryList = [];\r\n let queryTransactionCategoryList = String(this.$route.query.transactionCategoryList).split(',');\r\n let expCategory = 0;\r\n queryTransactionCategoryList.forEach(category => {\r\n expCategory = this.expenseClaimCategoryList.find(element => element.value == +category)\r\n if(expCategory != null){\r\n this.selectedExpenseClaimCategoryList.push(expCategory);\r\n }\r\n });;\r\n }\r\n this.filter = this.$route.query.filter? String(this.$route.query.filter) : \"\";\r\n (this.$refs.filterTextInput as FilterTextInput).filter = this.$route.query.filter? String(this.$route.query.filter) : \"\"\r\n this.fromDate = this.$route.query.fromDate != String(null) && fieldValidations.isValidDate(this.$route.query.fromDate) ? new Date(String(this.$route.query.fromDate)) : null;\r\n this.toDate = this.$route.query.toDate != String(null) && fieldValidations.isValidDate(this.$route.query.toDate) ? new Date(String(this.$route.query.toDate)) : null;\r\n\r\n if(this.filter != \"\" || this.toDate != null || this.fromDate != null || this.selectedExpenseClaimType != 0 || this.selectedExpenseClaimStatus != 0 || this.selectedExpenseClaimCategoryList.length != this.expenseClaimCategoryList.length) {\r\n this.resetButtonDisabled = false;\r\n }\r\n }\r\n\r\n\r\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.ActionButtonSelect){\r\n (this.$refs.expenseClaimsTable as DataTable).setLastCustomAction(type);\r\n }\r\n if(type == DataTableActionTypes.ResetActionButtton){\r\n (this.$refs.expenseClaimsTable as DataTable).resetLastCustomAction();\r\n }\r\n if(type == DataTableActionTypes.Select){\r\n this.$router.push({name:\"View Expense Claim\",params:{id:data.id}});\r\n }\r\n if(type == DataTableActionTypes.RowSelect){\r\n var queryData = {};\r\n if(this.vehicleId == 0) queryData[Filtrations.EXPENSE_CLAIM_REVIEW] = 'true';\r\n if (String(this.selectedExpenseClaimStatus) != '') queryData[Filtrations.EXPENSE_CLAIM_STATUS] = String(this.selectedExpenseClaimStatus);\r\n if(String(this.selectedExpenseClaimType) != '') queryData[Filtrations.EXPENSE_CLAIM_TYPE] = String(this.selectedExpenseClaimType);\r\n\r\n this.selecetedCategoryList.length > 0 ? queryData[Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST] = this.selecetedCategoryList : queryData[Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST] = null;\r\n8\r\n if (this.filter != \"\") queryData[Filtrations.EXPENSE_CLAIM_FILTER] = this.filter;\r\n if (this.fromDate != null) queryData[Filtrations.EXPENSE_CLAIM_FROM_DATE] = String(this.fromDate);\r\n if (this.toDate != null) queryData[Filtrations.EXPENSE_CLAIM_TO_DATE] = String(this.toDate);\r\n this.$router.push({ name:\"View Expense Claim\", params:{ id:data.id }, query: queryData });\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimsList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./expenseClaimsList.vue?vue&type=template&id=1e2f99f6\"\nimport script from \"./expenseClaimsList.vue?vue&type=script&lang=ts\"\nexport * from \"./expenseClaimsList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport ExpenseClaimsList from '@/components/admin/expenseClaims/expenseClaimsList.vue';\nimport apiService from '@/shared/services/apiService';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\n\n@Component({\n components: {\n Modal,\n ExpenseClaimsList\n },\n})\nexport default class MotorVehicleExpenseClaimsList extends Vue {\n @Prop() vehicleID: number;\n\n showToggleCategoriesModal: boolean = false;\n showAddClaimNoteModal: boolean = false;\n showDirtyValidationConfirmation: boolean = false;\n initialClaimNote: string = '';\n claimNote: string = '';\n expenseClaimCategories: any = [];\n claimNoteDirtyValidationRefNumber: number = -1;\n claimCatgoriesDirtyValidationRefNumber: number = -1;\n isClaimNoteDirty: boolean = false;\n isClaimCategoryDirty: boolean = false;\n\n customEditorToolbar = [\n [\"bold\", \"italic\", \"underline\"],\n [{ list: \"ordered\" }, { list: \"bullet\" }]\n ];\n\n loadClaimNote() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Vehicle', 'ClaimNote', { vehicleId: this.vehicleID }).then(response => {\n this.claimNote = response.data;\n this.initialClaimNote = this.claimNote.slice();\n // this.claimNoteDirtyValidationRefNumber = dirtyValidatorService.setInitialModel(this.claimNoteDirtyValidationRefNumber, this.claimNote);\n this.showAddClaimNoteModal = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch((error) => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadExpenseClaimCategories() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Vehicle', 'ExpenseClaimCategoriesStatus', { vehicleId: this.vehicleID }).then(response => {\n this.expenseClaimCategories = response.data;\n this.claimCatgoriesDirtyValidationRefNumber = dirtyValidatorService.setInitialModel(this.claimCatgoriesDirtyValidationRefNumber, this.expenseClaimCategories);\n this.showToggleCategoriesModal = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch((error) => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n updateClaimNote() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('Vehicle', 'ClaimNote', { VehicleId: this.vehicleID, ClaimNote: this.claimNote }).then(response => {\n if (response.data.isSuccess) {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n dirtyValidatorService.resetModelValidator(this.claimNoteDirtyValidationRefNumber);\n this.isClaimNoteDirty = false;\n this.showAddClaimNoteModal = false;\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch((error) => {\n this.$notify({\n group: 'growlNotification',\n title: 'An error occurred while updating claim note.',\n type: 'error',\n duration: 5000\n });\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n updateDisabledExpenseClaimCategories() {\n this.$store.dispatch('storeIsBusyValue',true);\n const disabledCategoryIds = this.expenseClaimCategories.filter((category: any) => category.isDisabled).map((category: any) => category.value).join(',');\n apiService.sendPutRequest('Vehicle', 'DisabledExpenseClaimCategories', { VehicleId: this.vehicleID, DisabledExpenseClaimCategories: disabledCategoryIds }).then(response => {\n if (response.data.isSuccess) {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.isClaimCategoryDirty = false;\n this.showToggleCategoriesModal = false;\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch((error) => {\n this.$notify({\n group: 'growlNotification',\n title: 'An error occurred while updating claim note.',\n type: 'error',\n duration: 5000\n });\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n updateClaimNoteDirtyValidation() {\n // this.isClaimNoteDirty = dirtyValidatorService.isModelDirty(this.claimNoteDirtyValidationRefNumber);\n this.isClaimNoteDirty = this.claimNote !== this.initialClaimNote;\n }\n\n onChangeCategoryStatus(category: any) {\n category.isDisabled = !category.isDisabled;\n this.isClaimCategoryDirty = dirtyValidatorService.isModelDirty(this.claimCatgoriesDirtyValidationRefNumber);\n }\n\n onClickCancelClaimNote() {\n if (this.isClaimNoteDirty) {\n this.showDirtyValidationConfirmation = true;\n } else {\n this.showAddClaimNoteModal = false;\n }\n }\n\n onClickCancelToggleCategoryModal() {\n if (this.isClaimCategoryDirty) {\n this.showDirtyValidationConfirmation = true;\n } else {\n this.showToggleCategoriesModal = false;\n }\n }\n\n closeModal() {\n this.showDirtyValidationConfirmation = false;\n this.showAddClaimNoteModal = false;\n this.showToggleCategoriesModal = false;\n this.isClaimNoteDirty = false;\n this.isClaimCategoryDirty = false;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleExpenseClaimsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleExpenseClaimsList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleExpenseClaimsList.vue?vue&type=template&id=c5f9bf72&scoped=true\"\nimport script from \"./MotorVehicleExpenseClaimsList.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleExpenseClaimsList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehicleExpenseClaimsList.vue?vue&type=style&index=0&id=c5f9bf72&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c5f9bf72\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport TopTab from '@/shared/components/tabs/TopTab.vue';\nimport TopTabs from '@/shared/components/tabs/TopTabs.vue';\nimport AddEditMotorVehicle from './AddEditMotorVehicle.vue';\nimport apiService from '@/shared/services/apiService'\nimport VehicleLeaseList from '@/components/admin/vehicleLeaseManagement/VehicleLeaseList.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport MotorVehicleBudget from '@/components/admin/motorVehicleManagement/motorVehicleBudget.vue';\nimport ClientVehicleTreeViewButton from '@/components/admin/clientManagement/ClientVehicleTreeViewButton.vue'\nimport FuelCardList from '@/components/admin/fuelCards/FuelCardList.vue';\nimport MotorVehicleAdminFeeChargeList from '@/components/admin/motorVehicleManagement/MotorVehicleAdminFeeChargeList.vue';\nimport ScheduledPayment from '../vehicleLeaseManagement/ScheduledPayment.vue';\nimport Filtrations from '@/shared/filtrations';\nimport MotorVehicleExpenseClaimsList from './MotorVehicleExpenseClaimsList.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n TopTab,\n TopTabs,\n AddEditMotorVehicle,\n VehicleLeaseList,\n Modal,\n Notes,\n DocumentUploader,\n MotorVehicleBudget,\n ClientVehicleTreeViewButton,\n FuelCardList,\n MotorVehicleAdminFeeChargeList,\n ScheduledPayment,\n MotorVehicleExpenseClaimsList\n }\n }\n)\nexport default class MotorVehicleDetails extends Vue{\n \n vehicleID:number = 0;\n clientID:number = 0;\n relatedTable:RelatedTables = RelatedTables.Vehicle;\n selectedTabRouteName:string = \"details\";\n selectedTopTabRouteName:string = \"vehicles\"\n headerTitleText:string = \"Vehicle Details\"\n clientName:string = \"\";\n vehicleName:string = \"\";\n dirtyValidationRefNumbers:number[] =[0,0,0,0,0];\n topTabdirtyValidationRefNumbers:number[] =[0,0,0];\n dirtyValidationConfirmation:boolean = false;\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\n queryParams:any = {};\n\n created()\n {\n this.vehicleID = +this.$route.params.vehicleID ? +this.$route.params.vehicleID : 0;\n this.clientID = +this.$route.params.clientID ? +this.$route.params.clientID : 0;\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n this.selectedTopTabRouteName = this.$route.params.topRouteDisplayName ? this.$route.params.topRouteDisplayName : this.selectedTopTabRouteName;\n if(this.vehicleID > 0) \n this.loadClientNameByVehicleID();\n else \n this.loadClientNameByClientID();\n \n if(Object.keys(this.$route.query).length > 0){\n this.queryParams = this.$route.query;\n }\n }\n loadClientNameByVehicleID()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.vehicleID}\n apiService.sendGetRequest('Vehicle','GetClient',params).then(response=>{ \n this.clientID = response.data.clientID;\n this.headerTitleText = 'Vehicle Details - '+ response.data.clientName;\n this.clientName = response.data.clientName;\n this.vehicleName = response.data.make + ' ' + response.data.model;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n loadClientNameByClientID()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.clientID}\n apiService.sendGetRequest('Client','ClientName',params).then(response=>{ \n this.headerTitleText = 'Vehicle Details - ' + response.data;\n this.clientName = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n detailsTabDirtySet(refNo:number){\n \n this.dirtyValidationRefNumbers[0] = refNo;\n this.topTabdirtyValidationRefNumbers[1] = refNo;\n }\n\n leasesTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n this.topTabdirtyValidationRefNumbers[1] = refNo;\n }\n\n budgetTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n this.topTabdirtyValidationRefNumbers[1] = refNo;\n }\n\n fuelCardTabDirtySet(refNo:number) {\n this.dirtyValidationRefNumbers[3] = refNo;\n this.topTabdirtyValidationRefNumbers[1] = refNo;\n }\n\n onIdUpdated(id:number){\n this.vehicleID = id;\n }\n onVehicleNameUpdated(name:string){\n this.vehicleName = name;\n }\n routerNavigateBack()\n {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]) || \n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[1]) ||\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[3],true) ||\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[5])){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.$router.push({name:'Edit Client', params:{id:this.clientID.toString(),topRouteDisplayName:'vehicles'}});\n }\n }\n\n navigateBack(){\n var queryData = {};\n if(Object.keys(this.$route.query).length > 0){\n let motorVehicleStatusFilter = this.$route.query[Filtrations.MOTOR_VEHICLE_STATUS_FILTER];\n if (motorVehicleStatusFilter) {\n queryData[Filtrations.MOTOR_VEHICLE_STATUS_FILTER] = motorVehicleStatusFilter;\n }\n }\n this.$router.push({name:'Edit Client', params:{id:this.clientID.toString(), topRouteDisplayName:'vehicles'}, query: queryData });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleDetails.vue?vue&type=template&id=4fe21392&scoped=true\"\nimport script from \"./MotorVehicleDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehicleDetails.vue?vue&type=style&index=0&id=4fe21392&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4fe21392\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 search\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterTextInput()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"pr-0\",attrs:{\"sm\":\"5\",\"md\":\"6\"}},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.isAddButtonDisabled,\"title\":_vm.isAddButtonDisabled?'Please perform a search prior to adding a new record':'Add new employer'},on:{\"click\":function($event){return _vm.navigateToAddEmployer()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Employer\\n \")])],1)],1),_c('DataTable',{ref:\"employerTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"selectable\":true,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No employer details to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Employers\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteEmployerConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteEmployerConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Employer\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the employer?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteEmployerConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteEmployerConfOkButton\"},on:{\"click\":_vm.deleteEmployer}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.modalMode && !_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Employer\"},on:{\"click\":_vm.onDeleteEmployerClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_c('span',{staticClass:\"ml-2 cursor-pointer select-employer\",attrs:{\"title\":\"View Employer\"},on:{\"click\":_vm.navigateToEmployer}},[_c('i',{staticClass:\"fas fa-external-link-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n@Component({\n components: {\n Modal\n }\n})\nexport default class EmployerListActionButtons extends Vue{\n @Prop() item:any;\n @Prop() modalMode:any;\n showDeleteEmployerConfirmationModal = false;\n isStandardUser: false;\n \n created(){\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n\n deleteEmployer(){\n this.showDeleteEmployerConfirmationModal = false;\n this.item.isActive = false;\n this.onDeleteEmployer(this.item,DataTableActionTypes.Delete)\n }\n\n onDeleteEmployerClick()\n {\n this.showDeleteEmployerConfirmationModal = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n onCloseDelete()\n {\n this.showDeleteEmployerConfirmationModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n navigateToEmployer(){\n let routeData = this.$router.resolve({ name: 'Edit Employer', params: { id: this.item.id, routerDisplayName:'details'}});\n window.open(routeData.href, '_blank');\n }\n \n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n @Emit('customEvent') onDeleteEmployer(item:any,type:DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployerListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployerListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EmployerListActionButtons.vue?vue&type=template&id=0b4451b0&scoped=true\"\nimport script from \"./EmployerListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./EmployerListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EmployerListActionButtons.vue?vue&type=style&index=0&id=0b4451b0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0b4451b0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.modalMode)?_c('span',[_vm._v(_vm._s(_vm.item.businessName))]):_c('span',{staticClass:\"primary-text cursor-pointer\",attrs:{\"id\":'selectEmployerLink_' + _vm.item.id},on:{\"click\":_vm.onSelectEmployerClick}},[_vm._v(_vm._s(this.item.businessName))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n\n@Component\nexport default class EditUserLink extends Vue{\n @Prop() item:any;\n @Prop() modalMode:any;\n\n onSelectEmployerClick(){\n this.onSelectEmployer(this.item,DataTableActionTypes.Select)\n \n }\n\n @Emit('customEvent') onSelectEmployer(item:any,type:DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditEmployerLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditEmployerLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditEmployerLink.vue?vue&type=template&id=ca7de63a&scoped=true\"\nimport script from \"./EditEmployerLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditEmployerLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ca7de63a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport EmployerListActionButtons from './EmployerListActionButtons.vue'\nimport EditEmployerLink from './EditEmployerLink.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Filtrations from '@/shared/filtrations';\n\n@Component\n(\n {\n components: {\n DataTable,\n EmployerListActionButtons,\n EditEmployerLink,\n FilterTextInput\n }\n }\n)\nexport default class EmployerList extends Vue{\n items:any = [];\n fields = [\n {key: 'businessName',sortable:'true',class:'width_30'},\n {key: 'abn',label:'ABN',sortable:'true',class:'width_30'},\n {key: 'acn',label:'ACN',sortable:'true',class:'width_30'},\n {key: 'actions',label:'',class:'text-center'} \n ];\n customTemplateList:Array = [\n {slot:\"businessName\",customTemplate:EditEmployerLink},\n {slot:\"actions\",customTemplate:EmployerListActionButtons}\n ]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"businessName\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = false;\n isAddButtonDisabled:boolean = true;\n resetButtonDisabled:boolean = true;\n\n mounted(){\n if(Object.keys(this.$route.query).length > 0) {\n this.validateAndAssignQueryParams();\n }\n\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"businessName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n if(sortBy != \"businessName\"){\n sortBy = sortBy.toUpperCase();\n }\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n onSortingChange(ctx:any){\n var sortBy = ctx.sortBy;\n if(sortBy != \"businessName\"){\n sortBy = sortBy.toUpperCase();\n }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Employer\",\"EmployerList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.isAddButtonDisabled = this.isAddButtonDisabled && !(this.filter && this.filter.length>2) && this.totalRows>AppSettings.defaultGridSize;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n resetFilterTextInput() {\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"businessName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n navigateToAddEmployer(){\n this.$router.push({name:'Add Employer', params:{routerDisplayName:'details'}});\n }\n onCustomDataTableEvent(item:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.employerTable as DataTable).setLastCustomAction(type);\n }\n else if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.employerTable as DataTable).resetLastCustomAction();\n }\n else if(type == DataTableActionTypes.RowSelect){\n this.onViewEmployer(item);\n }\n else{\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"Employer\",\"Employer\",item).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Employer successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"businessName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.employerTable as DataTable).resetLastCustomAction();\n }\n )\n }\n \n }\n onViewEmployer(data:any){\n var queryData = {};\n if (this.filter != \"\") {\n queryData[Filtrations.EMPLOYER_FILTER] = this.filter;\n }\n this.$router.push( { name: 'Edit Employer', params: { id: data.id, routerDisplayName: 'details' }, query: queryData });\n }\n\n filterGrid(filterText:string){\n this.filter = filterText;\n this.resetButtonDisabled = false;\n this.updateURL();\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"businessName\",SortDesc:false,SearchByString:filterText,RelatedId:0,Status:0});\n }\n resetTable(){\n this.sortBy = \"businessName\";\n (this.$refs.employerTable as DataTable).reset();\n \n }\n \n validateAndAssignQueryParams(){\n let employerFilter = this.$route.query[Filtrations.EMPLOYER_FILTER];\n this.filter = employerFilter ? String(employerFilter) : \"\";\n this.resetButtonDisabled = this.filter == \"\";\n this.$nextTick(()=>{\n (this.$refs.filterTextInput as FilterTextInput).filter = employerFilter ? String(employerFilter) : \"\"\n });\n } \n\n updateURL(){\n let qp = new URLSearchParams();\n if(this.filter != \"\") qp.set(Filtrations.EMPLOYER_FILTER, this.filter);\n history.replaceState(null, null, \"?\"+qp.toString());\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployerList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployerList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EmployerList.vue?vue&type=template&id=fe44d68e\"\nimport script from \"./EmployerList.vue?vue&type=script&lang=ts\"\nexport * from \"./EmployerList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EmployerList.vue?vue&type=style&index=0&id=fe44d68e&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelEmployerDetialsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unsaved Changes\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelEmployerDetialsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelEmployerDetialsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n Employer Details \"+_vm._s((_vm.employerID>0)?('- ' + _vm.employerBusinessName):'')+\"\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Employers\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Edit Employer\"}},[_c('Tab',{attrs:{\"name\":\"Details\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"details\"}},[_c('AddEditEmployer',{attrs:{\"employerId\":_vm.employerID},on:{\"onIdUpdated\":_vm.onIdUpdated,\"dirtyValidatorNoSet\":_vm.detailsTabDirtySet,\"onEmitName\":_vm.onBusinessNameUpdated}})],1),_c('Tab',{attrs:{\"name\":\"Addresses\",\"index\":1,\"disabled\":_vm.employerID==0,\"routerDisplayName\":\"addresses\"}},[_c('Addresses',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.employerID},on:{\"dirtyValidatorNoSet\":_vm.addressTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Bank Accounts\",\"index\":2,\"disabled\":_vm.employerID==0,\"routerDisplayName\":\"bankAccounts\"}},[_c('BankAccounts',{attrs:{\"modalMode\":false,\"filterBankAccountType\":\"0\",\"relatedID\":_vm.employerID,\"relatedTable\":_vm.relatedTable,\"bankRequired\":false},on:{\"dirtyValidatorNoSet\":_vm.bankTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Novations\",\"index\":3,\"routerDisplayName\":\"relatedNovations\"}},[_c('RelatedNovationList',{attrs:{\"employerId\":_vm.employerID}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditEmployerConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to reset the fields?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditEmployerConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditEmployerConf_OkButton\"},on:{\"click\":function($event){return _vm.onOkayToCancel()}}},[_vm._v(\" \\n OK\\n \")])],1)]):_vm._e(),_c('div',[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"lg\":_vm.modalMode?10:12}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":_vm.modalMode?10:12,\"lg\":_vm.modalMode?10:6}},[_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.employer.businessName.$error },attrs:{\"label\":\"Business Name\",\"label-for\":\"businessName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.employer.businessName.length == 0) },attrs:{\"id\":\"businessName\",\"type\":\"text\",\"placeholder\":\"Enter Business Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.employer.businessName.$touch()}},model:{value:(_vm.employer.businessName),callback:function ($$v) {_vm.$set(_vm.employer, \"businessName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employer.businessName\"}}),(_vm.$v.employer.businessName.$dirty && !_vm.$v.employer.businessName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Business name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.employer.abn.$error },attrs:{\"label\":\"ABN\",\"label-for\":\"abn\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.employer.abn.length == 0) },attrs:{\"id\":\"abn\",\"type\":\"text\",\"placeholder\":\"Enter ABN\",\"required\":\"\",\"maxlength\":'11'},on:{\"input\":function($event){_vm.$v.employer.abn.$touch();_vm.validateABN();}},model:{value:(_vm.employer.abn),callback:function ($$v) {_vm.$set(_vm.employer, \"abn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employer.abn\"}}),(_vm.$v.employer.abn.$dirty && !_vm.$v.employer.abn.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n ABN is required.\\n \")]):_vm._e(),(_vm.isInvalidABN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.invalidABNMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.employer.acn.$error },attrs:{\"label\":\"ACN\",\"label-for\":\"acn\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"acn\",\"type\":\"text\",\"placeholder\":\"Enter ACN\",\"maxlength\":'9'},on:{\"input\":function($event){_vm.$v.employer.acn.$touch();_vm.validateACN();}},model:{value:(_vm.employer.acn),callback:function ($$v) {_vm.$set(_vm.employer, \"acn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employer.acn\"}}),(_vm.isInvalidACN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.invalidACNMessage)+\"\\n \")]):_vm._e()],1)],1)],1),(!_vm.modalMode)?_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Payroll Software\",\"label-for\":\"payrollSoftware\"}},[_c('b-form-select',{staticClass:\"textInput\",attrs:{\"id\":\"payrollSoftware selectListHeight\",\"plain\":true,\"options\":_vm.payrollSoftwareList},model:{value:(_vm.employer.payrollSoftware),callback:function ($$v) {_vm.$set(_vm.employer, \"payrollSoftware\", $$v)},expression:\"employer.payrollSoftware\"}},[(_vm.employer.payrollSoftware == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Select a Payroll Software --\")])]):_vm._e()],2)],1)],1)],1):_vm._e()],1),_c('b-col',{attrs:{\"lg\":\"6\"}},[(!_vm.modalMode)?_c('div',{attrs:{\"id\":\"contactMethods\"}},[_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.employer.workPhone.$error },attrs:{\"label\":\"Work Phone\",\"label-for\":\"workPhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"workPhone\",\"type\":\"text\",\"placeholder\":\"Enter Work Phone\"},on:{\"input\":function($event){return _vm.$v.employer.workPhone.$touch()}},model:{value:(_vm.employer.workPhone),callback:function ($$v) {_vm.$set(_vm.employer, \"workPhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employer.workPhone\"}}),(_vm.$v.employer.workPhone.$dirty && !_vm.$v.employer.workPhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid work phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.employer.mobilePhone.$error },attrs:{\"label\":\"Mobile Phone\",\"label-for\":\"mobilePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"mobilePhone\",\"type\":\"text\",\"placeholder\":\"Enter Mobile Phone\"},on:{\"input\":function($event){return _vm.$v.employer.mobilePhone.$touch()}},model:{value:(_vm.employer.mobilePhone),callback:function ($$v) {_vm.$set(_vm.employer, \"mobilePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employer.mobilePhone\"}}),(_vm.$v.employer.mobilePhone.$dirty && !_vm.$v.employer.mobilePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid mobile phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.employer.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"email\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"email\",\"type\":\"text\",\"placeholder\":\"Enter Email\"},on:{\"input\":function($event){return _vm.$v.employer.email.$touch();}},model:{value:(_vm.employer.email),callback:function ($$v) {_vm.$set(_vm.employer, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employer.email\"}}),(_vm.$v.employer.email.$dirty && !_vm.$v.employer.email.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid email address.\\n \")]):_vm._e()],1)],1)],1)],1):_vm._e()])],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-row',{staticClass:\"mt-4\"},[_c('b-col',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.employer.$invalid) || !_vm.isModelDirty() || _vm.isInvalidABN}},[_vm._v(\" \"+_vm._s(_vm.buttonType))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":!_vm.isModelDirty()},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1),(_vm.employerId>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('span',[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.employer.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.employer.createdDate))+\")\")])]),_vm._v(\"\\n     \\n \"),_c('span',[_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.employer.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.employer.lastUpdatedDate))+\")\")])])]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { ValidationResult } from '@/models/validationResult.model';\r\n\r\nclass CustomValidationService {\r\n \r\n\r\n validateABN(abn:any):ValidationResult{\r\n abn = abn.toString();\r\n var isInvalidABN:boolean = false;\r\n var invalidABNMessage:string = \"\";\r\n var abnValidationWeights = [10,1,3,5,7,9,11,13,15,17,19];\r\n if(isNaN(abn) ){\r\n isInvalidABN = true;\r\n invalidABNMessage = \"ABN should be a number.\";\r\n }\r\n else if(abn.length == 0){\r\n isInvalidABN = false;\r\n invalidABNMessage = \"\";\r\n } \r\n else {\r\n if(abn.length < 11){\r\n var diff = 11 - abn.length;\r\n var zeroString = \"00000000000\";\r\n abn = (zeroString.substr(0, diff).concat(abn));\r\n }\r\n var numberList = abn.split('').map(Number);\r\n numberList[0] = numberList[0] - 1;\r\n var sum = 0;\r\n for(var i=0; i< numberList.length; i++) {\r\n sum += numberList[i]*abnValidationWeights[i];\r\n }\r\n if(sum%89 == 0){\r\n isInvalidABN = false;\r\n }\r\n else{\r\n isInvalidABN = true;\r\n invalidABNMessage = \"Invalid ABN number.\";\r\n }\r\n }\r\n return {isValid: isInvalidABN, validationMessage:invalidABNMessage};\r\n }\r\n\r\n validateACN(acn:any):ValidationResult{\r\n acn = acn.toString();\r\n var isInvalidACN:boolean = false;\r\n var invalidACNMessage:string = \"\"; \r\n var acnValidationWeights = [8,7,6,5,4,3,2,1];\r\n if(isNaN(acn) ){\r\n isInvalidACN = true;\r\n invalidACNMessage = \"ACN should be a number.\";\r\n }\r\n else if(acn.length == 0){\r\n isInvalidACN = false;\r\n invalidACNMessage = \"\";\r\n }\r\n else\r\n {\r\n if (acn.length < 9)\r\n {\r\n var zeroString = \"000000000\";\r\n var diff = 9 - acn.length;\r\n acn = (zeroString.substr(0, diff)).concat(acn);\r\n }\r\n var numberList = acn.split('').map(Number);\r\n var sum = 0;\r\n for(var i=0; i< 8 ; i++) {\r\n sum += numberList[i]*acnValidationWeights[i];\r\n }\r\n var complement = (10 - (sum%10)) == 10? 0 : (10 - (sum%10));\r\n if(numberList[8] == complement){\r\n isInvalidACN = false;\r\n }\r\n else{\r\n isInvalidACN = true;\r\n invalidACNMessage = \"Invalid ACN number.\";\r\n }\r\n } \r\n return {isValid: isInvalidACN, validationMessage:invalidACNMessage};\r\n }\r\n}\r\n\r\nconst customValidations = new CustomValidationService();\r\nexport default customValidations;","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport {Employer} from '@/models/employer.model';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required,numeric,email,minValue} from 'vuelidate/lib/validators';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { warn } from 'vue-class-component/lib/util';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport customValidationService from '@/shared/services/customValidationService'\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport lookupService from '@/shared/services/lookupService'\r\n@Component({\r\n mixins:[validationMixin],\r\n components: {\r\n Modal\r\n },\r\n validations:{\r\n employer:{\r\n businessName:{\r\n required\r\n },\r\n abn:{\r\n required,\r\n numeric \r\n },\r\n acn:{\r\n numeric\r\n },\r\n workPhone:\r\n {\r\n numeric\r\n },\r\n mobilePhone:\r\n {\r\n numeric\r\n },\r\n email:\r\n {\r\n email\r\n },\r\n }\r\n }\r\n})\r\nexport default class AddEditEmployer extends Vue{\r\n @Prop() employerId:number;\r\n @Prop() modalMode:boolean;\r\n employer:Employer = {businessName:\"\",abn:\"\",acn:\"\",mobilePhone:\"\",workPhone:\"\",email:\"\",payrollSoftware:0,id:0,isActive:true,concurrencyKey:\"\",createdByName:\"\",createdDate:\"\",lastUpadteByName:\"\",lastUpdatedDate:\"\"};\r\n initialEmployer:Employer = Object.assign({},this.employer);\r\n dirtyValidatorRefNo:number = 0;\r\n dirtyValidationConfirmation:boolean = false;\r\n actionType:string = \"\";\r\n buttonType:string = \"\";\r\n isInvalidABN:boolean = false;\r\n invalidABNMessage:string = \"\";\r\n isInvalidACN:boolean = false;\r\n invalidACNMessage:string = \"\";\r\n payrollSoftwareList:any = [];\r\n created(){\r\n if(this.employerId>0){\r\n this.actionType = \"Edit\"\r\n this.buttonType = \"Update\"\r\n this.loadEmployerDetails();\r\n }\r\n else{\r\n this.actionType = \"Add\"\r\n this.buttonType = \"Add\"\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.employer);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n this.loadPayrollSoftwareList();\r\n }\r\n onSubmit(){\r\n if(this.employerId>0){\r\n this.updateExistingEmployer();\r\n }\r\n else{\r\n this.addNewEmployer();\r\n }\r\n }\r\n addNewEmployer(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {\r\n abn:this.employer.abn,\r\n acn:this.employer.acn,\r\n businessName:this.employer.businessName,\r\n workPhone: this.employer.workPhone,\r\n mobilePhone:this.employer.mobilePhone,\r\n email:this.employer.email,\r\n payrollSoftware:this.employer.payrollSoftware\r\n }\r\n apiService.sendPutRequest('Employer','Employer',params).then(response=>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n if(this.modalMode){\r\n this.onEmployerSaved(response.data.id,this.employer.businessName);\r\n this.employer.id =response.data.id; \r\n this.employer.concurrencyKey = response.data.concurrencyKey;\r\n this.employer.lastUpadteByName = response.data.updatedByName;\r\n this.employer.createdByName = response.data.updatedByName;\r\n this.employer.createdDate = response.data.lastUpdatedDate;\r\n this.employer.lastUpdatedDate = response.data.lastUpdatedDate;\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$v.employer.$reset();\r\n }\r\n else{\r\n this.$router.push({name:'Edit Employer',params:{id:response.data.id,routerDisplayName:'details'}});\r\n } \r\n }\r\n else{\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n }\r\n updateExistingEmployer(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Employer','Employer',this.employer).then(data=>{\r\n var response = data.data;\r\n if(response.isSuccess){\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.onEmitName(this.employer.businessName);\r\n this.employer.concurrencyKey = response.concurrencyKey;\r\n this.employer.lastUpadteByName = response.updatedByName;\r\n this.employer.lastUpdatedDate = response.lastUpdatedDate;\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$v.employer.$reset();\r\n }\r\n else{\r\n this.$notify({\r\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\r\n title: response.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n }\r\n loadEmployerDetails(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id:this.employerId}\r\n apiService.sendGetRequest('Employer','Employer',params).then(response=>{\r\n if(response.data.item1.isSuccess){\r\n this.employer = response.data.item2;\r\n this.initialEmployer = Object.assign({},this.employer);\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.employer);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n });\r\n }\r\n \r\n loadPayrollSoftwareList(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetPayrollSoftwareList().then(data => \r\n {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.payrollSoftwareList=data;\r\n });\r\n }\r\n\r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n\r\n validateABN(){\r\n var result = customValidationService.validateABN(this.employer.abn);\r\n this.isInvalidABN = result.isValid;\r\n this.invalidABNMessage = result.validationMessage;\r\n }\r\n\r\n validateACN(){\r\n var result = customValidationService.validateACN(this.employer.acn);\r\n this.isInvalidACN = result.isValid;\r\n this.invalidACNMessage = result.validationMessage;\r\n }\r\n onCancel()\r\n {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n }\r\n onOkayToCancel(){\r\n this.employer = Object.assign({},this.initialEmployer);\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(0,this.employer);\r\n this.$nextTick(()=>{this.$v.employer.$reset()})\r\n this.dirtyValidationConfirmation = false;\r\n }\r\n @Emit('onIdUpdated') onIdUpdated(id:number){\r\n }\r\n\r\n @Emit('onEmployerSaved') onEmployerSaved(id:number,name:string){\r\n\r\n }\r\n\r\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\r\n }\r\n\r\n @Emit('onEmitName') onEmitName(employerName:string){ \r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditEmployer.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditEmployer.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditEmployer.vue?vue&type=template&id=16c2ce54&scoped=true\"\nimport script from \"./AddEditEmployer.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditEmployer.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditEmployer.vue?vue&type=style&index=0&id=16c2ce54&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"16c2ce54\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row pl-0\"},[_c('b-col',{attrs:{\"sm\":\"8\",\"md\":\"6\",\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"showInactiveNovationCheckbox\"},on:{\"input\":_vm.onShowInactiveNovationsChanged},model:{value:(_vm.showInactiveNovations),callback:function ($$v) {_vm.showInactiveNovations=$$v},expression:\"showInactiveNovations\"}},[_c('span',[_vm._v(\"Show Inactive Novations\")])])],1)],1),_c('DataTable',{ref:\"relatedNovationsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"selectable\":true,\"select-mode\":_vm.selectMode,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No novation records to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport {RelatedNovationsTableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport moment from 'moment'\nimport lookupService from '@/shared/services/lookupService';\n\n@Component\n(\n {\n components: {\n DataTable\n }\n }\n)\nexport default class RelatedNovationList extends Vue{\n @Prop() employerId:number;\n items:any = [];\n showEmptyBanner:boolean = true;\n fields = [\n {key: 'clientName', class:'width_10'},\n {key: 'startDate', label:'Start Date',class:'width_10',\n formatter: (value, key, item) => {\n return moment(item.startDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'endDate', label:'End Date', sortable:true,class:'width_10',\n formatter: (value, key, item) => {\n return this.getNovationEndDate(item.endDate)\n }\n },\n {key: 'subjectToFBT',label:'Subject to FBT',class:'width_5',\n formatter:(value,key,item) => {\n return item.subjectToFBT ? 'Yes' : 'No'\n }\n },\n {key: 'fbtMethod', label:'FBT Method',class:'width_10',\n formatter: (value, key, item) => {\n return this.getFBTMethodName(item.fbtMethod);\n }\n },\n {key: 'emailInvoicesTo',label:'Email Invoices To', class:'width_10'},\n ];\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"endDate\";\n selectMode = \"single\";\n sortDesc:boolean = false;\n showInactiveNovations:boolean = false;\n fbtMethodList:any = [];\n\n created(){\n this.loadFBTMethods();\n }\n mounted(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",Status:0,RelatedId:this.employerId,ShowInactive:this.showInactiveNovations});\n }\n\n loadFBTMethods(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetFBTMethodList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.fbtMethodList = data;\n });\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.onViewNovation(data);\n }\n }\n\n onViewNovation(data:any){\n let routerData = this.$router.resolve({name:'Edit Novation',params:{novationID: data.id.toString(),topRouteDisplayName:'relatedentitytypes',routerDisplayName:'details'}});\n window.open(routerData.href, '_blank');\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:\"\",Status:0,RelatedId:this.employerId,ShowInactive:this.showInactiveNovations});\n }\n\n onSortingChange(ctx:any){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:\"\",Status:0,RelatedId:this.employerId,ShowInactive:this.showInactiveNovations});\n }\n\n onShowInactiveNovationsChanged(){\n (this.$refs.relatedNovationsTable as DataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",Status:0,RelatedId:this.employerId,ShowInactive:this.showInactiveNovations});\n }\n\n refreshGrid(tableFilterParams:RelatedNovationsTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Novation\",\"EmployerRelatedNovationList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n getFBTMethodName(id:number){\n var fbtMethodName = \"\";\n this.fbtMethodList.forEach(element => {\n if(element.value == id){\n fbtMethodName = element.text;\n }\n });\n return fbtMethodName;\n }\n\n getNovationEndDate(date:any){\n var novationEndDate = \"\";\n if(date != null){\n return moment(date).format(\"DD MMM YYYY\")\n }\n return novationEndDate;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelatedNovationList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelatedNovationList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RelatedNovationList.vue?vue&type=template&id=63ff0d5d\"\nimport script from \"./RelatedNovationList.vue?vue&type=script&lang=ts\"\nexport * from \"./RelatedNovationList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue'\nimport { Component } from 'vue-property-decorator';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport Addresses from '@/components/admin/address/Addresses.vue'\nimport AddEditEmployer from '@/components/admin/employerManagement/AddEditEmployer.vue';\nimport RelatedNovationList from '@/components/admin/employerManagement/RelatedNovationList.vue';\nimport apiService from '@/shared/services/apiService';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport BankAccounts from '@/components/admin/bankAccount/BankAccounts.vue';\nimport Filtrations from '@/shared/filtrations';\n\n@Component(\n {\n components: {\n Tabs, Tab, AddEditEmployer, Addresses, Modal, BankAccounts, RelatedNovationList\n }\n }\n)\nexport default class EmployerDetails extends Vue{\n employerID:number = 0;\n employerBusinessName:string = \"\";\n dirtyValidationRefNumbers:number[] =[0,0];\n selectedTabRouteName:string = \"details\";\n relatedTable:RelatedTables = RelatedTables.Employer;\n dirtyValidationConfirmation:boolean = false;\n\n created()\n {\n this.employerID = this.$route.params.id? +this.$route.params.id : 0;\n if(this.employerID > 0)\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n this.loadEmployerName();\n }\n loadEmployerName()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.employerID}\n apiService.sendGetRequest('Employer','EmployerName',params).then(response=>{ \n this.employerBusinessName = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n routerNavigateBack()\n {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]) || dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[1])){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.navigateBack();\n }\n }\n\n navigateBack(){\n var queryData = {};\n if(Object.keys(this.$route.query).length > 0){\n let employerFilter = this.$route.query[Filtrations.EMPLOYER_FILTER];\n if (employerFilter) {\n queryData[Filtrations.EMPLOYER_FILTER] = employerFilter;\n }\n }\n this.$router.push({ name: 'Employers', query: queryData });\n }\n detailsTabDirtySet(refNo:number)\n {\n this.dirtyValidationRefNumbers[0] = refNo;\n }\n addressTabDirtySet(refNo:number)\n {\n this.dirtyValidationRefNumbers[1] = refNo;\n }\n bankTabDirtySet(refNo:number)\n {\n this.dirtyValidationRefNumbers[2] = refNo;\n }\n onBusinessNameUpdated(name:string)\n {\n this.employerBusinessName = name;\n }\n onIdUpdated(id:number)\n {\n this.employerID = id;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployerDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmployerDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EmployerDetails.vue?vue&type=template&id=b17613cc&scoped=true\"\nimport script from \"./EmployerDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./EmployerDetails.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b17613cc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelCompanyDetialsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unsaved Changes\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelCompanyDetialsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelCompanyDetialsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n Company Details\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Dashboard\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Company Details\"}},[_c('Tab',{attrs:{\"name\":\"Details\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"details\"}},[_c('EditCompanyDetails',{on:{\"onIdUpdated\":_vm.onIdUpdated,\"dirtyValidatorNoSet\":_vm.detailsTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Addresses\",\"index\":1,\"disabled\":_vm.companyID == 0,\"routerDisplayName\":\"address\"},on:{\"onIdUpdated\":_vm.onIdUpdated}},[_c('Addresses',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.companyID},on:{\"dirtyValidatorNoSet\":_vm.addressTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Bank Accounts\",\"index\":2,\"disabled\":_vm.companyID==0,\"routerDisplayName\":\"bankAccounts\"}},[_c('BankAccounts',{attrs:{\"relatedID\":_vm.companyID,\"modalMode\":false,\"filterBankAccountType\":\"0\",\"relatedTable\":_vm.relatedTable,\"bankRequired\":true},on:{\"dirtyValidatorNoSet\":_vm.bankTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"BPay Accounts\",\"index\":3,\"disabled\":_vm.companyID==0,\"routerDisplayName\":\"bpayAccounts\"}},[_c('BPayAccounts',{attrs:{\"modalMode\":false,\"relatedID\":_vm.companyID,\"relatedTable\":_vm.relatedTable},on:{\"dirtyValidatorNoSet\":_vm.bPayAccountTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Ledger\",\"index\":4,\"disabled\":_vm.companyID==0,\"routerDisplayName\":\"ledger\"}},[_c('Ledger',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.companyID}})],1),_c('Tab',{attrs:{\"name\":\"Config\",\"index\":5,\"disabled\":_vm.companyID==0,\"routerDisplayName\":\"config\"}},[_c('CompanyConfig',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.companyID},on:{\"dirtyValidatorNoSet\":_vm.companyConfigTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"GST Ledger\",\"index\":6,\"disabled\":_vm.companyID==0,\"routerDisplayName\":\"gstLedger\"}},[_c('GSTLedger',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.companyID}})],1),_c('Tab',{attrs:{\"name\":\"Signatories\",\"index\":7,\"disabled\":_vm.companyID==0,\"routerDisplayName\":\"signatories\"}},[_c('Signatories',{attrs:{\"modalMode\":false},on:{\"dirtyValidatorNoSet\":_vm.signatoryTabDirtySet}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelEditCompanyDetialsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"There are unsaved changes. Are you sure you want to reset the fields?\")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelEditCompanyDetialsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"Cancel\")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelEditCompanyDetialsConf_OkButton\"},on:{\"click\":function($event){return _vm.onOkayToCancel()}}},[_vm._v(\"OK\")])],1)]):_vm._e(),_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmitCompanyDetails.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"6\"}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.company.abn.$error },attrs:{\"label\":\"ABN\",\"label-for\":\"abn\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.company.abn.length == 0) },attrs:{\"id\":\"abn\",\"type\":\"text\",\"placeholder\":\"Enter ABN\",\"required\":\"\",\"maxlength\":'11'},on:{\"input\":function($event){_vm.$v.company.abn.$touch();_vm.validateABN();}},model:{value:(_vm.company.abn),callback:function ($$v) {_vm.$set(_vm.company, \"abn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"company.abn\"}}),(_vm.$v.company.abn.$dirty && !_vm.$v.company.abn.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"ABN is required.\")]):_vm._e(),(_vm.isInvalidABN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.invalidABNMessage))]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.isInvalidACN },attrs:{\"label\":\"ACN\",\"label-for\":\"acn\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"acn\",\"type\":\"text\",\"placeholder\":\"Enter ACN\",\"maxlength\":'9'},on:{\"input\":function($event){return _vm.validateACN()}},model:{value:(_vm.company.acn),callback:function ($$v) {_vm.$set(_vm.company, \"acn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"company.acn\"}}),(_vm.isInvalidACN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(_vm._s(_vm.invalidACNMessage))]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{ref:\"nameFormGroup\",class:{ 'form-group--error': _vm.$v.company.companyName.$error },attrs:{\"label\":\"Company Name\",\"label-for\":\"companyName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.company.companyName.length == 0)},attrs:{\"id\":\"companyName\",\"type\":\"text\",\"required\":\"\",\"placeholder\":\"Enter Company Name\"},on:{\"input\":function($event){return _vm.$v.company.companyName.$touch()}},model:{value:(_vm.company.companyName),callback:function ($$v) {_vm.$set(_vm.company, \"companyName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"company.companyName\"}}),(_vm.$v.company.companyName.$dirty && !_vm.$v.company.companyName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"Company Name is required.\")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{ref:\"phoneFormGroup\",class:{ 'form-group--error': _vm.$v.company.companyPhone.$error },attrs:{\"label\":\"Company Phone\",\"label-for\":\"phone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"phone\",\"type\":\"text\",\"placeholder\":\"Enter Company Phone\"},on:{\"input\":function($event){return _vm.$v.company.companyPhone.$touch()}},model:{value:(_vm.company.companyPhone),callback:function ($$v) {_vm.$set(_vm.company, \"companyPhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"company.companyPhone\"}}),(_vm.$v.company.companyPhone.$dirty && !_vm.$v.company.companyPhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"Not a valid phone number.\")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"6\"}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.company.mobilePhone.$error },attrs:{\"label\":\"Mobile Phone\",\"label-for\":\"mobilePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"mobilePhone\",\"type\":\"text\",\"placeholder\":\"Enter Mobile Phone\"},on:{\"input\":function($event){return _vm.$v.company.mobilePhone.$touch()}},model:{value:(_vm.company.mobilePhone),callback:function ($$v) {_vm.$set(_vm.company, \"mobilePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"company.mobilePhone\"}}),(_vm.$v.company.mobilePhone.$dirty && !_vm.$v.company.mobilePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"Not a valid phone number.\")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.company.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"email\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"email\",\"type\":\"text\",\"placeholder\":\"Enter Email\"},on:{\"input\":function($event){return _vm.$v.company.email.$touch();}},model:{value:(_vm.company.email),callback:function ($$v) {_vm.$set(_vm.company, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"company.email\"}}),(_vm.$v.company.email.$dirty && !_vm.$v.company.email.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"Invalid email address.\")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.validationUrl.$error },attrs:{\"label\":\"Website Url\",\"label-for\":\"websiteUrl\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"websiteUrl\",\"type\":\"text\",\"placeholder\":\"Enter Website Url\"},on:{\"input\":function($event){return _vm.$v.validationUrl.$touch();}},model:{value:(_vm.company.websiteUrl),callback:function ($$v) {_vm.$set(_vm.company, \"websiteUrl\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"company.websiteUrl\"}}),(_vm.$v.validationUrl.$dirty && !_vm.$v.validationUrl.url)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"Invalid url.\")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.company.contactUsEmail.$error },attrs:{\"label\":\"Contact Us Email\",\"label-for\":\"contactUsEmail\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"email\",\"type\":\"text\",\"placeholder\":\"Enter Contact Us Emal\"},on:{\"input\":function($event){return _vm.$v.company.contactUsEmail.$touch();}},model:{value:(_vm.company.contactUsEmail),callback:function ($$v) {_vm.$set(_vm.company, \"contactUsEmail\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"company.contactUsEmail\"}}),(_vm.$v.company.contactUsEmail.$dirty && !_vm.$v.company.contactUsEmail.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"Invalid email address.\")]):_vm._e()],1)],1)],1)],1)],1),_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.$v.company.companyName.$invalid || _vm.$v.company.abn.$invalid || _vm.$v.company.companyPhone.$invalid\n || _vm.isInvalidABN || _vm.isInvalidACN || !_vm.isModelDirty()}},[_vm._v(\"Save\")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":!_vm.isModelDirty()},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\"Cancel\")])],1),(_vm.company.id>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\"Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.company.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.company.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\"Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.company.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.company.lastUpdatedDate))+\")\")])]):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Emit, Vue } from \"vue-property-decorator\";\nimport { validationMixin } from \"vuelidate\";\nimport { required, numeric, email, url } from \"vuelidate/lib/validators\";\nimport { Company } from \"@/models/company.model\";\nimport apiService from \"@/shared/services/apiService\";\nimport dirtyValidatorService from \"@/shared/services/dirtyValidatorService\";\nimport customValidationService from \"@/shared/services/customValidationService\";\nimport fieldValidations from \"@/shared/services/fieldValidationService\";\nimport Modal from \"@/shared/components/modal/Modal.vue\";\n@Component({\n mixins: [validationMixin],\n components: {\n Modal\n },\n validations: {\n company: {\n abn: {\n required\n },\n companyName: {\n required\n },\n companyPhone: {\n numeric\n },\n mobilePhone: {\n numeric\n },\n email: {\n email\n },\n contactUsEmail: {\n email\n }\n },\n validationUrl: {\n url\n }\n },\n computed: {\n validationUrl: function() {\n return fieldValidations.validateUrl(this.company.websiteUrl);\n }\n }\n})\nexport default class EditCompanyDetails extends Vue {\n company: Company = {\n id: 0,\n abn: \"\",\n acn: \"\",\n companyName: \"\",\n companyPhone: \"\",\n mobilePhone: \"\",\n email: \"\",\n websiteUrl: \"\",\n concurrencyKey: \"\",\n createdByName: \"\",\n lastUpdateByName: \"\",\n createdDate: new Date(),\n lastUpdatedDate: new Date(),\n contactUsEmail: \"\",\n };\n dirtyValidatorRefNo: number = 0;\n dirtyValidationConfirmation: boolean = false;\n isInvalidABN: boolean = false;\n invalidABNMessage: string = \"\";\n isInvalidACN: boolean = false;\n invalidACNMessage: string = \"\";\n initialCompany: Company = Object.assign({}, this.company);\n\n get invalidUrlMessage() {\n return fieldValidations.invalidURLErrorMsg(this.company.websiteUrl);\n }\n\n created() {\n this.loadCompanyDetails();\n }\n\n loadCompanyDetails() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendGetRequest(\"Company\", \"Company\").then(response => {\n if (response.data) {\n this.company = response.data;\n this.initialCompany = Object.assign({}, this.company);\n this.onIdUpdated(this.company.id);\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(\n this.dirtyValidatorRefNo,\n this.company\n );\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onSubmitCompanyDetails() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n if (this.company.id == 0) {\n apiService\n .sendPutRequest(\"Company\", \"Company\", this.company)\n .then(response => {\n if (response.data.isSuccess) {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"success\",\n duration: 5000\n });\n this.onIdUpdated(response.data.id);\n this.company.id = response.data.id;\n this.company.concurrencyKey = response.data.concurrencyKey;\n this.company.lastUpdateByName = response.data.updatedByName;\n this.company.createdByName = response.data.updatedByName;\n this.company.createdDate = response.data.lastUpdatedDate;\n this.company.lastUpdatedDate = response.data.lastUpdatedDate;\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.$v.company.$reset();\n } else {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"error\",\n duration: 5000\n });\n }\n\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n } else {\n apiService\n .sendPostRequest(\"Company\", \"Company\", this.company)\n .then(response => {\n if (response.data.isSuccess) {\n this.company.concurrencyKey = response.data.concurrencyKey;\n this.company.lastUpdateByName = response.data.updatedByName;\n this.company.lastUpdatedDate = response.data.lastUpdatedDate;\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.$v.company.$reset();\n } else {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"error\",\n duration: 5000\n });\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n }\n\n isModelDirty() {\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n onCancel() {\n if (dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)) {\n this.dirtyValidationConfirmation = true;\n }\n }\n\n onOkayToCancel() {\n this.company = Object.assign({}, this.initialCompany);\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(\n 0,\n this.company\n );\n this.$nextTick(() => {\n this.$v.company.$reset();\n });\n this.dirtyValidationConfirmation = false;\n this.isInvalidABN = this.isInvalidACN = false;\n this.invalidABNMessage = this.invalidACNMessage = \"\";\n }\n\n validateACN() {\n var result = customValidationService.validateACN(this.company.acn);\n this.isInvalidACN = result.isValid;\n this.invalidACNMessage = result.validationMessage;\n }\n\n validateABN() {\n var result = customValidationService.validateABN(this.company.abn);\n this.isInvalidABN = result.isValid;\n this.invalidABNMessage = result.validationMessage;\n }\n\n @Emit(\"onIdUpdated\") onIdUpdated(id: number) {}\n\n @Emit(\"dirtyValidatorNoSet\") dirtyValidatorNoSet(refNo: number) {}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditCompanyDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditCompanyDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditCompanyDetails.vue?vue&type=template&id=25005b5e&scoped=true\"\nimport script from \"./EditCompanyDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./EditCompanyDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EditCompanyDetails.vue?vue&type=style&index=0&id=25005b5e&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"25005b5e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.relatedTable != _vm.companyRelatedTable && !_vm.ClientMode && !_vm.novationId)?_c('b-row',[_c('b-col',{staticClass:\"mr-1\",attrs:{\"sm\":\"8\",\"md\":\"8\",\"lg\":\"6\"}},[_c('b-form-group',[_c('b-form-select',{staticClass:\"textInput indentedTextInput mt-1 selectListHeight\",attrs:{\"id\":\"selectNovation\",\"plain\":true,\"options\":_vm.groupedNovationList},on:{\"change\":_vm.onSelectedNovationChange},model:{value:(_vm.selectedNovationId),callback:function ($$v) {_vm.selectedNovationId=$$v},expression:\"selectedNovationId\"}},[_c('template',{slot:\"first\"},[(_vm.vehicleNovationList.length > 0)?_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Related Entities\")]):_c('option',{attrs:{\"disabled\":\"\"},domProps:{\"value\":0}},[_vm._v(\"No Related Entity Found\")]),(_vm.vehicleNovationList.length > 0)?_c('option',{domProps:{\"value\":null}},[_vm._v(\"Not Allocated\")]):_vm._e()])],2)],1)],1)],1):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0\",attrs:{\"col\":\"\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",staticClass:\"responsive-search \",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"col\":\"\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"col\":\"\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),(_vm.relatedTable == _vm.companyRelatedTable)?_c('b-col',{staticClass:\"pl-0\",attrs:{\"col\":\"\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput account-filter selectListHeight\",attrs:{\"id\":\"companyBankAccounSelectList\",\"plain\":true,\"options\":_vm.companyBankAccounts,\"required\":\"\"},on:{\"input\":_vm.onCompanyBankAccountChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.selectedCompanyBankAccount),callback:function ($$v) {_vm.selectedCompanyBankAccount=$$v},expression:\"selectedCompanyBankAccount\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"All Bank Accounts\")])])],2)],1):_vm._e(),(!_vm.ClientMode)?_c('b-col',{staticClass:\"pl-0\",attrs:{\"col\":\"\",\"lg\":\"2\"}},[(!_vm.ClientMode)?_c('b-form-select',{staticClass:\"textInput indentedTextInput account-filter selectListHeight\",attrs:{\"id\":\"transactionStatusSelectList\",\"plain\":true,\"options\":_vm.transactionStatusList,\"required\":\"\"},on:{\"input\":_vm.onTransactionStatusSelected,\"change\":_vm.onChangeResetButton},model:{value:(_vm.selectedTransactionStatus),callback:function ($$v) {_vm.selectedTransactionStatus=$$v},expression:\"selectedTransactionStatus\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"All\")])])],2):_vm._e()],1):_vm._e(),(_vm.relatedTable != _vm.companyRelatedTable)?_c('b-col',{staticClass:\"pl-0 pr-2\",attrs:{\"col\":\"\",\"lg\":\"2\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"catagorySelectList\"}},[_c('multiselect',{ref:\"multiselect\",attrs:{\"id\":\"catogorySelect\",\"options\":_vm.transactionCategoryList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onTransactionCategoryChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(_vm._s(_vm.transactionCategoryList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Category\" : \"Categories\")+\"\\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}],null,false,1820081211),model:{value:(_vm.selectedTransactionCategoryList),callback:function ($$v) {_vm.selectedTransactionCategoryList=$$v},expression:\"selectedTransactionCategoryList\"}})],1)],1):_vm._e(),_c('b-col',{staticClass:\"pl-0 pr-\",attrs:{\"cols\":\"12\",\"md\":\"auto\"}},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),(_vm.relatedTable == _vm.vehicleRelatedTable)?_c('b-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"12\",\"md\":\"auto\"}},[_c('b-dropdown',{staticClass:\"mb-3 \",attrs:{\"id\":\"ddGenerateReport\",\"text\":\"Export As\",\"disabled\":!_vm.items || _vm.items.length <= 0}},[_c('b-dropdown-item',{on:{\"click\":_vm.generateCSVReport}},[_vm._v(\"CSV\")]),_c('b-dropdown-item',{on:{\"click\":_vm.generatePDFReport}},[_vm._v(\"PDF\")])],1)],1):_vm._e(),(!_vm.ClientMode && _vm.novationId > 0 && _vm.items.length > 0 && !_vm.isBalanceTransferedOut)?_c('b-col',{staticClass:\"pr-0\",attrs:{\"cols\":\"12\",\"md\":\"auto\"}},[_c('TransferBalanceModal',{attrs:{\"novationId\":_vm.novationId,\"vehicleId\":_vm.relatedID,\"loadInitialData\":_vm.loadInitialData}})],1):_vm._e()],1),(_vm.items.length > 0)?_c('SystemTextNotes',{attrs:{\"boldText\":\"Balance:\",\"amount\":_vm.availableBalance,\"isDecimalValue\":true}}):_vm._e(),(!_vm.ClientMode && _vm.items.length > 0)?_c('SystemTextNotes',{attrs:{\"boldText\":\"Note:\",\"text1\":\"All Amounts are GST Exclusive\",\"isDecimalValue\":false}}):_vm._e(),(_vm.items.length > 0 && _vm.isBalanceTransferedOut)?_c('SystemTextNotes',{attrs:{\"boldText\":\"Note:\",\"text1\":\"The balance has been transferred to another novation\",\"isDecimalValue\":false,\"useSlotProps\":true}},[_c('template',{slot:\"note-action-buttons\"},[_c('span',{staticClass:\"float-right cursor-pointer mr-2\",attrs:{\"size\":\"md\",\"id\":\"editInsuranceSchedule\",\"title\":\"Navigate to Novation\"},on:{\"click\":_vm.viewBalanceTransferedLedger}},[_c('i',{staticClass:\"fas fa-external-link-alt\",attrs:{\"aria-hidden\":\"true\"}})])])],2):_vm._e(),_c('div',[_c('DataTable',{ref:\"ledgerTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"customTemplateSlots\":['credit', 'debit', 'runningBalance'],\"customHeaderTemplates\":_vm.customHeaderTemplateList,\"trClass\":_vm.trClass,\"select-mode\":\"single\",\"selectable\":true,\"showEmptyBanner\":\"false\",\"emptyBanner\":\"No ledger details to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent},scopedSlots:_vm._u([{key:\"credit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getCreditValue(slotProps.item.transactionDirection, slotProps.item.amount),\"defaultReturnValue\":'-'}})]}},{key:\"debit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getDebitValue(slotProps.item.transactionDirection, slotProps.item.amount),\"defaultReturnValue\":'-'}})]}},{key:\"runningBalance\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getRunningBalaceValue(slotProps.item.transactionStatus, slotProps.item.runningBalance),\"defaultReturnValue\":'-'}})]}}])})],1),(_vm.relatedTable == _vm.vehicleRelatedTable)?_c('div',{staticClass:\"mt-5\"},[_c('UpcomingLeasePaymentRecord',{attrs:{\"vehicleId\":_vm.relatedID}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_vm._v(\"Reference \"),_c('i',{staticClass:\"fas fa-info-circle text-info cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":_vm.data.title}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Vue, Prop} from 'vue-property-decorator';\n\n@Component\nexport default class ReferenceCustomHeader extends Vue{\n @Prop() data:any;\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReferenceCustomHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReferenceCustomHeader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReferenceCustomHeader.vue?vue&type=template&id=3d8ddfab&scoped=true\"\nimport script from \"./ReferenceCustomHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./ReferenceCustomHeader.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3d8ddfab\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_vm._v(\"Processed Date \"),_c('i',{staticClass:\"fas fa-info-circle text-info cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":_vm.data.title}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Vue, Prop} from 'vue-property-decorator';\n\n@Component\nexport default class ProcessedDateCustomHeader extends Vue{\n @Prop() data:any;\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProcessedDateCustomHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProcessedDateCustomHeader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ProcessedDateCustomHeader.vue?vue&type=template&id=6cf81b36&scoped=true\"\nimport script from \"./ProcessedDateCustomHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./ProcessedDateCustomHeader.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cf81b36\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items != null && _vm.items.length > 0)?_c('div',[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Upcoming Lease Payment\")]),_c('DataTable',{ref:\"upcomingPaymentTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"customTemplateSlots\":['credit', 'debit']},scopedSlots:_vm._u([{key:\"credit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getCreditValue(slotProps.item.transactionDirection, slotProps.item.amount),\"defaultReturnValue\":'-'}})]}},{key:\"debit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getDebitValue(slotProps.item.transactionDirection, slotProps.item.amount),\"defaultReturnValue\":'-'}})]}}],null,false,3642404297)})],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService';\nimport moment from 'moment';\nimport {TransactionDirection} from '@/shared/enums/transaction.enum';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\n\n@Component(\n {\n components:{\n DataTable\n }\n }\n)\nexport default class UpcomingLeasePaymentRecord extends Vue{\n @Prop() vehicleId:number;\n \n customTemplateList:Array = [];\n items:any = [];\n fields = [\n {key: 'date', label:'Due Date', class:'width_10',\n formatter: (value, key, item) => {\n return moment(item.date).format(\"DD MMM YYYY\")\n }\n },\n {key: 'description'},\n {key: 'reference',class:'width_15'},\n {key: 'credit',class:'width_10 text-right'},\n {key: 'debit',class:'width_10 text-right'},\n ];\n\n @Watch('vehicleId')\n onVehicleIdChanged(val: any, oldVal: any)\n {\n if(val > 0){\n this.loadUpcomingPayment();\n } \n }\n\n mounted()\n {\n if(this.vehicleId && this.vehicleId > 0){\n this.loadUpcomingPayment();\n }\n }\n\n loadUpcomingPayment(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"UpcomingLeasePayment\",{id:this.vehicleId}).then(response =>{\n this.items = response.data.resultDto;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n getCreditValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Credit ? amount : null;\n }\n\n getDebitValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Debit ? amount : null;\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpcomingLeasePaymentRecord.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UpcomingLeasePaymentRecord.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UpcomingLeasePaymentRecord.vue?vue&type=template&id=948d5ec8&scoped=true\"\nimport script from \"./UpcomingLeasePaymentRecord.vue?vue&type=script&lang=ts\"\nexport * from \"./UpcomingLeasePaymentRecord.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"948d5ec8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showLabel)?_c('div',[_vm._v(_vm._s(_vm.categoryText))]):_c('div',[_c('b-form-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"categorySelect\",\"plain\":true,\"options\":_vm.categories,\"required\":\"\",\"disabled\":!_vm.isAdmin},on:{\"change\":_vm.onCategoryUpdated},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[(!_vm.category || _vm.category.category == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":{category:0,type:0}}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport moment from 'moment'\nimport lookupService from '../../../shared/services/lookupService';\nimport { TransactionCategoryTypes } from '../../../shared/enums/transaction.enum';\nimport apiService from '@/shared/services/apiService';\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\nimport { ExpenseCategories } from '@/shared/enums/expenseClaims.enum';\n\n@Component\nexport default class TransactionCategorySelect extends Vue{\n @Prop() item:any;\n @Watch('item')\n onItemChanged(val: any, oldVal: any)\n {\n this.category = {type:0, category:0};\n this.categoryText = \"\";\n if(this.item.categoryTypeMapping && this.item.categoryTypeMapping.type && this.item.categoryTypeMapping.categoryList && this.item.categoryTypeMapping.categoryList.length > 0){\n if(this.showLabel){\n for(var j = 0; j < this.item.categoryTypeMapping.categoryList.length; j++){\n if(j != 0){\n this.categoryText = this.categoryText + \", \"\n }\n this.categoryText = this.categoryText + this.getCategoryText(this.item.categoryTypeMapping.categoryList[j],this.item.categoryTypeMapping.type);\n }\n }\n else {\n this.category = {type: this.item.categoryTypeMapping.type, category : this.item.categoryTypeMapping.categoryList[0]};\n }\n }\n }\n\n categories:any[] = [];\n category:any = {type:0, category:0};\n categoryText:string = \"\";\n isAdmin:boolean = false;\n isClient:boolean = false;\n\n get showLabel():boolean {\n if(this.isClient){\n return true;\n }\n if(this.item.relatedExpenseClaimId){\n return true;\n }\n if(this.item.reference == \"Balance Transferred Out\" || this.item.reference == \"Balance Transferred In\"){\n return true;\n }\n if(this.item.createdBy == 0){\n return true;\n }\n return false;\n }\n\n created(){\n this.isAdmin = this.$store.getters.isAuthorizedRole(UserRoles.TenantAdmin);\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n lookupService.GetExpenseAndOtherCategoriesList().then(data => {\n this.categories = data;\n if(this.item.categoryTypeMapping && this.item.categoryTypeMapping.type && this.item.categoryTypeMapping.categoryList && this.item.categoryTypeMapping.categoryList.length > 0){\n if(this.showLabel){\n for(var j = 0; j < this.item.categoryTypeMapping.categoryList.length; j++){\n if(j != 0){\n this.categoryText = this.categoryText + \", \"\n }\n this.categoryText = this.categoryText + this.getCategoryText(this.item.categoryTypeMapping.categoryList[j],this.item.categoryTypeMapping.type);\n }\n }\n else {\n this.category = {type: this.item.categoryTypeMapping.type, category : this.item.categoryTypeMapping.categoryList[0]};\n }\n }\n });\n }\n\n getCategoryText(category:number, type:number){\n var filteredCategory = this.categories.filter(obj => obj.type == type && obj.category == category);\n if(filteredCategory.length > 0){\n return filteredCategory[0].text;\n } \n else {\n return \"\";\n }\n }\n\n onCategoryUpdated(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n transactionId : this.item.id,\n category : this.category.category,\n type : this.category.type\n };\n apiService.sendPostRequest('Finance','TransactionCategory',params).then(\n response => {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n @Emit('customEvent') onChange(data:any,type:DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategorySelect.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategorySelect.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TransactionCategorySelect.vue?vue&type=template&id=4ab81546&scoped=true\"\nimport script from \"./TransactionCategorySelect.vue?vue&type=script&lang=ts\"\nexport * from \"./TransactionCategorySelect.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TransactionCategorySelect.vue?vue&type=style&index=0&id=4ab81546&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4ab81546\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.onShowNovationListModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ChangeNovationModal\",\"maxWidth\":\"580px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Update Related Entity \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',[(_vm.isLoaded)?_c('b-form-group',{attrs:{\"label\":\"Select Related Entity\",\"label-for\":\"selectNovation\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"selectNovation\",\"plain\":true,\"options\":_vm.groupedNovationList},on:{\"input\":_vm.onNovationChanged},model:{value:(_vm.selectedNovation.value),callback:function ($$v) {_vm.$set(_vm.selectedNovation, \"value\", $$v)},expression:\"selectedNovation.value\"}},[_c('template',{slot:\"first\"},[(_vm.vehicleNovationList.length > 0 && _vm.selectedNovation.value)?_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")]):_c('option',{attrs:{\"disabled\":\"\"},domProps:{\"value\":0}},[_vm._v(\" No Related Entity found. \")])])],2)],1):_vm._e()],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ChangeNovationModal_CancelButton\"},on:{\"click\":_vm.onCloseModel}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"disabled\":!_vm.isModalDirty,\"size\":\"md\",\"id\":\"ChangeNovationModal_updateButton\"},on:{\"click\":_vm.onChangeNovation}},[_vm._v(\"\\n Update\\n \")])],1)]):_vm._e(),(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelChangeNovationConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelChangeNovationConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelChangeNovationConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),((_vm.item.novationId == 0 || _vm.item.novationId == null) && _vm.isTenantAdmin)?_c('b-btn',{staticClass:\"cursor-pointer action-btn\",on:{\"click\":_vm.onClickActionButton}},[_c('i',{staticClass:\"fas fa-arrow-right\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Update Related Entity\"}})]):_vm._e(),_c('b-btn',{staticClass:\"color-circle-button\"},[(_vm.item.novationId > 0 && _vm.isTenantAdmin && _vm.getBalanceTransferedRows)?_c('span',{attrs:{\"title\":'Update related entity'},on:{\"click\":_vm.onClickActionButton}},[_c('i',{staticClass:\"fas fa-undo-alt\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport apiService from '@/shared/services/apiService'\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\n\n@Component({\n components: {\n Modal,\n \n }\n})\nexport default class NovationSelect extends Vue{\n @Prop() item:any\n @Prop() modalMode:any;\n showDeleteMotorVehicleConfirmationModal = false;\n showVehicleLeaseModal:boolean = false;\n relatedTable:RelatedTables = RelatedTables.Vehicle;\n vehicleNovationList:any = [];\n groupedNovationList:any = [];\n selectedNovation:any = {text:'', value:0, novationColor:\"\", type:0};\n onShowNovationListModal:boolean = false;\n isLoaded:boolean = false;\n isModalDirty:boolean = false;\n dirtyValidationConfirmation:boolean = false;\n clientMode:boolean = false;\n isTenantAdmin:boolean = false;\n\n created(){\n this.clientMode = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n this.isTenantAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n }\n\n loadAllVehicleNovations(vehicleId){\n var params = { vehicleId: vehicleId, onlyActiveNovations:true};\n this.$store.dispatch('storeIsBusyValue',true);\n this.isLoaded = false;\n apiService.sendGetRequest('Novation','NovationsGroupedByLease',params).then(response => {\n if(response.data){\n this.groupedNovationList = response.data;\n if(this.groupedNovationList.length > 0){\n this.groupedNovationList.forEach(groupList => {\n if (groupList.options != null && groupList.options.length > 0){\n this.vehicleNovationList.push(...groupList.options);\n }\n });\n }\n if(this.item.novationId > 0 && this.vehicleNovationList.length > 0){\n if(this.vehicleNovationList.filter(obj => obj.value == this.item.novationId).length > 0) {\n this.selectedNovation = this.vehicleNovationList.filter(obj => obj.value == this.item.novationId)[0]\n }\n } else{\n if (this.vehicleNovationList.length > 0 && this.vehicleNovationList.filter(obj => obj.value == this.item.novationId).length > 0) {\n this.selectedNovation = this.vehicleNovationList.filter(obj => obj.value == this.item.novationId)[0]\n }\n }\n \n this.onShowNovationListModal = true;\n this.isLoaded = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n get getBalanceTransferedRows(){\n return !(this.item.reference == 'Balance Transferred Out' || this.item.reference == 'Balance Transferred In');\n }\n\n onClickActionButton(){\n if(!this.clientMode) {\n this.loadAllVehicleNovations(this.item.vehicleId);\n }\n }\n\n onCloseModel(){\n if(this.isModalDirty){\n this.dirtyValidationConfirmation = true;\n\n } else {\n this.onShowNovationListModal = false;\n this.onAction(this.item, DataTableActionTypes.Cancel);\n }\n \n }\n\n onChangeNovation(){\n var params = { TransactionId: this.item.id, NovationId:this.selectedNovation.value};\n this.$store.dispatch('storeIsBusyValue',true);\n this.isLoaded = false;\n apiService.sendPostRequest('Finance','TransactionNovation',params).then(response => {\n if(response.data){\n this.onShowNovationListModal = false;\n this.isModalDirty = false;\n this.onAction(response.data, DataTableActionTypes.Edit);\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onNovationChanged(){\n this.isModalDirty = true;\n }\n\n navigateBack(){\n this.isModalDirty = false;\n this.dirtyValidationConfirmation = false;\n this.onShowNovationListModal = false;\n this.selectedNovation.value = 0;\n this.onAction(this.item, DataTableActionTypes.Cancel);\n }\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n}\n","export enum FileExtensionTypes\r\n{\r\n PDF = 1,\r\n CSV = 2\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationSelect.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationSelect.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationSelect.vue?vue&type=template&id=1f06384e&scoped=true\"\nimport script from \"./NovationSelect.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationSelect.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NovationSelect.vue?vue&type=style&index=0&id=1f06384e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f06384e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.onShowNovationListModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ChangeNovationModal\",\"maxWidth\":\"650px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Transfer Balance \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',[(_vm.isLoaded)?_c('b-form-group',{attrs:{\"label\":\"Select Related Entity\",\"label-for\":\"selectNovation\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"selectNovation\",\"plain\":true,\"options\":_vm.groupedNovationList},on:{\"change\":_vm.onNovationChanged},model:{value:(_vm.selectedNovation.value),callback:function ($$v) {_vm.$set(_vm.selectedNovation, \"value\", $$v)},expression:\"selectedNovation.value\"}},[_c('template',{slot:\"first\"},[(_vm.vehicleNovationList != null && _vm.vehicleNovationList.length > 1)?_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")]):_vm._e(),(_vm.vehicleNovationList.length <= 0)?_c('option',{attrs:{\"disabled\":\"\"},domProps:{\"value\":0}},[_vm._v(\" No Related Entity found. \")]):_vm._e()])],2)],1):_vm._e()],1)],1),_c('b-row',[(_vm.selectedNovation.value != 0 && _vm.errorsList.length > 0)?_c('b-col',_vm._l((_vm.errorsList),function(error,index){return _c('SystemTextErrors',{key:index,attrs:{\"text1\":error.message,\"isDecimalValue\":false}})}),1):_vm._e()],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ChangeNovationModal_CancelButton\"},on:{\"click\":_vm.onCloseModel}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"disabled\":!_vm.isModalDirty || _vm.selectedNovation.value == 0 || _vm.errorsList.length > 0,\"size\":\"md\",\"id\":\"ChangeNovationModal_updateButton\"},on:{\"click\":_vm.onChangeNovation}},[_vm._v(\"\\n Transfer Balance\\n \")])],1)]):_vm._e(),_c('b-btn',{staticClass:\"mb-3 pull-right primary\",attrs:{\"title\":'Transfer Balance'},on:{\"click\":_vm.onClickActionButton}},[_c('svg',{staticClass:\"icon\",attrs:{\"xmlns\":\"http://www.w3.org/2000/svg\",\"viewBox\":\"0 0 640 512\"}},[_c('path',{attrs:{\"fill\":\"white\",\"d\":\"M535 41c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l64 64c4.5 4.5 7 10.6 7 17s-2.5 12.5-7 17l-64 64c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l23-23L384 112c-13.3 0-24-10.7-24-24s10.7-24 24-24l174.1 0L535 41zM105 377l-23 23L256 400c13.3 0 24 10.7 24 24s-10.7 24-24 24L81.9 448l23 23c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L7 441c-4.5-4.5-7-10.6-7-17s2.5-12.5 7-17l64-64c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zM96 64H337.9c-3.7 7.2-5.9 15.3-5.9 24c0 28.7 23.3 52 52 52l117.4 0c-4 17 .6 35.5 13.8 48.8c20.3 20.3 53.2 20.3 73.5 0L608 169.5V384c0 35.3-28.7 64-64 64H302.1c3.7-7.2 5.9-15.3 5.9-24c0-28.7-23.3-52-52-52l-117.4 0c4-17-.6-35.5-13.8-48.8c-20.3-20.3-53.2-20.3-73.5 0L32 342.5V128c0-35.3 28.7-64 64-64zm64 64H96v64c35.3 0 64-28.7 64-64zM544 320c-35.3 0-64 28.7-64 64h64V320zM320 352a96 96 0 1 0 0-192 96 96 0 1 0 0 192z\"}})])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport apiService from '@/shared/services/apiService'\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\nimport SystemTextErrors from '@/components/shared/SystemTextErrors.vue';\n\n@Component({\n components: {\n Modal,\n SystemTextErrors,\n }\n})\nexport default class TransferBalanceModal extends Vue{\n @Prop() novationId:any;\n @Prop() modalMode:any;\n @Prop() vehicleId:any;\n @Prop() loadInitialData:any;\n showDeleteMotorVehicleConfirmationModal = false;\n showVehicleLeaseModal:boolean = false;\n relatedTable:RelatedTables = RelatedTables.Vehicle;\n vehicleNovationList:any = [];\n groupedNovationList:any = [];\n selectedNovation:any = {text:'', value:0, novationColor:\"\", type:0};\n onShowNovationListModal:boolean = false;\n isLoaded:boolean = false;\n isModalDirty:boolean = false;\n dirtyValidationConfirmation:boolean = false;\n clientMode:boolean = false;\n isTenantAdmin:boolean = false;\n errorsList:any = [];\n\n created(){\n this.clientMode = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n this.isTenantAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n }\n\n loadAllVehicleNovations(vehicleId, novationId){\n var params = { vehicleId: vehicleId, novationId: novationId};\n this.$store.dispatch('storeIsBusyValue',true);\n this.isLoaded = false;\n apiService.sendGetRequest('Novation','CurrentNovationsGroupedByLease',params).then(response => {\n if(response.data){\n this.groupedNovationList = response.data;\n if(this.groupedNovationList.length > 0){\n this.groupedNovationList.forEach(groupList => {\n if (groupList.options != null && groupList.options.length > 0){\n this.vehicleNovationList.push(...groupList.options);\n this.isModalDirty = true;\n }\n });\n }\n if(this.novationId > 0 && this.vehicleNovationList.length > 0){\n if (this.vehicleNovationList.length == 1){\n this.selectedNovation.value = this.vehicleNovationList[0].value;\n this.selectedNovation.text = this.vehicleNovationList[0].text;\n this.selectedNovation.novationColor = this.vehicleNovationList[0].novationColor;\n this.selectedNovation.type = this.vehicleNovationList[0].type;\n this.checkIsActiveNovation();\n }\n }\n this.onShowNovationListModal = true;\n this.isLoaded = true;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onClickActionButton(){\n if(!this.clientMode) {\n this.loadAllVehicleNovations(this.vehicleId, this.novationId);\n this.checkIsActiveNovation();\n }\n }\n\n onCloseModel(){ \n this.onShowNovationListModal = false; \n this.selectedNovation = {text:'', value:0, novationColor:\"\", type:0}; \n }\n\n onChangeNovation(){\n var params = {\n \"FromNovationId\" : this.novationId,\n \"ToNovationId\" : this.selectedNovation.value,\n \"VehicleId\" : this.vehicleId,\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"TransferBalanceFromNovationToNovation\", params).then(response =>{ \n if(!response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n } \n this.onShowNovationListModal = false; \n this.loadInitialData(); \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n checkIsActiveNovation(){\n var params = {\n \"novationId\" : this.novationId,\n \"vehicleId\" : this.vehicleId\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"CheckAbilityToTransferLedgerBalance\", params).then(response =>{\n this.errorsList = response.data.errorsList; \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onNovationChanged(){\n this.isModalDirty = true;\n if (this.selectedNovation.value != 0){\n this.checkIsActiveNovation();\n }\n }\n\n navigateBack(){\n this.isModalDirty = false;\n this.dirtyValidationConfirmation = false;\n this.onShowNovationListModal = false;\n this.selectedNovation.value = 0;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransferLedgerBalanceModal.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransferLedgerBalanceModal.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TransferLedgerBalanceModal.vue?vue&type=template&id=93e3a708&scoped=true\"\nimport script from \"./TransferLedgerBalanceModal.vue?vue&type=script&lang=ts\"\nexport * from \"./TransferLedgerBalanceModal.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TransferLedgerBalanceModal.vue?vue&type=style&index=0&id=93e3a708&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"93e3a708\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport AppSettings from '@/app.config'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport {TableTemplate, TableHeaderTemplate} from '@/models/tableCustomTemplate.model';\nimport {LedgerTableFilterParams, LedgerReportGenerationFilterParams} from '@/models/tableFilterParams.model';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport {TransactionDirection, TransactionStatus} from '@/shared/enums/transaction.enum';\nimport moment from 'moment'\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport lookupService from '@/shared/services/lookupService'\nimport ReferenceCustomHeader from '@/shared/components/customTableHeaders/ReferenceCustomHeader.vue';\nimport ProcessedDateCustomHeader from '@/shared/components/customTableHeaders/ProcessedDateCustomHeader.vue';\nimport UpcomingLeasePaymentRecord from './UpcomingLeasePaymentRecord.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport TransactionCategorySelect from './TransactionCategorySelect.vue';\nimport NovationSelect from '@/components/admin/finance/NovationSelect.vue';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport { FileExtensionTypes } from '@/shared/enums/fileExtensionTypes.enum';\nimport { TransactionCategoryTypes } from '@/shared/enums/transaction.enum';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\nimport TransferBalanceModal from '@/components/admin/finance/TransferLedgerBalanceModal.vue';\n\n@Component(\n {\n components: {\n DataTable,\n FilterTextInput,\n ReferenceCustomHeader,\n UpcomingLeasePaymentRecord,\n NovationSelect,\n SystemTextNotes,\n TransferBalanceModal\n }\n }\n)\n\nexport default class Ledger extends Vue{\n @Prop() relatedID:number;\n @Prop() relatedTable:RelatedTables;\n @Prop() novationId:number;\n\n items:any = [];\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n fields:any = [\n {key: 'date',class:'width_10',\n formatter: (value, key, item) => {\n return moment(item.displayDate).format(\"DD MMM YYYY\")\n },\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }\n },\n {key: 'description',\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }},\n {key: 'reference',class:'width_15',\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }},\n {key: 'credit',class:'width_10 text-right',\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }\n },\n {key: 'debit',class:'width_10 text-right',\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }\n },\n {key: 'runningBalance',class:'width_8 text-right text-nowrap',\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }\n }\n ];\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"date\";\n filter:string = \"\";\n sortDesc:boolean = true;\n customHeaderTemplateList:Array = [{slot:\"reference\",customTemplate:ReferenceCustomHeader,data:{title:\"Reference on statement.\"}},\n {slot:\"processedDate\",customTemplate:ProcessedDateCustomHeader,data:{title:\"Date the bank file has been processed.\"}}];\n customTemplateList:Array = [{slot:\"category\",customTemplate:TransactionCategorySelect}];\n showEmptyBanner:boolean = false;\n fromDate:any = null;\n toDate:any = null;\n availableBalance:number = 0;\n currentBalance:number = 0;\n disabledFromDates:any ={};\n disabledToDates:any ={};\n companyBankAccounts:any[] = [{text:'All Bank Accounts', value:0}];\n selectedCompanyBankAccount:number = 0;\n selectedTransactionStatus:number = 0;\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n vehicleRelatedTable:RelatedTables = RelatedTables.Vehicle;\n transactionStatusList:any[] = [];\n ClientMode:boolean = false;\n transactionCategoryList:any = [];\n selectedTransactionCategoryList:any = [];\n isPanelOpen:boolean = false;\n vehicleNovationList:any = [];\n groupedNovationList:any = [];\n selectedNovationId:number = 0;\n resetButtonDisabled:boolean = true;\n isBalanceTransferedOut:boolean = false;\n toNovationId:any = 0;\n\n @Watch('relatedID')\n onRelatedIDChanged(val: any, oldVal: any)\n {\n if(val > 0){\n this.loadInitialData();\n } \n }\n\n created(){ \n if(this.novationId && this.novationId > 0){\n this.selectedNovationId = this.novationId\n }\n\n this.ClientMode = this.$store.getters.getToken.relatedEntityId > 0;\n if(!this.ClientMode)\n {\n this.fields.splice(1,0, {key: 'processedDate',class:'width_10',\n formatter: (value, key, item) => {\n if(moment(item.processedDate).isValid()){\n return moment(item.displayProcessedDate).format(\"DD MMM YYYY\")\n }\n return '-'\n },\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }\n });\n var statusField = {key: 'transactionStatus', class:'width_5', label:'Status',\n formatter: (value, key, item) => {\n return this.getTransactionStatusText(value);\n },\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }\n }\n this.fields.splice(6,0, statusField);\n if(this.$store.getters.getVehicleId == this.relatedID && this.relatedID > 0 && this.relatedTable == this.vehicleRelatedTable) {\n this.fromDate = new Date(this.$store.getters.getfilterDate);\n this.filter = this.$store.getters.getReference;\n this.$store.dispatch('storeLedgerFilterVehicleId',0); \n this.$store.dispatch('storeLedgerFilterDate',null); \n this.$store.dispatch('storeLedgerFilterReference', \"\"); \n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n }else if((localStorage.getItem(\"relatedEntityId\") && parseInt(localStorage.getItem(\"relatedEntityId\")) == this.novationId) \n && localStorage.getItem(\"transactionReference\") && localStorage.getItem(\"fromDate\")){ \n let date = new Date(localStorage.getItem(\"fromDate\"))\n // Need to convert date to UTC since backend consider time since epoch in UTC\n let utcDate = new Date(Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0));\n this.fromDate = utcDate;\n this.toDate = utcDate;\n this.filter = localStorage.getItem(\"transactionReference\");\n localStorage.removeItem(\"transactionReference\");\n localStorage.removeItem(\"fromDate\");\n localStorage.removeItem(\"relatedEntityId\");\n\n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.validateFromDate();\n this.validateToDate();\n }\n }\n\n // Show unallocated transactions if showUnAllocatedTransactions in ledger filter state is true\n if(this.$store.getters.getShowUnAllocatedTransactions){\n this.selectedNovationId = null;\n\n // Set showUnAllocatedTransactions back to false\n this.$store.dispatch('storeShowUnAllocatedTransactions', false);\n }\n\n this.loadInitialData();\n lookupService.GetTransactionStatusList().then(res => {\n this.transactionStatusList = res;\n })\n }\n\n loadInitialData(){\n if(this.relatedTable == this.companyRelatedTable){\n this.fields.splice(4,0, {key: 'category', class:'width_15'});\n this.loadCompanyBankAccountList();\n if(this.relatedID > 0){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:true, CompanyBankAccountId:this.selectedCompanyBankAccount,\n TransactionDirection:0, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, NovationId:this.selectedNovationId});\n }\n } else {\n if(this.relatedTable != this.companyRelatedTable && this.relatedID > 0 ){\n this.loadAllVehicleNovations(this.relatedID);\n if(this.ClientMode){\n this.fields.splice(3,0, {key: 'category'});\n } else {\n this.fields.splice(4,0, {key: 'category', class:'width_15'});\n this.fields.splice(8,0, {key: 'novation', class:'width_5', label:''});\n }\n this.loadTransactionCatogoryList();\n } \n }\n }\n\n loadAllVehicleNovations(vehicleId){\n var params = { vehicleId: this.relatedID, onlyActiveNovations:false };\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest('Novation','NovationsGroupedByLease',params).then(response => {\n if(response.data){\n this.showEmptyBanner = false;\n this.groupedNovationList = response.data;\n if(this.groupedNovationList.length > 0){\n this.groupedNovationList.forEach(groupList => {\n if (groupList.options != null && groupList.options.length > 0){\n this.vehicleNovationList.push(...groupList.options);\n }\n });\n }\n if(this.vehicleNovationList.length > 0){\n this.showEmptyBanner = false;\n } else {\n this.showEmptyBanner = true;\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onSelectedNovationChange(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.resetTable();\n this.resetButtonDisabled = false;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:calculateRunningBalance,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:0, \n TransactionStatus:this.selectedTransactionStatus,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n OtherCategoryList:this.otherCategoryList,IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory,\n NovationId:this.selectedNovationId});\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, CompanyBankAccountId:this.selectedCompanyBankAccount,\n TransactionDirection:0, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, NovationId:this.selectedNovationId});\n }\n\n removeSelectedList(){\n this.selectedTransactionCategoryList = [];\n if(!this.isPanelOpen){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:true, CompanyBankAccountId:this.selectedCompanyBankAccount, \n TransactionDirection:0, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList, OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, NovationId:this.selectedNovationId});\n }\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:false,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:0, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, NovationId:this.selectedNovationId});\n }\n }\n\n get expenseCalimCategoryList(){\n return this.selectedTransactionCategoryList.filter(obj => obj.type == TransactionCategoryTypes.Expense)\n .map(a => a.category); \n }\n\n get otherCategoryList(){\n return this.selectedTransactionCategoryList.filter(obj => obj.type == TransactionCategoryTypes.Other)\n .map(a => a.category);\n }\n\n get isIncludeNullTransactionCategory(){\n return this.relatedTable == this.companyRelatedTable ? true : this.selectedTransactionCategoryList.filter(obj => obj.type == 0).length == 0 ? false : true\n }\n\n refreshGrid(tableFilterParams:LedgerTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"LedgerRecordsList\",tableFilterParams).then(response =>{\n this.availableBalance = response.data.availableBalance;\n this.currentBalance = response.data.currentBalance;\n this.items = response.data.filterResults.resultDto;\n this.isBalanceTransferedOut = response.data.isBalanceTransfered;\n this.toNovationId = response.data.toNovationId;\n if(this.ClientMode)\n {\n response.data.filterResults.resultDto.forEach(element => {\n if(element.transactionStatus == TransactionStatus.New)\n {\n element._rowVariant = 'new-transaction-row';\n }\n }); \n }\n\n if(!this.isBalanceTransferedOut){\n this.customTemplateList.push({slot:\"novation\", customTemplate: NovationSelect});\n }\n this.totalRows = response.data.filterResults.totalRows;\n this.showEmptyBanner = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString(this.filter); \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n viewBalanceTransferedLedger(){\n let route = this.$router.resolve({ name: 'Edit Novation', params: {novationID: this.toNovationId, topRouteDisplayName: 'relatedentitytypes', routerDisplayName: 'ledger'}});\n window.open(route.href, '_self');\n }\n\n refreshAndReset(id:number){\n this.resetTable();\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, CompanyBankAccountId:this.selectedCompanyBankAccount,\n TransactionDirection:0, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, NovationId:this.selectedNovationId});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n resetFilters(){\n this.filter = '';\n if(!this.novationId || this.novationId == 0){\n this.selectedNovationId = 0;\n }\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.fromDate = null;\n this.toDate = null;\n this.disabledFromDates = {};\n this.disabledToDates = {};\n this.selectedCompanyBankAccount = 0;\n this.selectedTransactionStatus = 0;\n this.selectedTransactionCategoryList = this.transactionCategoryList ;\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:true, CompanyBankAccountId:this.selectedCompanyBankAccount, \n TransactionDirection:0, TransactionStatus:this.selectedTransactionStatus, \n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory,NovationId:this.selectedNovationId}); \n }\n\n filterGrid(filterString:string){\n this.resetTable();\n this.filter = filterString;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.resetButtonDisabled = false;\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:calculateRunningBalance,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:0, \n TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory,NovationId:this.selectedNovationId});\n }\n\n resetTable(){\n this.sortBy = \"date\";\n (this.$refs.ledgerTable as DataTable).reset(true);\n }\n\n getCreditValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Credit ? amount : null;\n }\n\n getDebitValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Debit ? amount : null;\n }\n\n getTransactionStatusText(status:TransactionStatus){\n return this.transactionStatusList.filter(obj => obj.value == status)[0].text;\n }\n \n getRunningBalaceValue(transactionStatus:TransactionStatus, amount:any){\n return (transactionStatus == TransactionStatus.Generated || transactionStatus == TransactionStatus.Matched) ? amount : null;\n }\n\n dateChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.resetButtonDisabled = false; \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:calculateRunningBalance,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:0,\n TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, NovationId:this.selectedNovationId});\n }\n\n fromDateChanged(){\n this.validateFromDate();\n this.dateChanged();\n }\n\n toDateChanged(){\n this.validateToDate();\n this.dateChanged();\n }\n\n validateFromDate(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n }\n\n validateToDate(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n }\n\n checkToCalculateRunningBalance(){\n if(fieldValidations.isValidDate(this.fromDate) ||\n fieldValidations.isValidDate(this.toDate) ||\n fieldValidations.isValidText(this.filter) ||\n this.selectedTransactionStatus > 0 ||\n this.selectedCompanyBankAccount > 0 ||\n this.transactionCategoryList.length != this.selectedTransactionCategoryList.length){\n return false;\n }\n return true;\n }\n\n manageRunningBalanceColumn(keepColumn:boolean){\n var col = this.fields.find(x => x.key === \"runningBalance\");\n if(keepColumn && !col){\n this.fields.push({key: 'runningBalance',class:'width_10 text-right text-nowrap',\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return {title : 'Click here to view more details'}\n }\n }\n });\n }\n else if(!keepColumn && col){\n this.fields.pop();\n }\n }\n\n onCompanyBankAccountChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:calculateRunningBalance,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:0,\n TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, NovationId:this.selectedNovationId});\n \n }\n\n loadCompanyBankAccountList()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetCompanyBankAccountsList(true).then(data => \n {\n var result = data.map(result => Object.assign({},result));\n var companyBankAaccountsList = [{ label: 'Active', options: result.filter(obj => obj.disabled == false )},\n { label: 'Deleted', options: result.filter(obj => obj.disabled == true)}];\n\n this.companyBankAccounts = companyBankAaccountsList\n this.companyBankAccounts.forEach(element => {\n if(element.label == 'Deleted'){\n var options = element.options\n options.forEach(op => {\n op.disabled = false\n });\n }\n });\n this.$store.dispatch('storeIsBusyValue',false);\n \n });\n }\n\n loadTransactionCatogoryList(){\n lookupService.GetExpenseAndOtherCategoriesIncludingNoneList().then(data => {\n this.transactionCategoryList = data;\n this.selectedTransactionCategoryList = this.transactionCategoryList;\n if(this.relatedID > 0){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,\n CalculateRunningBalance:true, CompanyBankAccountId:this.selectedCompanyBankAccount,\n TransactionDirection:0, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory,NovationId:this.selectedNovationId});\n }\n });\n }\n\n onTransactionStatusSelected(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:calculateRunningBalance,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:0, \n TransactionStatus:this.selectedTransactionStatus,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n OtherCategoryList:this.otherCategoryList,IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory,\n NovationId:this.selectedNovationId});\n }\n\n onChangeResetButton()\n {\n this.resetTable();\n this.resetButtonDisabled = false;\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(data.relatedExpenseClaimId > 0 && type == DataTableActionTypes.RowSelect){\n let route = this.$router.resolve({ name: 'View Expense Claim', params: {id: data.relatedExpenseClaimId}});\n window.open(route.href,'_blank');\n } else if(data.toNovationId > 0 && type == DataTableActionTypes.RowSelect){\n let route = this.$router.resolve({ name: 'Edit Novation', params: {novationID: data.toNovationId, topRouteDisplayName: 'relatedentitytypes', routerDisplayName: 'ledger'}});\n window.open(route.href, '_self');\n } else if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.ledgerTable as DataTable).setLastCustomAction(type);\n } else if(type == DataTableActionTypes.Cancel){\n (this.$refs.ledgerTable as DataTable).resetLastCustomAction();\n } else if(type == DataTableActionTypes.Edit){\n (this.$refs.ledgerTable as DataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:true, CompanyBankAccountId:this.selectedCompanyBankAccount, \n TransactionDirection:0, TransactionStatus:this.selectedTransactionStatus, \n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory,NovationId:this.selectedNovationId}); \n }\n else\n { \n (this.$refs.ledgerTable as DataTable).setLastCustomAction(type);\n (this.$refs.ledgerTable as DataTable).resetLastCustomAction();\n }\n }\n\n onTransactionCategoryChanged()\n {\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:calculateRunningBalance,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:0, \n TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, NovationId:this.selectedNovationId});\n this.isPanelOpen = false;\n this.resetButtonDisabled = false;\n }\n\n trClass(item, type){\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0 || item.toNovationId && item.toNovationId > 0){\n return 'tr-text-hyperlink-class';\n }\n }\n\n generateCSVReport(){\n this.generateLedgerReport(FileExtensionTypes.CSV);\n }\n\n generatePDFReport(){\n this.generateLedgerReport(FileExtensionTypes.PDF);\n }\n\n generateLedgerReport(extensionType:FileExtensionTypes){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n var params : LedgerReportGenerationFilterParams = {\n FromIndex:0,\n Count:this.perPage,\n SortBy:this.sortBy,\n SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:this.relatedID,\n Status:null,\n FromDate:from,\n ToDate:to,\n RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, \n CompanyBankAccountId:this.selectedCompanyBankAccount, \n TransactionDirection:0, \n TransactionStatus:this.selectedTransactionStatus,\n FileExtension: extensionType,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n OtherCategoryList:this.otherCategoryList,\n NovationId:this.selectedNovationId,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"LedgerReport\",params).then(response => \n {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,extensionType == FileExtensionTypes.PDF? \".pdf\" : \".csv\",true);\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n}\n","export enum CompanyConfigs{\r\n InvoicePaymentDueDays = 1,\r\n FailNotificationToAddress,\r\n MaximumOverdraftValue,\r\n ReminderWidgetDuration,\r\n ResidualDueDateNotificationOffset,\r\n PrivateBlobContainerName,\r\n ProfilePicBlobContainerName,\r\n AdministrationFeeAmount,\r\n AdministrationFeeReceiveBankAccount,\r\n RCTIToAddress,\r\n MaximumOutstandingValue,\r\n MaximumOutstandingDays,\r\n BeforeDueVehicleReminderOffsets,\r\n AfterDueVehicleReminderOffsets,\r\n ExpenseClaimActionReminderDays,\r\n BankFileNotificationToAddress,\r\n ReimbursementReminderAfterDueOffset,\r\n RepaymentReminderBeforeDueOffsets,\r\n DisplayClientPortalInfo,\r\n ClientPortalInfoText\r\n}","export enum BankAccountTypes\r\n{\r\n LeaseTransactions = 1,\r\n Commission = 2\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ledger.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ledger.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Ledger.vue?vue&type=template&id=bb44c660&scoped=true\"\nimport script from \"./Ledger.vue?vue&type=script&lang=ts\"\nexport * from \"./Ledger.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Ledger.vue?vue&type=style&index=0&id=bb44c660&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bb44c660\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-form',[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Administration Fee (incl. GST)\",\"label-for\":\"administrationAmount\"}},[_c('b-input-group',[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput textInput_adminFeeAmount\",attrs:{\"id\":\"administrationFeeAmount\",\"type\":\"text\",\"placeholder\":\"Enter Administration Fee Amount\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.administrationFeeAmount.$touch()}},model:{value:(_vm.companyConfig.administrationFeeAmount),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"administrationFeeAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.administrationFeeAmount\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.administrationFeeAmount.$dirty && _vm.$v.companyConfig.administrationFeeAmount.isDecimal && _vm.$v.companyConfig.administrationFeeAmount.isValid)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){_vm.onSaveCompanyConfig(_vm.administrationFeeAmount,\n _vm.companyConfig.administrationFeeAmount,\n _vm.$v.companyConfig.administrationFeeAmount.$dirty,\n (_vm.$v.companyConfig.administrationFeeAmount.isDecimal && _vm.$v.companyConfig.administrationFeeAmount.isValid))}}})])],1)],1)],1),(!_vm.$v.companyConfig.administrationFeeAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Administration Fee Amount\\n \")]):_vm._e(),(!_vm.$v.companyConfig.administrationFeeAmount.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Administration Fee Amount is required\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Administration Fee Receive Bank Account\",\"label-for\":\"AdministrationFeeReceiveBankAccount\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"adminFeeReceiveBankAccountSelect\",\"plain\":true,\"options\":_vm.commissionBankAccounts,\"required\":\"\"},on:{\"change\":function($event){return _vm.$v.companyConfig.administrationFeeReceiveBankAccount.$touch()}},model:{value:(_vm.companyConfig.administrationFeeReceiveBankAccount),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"administrationFeeReceiveBankAccount\", $$v)},expression:\"companyConfig.administrationFeeReceiveBankAccount\"}},[(_vm.companyConfig.administrationFeeReceiveBankAccount == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.administrationFeeReceiveBankAccount.$dirty && _vm.$v.companyConfig.administrationFeeReceiveBankAccount.isValid)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.administrationFeeReceiveBankAccount,\n _vm.companyConfig.administrationFeeReceiveBankAccount,\n _vm.$v.companyConfig.administrationFeeReceiveBankAccount.$dirty,\n _vm.$v.companyConfig.administrationFeeReceiveBankAccount.isValid)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Fail Notification To Address\",\"label-for\":\"failNotificationToAddress\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"failNotificationToAddress\",\"type\":\"text\",\"placeholder\":\"Enter Address\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.failNotificationToAddress.$touch()}},model:{value:(_vm.companyConfig.failNotificationToAddress),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"failNotificationToAddress\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.failNotificationToAddress\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.failNotificationToAddress.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.failNotificationToAddress,_vm.companyConfig.failNotificationToAddress,_vm.$v.companyConfig.failNotificationToAddress.$dirty,_vm.$v.companyConfig.failNotificationToAddress.email)}}})])],1)],1),(!_vm.$v.companyConfig.failNotificationToAddress.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid email address.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Finance Applications Invoice Payment Due Days\",\"label-for\":\"invoicePaymentDueDays\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"invoicePaymentDueDays\",\"type\":\"text\",\"placeholder\":\"Enter Due Days\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.invoicePaymentDueDays.$touch()}},model:{value:(_vm.companyConfig.invoicePaymentDueDays),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"invoicePaymentDueDays\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.invoicePaymentDueDays\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.invoicePaymentDueDays.$dirty && _vm.$v.companyConfig.invoicePaymentDueDays.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.invoicePaymentDueDays,_vm.companyConfig.invoicePaymentDueDays,_vm.$v.companyConfig.invoicePaymentDueDays.$dirty,_vm.$v.companyConfig.invoicePaymentDueDays.isDecimal)}}})])],1)],1),(!_vm.$v.companyConfig.invoicePaymentDueDays.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid payment due days\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Maximum Overdraft Value\",\"label-for\":\"maximumOverdraftValue\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"maximumOverdraftValue\",\"type\":\"text\",\"placeholder\":\"Enter Overdraft Value\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.maximumOverdraftValue.$touch()}},model:{value:(_vm.companyConfig.maximumOverdraftValue),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"maximumOverdraftValue\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.maximumOverdraftValue\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.maximumOverdraftValue.$dirty && _vm.$v.companyConfig.maximumOverdraftValue.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.maximumOverdraftValue,_vm.companyConfig.maximumOverdraftValue,_vm.$v.companyConfig.maximumOverdraftValue.$dirty,_vm.$v.companyConfig.maximumOverdraftValue.isDecimal)}}})])],1)],1),(!_vm.$v.companyConfig.maximumOverdraftValue.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid overdraft amount\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Private Blob Container Name\",\"label-for\":\"privateBlobContainerName\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"privateBlobContainerName\",\"type\":\"text\",\"placeholder\":\"Enter Container Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.privateBlobContainerName.$touch()}},model:{value:(_vm.companyConfig.privateBlobContainerName),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"privateBlobContainerName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.privateBlobContainerName\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.privateBlobContainerName.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.privateBlobContainerName,_vm.companyConfig.privateBlobContainerName,_vm.$v.companyConfig.privateBlobContainerName.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Profile Picture Blob Container Name\",\"label-for\":\"profilePicBlobContainerName\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"profilePicBlobContainerName\",\"type\":\"text\",\"placeholder\":\"Enter Container Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.profilePicBlobContainerName.$touch()}},model:{value:(_vm.companyConfig.profilePicBlobContainerName),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"profilePicBlobContainerName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.profilePicBlobContainerName\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.profilePicBlobContainerName.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.profilePicBlobContainerName,_vm.companyConfig.profilePicBlobContainerName,_vm.$v.companyConfig.profilePicBlobContainerName.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"RCTI To Address\",\"label-for\":\"rCTIToAddress\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"rCTIToAddress\",\"type\":\"text\",\"placeholder\":\"Enter RCTI Address\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.rctiToAddress.$touch()}},model:{value:(_vm.companyConfig.rctiToAddress),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"rctiToAddress\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.rctiToAddress\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.rctiToAddress.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.rCTIToAddress,_vm.companyConfig.rctiToAddress,_vm.$v.companyConfig.rctiToAddress.$dirty,_vm.$v.companyConfig.rctiToAddress.email)}}})])],1)],1),(!_vm.$v.companyConfig.rctiToAddress.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid email address.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Reminder Widget Duration\",\"label-for\":\"reminderWidgetDuration\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"reminderWidgetDuration\",\"type\":\"text\",\"placeholder\":\"Enter Duration\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.reminderWidgetDuration.$touch()}},model:{value:(_vm.companyConfig.reminderWidgetDuration),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"reminderWidgetDuration\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.reminderWidgetDuration\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.reminderWidgetDuration.$dirty && _vm.$v.companyConfig.reminderWidgetDuration.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.reminderWidgetDuration,_vm.companyConfig.reminderWidgetDuration,_vm.$v.companyConfig.reminderWidgetDuration.$dirty,_vm.$v.companyConfig.reminderWidgetDuration.isDecimal)}}})])],1)],1),(!_vm.$v.companyConfig.reminderWidgetDuration.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid duration\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Residual Due Date Notification Offset\",\"label-for\":\"residualDueDateNotificationOffset\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"residualDueDateNotificationOffset\",\"type\":\"text\",\"placeholder\":\"Enter Offset\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.residualDueDateNotificationOffset.$touch()}},model:{value:(_vm.companyConfig.residualDueDateNotificationOffset),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"residualDueDateNotificationOffset\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.residualDueDateNotificationOffset\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.residualDueDateNotificationOffset.$dirty && _vm.$v.companyConfig.residualDueDateNotificationOffset.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.residualDueDateNotificationOffset,_vm.companyConfig.residualDueDateNotificationOffset,_vm.$v.companyConfig.residualDueDateNotificationOffset.$dirty,_vm.$v.companyConfig.residualDueDateNotificationOffset.isDecimal)}}})])],1)],1),(!_vm.$v.companyConfig.residualDueDateNotificationOffset.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid due day offset\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',[_c('label',{attrs:{\"label-for\":\"maximumOutstandingValue\"}},[_vm._v(\"\\n Maximum Outstanding Value \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Specify a value to define the amount threshold an entity should be over by to report in the Outstanding Balance widget\"}})])]),_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"maximumOutstandingValue\",\"type\":\"text\",\"placeholder\":\"Enter Outstanding Value\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.maximumOutstandingValue.$touch()}},model:{value:(_vm.companyConfig.maximumOutstandingValue),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"maximumOutstandingValue\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.maximumOutstandingValue\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.maximumOutstandingValue.$dirty && _vm.$v.companyConfig.maximumOutstandingValue.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.maximumOutstandingValueConfig,_vm.companyConfig.maximumOutstandingValue,_vm.$v.companyConfig.maximumOutstandingValue.$dirty,\n _vm.$v.companyConfig.maximumOutstandingValue.isDecimal)}}})])],1)],1),(!_vm.$v.companyConfig.maximumOutstandingValue.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Outstanding Value.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',[_c('label',{attrs:{\"label-for\":\"maximumOutstandingDays\"}},[_vm._v(\"\\n Maximum Outstanding Days \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Specify a value to define the days threshold an entity's balance is over by to report in the Outstanding Balance widget\"}})])]),_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"maximumOutstandingDays\",\"type\":\"text\",\"placeholder\":\"Enter Outstanding Days\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.maximumOutstandingDays.$touch()}},model:{value:(_vm.companyConfig.maximumOutstandingDays),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"maximumOutstandingDays\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.maximumOutstandingDays\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.maximumOutstandingDays.$dirty && _vm.$v.companyConfig.maximumOutstandingDays.numeric)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.maximumOutstandingDaysConfig,_vm.companyConfig.maximumOutstandingDays,_vm.$v.companyConfig.maximumOutstandingDays.$dirty,\n _vm.$v.companyConfig.maximumOutstandingDays.numeric)}}})])],1)],1),(!_vm.$v.companyConfig.maximumOutstandingDays.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Outstanding Days.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',[_c('label',{attrs:{\"label-for\":\"beforeDueVehicleReminderOffsets\"}},[_vm._v(\"\\n Vehicle Reminder Notification Before Due Date Offsets \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Specify comma separated values(maximum 3) to define the due date offsets to send vehicle reminders before due date.\"}})])]),_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"beforeDueVehicleReminderOffsets\",\"type\":\"text\",\"placeholder\":\"Enter Due Date Offsets\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.beforeDueVehicleReminderOffsets.$touch()}},model:{value:(_vm.companyConfig.beforeDueVehicleReminderOffsets),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"beforeDueVehicleReminderOffsets\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.beforeDueVehicleReminderOffsets\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.beforeDueVehicleReminderOffsets.$dirty && _vm.$v.companyConfig.beforeDueVehicleReminderOffsets.isValid)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.beforeDueVehicleReminderOffsets,_vm.companyConfig.beforeDueVehicleReminderOffsets,_vm.$v.companyConfig.beforeDueVehicleReminderOffsets.$dirty,\n _vm.$v.companyConfig.beforeDueVehicleReminderOffsets.isValid)}}})])],1)],1),(_vm.$v.companyConfig.beforeDueVehicleReminderOffsets.$dirty && !_vm.$v.companyConfig.beforeDueVehicleReminderOffsets.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Due Date Offsets.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',[_c('label',{attrs:{\"label-for\":\"afterDueVehicleReminderOffsets\"}},[_vm._v(\"\\n Vehicle Reminder Notification After Due Date Offsets \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Specify comma separated values(maximum 3) to define the due date offsets to send vehicle reminders after due date.\"}})])]),_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"afterDueVehicleReminderOffsets\",\"type\":\"text\",\"placeholder\":\"Enter Due Date Offsets\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.afterDueVehicleReminderOffsets.$touch()}},model:{value:(_vm.companyConfig.afterDueVehicleReminderOffsets),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"afterDueVehicleReminderOffsets\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.afterDueVehicleReminderOffsets\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.afterDueVehicleReminderOffsets.$dirty && _vm.$v.companyConfig.afterDueVehicleReminderOffsets.isValid)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.afterDueVehicleReminderOffsets,_vm.companyConfig.afterDueVehicleReminderOffsets,_vm.$v.companyConfig.afterDueVehicleReminderOffsets.$dirty,\n _vm.$v.companyConfig.afterDueVehicleReminderOffsets.isValid)}}})])],1)],1),(_vm.$v.companyConfig.afterDueVehicleReminderOffsets.$dirty && !_vm.$v.companyConfig.afterDueVehicleReminderOffsets.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Due Date Offsets.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Expense Claim Action Reminder Days\",\"label-for\":\"expenseClaimActionReminderDays\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"expenseClaimActionReminderDays\",\"type\":\"text\",\"placeholder\":\"Expense Claim Action Reminder Days\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.expenseClaimActionReminderDays.$touch()}},model:{value:(_vm.companyConfig.expenseClaimActionReminderDays),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"expenseClaimActionReminderDays\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.expenseClaimActionReminderDays\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.expenseClaimActionReminderDays.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.expenseClaimActionReminderDays,_vm.companyConfig.expenseClaimActionReminderDays,_vm.$v.companyConfig.expenseClaimActionReminderDays.$dirty)}}})])],1)],1),(!_vm.$v.companyConfig.expenseClaimActionReminderDays.isPositiveInteger)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid number of days\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Bank File Notification To Address\",\"label-for\":\"bankFileNotificationToAddress\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"bankFileNotificationToAddress\",\"type\":\"text\",\"placeholder\":\"Enter Bank File Notification To Address\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.bankFileNotificationToAddress.$touch()}},model:{value:(_vm.companyConfig.bankFileNotificationToAddress),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"bankFileNotificationToAddress\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.bankFileNotificationToAddress\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.bankFileNotificationToAddress.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.bankFileNotificationToAddress,_vm.companyConfig.bankFileNotificationToAddress,_vm.$v.companyConfig.bankFileNotificationToAddress.$dirty,_vm.$v.companyConfig.bankFileNotificationToAddress.email)}}})])],1)],1),(!_vm.$v.companyConfig.bankFileNotificationToAddress.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid email address.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',[_c('label',{attrs:{\"label-for\":\"reimbursementReminderAfterDueOffset\"}},[_vm._v(\"\\n Scheduled Reimbursement Reminder After Due Date Offset \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Specify a value to define the due date offset to send reimbursement reminder after due date.\"}})])]),_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"reimbursementReminderAfterDueOffset\",\"type\":\"text\",\"placeholder\":\"Enter Due Date Offset\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.reimbursementReminderAfterDueOffset.$touch()}},model:{value:(_vm.companyConfig.reimbursementReminderAfterDueOffset),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"reimbursementReminderAfterDueOffset\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.reimbursementReminderAfterDueOffset\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.reimbursementReminderAfterDueOffset.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.reimbursementReminderAfterDueOffset,\n _vm.companyConfig.reimbursementReminderAfterDueOffset,\n _vm.$v.companyConfig.reimbursementReminderAfterDueOffset.$dirty)}}})])],1)],1),(!_vm.$v.companyConfig.reimbursementReminderAfterDueOffset.isValidPositiveInteger)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Due Date Offset.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',[_c('label',{attrs:{\"label-for\":\"repaymentReminderBeforeDueOffsets\"}},[_vm._v(\"\\n Scheduled Repayment Reminder Before Due Date Offsets \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Specify two comma separated values to define the due date offsets to send repayment reminders before due date.\"}})])]),_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"repaymentReminderBeforeDueOffsets\",\"type\":\"text\",\"placeholder\":\"Enter Due Date Offsets\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.repaymentReminderBeforeDueOffsets.$touch()}},model:{value:(_vm.companyConfig.repaymentReminderBeforeDueOffsets),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"repaymentReminderBeforeDueOffsets\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.repaymentReminderBeforeDueOffsets\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.repaymentReminderBeforeDueOffsets.$dirty && _vm.$v.companyConfig.repaymentReminderBeforeDueOffsets.isValid)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.repaymentReminderBeforeDueOffsets,\n _vm.companyConfig.repaymentReminderBeforeDueOffsets,\n _vm.$v.companyConfig.repaymentReminderBeforeDueOffsets.$dirty,\n _vm.$v.companyConfig.repaymentReminderBeforeDueOffsets.isValid)}}})])],1)],1),(_vm.$v.companyConfig.repaymentReminderBeforeDueOffsets.$dirty && !_vm.$v.companyConfig.repaymentReminderBeforeDueOffsets.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Due Date Offsets.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Display Client Portal Info\",\"label-for\":\"displayClientPortalInfo\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{'requiredField': (_vm.companyConfig.displayClientPortalInfo == null)},attrs:{\"id\":\"displayClientPortalInfo\",\"plain\":true},on:{\"change\":function($event){return _vm.$v.companyConfig.displayClientPortalInfo.$touch()}},model:{value:(_vm.companyConfig.displayClientPortalInfo),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"displayClientPortalInfo\", $$v)},expression:\"companyConfig.displayClientPortalInfo\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")]),_c('option',{domProps:{\"value\":true}},[_vm._v(\"Yes\")]),_c('option',{domProps:{\"value\":false}},[_vm._v(\"No\")])])],2),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.displayClientPortalInfo.$dirty)},attrs:{\"aria-hidden\":\"true\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.displayClientPortalInfo, _vm.companyConfig.displayClientPortalInfo, _vm.$v.companyConfig.displayClientPortalInfo.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Client Portal Info Text\",\"label-for\":\"clientPortalInfoText\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"clientPortalInfoText\",\"type\":\"text\",\"placeholder\":\"Enter Client Portal Info Text\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.companyConfig.clientPortalInfoText.$touch()}},model:{value:(_vm.companyConfig.clientPortalInfoText),callback:function ($$v) {_vm.$set(_vm.companyConfig, \"clientPortalInfoText\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"companyConfig.clientPortalInfoText\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.companyConfig.clientPortalInfoText.$dirty)},attrs:{\"aria-hidden\":\"true\"},on:{\"click\":function($event){return _vm.onSaveCompanyConfig(_vm.clie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n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Vue } from \"vue-property-decorator\";\nimport { validationMixin } from \"vuelidate\";\nimport { required, numeric, email } from \"vuelidate/lib/validators\";\nimport { CompanyConfigModel } from \"@/models/companyConfig.model\";\nimport apiService from \"@/shared/services/apiService\";\nimport dirtyValidatorService from \"@/shared/services/dirtyValidatorService\";\nimport Modal from \"@/shared/components/modal/Modal.vue\";\nimport {CompanyConfigs} from \"@/shared/enums/companyConfig.enum\";\nimport lookupService from '@/shared/services/lookupService';\nimport {BankAccountTypes} from '@/shared/enums/bankAccountTypes.enum';\n\n@Component({\n mixins: [validationMixin],\n components: {\n Modal\n },\n validations: {\n companyConfig: {\n administrationFeeAmount:{\n\n isDecimal : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n },\n\n isValid : value => \n {\n if(value === '' || value === null ){\n return false;\n } else {\n return true;\n }\n }\n },\n administrationFeeReceiveBankAccount:{\n\n isValid : value => {\n return value > 0;\n }\n },\n invoicePaymentDueDays: {\n \n isDecimal : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n failNotificationToAddress: {\n email,\n },\n maximumOverdraftValue: {\n \n isDecimal : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n privateBlobContainerName: {},\n profilePicBlobContainerName: {},\n rctiToAddress: {\n email,\n },\n reminderWidgetDuration: {\n\n isDecimal : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n residualDueDateNotificationOffset: {\n\n isDecimal : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n maximumOutstandingValue: {\n\n isDecimal : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n maximumOutstandingDays: {\n numeric\n },\n beforeDueVehicleReminderOffsets: {\n\n isValid : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n\n return /^([1-9]|[1-2]\\d|3[0-1])((,([1-9]|[1-2]\\d|3[0-1]))){0,2}$/.test(value)\n }\n },\n afterDueVehicleReminderOffsets: {\n\n isValid : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n\n return /^([1-9]|[1-2]\\d|3[0-1])((,([1-9]|[1-2]\\d|3[0-1]))){0,2}$/.test(value)\n }\n },\n expenseClaimActionReminderDays: {\n \n isPositiveInteger: value =>\n {\n if(value > 0 && value % 1 == 0){\n return true;\n }\n\n return false;\n }\n },\n bankFileNotificationToAddress: {\n email\n },\n insuranceReimbursementReminderDays: {\n \n isPositiveInteger: value =>\n {\n if(value > 0 && value % 1 == 0){\n return true;\n }\n\n return false;\n }\n },\n reimbursementReminderAfterDueOffset: {\n \n isValidPositiveInteger: value =>\n {\n if(value > 0 && value % 1 == 0 && value <= 30){\n return true;\n }\n\n return false;\n }\n },\n repaymentReminderBeforeDueOffsets: {\n\n isValid : value =>\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n\n return /^([1-9]|[1-2]\\d|3[0-1])((,([1-9]|[1-2]\\d|3[0-1]))){1}$/.test(value)\n }\n },\n displayClientPortalInfo:{},\n clientPortalInfoText:{}\n },\n }\n})\nexport default class CompanyConfig extends Vue {\n companyConfig:CompanyConfigModel = {\n administrationFeeAmount:\"\",\n administrationFeeReceiveBankAccount:null,\n failNotificationToAddress: \"\",\n invoicePaymentDueDays: \"\",\n maximumOverdraftValue: \"\",\n privateBlobContainerName: \"\",\n profilePicBlobContainerName: \"\",\n rctiToAddress: \"\",\n reminderWidgetDuration: \"\",\n residualDueDateNotificationOffset: \"\",\n maximumOutstandingValue: \"\",\n maximumOutstandingDays: \"\",\n beforeDueVehicleReminderOffsets: \"\",\n afterDueVehicleReminderOffsets: \"\",\n expenseClaimActionReminderDays: \"\",\n bankFileNotificationToAddress: \"\",\n insuranceReimbursementReminderDays: \"\",\n insuranceRepaymentFirstReminderDays: \"\",\n insuranceRepaymentSecondReminderDays: \"\",\n displayClientPortalInfo: null,\n clientPortalInfo: \"\"\n }\n\n dirtyValidatorRefNo: number = 0;\n dirtyValidationConfirmation: boolean = false;\n commissionBankAccounts:any[] = [];\n\n invoicePaymentDueDays:CompanyConfigs = CompanyConfigs.InvoicePaymentDueDays;\n failNotificationToAddress:CompanyConfigs = CompanyConfigs.FailNotificationToAddress;\n maximumOverdraftValue:CompanyConfigs = CompanyConfigs.MaximumOverdraftValue;\n reminderWidgetDuration:CompanyConfigs = CompanyConfigs.ReminderWidgetDuration;\n residualDueDateNotificationOffset:CompanyConfigs = CompanyConfigs.ResidualDueDateNotificationOffset;\n privateBlobContainerName:CompanyConfigs = CompanyConfigs.PrivateBlobContainerName;\n profilePicBlobContainerName:CompanyConfigs = CompanyConfigs.ProfilePicBlobContainerName;\n administrationFeeAmount:CompanyConfigs = CompanyConfigs.AdministrationFeeAmount;\n administrationFeeReceiveBankAccount:CompanyConfigs = CompanyConfigs.AdministrationFeeReceiveBankAccount;\n rCTIToAddress:CompanyConfigs = CompanyConfigs.RCTIToAddress;\n maximumOutstandingValueConfig: CompanyConfigs = CompanyConfigs.MaximumOutstandingValue;\n maximumOutstandingDaysConfig: CompanyConfigs = CompanyConfigs.MaximumOutstandingDays;\n beforeDueVehicleReminderOffsets: CompanyConfigs = CompanyConfigs.BeforeDueVehicleReminderOffsets;\n afterDueVehicleReminderOffsets: CompanyConfigs = CompanyConfigs.AfterDueVehicleReminderOffsets;\n expenseClaimActionReminderDays: CompanyConfigs = CompanyConfigs.ExpenseClaimActionReminderDays;\n bankFileNotificationToAddress: CompanyConfigs = CompanyConfigs.BankFileNotificationToAddress;\n reimbursementReminderAfterDueOffset: CompanyConfigs = CompanyConfigs.ReimbursementReminderAfterDueOffset;\n repaymentReminderBeforeDueOffsets: CompanyConfigs = CompanyConfigs.RepaymentReminderBeforeDueOffsets;\n displayClientPortalInfo: CompanyConfigs = CompanyConfigs.DisplayClientPortalInfo;\n clientPortalInfoText: CompanyConfigs = CompanyConfigs.ClientPortalInfoText;\n\n created() {\n this.loadCompanyConfigDetails();\n this.loadCompanyBankAccountList();\n }\n\n loadCompanyConfigDetails() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendGetRequest(\"Company\", \"CompanyConfigs\",{}).then(response => {\n if (response.data) {\n this.companyConfig = response.data;\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel( this.dirtyValidatorRefNo,this.companyConfig);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n \n loadCompanyBankAccountList()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetCompanyBankAccountsList().then(data => \n {\n this.commissionBankAccounts = data.filter(obj => obj.type == BankAccountTypes.Commission);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onSaveCompanyConfig(companySettingType:CompanyConfigs, value:any, isDirty:boolean, isValid:boolean = true){\n if(isDirty && isValid){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n companySettingType: companySettingType,\n Value: value\n }\n apiService.sendPostRequest('Company','CompanyConfig',params).then(\n response => {\n if(response.data.isSuccess){\n this.$v.companyConfig.$reset();\n dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo, this.companyConfig);\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n }\n\n isModelDirty() {\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n @Emit(\"dirtyValidatorNoSet\") dirtyValidatorNoSet(refNo: number) {}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanyConfig.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanyConfig.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CompanyConfig.vue?vue&type=template&id=3de0c9a0&scoped=true\"\nimport script from \"./CompanyConfig.vue?vue&type=script&lang=ts\"\nexport * from \"./CompanyConfig.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CompanyConfig.vue?vue&type=style&index=0&id=3de0c9a0&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3de0c9a0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",staticClass:\"responsive-search \",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pb-2 pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),(!_vm.ClientMode)?_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",class:[(_vm.relatedTable == _vm.companyRelatedTable)?'col-lg-1':'col-lg-2'],attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"1\",\"cols\":\"12\"}},[(!_vm.ClientMode)?_c('b-form-select',{staticClass:\"textInput indentedTextInput account-filter selectListHeight\",attrs:{\"id\":\"transactionStatusSelectList\",\"plain\":true,\"options\":_vm.transactionStatusList,\"required\":\"\"},on:{\"input\":_vm.onTransactionStatusSelected},model:{value:(_vm.selectedTransactionStatus),callback:function ($$v) {_vm.selectedTransactionStatus=$$v},expression:\"selectedTransactionStatus\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"All\")])])],2):_vm._e()],1):_vm._e(),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"catagorySelectList\"}},[_c('multiselect',{ref:\"multiselect\",attrs:{\"id\":\"catogorySelect\",\"options\":_vm.transactionCategoryList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onTransactionCategoryChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(_vm._s(_vm.transactionCategoryList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Category\" : \"Categories\")+\"\\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedTransactionCategoryList),callback:function ($$v) {_vm.selectedTransactionCategoryList=$$v},expression:\"selectedTransactionCategoryList\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]),_c('b-dropdown',{staticClass:\"mb-3 ml-3\",attrs:{\"id\":\"generateReportCsv\",\"text\":\"Export As\",\"disabled\":!_vm.items || _vm.items.length <= 0}},[_c('b-dropdown-item',{on:{\"click\":_vm.generateCSVReport}},[_vm._v(\"CSV\")])],1)],1)],1),(_vm.items.length > 0)?_c('SystemTextNotes',{attrs:{\"boldText\":\"Filtered GST Ledger Balance :\",\"amount\":_vm.currentBalance,\"isDecimalValue\":true}}):_vm._e(),_c('div',[_c('DataTable',{ref:\"ledgerTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.initialPerPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"trClass\":_vm.trClass,\"showPerPageResizer\":true,\"select-mode\":\"single\",\"selectable\":true,\"showEmptyBanner\":\"false\",\"emptyBanner\":\"No GST ledger details to display.\",\"customTemplateSlots\":['credit', 'debit', 'runningBalance']},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent},scopedSlots:_vm._u([{key:\"credit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getCreditValue(slotProps.item.transactionDirection, slotProps.item.gstOnExpenses),\"defaultReturnValue\":'-'}})]}},{key:\"debit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getDebitValue(slotProps.item.transactionDirection, slotProps.item.gstOnExpenses),\"defaultReturnValue\":'-'}})]}},{key:\"runningBalance\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.runningBalance,\"defaultReturnValue\":'-'}})]}}])})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport AppSettings from '@/app.config'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport { GSTLedgerTableFilterParams } from '@/models/tableFilterParams.model';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport {TransactionDirection, TransactionStatus} from '@/shared/enums/transaction.enum'\nimport moment from 'moment'\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport lookupService from '@/shared/services/lookupService'\nimport ReferenceCustomHeader from '@/shared/components/customTableHeaders/ReferenceCustomHeader.vue';\nimport UpcomingLeasePaymentRecord from './UpcomingLeasePaymentRecord.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport { ActivityStatementCategoryTypes } from '@/shared/enums/activityStatementCategoryTypes.enum';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n@Component(\n {\n components: {\n DataTable,\n FilterTextInput,\n ReferenceCustomHeader,\n UpcomingLeasePaymentRecord,\n SystemTextNotes\n }\n }\n)\n\nexport default class Ledger extends Vue{\n @Prop() relatedID:number;\n @Prop() relatedTable:RelatedTables;\n items:any = [];\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n fields:any = [\n {key: 'date',class:'width_10',\n formatter: (value, key, item) => {\n return moment(item.date).format(\"DD MMM YYYY\")\n }\n },\n {key: 'clientName', label:'Client Name',class:'width_15'},\n {key: 'vehicleName', label:'Vehicle',class:'width_15'},\n {key: 'description', label:'Description',class:'width_15'},\n {key: 'reference',class:'width_15', label:'Reference'},\n {key: 'category',class:'width_15', label:'Category'},\n {key: 'status',class:'width_10 text-right text-nowrap', label:\"Status\"},\n {key: 'credit',class:'width_10 text-right'},\n {key: 'debit',class:'width_10 text-right'},\n {key: 'runningBalance',class:'width_10'}\n ];\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n initialPerPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"date\";\n filter:string = \"\";\n sortDesc:boolean = true; \n showEmptyBanner:boolean = false;\n fromDate:any = null;\n toDate:any = new Date();\n availableBalance:number = 0;\n currentBalance:number = 0;\n disabledFromDates:any ={};\n disabledToDates:any ={};\n companyBankAccounts:any[] = [{text:'All Bank Accounts', value:0}];\n selectedCompanyBankAccount:number = 0;\n selectedTransactionStatus:number = 0;\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n vehicleRelatedTable:RelatedTables = RelatedTables.Vehicle;\n transactionStatusList:any[] = [];\n ClientMode:boolean = false;\n transactionCategoryList:any = [];\n selectedTransactionCategoryList:any = [];\n isPanelOpen:boolean = false;\n resetButtonDisabled:boolean = true;\n\n @Watch('relatedID')\n onRelatedIDChanged(val: any, oldVal: any)\n { \n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:this.fromDate,ToDate: this.toDate.getTime(), \n RelatedTable:this.relatedTable,CalculateRunningBalance:calculateRunningBalance, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList, \n RevenueCategoryList:this.revenueCategoryList}); \n }\n\n created(){\n lookupService.GetTransactionStatusList().then(res => {\n this.transactionStatusList = res;\n })\n var initialDate = (new Date()).getTime()\n this.loadTransactionCatogoryList(initialDate);\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number, perPageSize:number){\n this.perPage = perPageSize;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList, \n RevenueCategoryList:this.revenueCategoryList});\n }\n\n removeSelectedList(){\n this.selectedTransactionCategoryList = [];\n if(!this.isPanelOpen){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true, SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:true, TransactionStatus:this.selectedTransactionStatus,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n OtherCategoryList:this.otherCategoryList,RevenueCategoryList:this.revenueCategoryList});\n }\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,\n CalculateRunningBalance:false, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList});\n }\n }\n\n get expenseCalimCategoryList(){\n return this.selectedTransactionCategoryList.filter(obj => obj.type == ActivityStatementCategoryTypes.Expense)\n .map(a => a.category); \n }\n\n get otherCategoryList(){\n return this.selectedTransactionCategoryList.filter(obj => obj.type == ActivityStatementCategoryTypes.Other)\n .map(a => a.category);\n }\n\n get revenueCategoryList() {\n return this.selectedTransactionCategoryList.filter(obj => obj.type == ActivityStatementCategoryTypes.Revenue)\n .map(a => a.category);\n }\n\n get searchByString(){\n return this.filter.length>2?this.filter:\"\"\n }\n\n refreshGrid(tableFilterParams:GSTLedgerTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"GSTLedgerRecordsList\",tableFilterParams).then(response =>{\n this.availableBalance = response.data.availableBalance;\n this.currentBalance = response.data.currentBalance;\n this.items = response.data.filterResults.resultDto;\n if(this.ClientMode)\n {\n response.data.filterResults.resultDto.forEach(element => {\n if(element.transactionStatus == TransactionStatus.New)\n {\n element._rowVariant = 'new-transaction-row';\n }\n }); \n }\n this.totalRows = response.data.filterResults.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n refreshAndReset(id:number){\n this.resetTable();\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n resetFilters(){\n this.filter = '';\n this.resetTable();\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.fromDate = null;\n this.toDate = new Date();\n this.selectedTransactionStatus = 0; \n this.selectedTransactionCategoryList = this.transactionCategoryList ;\n this.resetButtonDisabled = true;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:this.fromDate,ToDate:this.toDate.getTime(),\n RelatedTable:this.relatedTable,CalculateRunningBalance:true, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList}); \n }\n\n filterGrid(filterString:string){\n this.resetTable();\n this.filter = filterString;\n this.resetButtonDisabled = false;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList});\n }\n\n resetTable(){\n this.sortBy = \"date\";\n (this.$refs.ledgerTable as DataTable).reset(true);\n }\n\n getCreditValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Credit ? amount : null;\n }\n\n getDebitValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Debit ? amount : null;\n }\n\n dateChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.resetTable();\n this.resetButtonDisabled = false;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList});\n }\n\n fromDateChanged(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n this.dateChanged();\n }\n\n toDateChanged(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n this.dateChanged();\n }\n\n checkToCalculateRunningBalance(){\n if(fieldValidations.isValidDate(this.fromDate) || \n fieldValidations.isValidDate(this.toDate) || \n fieldValidations.isValidText(this.filter) ||\n this.selectedTransactionStatus > 0 || \n this.transactionCategoryList.length != this.selectedTransactionCategoryList.length){\n return false;\n }\n return true;\n }\n\n manageRunningBalanceColumn(keepColumn:boolean){\n var col = this.fields.find(x => x.key === \"runningBalance\");\n if(keepColumn && !col){\n this.fields.push({key: 'runningBalance',class:'width_10 text-right text-nowrap',\n tdAttr: (value, key, item) => {\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0){\n return {title : 'Click here to view more details'}\n }\n }\n });\n }\n else if(!keepColumn && col){\n this.fields.pop();\n }\n }\n\n loadTransactionCatogoryList(initialDate:any){\n lookupService.GetGSTLedgerCategories().then(data => {\n this.transactionCategoryList = data;\n this.selectedTransactionCategoryList = this.transactionCategoryList;\n if(this.relatedID > 0){\n var calculateRunningBalance = this.checkToCalculateRunningBalance();\n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:this.fromDate,ToDate:initialDate,\n RelatedTable:this.relatedTable,CalculateRunningBalance:calculateRunningBalance, \n TransactionStatus:this.selectedTransactionStatus,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n OtherCategoryList:this.otherCategoryList,RevenueCategoryList:this.revenueCategoryList});\n }\n });\n }\n\n onTransactionStatusSelected(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.resetTable();\n this.resetButtonDisabled = false;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList});\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(data.categoryTypeId == ActivityStatementCategoryTypes.Revenue) {\n return;\n }\n \n if(data.vehicleId > 0 && type == DataTableActionTypes.RowSelect){ \n this.$store.dispatch('storeLedgerFilterVehicleId',data.vehicleId); \n this.$store.dispatch('storeLedgerFilterDate',data.date); \n this.$store.dispatch('storeLedgerFilterReference',data.reference); \n this.$router.push({name:'Edit Vehicle', params:{vehicleID:data.vehicleId.toString(), topRouteDisplayName:'vehicles', routerDisplayName: 'ledger'}});\n\n }\n else\n { \n (this.$refs.ledgerTable as DataTable).setLastCustomAction(type);\n (this.$refs.ledgerTable as DataTable).resetLastCustomAction();\n }\n }\n\n onTransactionCategoryChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n this.manageRunningBalanceColumn(calculateRunningBalance);\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.searchByString,\n RelatedId:this.relatedID,Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance,TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,OtherCategoryList:this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList});\n this.isPanelOpen = false;\n this.resetButtonDisabled = false;\n }\n\n generateCSVReport(){\n this.$store.dispatch('storeIsBusyValue',true);\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var calculateRunningBalance = this.checkToCalculateRunningBalance(); \n var params = {\n FromIndex:0,\n Count:this.perPage,\n SortBy:\"date\",\n SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:this.relatedID,\n Status:null,\n FromDate:from,\n ToDate:to,\n RelatedTable:this.relatedTable,\n CalculateRunningBalance:calculateRunningBalance, \n TransactionStatus:this.selectedTransactionStatus,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n OtherCategoryList:this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList\n };\n \n apiService.sendGetRequest(\"Finance\",\"GSTLedgerReport\",params).then(response => \n {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n trClass(item, type){\n if(item.relatedExpenseClaimId && item.relatedExpenseClaimId > 0){\n return 'tr-text-hyperlink-class';\n }\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GSTLedger.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GSTLedger.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./GSTLedger.vue?vue&type=template&id=400e68e0&scoped=true\"\nimport script from \"./GSTLedger.vue?vue&type=script&lang=ts\"\nexport * from \"./GSTLedger.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GSTLedger.vue?vue&type=style&index=0&id=400e68e0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"400e68e0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showAddSignatoryPanel)?_c('div',[_c('AddEditSignatory',{attrs:{\"modalMode\":_vm.modalMode,\"isReadOnlyMode\":_vm.isReadOnlyMode,\"originalSignatory\":_vm.signatory},on:{\"onSignatoryAdded\":_vm.createSignatory,\"onSignatoryUpdated\":_vm.updateSignatory,\"onOkayToCancel\":_vm.closeAddSignatoryPanel,\"dirtyValidatorNoSet\":_vm.dirtyValidatorNoSet}})],1):_vm._e(),(!_vm.showAddSignatoryPanel)?_c('div',[(!_vm.modalMode && !_vm.isReadOnlyMode)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.showAddSignatoryPanel},on:{\"click\":_vm.onAddSignatory}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Signatory\\n \")])],1)],1):_vm._e(),_c('DataTable',{ref:\"signatoriesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"hidePaginator\":_vm.hidePaginator,\"modalMode\":_vm.modalMode,\"showEmptyBanner\":\"true\",\"selectable\":!_vm.modalMode,\"emptyBanner\":\"No signatory details to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelSignatoryConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelSignatoryConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelSignatoryConf_OkButton\"},on:{\"click\":_vm.closeAddSignatoryPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":_vm.modalMode?12:8,\"lg\":_vm.modalMode?12:8}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.signatory.signatoryName.$error },attrs:{\"label\":\"Signatory Name\",\"label-for\":\"signatoryName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'form-group--error': (_vm.$v.signatory.signatoryName.$error), 'requiredField': (!_vm.signatory.signatoryName || _vm.signatory.signatoryName == '')},attrs:{\"id\":\"signatoryName\",\"type\":\"text\",\"placeholder\":\"Enter Signatory Name\",\"required\":\"\",\"disabled\":_vm.isReadOnlyMode},on:{\"input\":function($event){return _vm.$v.signatory.signatoryName.$touch()}},model:{value:(_vm.signatory.signatoryName),callback:function ($$v) {_vm.$set(_vm.signatory, \"signatoryName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"signatory.signatoryName\"}}),(_vm.$v.signatory.signatoryName.$dirty && !_vm.$v.signatory.signatoryName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Signatory Name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.signatory.signatoryEmail.$error },attrs:{\"label\":\"Signatory Email\",\"label-for\":\"signatoryEmail\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'form-group--error': (_vm.$v.signatory.signatoryEmail.$error), 'requiredField': ( !_vm.signatory.signatoryEmail || _vm.signatory.signatoryEmail == '' )},attrs:{\"id\":\"signatoryEmail\",\"type\":\"text\",\"placeholder\":\"Enter Signatory Email\",\"required\":\"\",\"disabled\":_vm.isReadOnlyMode},on:{\"input\":function($event){return _vm.$v.signatory.signatoryEmail.$touch()}},model:{value:(_vm.signatory.signatoryEmail),callback:function ($$v) {_vm.$set(_vm.signatory, \"signatoryEmail\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"signatory.signatoryEmail\"}}),(_vm.$v.signatory.signatoryEmail.$dirty && !_vm.$v.signatory.signatoryEmail.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Signatory Email is required.\\n \")]):_vm._e(),(_vm.$v.signatory.signatoryEmail.$dirty && !_vm.$v.signatory.signatoryEmail.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Email Address.\\n \")]):_vm._e()],1)],1)],1),_c('div',[(!_vm.isReadOnlyMode)?_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.isModelInvalid() || !_vm.isModelDirty())}},[_vm._v(\" \"+_vm._s(_vm.signatory.id > 0 ? 'Update' : 'Save'))]):_vm._e(),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { validationMixin } from 'vuelidate';\nimport { required, email } from 'vuelidate/lib/validators';\nimport apiService from '@/shared/services/apiService';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { Signatory } from '@/models/signatory.model';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n Modal\n },\n validations:{\n signatory:{\n signatoryName:{\n required,\n },\n signatoryEmail:{\n required,\n email,\n },\n }\n }\n }\n)\nexport default class AddEditSignatory extends Vue{\n @Prop() modalMode:boolean;\n @Prop() originalSignatory:any;\n @Prop({default:false}) isReadOnlyMode:boolean;\n signatory:Signatory = {\n id:0,\n signatoryName: \"\",\n signatoryEmail: \"\",\n };\n dirtyValidatorRefNo:number = 0;\n showCancelConfirmation:boolean = false;\n\n created(){}\n\n mounted(){\n if(this.originalSignatory && this.originalSignatory.id > 0){\n this.signatory = Object.assign({}, this.originalSignatory);\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo, this.signatory);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n\n onSubmit(){\n if(this.signatory.id > 0){\n this.updateSignatory();\n }\n else{\n this.createSignatory();\n } \n }\n\n createSignatory(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Signatory','Signatory', this.signatory).then(\n response => {\n if(response.data.isSuccess){\n this.signatory.id = response.data.id;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.onSignatoryAdded(this.signatory);\n this.closeAddSignatoryPanel();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n updateSignatory(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('Signatory','Signatory',this.signatory).then(\n response => {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.onSignatoryUpdated(this.signatory);\n this.closeAddSignatoryPanel();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.showCancelConfirmation = true;\n }\n else{\n this.closeAddSignatoryPanel();\n }\n }\n\n closeAddSignatoryPanel(){\n this.showCancelConfirmation = false;\n this.$v.signatory.$reset();\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.onOkayToCancel();\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n isModelInvalid()\n {\n return this.$v.signatory.signatoryName.$invalid || this.$v.signatory.signatoryEmail.$invalid;\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n\n @Emit('onSignatoryAdded') onSignatoryAdded(s:any){}\n\n @Emit('onSignatoryUpdated') onSignatoryUpdated(s:any){}\n\n @Emit('onOkayToCancel') onOkayToCancel(){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditSignatory.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditSignatory.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditSignatory.vue?vue&type=template&id=51bf4812&scoped=true\"\nimport script from \"./AddEditSignatory.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditSignatory.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditSignatory.vue?vue&type=style&index=0&id=51bf4812&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"51bf4812\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteSignatoryConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteSignatoryConf\"},on:{\"ok\":_vm.deleteSignatory}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Signatory\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the signatory?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteSignatoryConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteSignatoryConf_OkButton\"},on:{\"click\":_vm.deleteSignatory}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.modalMode)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Signatory\"},on:{\"click\":_vm.onDeleteSignatoryClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component(\n {\n components: {\n Modal\n } \n }\n)\nexport default class SignatoriesListActionButtons extends Vue {\n @Prop() item:any\n @Prop() modalMode:boolean\n showDeleteSignatoryConfirmation = false;\n\n onCloseDelete()\n {\n this.showDeleteSignatoryConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n onDeleteSignatoryClick()\n {\n this.showDeleteSignatoryConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n deleteSignatory(){\n this.showDeleteSignatoryConfirmation = false;\n this.onDeleteSignatory(this.item, DataTableActionTypes.Delete); \n }\n\n @Emit('customEvent') onDeleteSignatory(id:number,type:DataTableActionTypes){}\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){} \n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignatoriesListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignatoriesListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SignatoriesListActionButtons.vue?vue&type=template&id=94680808&scoped=true\"\nimport script from \"./SignatoriesListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./SignatoriesListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SignatoriesListActionButtons.vue?vue&type=style&index=0&id=94680808&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"94680808\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport AddEditSignatory from '@/components/admin/signatories/AddEditSignatory.vue';\nimport { DatatableField } from '@/models/datatableField.model';\nimport SignatoriesListActionButtons from '@/components/admin/signatories/SignatoriesListActionButtons.vue';\nimport { Signatory } from '@/models/signatory.model';\n\n@Component(\n {\n components: {\n DataTable,\n Modal,\n AddEditSignatory,\n }\n }\n)\nexport default class Signatories extends Vue{\n @Prop() modalMode:boolean;\n @Prop({default:false}) isReadOnlyMode:boolean;\n initialSignatory:Signatory = {\n id: 0,\n signatoryName: \"\",\n signatoryEmail: \"\",\n };\n signatory:Signatory = Object.assign({}, this.initialSignatory);\n items:any = [];\n showAddSignatoryPanel:boolean = false;\n dirtyValidatorRefNo:number = 0;\n hidePaginator:boolean = true;\n fields: DatatableField[] = [\n {key: 'signatoryName', label:\"Signatory Name\", class: 'width_40'},\n {key: 'signatoryEmail', label:\"Signatory Email\"}, \n ];\n customTemplateList:Array = [];\n showCancelConfirmation:boolean = false;\n\n created(){\n if(!this.isReadOnlyMode){\n this.fields.push({key: 'actions',label:\"\",class:'text-right'});\n this.customTemplateList.push({slot:\"actions\",customTemplate:SignatoriesListActionButtons});\n }\n\n this.loadSignatoriesList(); \n }\n\n onDeleteSignatory(data:any){\n this.$store.dispatch('storeIsBusyValue', true);\n apiService.sendDeleteRequest(\"Signatory\",\"Signatory\", {id: data.id}).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n if(this.signatory.id == data.id){\n this.closeAddSignatoryPanel();\n }\n this.loadSignatoriesList();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.signatoriesTable as DataTable).resetLastCustomAction();\n }\n ) \n }\n\n createSignatory(createdSignatory:any){\n this.items.push(Object.assign({}, createdSignatory));\n this.closeAddSignatoryPanel();\n }\n\n updateSignatory(updatedSignatory) {\n const index = this.items.findIndex(item => item.id === updatedSignatory.id);\n if (index >= 0) {\n this.items.splice(index, 1, updatedSignatory);\n this.closeAddSignatoryPanel();\n }\n }\n\n closeAddSignatoryPanel(){\n this.signatory = Object.assign({}, this.initialSignatory);\n this.showAddSignatoryPanel = false;\n }\n\n loadSignatoriesList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Signatory','Signatory').then(\n response => {\n this.items = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onEditSignatory(data:Signatory){\n this.signatory = data;\n this.showAddSignatoryPanel = true;\n }\n\n onAddSignatory(){\n this.signatory = Object.assign({}, this.initialSignatory);\n this.showAddSignatoryPanel = true;\n }\n\n onCustomDataTableEvent(data:any, type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.signatoriesTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.signatoriesTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onDeleteSignatory(data);\n }\n else if(type == DataTableActionTypes.RowSelect){\n this.onEditSignatory(data);\n }\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signatories.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signatories.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Signatories.vue?vue&type=template&id=793089c1&scoped=true\"\nimport script from \"./Signatories.vue?vue&type=script&lang=ts\"\nexport * from \"./Signatories.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Signatories.vue?vue&type=style&index=0&id=793089c1&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"793089c1\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport { Component, Prop, Emit } from 'vue-property-decorator';\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport EditCompanyDetails from './EditCompanyDetails.vue';\nimport Addresses from '@/components/admin/address/Addresses.vue'\nimport BankAccounts from '@/components/admin/bankAccount/BankAccounts.vue'\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport apiService from '@/shared/services/apiService'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport Ledger from '@/components/admin/finance/Ledger.vue';\nimport BPayAccounts from '@/components/admin/bpayAccount/BPayAccounts.vue';\nimport CompanyConfig from '@/components/admin/companyDetails/CompanyConfig.vue';\nimport GSTLedger from '@/components/admin/finance/GSTLedger.vue';\nimport Signatories from '@/components/admin/signatories/Signatories.vue';\n\n@Component(\n {\n components:{\n Tabs,\n Tab,\n EditCompanyDetails,\n Addresses,\n BankAccounts,\n Modal,\n Ledger,\n BPayAccounts,\n CompanyConfig,\n GSTLedger,\n Signatories,\n }\n }\n)\nexport default class CompanyDetails extends Vue{\n dirtyValidationRefNumbers:number[] =[0,0,0,0,0,0,0];\n dirtyValidationConfirmation:boolean = false;\n selectedTabRouteName:string = \"\";\n companyID:number = 0;\n relatedTable:number;\n created()\n {\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n this.relatedTable = RelatedTables.Company;\n this.loadCompanyDetails();\n }\n\n routerNavigateBack()\n {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]) || \n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[1]) ||\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[2]) ||\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[3]) ||\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[5]) ||\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[7])\n ){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.navigateBack();\n }\n }\n\n loadCompanyDetails()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Company','Company').then(response=>{\n if(response.data){ \n this.companyID = response.data.id;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n detailsTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[0] = refNo;\n }\n\n addressTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n }\n\n bankTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[2] = refNo;\n }\n\n bPayAccountTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[3] = refNo;\n }\n\n companyConfigTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[5] = refNo;\n }\n signatoryTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[7] = refNo;\n }\n \n navigateBack(){\n this.$router.push({name:'Dashboard'});\n }\n onIdUpdated(id:number){\n this.companyID = id;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanyDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanyDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CompanyDetails.vue?vue&type=template&id=b3a7c2ca\"\nimport script from \"./CompanyDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./CompanyDetails.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showSetBrokerageReceivedDateModal)?_c('Modal',{attrs:{\"minHeight\":\"365px\",\"maxWidth\":\"400px\",\"centered\":\"\",\"id\":\"BrokerageReceivedDateModalConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Set Brokerage Received Date \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"lg\":\"12\",\"md\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Brokerage Received Date'},on:{\"input\":function($event){return _vm.$v.selectedBrokerageReceivedDate.$touch()}},model:{value:(_vm.selectedBrokerageReceivedDate),callback:function ($$v) {_vm.selectedBrokerageReceivedDate=$$v},expression:\"selectedBrokerageReceivedDate\"}}),(_vm.$v.selectedBrokerageReceivedDate.$dirty && !_vm.$v.selectedBrokerageReceivedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Brokerage Received date is required.\\n \")]):_vm._e()],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"BrokerageReceivedDateModalConf_CancelButton\"},on:{\"click\":function($event){_vm.showSetBrokerageReceivedDateModal = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":_vm.brokerageReceivedDateInValid(),\"id\":\"BrokerageReceivedDateModalConf_OkButton\"},on:{\"click\":_vm.setBrokerageReceivedDate}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\" Finance Application - \"+_vm._s(_vm.clientName)+\" \"+_vm._s((this.$store.getters.getFinanceApplicationApplicationName != null && this.$store.getters.getFinanceApplicationApplicationName != undefined)?('- ' + this.$store.getters.getFinanceApplicationApplicationName):''))]),_c('span',{staticClass:\"traffic-light\"},[_c('div',{staticClass:\"traffic-light-indicator\",class:[(_vm.isFinanceApplicationMandatoryFieldsFilled)?'backgroundSuccess':'backgroundAmber'],attrs:{\"title\":_vm.isFinanceApplicationMandatoryFieldsFilled?'All the mandatory fields are filled':'Some mandatory fields are missing'}})]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Applications\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('b-row',[_c('b-col',{staticClass:\"infoCol\",attrs:{\"sm\":\"12\",\"lg\":\"6\",\"md\":\"12\",\"xl\":\"6\"}},[_c('b-row',[_c('span',[_c('b',[_vm._v(\"Current Status: \")]),_vm._v(\" \"+_vm._s(_vm.stepNames[this.$store.getters.getFinanceApplicationStatus-1])+\"\\n \")])]),_c('b-row',[_c('span',[_c('b',[_vm._v(\"Selected Step: \")]),_vm._v(\" \"+_vm._s(_vm.selectedStep)+\"\\n \")])]),_c('b-row',[_c('span',[_c('b',[_vm._v(\"Total amount invoiced: \")]),_c('ApexCurrency',{attrs:{\"value\":this.$store.getters.getFinanceApplicationTotalInvoiceAmount}})],1)]),_c('b-row',[_c('span',[_c('b',[_vm._v(\"Brokerage Received Date: \")]),_vm._v(\" \"+_vm._s(_vm._f(\"ApexDateFormat\")(this.$store.getters.getFinanceApplicationBrokerageReceivedDate))+\"  \\n \"),(_vm.showSetBrokerageReceivedDate())?_c('i',{staticClass:\"fas fa-edit cursor-pointer\",attrs:{\"title\":\"Set Brokerage Received Date\",\"aria-hidden\":\"true\"},on:{\"click\":function($event){_vm.showSetBrokerageReceivedDateModal = true}}}):_vm._e()])])],1),_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"6\",\"xl\":\"6\"}},[_c('b-row',{staticClass:\"float-right mr-1 mb-2\"},[_c('InvoiceList',{staticClass:\"mr-2\",attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":this.$store.getters.getFinanceApplicationID,\"errorMessageOnNoRelatedID\":'Please save the application to add invoices'}}),_c('Notes',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":this.$store.getters.getFinanceApplicationID,\"isReadOnly\":false,\"buttonType\":_vm.buttonType,\"useStore\":false,\"addToolTip\":\"Please save the application to add notes\",\"modalTitle\":'Finance Application Notes'}}),_c('DocumentUploader',{staticClass:\"mr-2\",attrs:{\"relatedTable\":_vm.relatedTable,\"addToolTip\":\"Please save the application to add documents\",\"relatedID\":this.$store.getters.getFinanceApplicationID,\"isReadOnly\":false,\"modalTitle\":\"Finance Application Documents\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"acceptedFileTypes\":\"*\"}}),(this.$store.getters.getFinanceApplicationARN != null)?_c('div',[_c('b-button',{staticClass:\"primary mr-2\",attrs:{\"id\":\"downloadApplication\",\"type\":\"button\",\"size\":\"md\",\"title\":\"Client Finance Application - Original Document\"},on:{\"click\":function($event){return _vm.downloadApplication()}}},[_c('span',[_c('i',{staticClass:\"fas fa-file-download\",attrs:{\"aria-hidden\":\"true\"}})])])],1):_vm._e()],1),(this.$store.getters.getFinanceApplicationARN != null)?_c('SystemTextNotes',{staticClass:\"systemTextNote\",attrs:{\"boldText\":\"Note:\",\"text1\":\"Some fields have been automatically populated from the CFA document.\",\"isDecimalValue\":false}}):_vm._e()],1)],1),(_vm.showWizard)?_c('Wizard',{ref:\"financeApplicationWizard\",attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":\"initialDetails\",\"routeName\":\"Edit Finance Application\",\"disableSave\":_vm.disableSave,\"validateToComplete\":true,\"applicationType\":_vm.financeApplication,\"applicationStatus\":this.$store.getters.getFinanceApplicationStatus,\"wizardClass\":_vm.isFinanceOnlyApplication()? 'finance-only-wizard' :'finance-wizard'},on:{\"onComplete\":_vm.onComplete,\"onSave\":_vm.onSave,\"onTabChanged\":_vm.onTabChanged,\"onCurrentTabSelected\":_vm.onCurrentTabSelected}},[_c('WizardTab',{attrs:{\"name\":\"Initial Details\",\"selected\":true,\"completed\":true,\"index\":0,\"routerDisplayName\":\"initialDetails\"}},[_c('InitialDetails',{attrs:{\"isReload\":_vm.reloadAppInfo},on:{\"onSaveInitialStep\":function($event){return _vm.onSave()},\"onRejected\":_vm.onRejectedRouteBack,\"dirtyValidatorNoSet\":_vm.dirtyValidatorRefNoSet}})],1),_c('WizardTab',{attrs:{\"name\":\"Vehicle Details\",\"completed\":this.$store.getters.getFinanceApplicationStatus > _vm.initialDetailsStatus && this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus,\"index\":1,\"routerDisplayName\":\"vehicleDetails\"}},[_c('AddEditMotorVehicle',{attrs:{\"useStore\":true,\"clientID\":_vm.clientId,\"vehicleID\":0,\"applicationType\":_vm.financeApplication},on:{\"dirtyValidatorNoSet\":_vm.dirtyValidatorRefNoSet}})],1),_c('WizardTab',{attrs:{\"name\":\"Request Invoice\",\"completed\":this.$store.getters.getFinanceApplicationStatus> _vm.vehicleDetailsStatus && this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus,\"index\":2,\"routerDisplayName\":\"requestInvoice\"}},[_c('RequestInvoice',{on:{\"onSaveRequestInvoice\":function($event){return _vm.onSave()},\"dirtyValidatorNoSet\":_vm.dirtyValidatorRefNoSet}})],1),_c('WizardTab',{attrs:{\"name\":\"Revise Application\",\"completed\":this.$store.getters.getFinanceApplicationStatus> _vm.requestInvoiceStatus && this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus,\"index\":3,\"routerDisplayName\":\"reviseApplication\"}},[_c('ReviseApplication',{on:{\"onSaveReviseApplication\":function($event){return _vm.onSave()},\"dirtyValidatorNoSet\":_vm.dirtyValidatorRefNoSet}})],1),_c('WizardTab',{attrs:{\"name\":\"Signature & Submission\",\"completed\":this.$store.getters.getFinanceApplicationStatus> _vm.reviseApplicationStatus && this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus,\"index\":4,\"routerDisplayName\":\"signatureAndSubmission\"}},[_c('SignatureAndSubmission',{ref:\"signatureAndSubmission\",on:{\"onSave\":function($event){return _vm.onSave()},\"dirtyValidatorNoSet\":_vm.dirtyValidatorRefNoSet}})],1),(!_vm.isFinanceOnlyApplication())?_c('WizardTab',{attrs:{\"name\":\"Lease & Employment\",\"completed\":this.$store.getters.getFinanceApplicationStatus> _vm.signatureAndSubmissionStatus && this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus,\"index\":5,\"routerDisplayName\":\"leaseAndEmployment\",\"showCustomButton\":(!this.$store.getters.getFinanceApplicationIsLeaseCreated && (this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus)),\"customButtonTitle\":this.$store.getters.getFinanceApplicationIsLeaseCreated?'Vehicle,Lease and Novation already created for this application.':'',\"disableCustomButton\":this.$store.getters.getFinanceApplicationIsLeaseCreated,\"customButtonName\":this.$store.getters.getFinanceApplicationIsVehicleExisted ? 'Create Lease and Novation': 'Create Vehicle, Lease and Novation'}},[_c('LeaseAndEmployment',{ref:\"leaseAndEmployment\",attrs:{\"applicationType\":_vm.financeApplication},on:{\"onSave\":function($event){return _vm.onSave()},\"dirtyValidatorNoSet\":_vm.dirtyValidatorRefNoSet,\"onLeaseAndEmploymentEditMode\":_vm.onLeaseAndEmploymentEditMode}})],1):_vm._e(),_c('div',{attrs:{\"slot\":\"audit-info\"},slot:\"audit-info\"},[_c('b-row',[(this.$store.getters.getFinanceApplicationIsLeaseCreated && _vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1))?_c('div',{staticClass:\"text-info mb-3 ml-2 mt-2\"},[_c('i',{staticClass:\"fas fa-info-circle\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \\n \"+_vm._s(this.$store.getters.getFinanceApplicationVehicleDetailsIsAnExistingVehicle ? \"Lease and Novation\": \"Vehicle, Lease and Novation\")+\" records created by \"+_vm._s(this.$store.getters.getFinanceApplicationLeaseCreatedByName)+\" \\n on \"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(this.$store.getters.getFinanceApplicationLeaseCreatedDate))+\". \\n \")]):_vm._e()]),(this.$store.getters.getFinanceApplicationID>0)?_c('b-row',{staticClass:\"ml-2 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(this.$store.getters.getFinanceApplicationCreatedByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(this.$store.getters.getFinanceApplicationCreatedDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(this.$store.getters.getFinanceApplicationUpdatedByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(this.$store.getters.getFinanceApplicationUpdatedDate))+\")\")])]):_vm._e(),_c('div',{attrs:{\"slot\":\"wizard-footer\"},slot:\"wizard-footer\"},[_c('b-row',[_c('b-col',{staticClass:\"pt-2\"},[(_vm.currentTab && _vm.currentTab.index>0)?_c('b-btn',{staticClass:\"float-left ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":_vm.backDisabled,\"hidden\":_vm.isLeaseAndEmploymentEditMode},on:{\"click\":_vm.goBack}},[_c('i',{staticClass:\"fas fa-arrow-left\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Back\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index<(_vm.totalTabs-1))?_c('b-btn',{staticClass:\"float-right mr-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":_vm.nextDisabled,\"hidden\":_vm.isLeaseAndEmploymentEditMode},on:{\"click\":_vm.goForward}},[_vm._v(\"\\n \"+_vm._s(_vm.disableSave || this.$store.getters.getFinanceApplicationStatus == _vm.rejectedStatus || this.$store.getters.getFinanceApplicationStatus == _vm.withdrawnStatus ? 'Next':'Save and Continue')+\" \"),_c('i',{staticClass:\"fas fa-arrow-right\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(!_vm.disableSave && ((_vm.currentTab && _vm.currentTab.index != (_vm.totalTabs-1)) || _vm.isFinanceOnlyApplication() || this.$store.getters.getFinanceApplicationIsLeaseAndEmploymentFilled))?_c('b-btn',{staticClass:\"float-right mr-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"hidden\":_vm.isLeaseAndEmploymentEditMode},on:{\"click\":_vm.onSaveWizard}},[_vm._v(\"\\n Save\\n \")]):_vm._e(),(this.$store.getters.getFinanceApplicationID > 0 && this.$store.getters.getFinanceApplicationStatus != _vm.completedStatus)?_c('b-dropdown',{staticClass:\"float-right mr-2\",attrs:{\"text\":\"Actions\",\"right\":\"\",\"dropup\":\"\",\"hidden\":_vm.isLeaseAndEmploymentEditMode}},[(this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus)?_c('b-dropdown-item',{on:{\"click\":_vm.rejectApplication}},[_vm._v(\"Reject\")]):_vm._e(),(this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus)?_c('b-dropdown-item',{on:{\"click\":_vm.withdrawApplication}},[_vm._v(\"Withdraw\")]):_c('b-dropdown-item',{on:{\"click\":_vm.revertToInitial}},[_vm._v(\"Revert to Initial Details\")]),(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && !_vm.disableSave && this.$store.getters.getFinanceApplicationStatus != _vm.rejectedStatus\n && this.$store.getters.getFinanceApplicationStatus != _vm.withdrawnStatus && (_vm.isFinanceOnlyApplication() || this.$store.getters.getFinanceApplicationIsLeaseAndEmploymentValid))?_c('b-dropdown-item',{on:{\"click\":_vm.onCompleteBtnClicked}},[_vm._v(\"Mark as Complete\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.showCustomButton && _vm.currentTab.index == (_vm.totalTabs-1) && !_vm.disableSave\n && this.$store.getters.getFinanceApplicationIsLeaseAndEmploymentValid)?_c('b-dropdown-item',{on:{\"click\":_vm.onCustomButtonClicked}},[_vm._v(_vm._s(_vm.currentTab.customButtonName)+\"\\n \")]):_vm._e()],1):_vm._e(),(this.$store.getters.getFinanceApplicationID > 0 && this.$store.getters.getFinanceApplicationStatus == _vm.completedStatus && _vm.isFinanceOnlyApplication())?_c('b-dropdown',{staticClass:\"float-right mr-2\",attrs:{\"text\":\"Actions\",\"right\":\"\",\"dropup\":\"\",\"hidden\":_vm.isLeaseAndEmploymentEditMode}},[_c('b-dropdown-item',{on:{\"click\":_vm.onConvertToNonFinanceApplication}},[_vm._v(\"Convert To a Non-Finance Application\")])],1):_vm._e()],1)],1)],1)],1)],1):_vm._e()],1)],1)],1)],1),(_vm.showDirtyNavigationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"NavigateFinanceApplicationConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to navigate back?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"NavigateFinanceApplicationConf_CancelButton\"},on:{\"click\":function($event){_vm.showDirtyNavigationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"NavigateFinanceApplicationConf_OkButton\"},on:{\"click\":_vm.onOkayToNavigate}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showFinanceApplicationActionModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"NavigateFinanceApplicationConf\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.actionText + \" Application\")+\" \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onApplicationAction.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': !_vm.$v.applicationActionModel.date.required },attrs:{\"label\":\"Date\",\"label-for\":\"actionDate\"}},[_c('DatePicker',{class:{'requiredField': !_vm.$v.applicationActionModel.date.required },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"id\":'actionDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":\"Enter Date\"},model:{value:(_vm.applicationActionModel.date),callback:function ($$v) {_vm.$set(_vm.applicationActionModel, \"date\", $$v)},expression:\"applicationActionModel.date\"}}),(!_vm.$v.applicationActionModel.date.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.applicationActionModel.reason.$error },attrs:{\"label\":\"Reason\",\"label-for\":\"actionReason\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.applicationActionModel.reason),expression:\"applicationActionModel.reason\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",class:{'textInput':true, 'requiredField': _vm.applicationActionModel.reason.length == 0 },attrs:{\"id\":\"actionReason\",\"rows\":\"3\",\"placeholder\":\"Enter Reason\"},domProps:{\"value\":(_vm.applicationActionModel.reason)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.applicationActionModel, \"reason\", $event.target.value.trim())},function($event){return _vm.$v.applicationActionModel.reason.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.applicationActionModel.reason.$dirty && !_vm.$v.applicationActionModel.reason.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reason is required.\\n \")]):_vm._e()])],1)],1),_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(!_vm.isApplicationActionModelDirty()\n ||_vm.$v.applicationActionModel.reason.$invalid\n ||_vm.$v.applicationActionModel.date.$invalid)}},[_vm._v(\" \"+_vm._s(_vm.actionText))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onApplicationActionCancel()}}},[_vm._v(\" Cancel\")])],1)],1)],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4 ml-2\"},[(_vm.showConfirmationOnRejected)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"RejectedInitialDetailsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"The application status will be set to Rejected. Are you sure you want to continue?\")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"RejectedInitialDetailsConf_CancelButton\"},on:{\"click\":function($event){_vm.showConfirmationOnRejected = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"RejectedInitialDetailsConf_OkButton\"},on:{\"click\":_vm.rejectApplication}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-checkbox',{attrs:{\"id\":\"checkbox_isFinanceOnly\",\"name\":\"isFinanceOnly\",\"disabled\":this.$store.getters.getFinanceApplicationStatus >= _vm.completedStatus || this.$store.getters.getFinanceApplicationIsLeaseCreated || this.$store.getters.getFinanceApplicationIsVehicleExisted},on:{\"change\":function($event){return _vm.onChangedIsFinanceOnly()}},model:{value:(_vm.applicationInfo.isFinanceOnly),callback:function ($$v) {_vm.$set(_vm.applicationInfo, \"isFinanceOnly\", $$v)},expression:\"applicationInfo.isFinanceOnly\"}},[_vm._v(\"\\n Finance Only\\n \")])],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[(_vm.assigneeList && _vm.assigneeList.length>0)?_c('b-form-group',{attrs:{\"label\":\"Assigned Staff Member\",\"label-for\":\"assignee\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{ 'form-group--error': (_vm.$v.initialDetails.assigneeId.$error),'requiredField': (_vm.initialDetails.assigneeId == 0) },attrs:{\"id\":\"assignee\",\"plain\":true,\"options\":_vm.assigneeList,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.initialDetails.assigneeId.$touch()}},nativeOn:{\"change\":function($event){return _vm.onAssigneeChange()}},model:{value:(_vm.initialDetails.assigneeId),callback:function ($$v) {_vm.$set(_vm.initialDetails, \"assigneeId\", $$v)},expression:\"initialDetails.assigneeId\"}},[(_vm.initialDetails.assigneeId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select --\")])]):_vm._e()],2),(this.$store.getters.getFinanceApplicationInitialDetailsValidations.showAssigneeErrorMessage && !_vm.$v.initialDetails.assigneeId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Assigned staff member is required to save.\\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Received Date\",\"label-for\":\"receivedDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.initialDetails.receivedDate || _vm.initialDetails.receivedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"id\":'receivedDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Received Date'},on:{\"input\":function($event){return _vm.$v.initialDetails.receivedDate.$touch()}},model:{value:(_vm.initialDetails.receivedDate),callback:function ($$v) {_vm.$set(_vm.initialDetails, \"receivedDate\", $$v)},expression:\"initialDetails.receivedDate\"}}),(this.$store.getters.getFinanceApplicationInitialDetailsValidations.showReceivedDateErrorMessage && !_vm.$v.initialDetails.receivedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Received Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Submitted Date\",\"label-for\":\"submittedDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.initialDetails.submittedDate || _vm.initialDetails.submittedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"id\":'submittedDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Submitted Date'},on:{\"input\":function($event){return _vm.$v.initialDetails.submittedDate.$touch()}},model:{value:(_vm.initialDetails.submittedDate),callback:function ($$v) {_vm.$set(_vm.initialDetails, \"submittedDate\", $$v)},expression:\"initialDetails.submittedDate\"}}),(this.$store.getters.getFinanceApplicationInitialDetailsValidations.showSubmittedDateErrorMessage && !_vm.$v.initialDetails.submittedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Submitted Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Financier\",\"label-for\":\"financier\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{ 'form-group--error': (_vm.$v.initialDetails.financier.$error),'requiredField': (_vm.initialDetails.financier == 0) },attrs:{\"id\":\"financier\",\"plain\":true,\"options\":_vm.financierList,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.initialDetails.financier.$touch()}},model:{value:(_vm.initialDetails.financier),callback:function ($$v) {_vm.$set(_vm.initialDetails, \"financier\", $$v)},expression:\"initialDetails.financier\"}},[(_vm.initialDetails.financier == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select a Financier --\")])]):_vm._e()],2),(this.$store.getters.getFinanceApplicationInitialDetailsValidations.showFinancierErrorMessage && !_vm.$v.initialDetails.financier.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Financier is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Type\",\"label-for\":\"saleTypeSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': (_vm.$v.initialDetails.saleType.$error), 'requiredField': (_vm.initialDetails.saleType== 0)},attrs:{\"id\":\"saleTypeSelect\",\"plain\":true,\"options\":_vm.saleTypeList,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.initialDetails.saleType.$touch()}},model:{value:(_vm.initialDetails.saleType),callback:function ($$v) {_vm.$set(_vm.initialDetails, \"saleType\", $$v)},expression:\"initialDetails.saleType\"}},[(_vm.initialDetails.saleType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select a Type --\")])]):_vm._e()],2),((this.$store.getters.getFinanceApplicationInitialDetailsValidations.showSaleTypeErrorMessage || _vm.$v.initialDetails.saleType.$dirty) && !_vm.$v.initialDetails.saleType.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.initialDetails.reference.$error },attrs:{\"label\":\"Reference\",\"label-for\":\"reference\"}},[_c('b-form-input',{class:{ 'requiredField': (!_vm.initialDetails.reference || _vm.initialDetails.reference.length == 0), 'textInput': true},attrs:{\"id\":\"reference\",\"type\":\"text\",\"placeholder\":\"Enter Reference\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.initialDetails.reference.$touch()}},model:{value:(_vm.initialDetails.reference),callback:function ($$v) {_vm.$set(_vm.initialDetails, \"reference\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"initialDetails.reference\"}}),(this.$store.getters.getFinanceApplicationInitialDetailsValidations.showReferenceErorMessage && !_vm.$v.initialDetails.reference.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reference is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error':(this.$store.getters.getFinanceApplicationInitialDetailsValidations.showTotalFinancedAmountErorMessage && _vm.$v.initialDetails.totalFinancedAmount.$error) },attrs:{\"label\":\"Total Financed Amount\",\"label-for\":\"totalFinancedAmount\"}},[_c('b-input-group',{class:{'requiredField': (!_vm.initialDetails.totalFinancedAmount || _vm.initialDetails.totalFinancedAmount.length == 0)},attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput totolFinancedMaxWidth\",attrs:{\"id\":\"totalFinancedAmount\",\"type\":\"text\",\"placeholder\":\"Enter total financed amount\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.initialDetails.totalFinancedAmount.$touch()}},model:{value:(_vm.initialDetails.totalFinancedAmount),callback:function ($$v) {_vm.$set(_vm.initialDetails, \"totalFinancedAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"initialDetails.totalFinancedAmount\"}})],1),(this.$store.getters.getFinanceApplicationInitialDetailsValidations.showTotalFinancedAmountErrorMessage && !_vm.$v.initialDetails.totalFinancedAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Total financed amount is required.\\n \")]):_vm._e(),(!_vm.$v.initialDetails.totalFinancedAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Total financed amount is not valid.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"8\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Approved Date\",\"label-for\":\"approvedDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.initialDetails.approvedDate || _vm.initialDetails.approvedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"use-utc\":true,\"id\":'approvedDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":\"Enter Approved Date\"},on:{\"input\":function($event){return _vm.$v.initialDetails.approvedDate.$touch()}},model:{value:(_vm.initialDetails.approvedDate),callback:function ($$v) {_vm.$set(_vm.initialDetails, \"approvedDate\", $$v)},expression:\"initialDetails.approvedDate\"}}),(this.$store.getters.getFinanceApplicationInitialDetailsValidations.showApprovedDateErorMessage && !_vm.$v.initialDetails.approvedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Approved Date is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop, Watch } from 'vue-property-decorator';\nimport {ApplicationInfoModel,InitialDetailsModel,InitialDetailsValidations} from '@/models/financeApplication.model';\nimport { validationMixin } from 'vuelidate';\nimport { required, minValue} from 'vuelidate/lib/validators';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport { FinanceApplicationStates, FinanceApplicationStatusOptions } from '@/shared/enums/financeApplicationStates.enum';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport fieldValidationService from '@/shared/services/fieldValidationService';\nimport lookupService from '@/shared/services/lookupService'\n\n@Component({\n components:{\n Modal\n },\n mixins:[validationMixin],\n validations:\n {\n initialDetails:\n {\n assigneeId:\n {\n minValue:minValue(1),\n required\n },\n receivedDate:\n {\n required\n },\n submittedDate:\n {\n required\n },\n financier:\n {\n minValue:minValue(1),\n required\n },\n saleType:\n {\n required,\n minValue:minValue(1)\n },\n reference:\n {\n required\n },\n \n totalFinancedAmount:\n {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n approvedDate:\n {\n required\n },\n },\n applicationInfo: \n {\n isFinanceOnly:{}\n }\n }\n})\nexport default class InitialDetails extends Vue{\n @Prop() isReload:boolean;\n\n initialDetails:InitialDetailsModel = {\n assigneeId:0,\n receivedDate:\"\",\n submittedDate:\"\",\n financier:0,\n reference:\"\",\n totalFinancedAmount:\"\",\n approvedDate:\"\",\n saleType:0,\n };\n applicationInfo:ApplicationInfoModel = {\n isFinanceOnly:false\n };\n saleTypeList:any = [];\n assigneeList:any = [];\n financierList:any = [];\n allVehicleModels:any = [];\n allVehicleMakes:any = [];\n allVehicleMakesAndModels:any = [];\n stepNo:number = FinanceApplicationStates.InitialDetails;\n dirtyValidatorRefNo:number = 0;\n applicationInfoDirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n completedStatus:FinanceApplicationStates = FinanceApplicationStates.Completed;\n statusDateOptions:any = [ \n { text: 'Approved', value: FinanceApplicationStatusOptions.Approved },\n { text: 'Rejected', value: FinanceApplicationStatusOptions.Rejected }\n ]\n showConfirmationOnRejected:boolean = false;\n openDate:Date = new Date();\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n\n @Watch('isReload')\n onApplicationInfoChange(val: any, oldVal: any) {\n if(val){\n this.applicationInfo = Object.assign({},this.$store.getters.getFinanceApplicationInfo);\n }\n }\n \n created(){\n this.initialDetails = Object.assign({},this.$store.getters.getFinanceApplicationInitialDetails);\n this.applicationInfo = Object.assign({},this.$store.getters.getFinanceApplicationInfo);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.initialDetails);\n this.applicationInfoDirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.applicationInfoDirtyValidatorRefNo,this.applicationInfo);\n this.$store.dispatch('updateFinanceApplicationDirtyValidatorRefNos',{index:this.stepNo-1,dirtyValidationNo:this.dirtyValidatorRefNo})\n this.$store.dispatch('updateFinanceApplicationInfoDirtyValidatorRefNo',this.applicationInfoDirtyValidatorRefNo)\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.loadSaleTypes();\n if(this.initialDetails.financier>0){\n this.financierList = this.$store.getters.getFinanceApplicationFinancierTypes.filter(obj => obj.disabled == false || obj.value == this.initialDetails.financier);\n }\n else{\n this.financierList = this.$store.getters.getFinanceApplicationFinancierTypes.filter(obj => obj.disabled == false);\n } \n this.loadAssignees(this.initialDetails.assigneeId);\n }\n\n rejectApplication()\n {\n this.$store.dispatch('updateFinanceApplicationStatus',FinanceApplicationStates.Rejected);\n this.$store.dispatch('updateFinanceApplicationInitialDetails',this.initialDetails);\n this.$store.dispatch('updateFinanceApplicationInfo',this.applicationInfo); \n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:false,isOkayToCreateLease:false,isOkayToComplete:false});\n this.showConfirmationOnRejected = false;\n this.onRejected();\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number):boolean{\n if(this.$store.getters.getStatus == FinanceApplicationStates.Rejected || this.$store.getters.getStatus == FinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateFinanceApplicationInitialDetails',this.initialDetails);\n return true;\n }\n if(this.validateStep()){ \n if(!saveOnUpdate){\n return true;\n }\n this.$store.dispatch('updateFinanceApplicationInitialDetails',this.initialDetails);\n this.$store.dispatch('updateFinanceApplicationInfo',this.applicationInfo); \n if(this.stepNo+1>this.$store.getters.getFinanceApplicationStatus){\n this.$store.dispatch('updateFinanceApplicationStatus',this.stepNo+1);\n }\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:false,isOkayToCreateVehicle:false,isOkayToCreateLease:false,nextStep:nextStep,isOkayToComplete:false});\n return true;\n }\n return false;\n }\n\n validateStep():boolean{\n var isValid = true;\n var validations:InitialDetailsValidations = \n {\n showAssigneeErrorMessage:false,\n showReceivedDateErrorMessage:false,\n showSubmittedDateErrorMessage:false,\n showFinancierErrorMessage:false,\n showReferenceErorMessage:false,\n showApprovedDateErorMessage:false,\n showSaleTypeErrorMessage:false,\n showTotalFinancedAmountErrorMessage:false\n };\n if(this.initialDetails.assigneeId == 0 || this.initialDetails.assigneeId == null || this.initialDetails.assigneeId == undefined){\n validations.showAssigneeErrorMessage = true;\n isValid = false;\n }\n if(this.initialDetails.receivedDate == \"\" || this.initialDetails.receivedDate == null || this.initialDetails.receivedDate == undefined){\n validations.showReceivedDateErrorMessage = true;\n isValid = false;\n }\n if(this.initialDetails.submittedDate == \"\" || this.initialDetails.submittedDate == null || this.initialDetails.submittedDate == undefined){\n validations.showSubmittedDateErrorMessage = true;\n isValid = false;\n }\n if(this.initialDetails.financier == 0 || this.initialDetails.financier == null || this.initialDetails.financier == undefined){\n validations.showFinancierErrorMessage = true;\n isValid = false;\n }\n if(this.initialDetails.reference == \"\" || this.initialDetails.reference == null || this.initialDetails.reference == undefined){\n validations.showReferenceErorMessage = true;\n isValid = false;\n }\n if(!this.initialDetails.totalFinancedAmount || !fieldValidationService.isDecimal(this.initialDetails.totalFinancedAmount)){\n validations.showTotalFinancedAmountErrorMessage = true;\n isValid = false;\n }\n if(this.initialDetails.approvedDate == 0 || this.initialDetails.approvedDate == null || this.initialDetails.approvedDate == undefined){\n validations.showApprovedDateErorMessage = true;\n isValid = false;\n }\n if(this.initialDetails.saleType == 0 || this.initialDetails.saleType == null || this.initialDetails.saleType == undefined){\n validations.showSaleTypeErrorMessage = true;\n isValid = false;\n }\n this.$store.dispatch('updateFinanceApplicationInitialDetailsValidations',validations);\n return isValid;\n }\n \n updateModelOnSave(){\n if(this.validateSaveStep()){ \n var validStep = true;\n if(this.$store.getters.getFinanceApplicationStatus > this.stepNo && this.$store.getters.getFinanceApplicationStatus != FinanceApplicationStates.Rejected && this.$store.getters.getFinanceApplicationStatus != FinanceApplicationStates.Withdrawn){\n validStep = this.validateStep(); \n }\n if(validStep){\n this.$store.dispatch('updateFinanceApplicationInitialDetails',this.initialDetails);\n this.$store.dispatch('updateFinanceApplicationInfo',this.applicationInfo); \n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:false,isOkayToCreateLease:false,isOkayToComplete:false});\n }\n }\n }\n\n validateSaveStep(){\n var isValid = true;\n var validations = Object.assign(this.$store.getters.getFinanceApplicationInitialDetailsValidations);\n if(!fieldValidations.isValidNumber(this.initialDetails.assigneeId)){\n validations.showAssigneeErrorMessage = true;\n isValid = false;\n }\n if(!fieldValidationService.isDecimal(this.initialDetails.totalFinancedAmount)){\n validations.showTotalFinanceAmountErorMessage = true;\n isValid = false;\n }\n this.$store.dispatch('updateFinanceApplicationInitialDetailsValidations',validations);\n return isValid;\n }\n \n loadAssignees(id:number){ \n lookupService.GetStandardUsersAndTenantAdminsList().then( data=>{\n if(id>0){\n this.assigneeList = data.filter(obj => obj.value == id);\n }\n else{\n this.assigneeList = data; \n } \n });\n }\n\n onAssigneeChange(){\n this.$nextTick(()=>{\n this.$v.initialDetails.assigneeId.$touch()\n this.$store.dispatch('updateFinanceApplicationApplicationAssignee',this.initialDetails.assigneeId); \n })\n }\n\n onChangedIsFinanceOnly(){\n this.$nextTick(()=>{\n this.$v.applicationInfo.isFinanceOnly.$touch()\n this.$store.dispatch('updateFinanceApplicationInfo',this.applicationInfo); \n if(this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.LeaseAndEmployment){\n this.$store.dispatch('updateFinanceApplicationStatus',FinanceApplicationStates.SignatureAndSubmission)\n }\n })\n }\n\n loadSaleTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetSaleTypesList().then(data => \n {\n this.saleTypeList = data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n \n @Emit('onRejected') onRejected(){}\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InitialDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InitialDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InitialDetails.vue?vue&type=template&id=85723be0&scoped=true\"\nimport script from \"./InitialDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./InitialDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InitialDetails.vue?vue&type=style&index=0&id=85723be0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"85723be0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4 ml-2\"},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"3\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Invoice Requested Date\",\"label-for\":\"invoicerequesteddate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.requestInvoice.invoiceRequestedDate || _vm.requestInvoice.invoiceRequestedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"use-utc\":true,\"id\":'invoicerequesteddate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Invoice Requested Date'},on:{\"input\":function($event){return _vm.$v.requestInvoice.invoiceRequestedDate.$touch()}},model:{value:(_vm.requestInvoice.invoiceRequestedDate),callback:function ($$v) {_vm.$set(_vm.requestInvoice, \"invoiceRequestedDate\", $$v)},expression:\"requestInvoice.invoiceRequestedDate\"}}),(this.$store.getters.getFinanceApplicationRequestInvoiceValidations.showInvoiceRequestedDateErrorMessage && !_vm.$v.requestInvoice.invoiceRequestedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invoice Requested Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Invoice Received Date\",\"label-for\":\"invoicereceivedddate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.requestInvoice.invoiceReceivedDate || _vm.requestInvoice.invoiceReceivedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"use-utc\":true,\"id\":'invoicereceivedddate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Invoice Received Date'},on:{\"input\":function($event){return _vm.$v.requestInvoice.invoiceReceivedDate.$touch()}},model:{value:(_vm.requestInvoice.invoiceReceivedDate),callback:function ($$v) {_vm.$set(_vm.requestInvoice, \"invoiceReceivedDate\", $$v)},expression:\"requestInvoice.invoiceReceivedDate\"}}),(this.$store.getters.getFinanceApplicationRequestInvoiceValidations.showInvoiceRequestedDateErrorMessage && !_vm.$v.requestInvoice.invoiceReceivedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invoice Received Date is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { required} from 'vuelidate/lib/validators';\nimport {RequestInvoiceModel,RequestInvoiceValidations} from '@/models/financeApplication.model'\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport fieldValidationService from '@/shared/services/fieldValidationService';\n\n @Component(\n {\n mixins:[validationMixin],\n validations:{\n requestInvoice:{\n invoiceRequestedDate:\n {\n required\n },\n invoiceReceivedDate:\n {\n required\n }\n }\n }\n }\n)\nexport default class RequestInvoice extends Vue{\n requestInvoice:RequestInvoiceModel = {\n invoiceRequestedDate:\"\",\n invoiceReceivedDate:\"\"\n };\n stepNo:number = FinanceApplicationStates.RequestInvoice\n dirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n created(){\n var obj = this.$store.getters.getFinanceApplicationRequestInvoice; \n this.requestInvoice = Object.assign(this.$store.state.FinanceApplicationModule.requestInvoice); \n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.requestInvoice);\n this.$store.dispatch('updateFinanceApplicationDirtyValidatorRefNos',{index:this.stepNo-1,dirtyValidationNo:this.dirtyValidatorRefNo});\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n }\n\n updateModel(saveOnUpdate:boolean,nextStep:number):boolean{\n if(this.$store.getters.getStatus == FinanceApplicationStates.Rejected || this.$store.getters.getStatus == FinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateFinanceApplicationRequestInvoice',this.requestInvoice);\n return true;\n }\n if(this.validateStep()){ \n if(!saveOnUpdate){\n return true;\n }\n this.$store.dispatch('updateFinanceApplicationRequestInvoice',this.requestInvoice);\n if(this.stepNo+1>this.$store.getters.getFinanceApplicationStatus){\n this.$store.dispatch('updateFinanceApplicationStatus',this.stepNo+1);\n }\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:false,isOkayToCreateVehicle:false,isOkayToCreateLease:false,nextStep:nextStep,isOkayToComplete:false});\n return true;\n }\n return false;\n }\n\n validateStep():boolean{\n var isValid = true;\n var validations:RequestInvoiceValidations = {\n showInvoiceRequestedDateErrorMessage:false,\n showInvoiceReceivedDateErrorMessage:false,\n };\n if(this.requestInvoice.invoiceRequestedDate == \"\" || this.requestInvoice.invoiceRequestedDate == null || this.requestInvoice.invoiceRequestedDate == undefined){\n validations.showInvoiceRequestedDateErrorMessage = true;\n isValid = false;\n }\n if(this.requestInvoice.invoiceReceivedDate == \"\" || this.requestInvoice.invoiceReceivedDate == null || this.requestInvoice.invoiceReceivedDate == undefined){\n validations.showInvoiceReceivedDateErrorMessage = true;\n isValid = false;\n }\n this.$store.dispatch('updateFinanceApplicationRequestInvoiceValidations',validations);\n return isValid;\n }\n \n updateModelOnSave()\n {\n var validStep = true;\n if(this.$store.getters.getFinanceApplicationStatus > this.stepNo && this.$store.getters.getFinanceApplicationStatus != FinanceApplicationStates.Rejected && this.$store.getters.getFinanceApplicationStatus != FinanceApplicationStates.Withdrawn){\n validStep = this.validateStep(); \n }\n if(validStep){\n this.$store.dispatch('updateFinanceApplicationRequestInvoice',this.requestInvoice);\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:false,isOkayToCreateLease:false,isOkayToComplete:false}); \n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestInvoice.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RequestInvoice.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RequestInvoice.vue?vue&type=template&id=3dfd2741&scoped=true\"\nimport script from \"./RequestInvoice.vue?vue&type=script&lang=ts\"\nexport * from \"./RequestInvoice.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3dfd2741\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4 ml-2\"},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"3\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":_vm.financierUpdatedLabel,\"label-for\":\"updatedDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.reviseApplication.updatedDate || _vm.reviseApplication.updatedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"use-utc\":true,\"id\":'updatedDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":_vm.updatedDatePlaceholder},on:{\"input\":function($event){return _vm.$v.reviseApplication.updatedDate.$touch()}},model:{value:(_vm.reviseApplication.updatedDate),callback:function ($$v) {_vm.$set(_vm.reviseApplication, \"updatedDate\", $$v)},expression:\"reviseApplication.updatedDate\"}}),(this.$store.getters.getFinanceApplicationReviseInvoiceValidations.showUpdatedDateErrorMessage && !_vm.$v.reviseApplication.updatedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.financierName)+\" Updated Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Documents Generated Date\",\"label-for\":\"generatedDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.reviseApplication.generatedDate || _vm.reviseApplication.generatedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"use-utc\":true,\"id\":'generatedDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Documents Generated Date'},on:{\"input\":function($event){return _vm.$v.reviseApplication.generatedDate.$touch()}},model:{value:(_vm.reviseApplication.generatedDate),callback:function ($$v) {_vm.$set(_vm.reviseApplication, \"generatedDate\", $$v)},expression:\"reviseApplication.generatedDate\"}}),(this.$store.getters.getFinanceApplicationReviseInvoiceValidations.showGeneratedDateErrorMessage && !_vm.$v.reviseApplication.generatedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Documents Generated Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Documents Signed Date\",\"label-for\":\"signedDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.reviseApplication.signedDate || _vm.reviseApplication.signedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"use-utc\":true,\"id\":'signedDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Documents Signed Date'},on:{\"input\":function($event){return _vm.$v.reviseApplication.signedDate.$touch()}},model:{value:(_vm.reviseApplication.signedDate),callback:function ($$v) {_vm.$set(_vm.reviseApplication, \"signedDate\", $$v)},expression:\"reviseApplication.signedDate\"}}),(this.$store.getters.getFinanceApplicationReviseInvoiceValidations.showSignedDateErrorMessage && !_vm.$v.reviseApplication.signedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Documents Signed Date is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { required} from 'vuelidate/lib/validators';\nimport {ReviseApplicationModel,ReviseApplicationValidations} from '@/models/financeApplication.model'\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\n@Component(\n {\n mixins:[validationMixin],\n validations:{\n reviseApplication:{\n updatedDate:\n {\n required\n },\n generatedDate:\n {\n required\n }, \n signedDate:\n {\n required\n },\n }\n }\n }\n)\nexport default class ReviseApplication extends Vue{\n reviseApplication:ReviseApplicationModel = {updatedDate:\"\",generatedDate:\"\",signedDate:\"\"};\n stepNo:number = FinanceApplicationStates.ReviseApplication;\n dirtyValidatorRefNo:number = 0;\n financierUpdatedLabel:string = \"\";\n updatedDatePlaceholder:string = \"\";\n financierName:string = \"\";\n clientId:number = 0;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n \n mounted(){\n this.reviseApplication = Object.assign(this.$store.getters.getFinanceApplicationReviseApplication);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.reviseApplication);\n this.$store.dispatch('updateFinanceApplicationDirtyValidatorRefNos',{index:this.stepNo-1,dirtyValidationNo:this.dirtyValidatorRefNo});\n this.getFinancierName();\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n }\n \n updateModel(saveOnUpdate:boolean,nextStep:number):boolean{\n if(this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.Rejected || this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateFinanceApplicationReviseApplication',this.reviseApplication);\n return true;\n }\n if(this.validateStep()){ \n if(!saveOnUpdate){\n return true;\n }\n this.$store.dispatch('updateFinanceApplicationReviseApplication',this.reviseApplication);\n if(this.stepNo+1>this.$store.getters.getFinanceApplicationStatus){\n this.$store.dispatch('updateFinanceApplicationStatus',this.stepNo+1);\n }\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:false,isOkayToCreateVehicle:false,isOkayToCreateLease:false,nextStep:nextStep,isOkayToComplete:false});\n return true;\n }\n return false;\n }\n \n validateStep():boolean{\n var isValid = true;\n var validations:ReviseApplicationValidations = {\n showUpdatedDateErrorMessage:false,\n showGeneratedDateErrorMessage:false,\n showSignedDateErrorMessage:false\n };\n if(this.reviseApplication.updatedDate == \"\" || this.reviseApplication.updatedDate == null || this.reviseApplication.updatedDate == undefined){\n validations.showUpdatedDateErrorMessage = true;\n isValid = false;\n }\n if(this.reviseApplication.generatedDate == \"\" || this.reviseApplication.generatedDate == null || this.reviseApplication.generatedDate == undefined){\n validations.showGeneratedDateErrorMessage = true;\n isValid = false;\n }\n if(this.reviseApplication.signedDate == \"\" || this.reviseApplication.signedDate == null || this.reviseApplication.signedDate == undefined){\n validations.showSignedDateErrorMessage = true;\n isValid = false;\n }\n this.$store.dispatch('updateFinanceApplicationReviseApplicationValidations',validations);\n return isValid;\n }\n\n updateModelOnSave(){\n var validStep = true;\n if((this.$store.getters.getFinanceApplicationStatus > this.stepNo) && this.$store.getters.getFinanceApplicationStatus != FinanceApplicationStates.Rejected && this.$store.getters.getFinanceApplicationStatus != FinanceApplicationStates.Withdrawn){\n validStep = this.validateStep(); \n }\n if(validStep){\n this.$store.dispatch('updateFinanceApplicationReviseApplication',this.reviseApplication);\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:false,isOkayToCreateLease:false,isOkayToComplete:false});\n }\n }\n \n getFinancierName(){\n var financierId = this.$store.getters.getFinanceApplicationFinancier;\n var financierTypes = this.$store.getters.getFinanceApplicationFinancierTypes;\n financierTypes.forEach(element => {\n if(element.value == financierId){\n this.financierUpdatedLabel = element.text + \" Updated Date\";\n this.updatedDatePlaceholder = \"Enter \" + element.text +\" Updated Date\";\n this.financierName = element.text;\n }\n });\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviseApplication.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReviseApplication.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ReviseApplication.vue?vue&type=template&id=47b803b4&scoped=true\"\nimport script from \"./ReviseApplication.vue?vue&type=script&lang=ts\"\nexport * from \"./ReviseApplication.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"47b803b4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4 ml-2\"},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"3\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Documents Submitted Date\",\"label-for\":\"submittedDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.signatureAndSubmission.documentSubmittedDate || _vm.signatureAndSubmission.documentSubmittedDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"use-utc\":true,\"id\":'submittedDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Documents Submitted Date'},on:{\"input\":function($event){return _vm.$v.signatureAndSubmission.documentSubmittedDate.$touch()}},model:{value:(_vm.signatureAndSubmission.documentSubmittedDate),callback:function ($$v) {_vm.$set(_vm.signatureAndSubmission, \"documentSubmittedDate\", $$v)},expression:\"signatureAndSubmission.documentSubmittedDate\"}}),(this.$store.getters.getFinanceApplicationSignatureAndSubmissionValidations.showSubmittedDateErrorMessage && !_vm.$v.signatureAndSubmission.documentSubmittedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Documents Updated Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Settlement Date\",\"label-for\":\"settlementDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.signatureAndSubmission.settlementDate || _vm.signatureAndSubmission.settlementDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"use-utc\":true,\"id\":'settlementDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Settlement Date'},on:{\"input\":function($event){return _vm.$v.signatureAndSubmission.settlementDate.$touch()}},model:{value:(_vm.signatureAndSubmission.settlementDate),callback:function ($$v) {_vm.$set(_vm.signatureAndSubmission, \"settlementDate\", $$v)},expression:\"signatureAndSubmission.settlementDate\"}}),(this.$store.getters.getFinanceApplicationSignatureAndSubmissionValidations.showSettlementDateErrorMessage && !_vm.$v.signatureAndSubmission.settlementDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Settlement Date is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { required} from 'vuelidate/lib/validators';\nimport {SignatureAndSubmissionModel,SignatureAndSubmissionValidations} from '@/models/financeApplication.model'\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport fieldValidationService from '@/shared/services/fieldValidationService';\nimport apiService from '@/shared/services/apiService';\n\n@Component(\n {\n mixins:[validationMixin],\n validations:{\n signatureAndSubmission:{\n documentSubmittedDate:\n {\n required\n },\n settlementDate:\n {\n required\n }\n }\n }\n }\n)\nexport default class SignatureAndSubmission extends Vue{\n signatureAndSubmission:SignatureAndSubmissionModel = {documentSubmittedDate:\"\",settlementDate:\"\"};\n stepNo:number = FinanceApplicationStates.SignatureAndSubmission;\n dirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n\n created(){\n this.signatureAndSubmission = Object.assign(this.$store.getters.getFinanceApplicationSignatureAndSubmission);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.signatureAndSubmission);\n this.$store.dispatch('updateFinanceApplicationDirtyValidatorRefNos',{index:this.stepNo,dirtyValidationNo:this.dirtyValidatorRefNo})\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n }\n \n updateModel(saveOnUpdate:boolean,nextStep:number):boolean{\n if(this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.Rejected || this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateFinanceApplicationSignatureAndSubmission',this.signatureAndSubmission);\n return true;\n }\n if(this.validateStep()){ \n if(!saveOnUpdate){\n return true;\n }\n this.$store.dispatch('updateFinanceApplicationSignatureAndSubmission',this.signatureAndSubmission);\n if(this.stepNo+1>this.$store.getters.getFinanceApplicationStatus){\n this.$store.dispatch('updateFinanceApplicationStatus',this.stepNo+1);\n }\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:false,isOkayToCreateVehicle:false,isOkayToCreateLease:false,nextStep:nextStep,isOkayToComplete:false});\n return true;\n }\n return false;\n }\n\n validateStep():boolean{\n var isValid = true;\n var validations:SignatureAndSubmissionValidations = {\n showSubmittedDateErrorMessage:false,\n showSettlementDateErrorMessage:false\n };\n if(this.signatureAndSubmission.documentSubmittedDate == \"\" || this.signatureAndSubmission.documentSubmittedDate == null || this.signatureAndSubmission.documentSubmittedDate == undefined){\n validations.showSubmittedDateErrorMessage = true;\n isValid = false;\n }\n if(this.signatureAndSubmission.settlementDate == \"\" || this.signatureAndSubmission.settlementDate == null || this.signatureAndSubmission.settlementDate == undefined){\n validations.showSettlementDateErrorMessage = true;\n isValid = false;\n }\n this.$store.dispatch('updateFinanceApplicationSignatureAndSubmissionValidations',validations);\n return isValid;\n }\n\n updateModelOnSave(){\n var validStep = true;\n if(this.$store.getters.getFinanceApplicationStatus > this.stepNo && this.$store.getters.getFinanceApplicationStatus != FinanceApplicationStates.Rejected && this.$store.getters.getFinanceApplicationStatus != FinanceApplicationStates.Withdrawn){\n validStep = this.validateStep(); \n }\n if(validStep){\n this.$store.dispatch('updateFinanceApplicationSignatureAndSubmission',this.signatureAndSubmission);\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:false,isOkayToCreateLease:false,isOkayToComplete:false});\n } \n }\n \n onCompleteApplication(){\n if(this.validateStep()){\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:false,isOkayToCreateLease:false,isOkayToComplete:true});\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignatureAndSubmission.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SignatureAndSubmission.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SignatureAndSubmission.vue?vue&type=template&id=721a62fd&scoped=true\"\nimport script from \"./SignatureAndSubmission.vue?vue&type=script&lang=ts\"\nexport * from \"./SignatureAndSubmission.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"721a62fd\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4 mr-3 ml-1\"},[(_vm.showDuplicateVehicleConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"duplicateVehicleConfirmationModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n A duplicate vehicle found. Do you wish to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelDuplicateVehicleBtn\"},on:{\"click\":function($event){_vm.showDuplicateVehicleConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"okayToDuplicateBtn\"},on:{\"click\":_vm.onOkayToDuplicateVehicle}},[_vm._v(\"\\n Create Anyway \\n \")])],1)]):_vm._e(),(_vm.showOnlyCreateLeaseConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"onlyCreateLeaseConfirmationModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n \"+_vm._s((_vm.duplicateVehicles && _vm.duplicateVehicles.length > 1)? 'Duplicate vehicles found without lease records.' : 'A duplicate vehicle found without a lease record.')+\"\\n \")]),_c('b-form-group',[_c('b-form-radio',{staticClass:\"mb-2\",attrs:{\"name\":\"radioDuplicateVehicleOptions\",\"value\":_vm.duplicateVehicleOption},model:{value:(_vm.duplicateVehicleSelectedOption),callback:function ($$v) {_vm.duplicateVehicleSelectedOption=$$v},expression:\"duplicateVehicleSelectedOption\"}},[_vm._v(\"Create Vehicle, Lease and Novation records\")]),_c('b-form-radio',{attrs:{\"name\":\"radioDuplicateVehicleOptions\",\"value\":_vm.onlyCreateLeaseAndNovationOption},model:{value:(_vm.duplicateVehicleSelectedOption),callback:function ($$v) {_vm.duplicateVehicleSelectedOption=$$v},expression:\"duplicateVehicleSelectedOption\"}},[_vm._v(\"Create Lease and Novation records only\")])],1),(_vm.duplicateVehicleSelectedOption == _vm.onlyCreateLeaseAndNovationOption)?_c('b-form-group',{attrs:{\"label\":\"Select Vehicle\",\"label-for\":\"vehicleSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.selectedDuplicateVehicle.$error, 'requiredField': (_vm.selectedDuplicateVehicle == 0)},attrs:{\"id\":\"vehicleSelect\",\"plain\":true,\"options\":_vm.duplicateVehicles,\"required\":\"\"},on:{\"change\":function($event){return _vm.$v.selectedDuplicateVehicle.$touch()}},model:{value:(_vm.selectedDuplicateVehicle),callback:function ($$v) {_vm.selectedDuplicateVehicle=$$v},expression:\"selectedDuplicateVehicle\"}},[(!_vm.selectedDuplicateVehicle || _vm.selectedDuplicateVehicle == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.selectedDuplicateVehicle.$dirty && !_vm.$v.selectedDuplicateVehicle.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle is required.\\n \")]):_vm._e()],1):_vm._e()],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"onlyCreateLeaseBtn\"},on:{\"click\":_vm.onCancelOnlyCreateLeaseConfirmation}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"createVehicleTooBtn\",\"disabled\":((_vm.duplicateVehicleSelectedOption == _vm.onlyCreateLeaseAndNovationOption) && (!_vm.$v.selectedDuplicateVehicle.minValue))},on:{\"click\":_vm.onlyCreateLeaseConfirmationOnCreate}},[_vm._v(\"\\n Create\\n \")])],1)]):_vm._e(),(!_vm.editMode)?_c('div',{attrs:{\"id\":\"applicationLeaseTable\"}},[(!_vm.isLeaseCreated)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"pull-right primary\",on:{\"click\":_vm.onAddVehicleLease}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Vehicle Lease\\n \")])],1)],1):_vm._e(),(_vm.isLeaseCreated)?_c('b-row',{staticClass:\"pt-3 pb-0 custom-table-header\"},[_c('b-col',[_c('span',[_vm._v(\"Lease Details\")])])],1):_vm._e(),_c('div',{staticClass:\"pt-3\"},[_c('DataTable',{ref:\"leaseTable\",attrs:{\"items\":_vm.leaseItems,\"fields\":_vm.leaseTableFields,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No vehicle leases to display.\",\"selectable\":true},on:{\"customEvent\":_vm.onCustomLeaseDataTableEvent}})],1)],1):_vm._e(),(_vm.editMode && _vm.leaseEditMode)?_c('div',{attrs:{\"id\":\"applicationLeaseForm\"}},[_c('AddEditVehicleLease',{attrs:{\"useStore\":\"true\",\"applicationType\":_vm.applicationType,\"lease\":_vm.vehicleLease},on:{\"onFormSubmit\":_vm.onLeaseFormSubmit,\"onLeaseTypeUpdated\":_vm.onVehicleLeaseTypeUpdated,\"onCancelForm\":_vm.onCancelForm}})],1):_vm._e(),(!_vm.editMode)?_c('div',{attrs:{\"id\":\"applicationNovationTable\"}},[(!_vm.isNovationCreated)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.vehicleLease.type == 0},on:{\"click\":_vm.onAddNovation}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Novation\\n \")])],1)],1):_vm._e(),(_vm.isNovationCreated)?_c('b-row',{staticClass:\"pt-3 pb-3 custom-table-header\"},[_c('b-col',[_c('span',[_vm._v(\"Employment Details\")])])],1):_vm._e(),_c('div',{staticClass:\"pt-0\"},[_c('DataTable',{ref:\"novationTable\",attrs:{\"items\":_vm.novationItems,\"fields\":_vm.novationTableFields,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No novations to display.\",\"selectable\":true},on:{\"customEvent\":_vm.onCustomNovationDataTableEvent}})],1)],1):_vm._e(),(_vm.editMode && _vm.novationEditMode)?_c('div',{attrs:{\"id\":\"applicationNovationForm\"}},[_c('AddEditNovation',{attrs:{\"useStore\":true,\"applicationType\":_vm.applicationType,\"leaseTypeProp\":_vm.vehicleLease.type,\"novationProp\":_vm.novation},on:{\"onCancelForm\":_vm.onCancelForm,\"onFormSubmit\":_vm.onNovationFormSubmit}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditVehicleLeaseConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to reset the fields?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditVehicleLeaseConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditVehicleLeaseConf_okButton\"},on:{\"click\":_vm.onOkayToCancel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showLeasePrePayments)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"800px\",\"minHeight\":\"365px\",\"id\":\"LeasePrePayments\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Lease Prepayment Records \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('LeasePrePaymentList',{attrs:{\"RelatedTable\":_vm.useStore ? _vm.applicationRelatedTable : _vm.relatedTable,\"RelatedID\":_vm.useStore ? _vm.applicationRelatedId : _vm.vehicleLease.id},on:{\"dirtyValidatorNoSet\":_vm.leasePrePaymentsDirtySet,\"OnLeasePrePaymentChange\":_vm.onLeasePrePaymentChange}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"LeasePrePayments_CloseButton\"},on:{\"click\":_vm.closeLeasePrePayments}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showDirtyLeasePrePayments)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelLeasePrePaymentsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelLeasePrePaymentsConf_CancelButton\"},on:{\"click\":function($event){_vm.showDirtyLeasePrePayments = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelLeasePrePaymentsConf_OkButton\"},on:{\"click\":_vm.closeDirtyLeasePrePayments}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showAddBankAccountModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"AddBankAccountModal\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.canUpdateLeaseFinancierAccount ? 'Edit' : 'Add')+\" Bank Account\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddEditBankAccount',{attrs:{\"relatedID\":_vm.leaseBankAccountRelatedId,\"relatedTable\":_vm.leaseBankAccountRelatedTable,\"bankRequired\":false,\"modalMode\":true,\"filterBankAccountType\":0,\"originalBankAccount\":_vm.leaseRelatedAccountDetails},on:{\"onBankAccountUpdated\":_vm.onLeaseFinancierBankAccountUpdated,\"onBankAccountAdded\":_vm.onNewLeaseFinancierBankAccountAdded,\"onOkayToCancel\":function($event){_vm.showAddBankAccountModal = false}}})],1)]):_vm._e(),_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"5\"}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Type\",\"label-for\":\"typeSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.vehicleLease.type.$error, 'requiredField': (_vm.vehicleLease.type == 0)},attrs:{\"id\":\"typeSelect\",\"plain\":true,\"options\":_vm.mvLeaseTypes,\"required\":\"\",\"disabled\":_vm.leaseID > 0},on:{\"change\":function($event){return _vm.$v.vehicleLease.type.$touch();}},model:{value:(_vm.vehicleLease.type),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"type\", $$v)},expression:\"vehicleLease.type\"}},[(_vm.vehicleLease.id == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.vehicleLease.type.$dirty && !_vm.$v.vehicleLease.type.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease type is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{attrs:{\"label\":\"Financier\",\"label-for\":\"financierSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.vehicleLease.financier.$error,'requiredField': (_vm.vehicleLease.financier == 0)},attrs:{\"id\":\"financierSelect\",\"plain\":true,\"options\":_vm.mvFinanceTypes},on:{\"change\":function($event){_vm.$v.vehicleLease.financier.$touch(); _vm.onChangeFinancier()}},model:{value:(_vm.vehicleLease.financier),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"financier\", $$v)},expression:\"vehicleLease.financier\"}},[(_vm.vehicleLease.id == 0 || _vm.vehicleLease.financier == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.vehicleLease.financier.$dirty && !_vm.$v.vehicleLease.financier.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease financier is required.\\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.NovatedFullyMaintained && _vm.vehicleLease.financier > 0 && _vm.leaseBankAccountLoaded)?_c('b-form-group',{attrs:{\"label\":\"Lease Bank Account\",\"label-for\":\"leaseBankAccountSelect\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.showLeaseFinancierAccountErrorMsg && _vm.$v.vehicleLease.leaseBankAccountId.$error,'requiredField': (_vm.vehicleLease.leaseBankAccountId == 0)},attrs:{\"id\":\"leaseBankAccountSelect\",\"plain\":true,\"options\":_vm.leaseBankAccountList,\"required\":\"\"},on:{\"change\":function($event){_vm.$v.vehicleLease.leaseBankAccountId.$touch();_vm.leaseBankAccountSelected()}},model:{value:(_vm.vehicleLease.leaseBankAccountId),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"leaseBankAccountId\", $$v)},expression:\"vehicleLease.leaseBankAccountId\"}},[((_vm.vehicleLease.leaseBankAccountId == 0))?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.leaseRelatedBankAccount == null || _vm.canUpdateLeaseFinancierAccount)?_c('div',{staticClass:\"input-group-append\",attrs:{\"title\":(_vm.leaseRelatedBankAccount == null ? 'Add New' : 'Edit') + ' Bank Account'}},[_c('b-button',{staticClass:\"primary\",attrs:{\"size\":\"md\",\"type\":\"button\"},on:{\"click\":function($event){return _vm.onAddEditLeaseBankAccount()}}},[_c('i',{class:_vm.leaseRelatedBankAccount == null ? 'fas fa-plus' : 'fas fa-pencil-alt',attrs:{\"aria-hidden\":\"true\"}})])],1):_vm._e()],1),(_vm.showLeaseFinancierAccountErrorMsg && _vm.$v.vehicleLease.leaseBankAccountId.$dirty && !_vm.$v.vehicleLease.leaseBankAccountId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease Bank Account is required.\\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicleLease.accountNumber.$error },attrs:{\"label\":\"Lease Contract/Account Number\",\"label-for\":\"accountNumber\"}},[_c('b-form-input',{class:{ 'requiredField': (_vm.vehicleLease.accountNumber.length == 0), 'textInput': true},attrs:{\"id\":\"accountNumber\",\"type\":\"text\",\"placeholder\":\"Enter Lease Contract/Account Number\",\"maxlength\":\"20\"},on:{\"input\":function($event){return _vm.$v.vehicleLease.accountNumber.$touch()}},model:{value:(_vm.vehicleLease.accountNumber),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"accountNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicleLease.accountNumber\"}}),(_vm.$v.vehicleLease.accountNumber.$dirty && !_vm.$v.vehicleLease.accountNumber.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease Contract/Account Number is required \\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{attrs:{\"label\":\"Purchase Type\",\"label-for\":\"purchaseTypeSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"purchaseTypeSelect\",\"plain\":true,\"options\":_vm.purchaseTypeList},model:{value:(_vm.vehicleLease.purchaseType),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"purchaseType\", $$v)},expression:\"vehicleLease.purchaseType\"}},[(_vm.vehicleLease.purchaseType == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select a Type --\")])]):_vm._e()],2)],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicleLease.mvLeaseEstAnnualKm.$error },attrs:{\"label\":\"Estimated Annual KMs\",\"label-for\":\"estimatedAnnualKmId\"}},[_c('b-form-input',{class:{'textInput':true },attrs:{\"id\":\"estimatedAnnualKmId\",\"type\":\"text\",\"placeholder\":\"Enter Estimated Annual KMs\"},on:{\"input\":function($event){return _vm.$v.vehicleLease.mvLeaseEstAnnualKm.$touch()}},model:{value:(_vm.vehicleLease.mvLeaseEstAnnualKm),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"mvLeaseEstAnnualKm\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicleLease.mvLeaseEstAnnualKm\"}}),(_vm.$v.vehicleLease.mvLeaseEstAnnualKm.$dirty && !_vm.$v.vehicleLease.mvLeaseEstAnnualKm.numeric )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Estimated Annual KM is invalid. \\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"5\"}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicleLease.leaseStartDate.$error || (_vm.$v.vehicleLease.leaseStartDate.$dirty && !_vm.isValidLeaseDates())},attrs:{\"label\":\"Start Date\",\"label-for\":\"leasestartdate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.vehicleLease.leaseStartDate || _vm.vehicleLease.leaseStartDate.length == 0) },attrs:{\"use-utc\":true,\"id\":'leasestartdate',\"required\":\"\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter start date',\"disabledDates\":_vm.disabledStartDates,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){_vm.$v.vehicleLease.leaseStartDate.$touch();_vm.onStartDateChanged();}},model:{value:(_vm.vehicleLease.leaseStartDate),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"leaseStartDate\", $$v)},expression:\"vehicleLease.leaseStartDate\"}}),(_vm.$v.vehicleLease.leaseStartDate.$dirty && !_vm.$v.vehicleLease.leaseStartDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease start date is required.\\n \")]):_vm._e(),(_vm.$v.vehicleLease.leaseStartDate.$dirty && !_vm.isValidLeaseDates())?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease start date should be before lease end date.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicleLease.leaseEndDate.$error || (_vm.$v.vehicleLease.leaseEndDate.$dirty && !_vm.isValidLeaseDates()) },attrs:{\"label\":\"End Date\",\"label-for\":\"leaseenddate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.vehicleLease.leaseEndDate || _vm.vehicleLease.leaseEndDate == null) && (!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly)) },attrs:{\"use-utc\":true,\"id\":'leaseenddate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter end date',\"disabledDates\":_vm.disabledEndDates,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){_vm.$v.vehicleLease.leaseEndDate.$touch();_vm.onEndDateChanged();}},model:{value:(_vm.vehicleLease.leaseEndDate),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"leaseEndDate\", $$v)},expression:\"vehicleLease.leaseEndDate\"}}),(_vm.$v.vehicleLease.leaseEndDate.$dirty && !_vm.$v.vehicleLease.leaseEndDate.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease end date is required.\\n \")]):_vm._e(),(_vm.$v.vehicleLease.leaseEndDate.$dirty && !_vm.isValidLeaseDates())?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease end date should be after lease start date.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicleLease.term.$error },attrs:{\"label\":\"Term (Months)\",\"label-for\":\"term\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"term\",\"type\":\"text\",\"placeholder\":\"Enter term\"},on:{\"input\":function($event){return _vm.$v.vehicleLease.term.$touch()}},model:{value:(_vm.vehicleLease.term),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"term\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicleLease.term\"}}),(_vm.$v.vehicleLease.term.$dirty && (!_vm.$v.vehicleLease.term.numeric || !_vm.$v.vehicleLease.term.minValue))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease term is invalid. \\n \")]):_vm._e(),(_vm.$v.vehicleLease.term.$dirty && !_vm.$v.vehicleLease.term.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease term is required. \\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Months Deferred\",\"label-for\":\"monthsDeferredSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"monthsDeferredSelect\",\"plain\":true,\"options\":_vm.monthsDeferredList,\"disabled\":_vm.vehicleLease.hasScheduleCreated},model:{value:(_vm.vehicleLease.monthsDeferred),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"monthsDeferred\", $$v)},expression:\"vehicleLease.monthsDeferred\"}})],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{class:{ 'form-group--error': _vm.showSecondPaymentDueDateError },attrs:{\"label\":\"First Payment Due Date\",\"label-for\":\"firstpaymentduedate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.vehicleLease.secondPaymentDueDate || _vm.vehicleLease.secondPaymentDueDate == null) },attrs:{\"use-utc\":true,\"id\":'firstpaymentduedate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter first payment due date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":!_vm.vehicleLease.hasScheduleCreated,\"disabled\":_vm.vehicleLease.hasScheduleCreated,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){_vm.onSecondPaymentDueDateChanged();_vm.$v.vehicleLease.secondPaymentDueDate.$touch()}},model:{value:(_vm.vehicleLease.secondPaymentDueDate),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"secondPaymentDueDate\", $$v)},expression:\"vehicleLease.secondPaymentDueDate\"}}),(_vm.showSecondPaymentDueDateError)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n First payment due date should be between lease start date and lease end date. \\n \")]):_vm._e(),(_vm.$v.vehicleLease.secondPaymentDueDate.$dirty && !_vm.$v.vehicleLease.secondPaymentDueDate.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n First payment due date is required. \\n \")]):_vm._e()],1):_vm._e()],1)],1),(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.vehicleLease.finalPaymentDueDate.$error },attrs:{\"label\":\"Final Payment Due Date\",\"label-for\":\"finalpaymentduedate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.vehicleLease.finalPaymentDueDate || _vm.vehicleLease.finalPaymentDueDate == null)},attrs:{\"use-utc\":true,\"id\":'finalpaymentduedate',\"input-class\":'form-control textInput',\"placeholder\":'Enter final payment due date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":!_vm.vehicleLease.hasScheduleCreated,\"disabled\":false,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){return _vm.$v.vehicleLease.finalPaymentDueDate.$touch()}},model:{value:(_vm.vehicleLease.finalPaymentDueDate),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"finalPaymentDueDate\", $$v)},expression:\"vehicleLease.finalPaymentDueDate\"}}),((_vm.$v.vehicleLease.finalPaymentDueDate.$dirty || _vm.$v.vehicleLease.leaseStartDate.$dirty || _vm.$v.vehicleLease.leaseEndDate.$dirty) && !_vm.$v.vehicleLease.finalPaymentDueDate.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final payment due date should be between lease start date and lease end date.\\n \")]):_vm._e(),(_vm.$v.vehicleLease.finalPaymentDueDate.$dirty && !_vm.$v.vehicleLease.finalPaymentDueDate.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final payment due date is required. \\n \")]):_vm._e()],1):_vm._e()],1)],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Monthly Lease Payment Date\",\"label-for\":\"leaseDateSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.vehicleLease.mvLeasePaymentDate.$error,'requiredField': (_vm.vehicleLease.mvLeasePaymentDate == 0)},attrs:{\"id\":\"leaseDateSelect\",\"plain\":true,\"options\":_vm.mvLeaseDates,\"disabled\":_vm.vehicleLease.hasScheduleCreated},on:{\"change\":function($event){return _vm.$v.vehicleLease.mvLeasePaymentDate.$touch()}},model:{value:(_vm.vehicleLease.mvLeasePaymentDate),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"mvLeasePaymentDate\", $$v)},expression:\"vehicleLease.mvLeasePaymentDate\"}},[(_vm.vehicleLease.id == 0 || _vm.vehicleLease.mvLeasePaymentDate == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.vehicleLease.mvLeasePaymentDate.$dirty && !_vm.$v.vehicleLease.mvLeasePaymentDate.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease Payment Date (Monthly) is required.\\n \")]):_vm._e()],1):_vm._e()],1)],1),(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.vehicleLease.leasePaymentAmount.$error },attrs:{\"label\":\"Monthly Lease Payment Amount (GST Inclusive)\",\"label-for\":\"leasepaymentamount\"}},[_c('b-input-group',{class:{ 'requiredField': (!_vm.vehicleLease.leasePaymentAmount && _vm.vehicleLease.leasePaymentAmount == null)},attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{attrs:{\"id\":\"leasepaymentamount\",\"type\":\"text\",\"placeholder\":\"Enter Lease payment amount\"},on:{\"input\":function($event){return _vm.$v.vehicleLease.leasePaymentAmount.$touch()}},model:{value:(_vm.vehicleLease.leasePaymentAmount),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"leasePaymentAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicleLease.leasePaymentAmount\"}})],1),(_vm.$v.vehicleLease.leasePaymentAmount.$dirty && !_vm.$v.vehicleLease.leasePaymentAmount.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease payment amount is required. \\n \")]):_vm._e(),(_vm.$v.vehicleLease.leasePaymentAmount.$dirty && !_vm.$v.vehicleLease.leasePaymentAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease payment amount is not valid.\\n \")]):_vm._e()],1):_vm._e()],1)],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.vehicleLease.runningCost.$error },attrs:{\"label\":\"\",\"label-for\":\"runningcost\"}},[_c('label',[_vm._v(\"\\n Monthly Running Cost (GST Inclusive)\\n \"),(!_vm.useStore && _vm.vehicleLease.id > 0 && _vm.vehicleLease.runningCost == 0)?_c('i',{staticClass:\"fas fa-info-circle text-warning cursor-pointer pl-1\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Running cost is $0.00 either due to the budget not being created for the novation or the novation start date is in the future.\"}}):_vm._e()]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{attrs:{\"id\":\"runningcost\",\"disabled\":\"\",\"type\":\"text\",\"placeholder\":\"Budget not configured.\"},on:{\"input\":function($event){return _vm.$v.vehicleLease.runningCost.$touch()}},model:{value:(_vm.vehicleLease.runningCost),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"runningCost\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicleLease.runningCost\"}})],1),(_vm.$v.vehicleLease.runningCost.$dirty && !_vm.$v.vehicleLease.runningCost.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Running Cost is not valid.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.vehicleLease.leaseAmountPaidExternal.$error },attrs:{\"label\":\"Lease Amount Paid (Externally)\",\"label-for\":\"leaseamountpaidexternal\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"leaseamountpaidexternal\",\"disabled\":\"\",\"type\":\"text\",\"placeholder\":\"Enter Lease prepayments\"},on:{\"input\":function($event){return _vm.$v.vehicleLease.leaseAmountPaidExternal.$touch()}},model:{value:(_vm.vehicleLease.leaseAmountPaidExternal),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"leaseAmountPaidExternal\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicleLease.leaseAmountPaidExternal\"}}),_c('div',{staticClass:\"input-group-append\",attrs:{\"title\":\"Edit Lease prepayments\"}},[_c('b-button',{staticClass:\"primary\",attrs:{\"size\":\"md\",\"type\":\"button\"},on:{\"click\":_vm.openLeasePrePayments}},[_c('i',{staticClass:\"fas fa-pencil-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),(_vm.$v.vehicleLease.leaseAmountPaidExternal.$dirty && !_vm.$v.vehicleLease.leaseAmountPaidExternal.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease amount paid (externally) is not valid.\\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.vehicleLease.residualAmount.$error },attrs:{\"label\":\"Residual Amount (GST Inclusive)\",\"label-for\":\"residualAmount\"}},[_c('b-input-group',{class:{'requiredField': (_vm.vehicleLease.residualAmount == null)},attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"residualAmount\",\"type\":\"text\",\"placeholder\":\"Enter residual amount\"},on:{\"input\":function($event){return _vm.$v.vehicleLease.residualAmount.$touch()}},model:{value:(_vm.vehicleLease.residualAmount),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"residualAmount\", $$v)},expression:\"vehicleLease.residualAmount\"}})],1),(_vm.$v.vehicleLease.residualAmount.$dirty && !_vm.$v.vehicleLease.residualAmount.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Residual amount is required.\\n \")]):_vm._e(),(_vm.$v.vehicleLease.residualAmount.$dirty && !_vm.$v.vehicleLease.residualAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Residual amount is not valid.\\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(!(_vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.MadeAvailable || _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.RunningCostOnly))?_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.vehicleLease.residualDueDate.$error }},[_c('label',{attrs:{\"label-for\":\"residualduedate\"}},[_vm._v(\"\\n Residual Due Date \\n \"),(_vm.vehicleLease.residualDueNotificationSent)?_c('span',[_c('i',{staticClass:\"fas fa-envelope-open text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Residual due email sent.\"}})]):_vm._e()]),_c('DatePicker',{class:{ 'requiredField': (_vm.vehicleLease.residualDueDate == null)},attrs:{\"use-utc\":true,\"id\":'residualduedate',\"input-class\":'form-control textInput',\"placeholder\":'Enter residual due date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){return _vm.$v.vehicleLease.residualDueDate.$touch()}},model:{value:(_vm.vehicleLease.residualDueDate),callback:function ($$v) {_vm.$set(_vm.vehicleLease, \"residualDueDate\", $$v)},expression:\"vehicleLease.residualDueDate\"}}),(_vm.$v.vehicleLease.residualDueDate.$dirty && !_vm.$v.vehicleLease.residualDueDate.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Residual due date is required.\\n \")]):_vm._e(),((_vm.$v.vehicleLease.residualDueDate.$dirty || _vm.$v.vehicleLease.leaseEndDate.$dirty ) && !_vm.$v.vehicleLease.residualDueDate.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Residual due date should be on or after lease end date.\\n \")]):_vm._e()],1):_vm._e()],1)],1)],1)],1),_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.isSaveButtonDisabled()}},[_vm._v(\" \"+_vm._s(_vm.vehicleLease.id>0 || (_vm.useStore && _vm.isUpdateMode) ?'Update':'Add'))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")]),(_vm.leaseID > 0 && !_vm.vehicleLease.hasScheduleCreated && _vm.vehicleLease.type == _vm.motorVehicleLeaseTypes.NovatedFullyMaintained)?_c('b-button',{staticClass:\"ml-3 lease-payment-schedule\",attrs:{\"type\":\"button\",\"size\":\"md\"},on:{\"click\":function($event){return _vm.onCreatePaymentSchedule()}}},[_vm._v(\" Create Lease Payment Schedule\")]):_vm._e()],1),_c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.vehicleLease.id>0 && !_vm.useStore),expression:\"vehicleLease.id>0 && !useStore\"}],staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.vehicleLease.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.vehicleLease.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.vehicleLease.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.vehicleLease.lastUpdatedDate))+\")\")])])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancleLeasePrePaymentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancleLeasePrePaymentConf_CloseButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancleLeasePrePaymentConf_OkButton\"},on:{\"click\":_vm.closeAddLeasePrePaymentPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showAddLeasePrePaymentsPanel)?_c('div',[_c('b-container',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"6\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.leasePrePayment.paidDate.$error },attrs:{\"label\":\"Paid Date\",\"label-for\":\"paidDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.leasePrePayment.paidDate || _vm.leasePrePayment.paidDate.length == 0) },attrs:{\"use-utc\":true,\"id\":'paidDate',\"required\":\"\",\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Paid Date'},on:{\"input\":function($event){return _vm.$v.leasePrePayment.paidDate.$touch()}},model:{value:(_vm.leasePrePayment.paidDate),callback:function ($$v) {_vm.$set(_vm.leasePrePayment, \"paidDate\", $$v)},expression:\"leasePrePayment.paidDate\"}}),(_vm.$v.leasePrePayment.paidDate.$dirty && !_vm.$v.leasePrePayment.paidDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Paid Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"6\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.leasePrePayment.totalAmount.$error },attrs:{\"label\":\"Amount\",\"label-for\":\"amount\"}},[_c('b-form-input',{class:{ 'requiredField': (_vm.leasePrePayment.totalAmount == null || _vm.leasePrePayment.totalAmount.length == 0), 'textInput': true},attrs:{\"id\":\"amount\",\"type\":\"text\",\"placeholder\":\"Enter Amount\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.leasePrePayment.totalAmount.$touch()}},model:{value:(_vm.leasePrePayment.totalAmount),callback:function ($$v) {_vm.$set(_vm.leasePrePayment, \"totalAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"leasePrePayment.totalAmount\"}}),(_vm.$v.leasePrePayment.totalAmount.$dirty && !_vm.$v.leasePrePayment.totalAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Amount is required.\\n \")]):_vm._e(),(_vm.$v.leasePrePayment.totalAmount.$dirty && !_vm.$v.leasePrePayment.totalAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Amount is invallid.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"6\"}},[_c('span',{staticClass:\"float-left\"},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"gstInclusiveCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":\"leasePrepaymentGstInclusive\"},model:{value:(_vm.leasePrePayment.gstInclusive),callback:function ($$v) {_vm.$set(_vm.leasePrePayment, \"gstInclusive\", $$v)},expression:\"leasePrePayment.gstInclusive\"}})],1)],1),_c('span',{staticClass:\"float-left\"},[_vm._v(\" GST Inclusive \")])])],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"6\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.leasePrePayment.comment.$error },attrs:{\"label\":\"Comment\",\"label-for\":\"comment\"}},[_c('b-form-input',{class:{ 'requiredField': (_vm.leasePrePayment.comment.length == 0), 'textInput': true},attrs:{\"id\":\"comment\",\"type\":\"text\",\"placeholder\":\"Enter Comment\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.leasePrePayment.comment.$touch()}},model:{value:(_vm.leasePrePayment.comment),callback:function ($$v) {_vm.$set(_vm.leasePrePayment, \"comment\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"leasePrePayment.comment\"}}),(_vm.$v.leasePrePayment.comment.$dirty && !_vm.$v.leasePrePayment.comment.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Comment is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1),_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.leasePrePayment.paidDate.$invalid || \n _vm.$v.leasePrePayment.totalAmount.$invalid ||\n _vm.$v.leasePrePayment.comment.$invalid ||\n !_vm.isModelDirty())},on:{\"click\":function($event){_vm.addAnother = false;}}},[_vm._v(\" \"+_vm._s(_vm.leasePrePayment.id>0 || _vm.editMode ?'Update':'Add'))]),(_vm.leasePrePayment.id==0)?_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.leasePrePayment.paidDate.$invalid || \n _vm.$v.leasePrePayment.totalAmount.$invalid ||\n _vm.$v.leasePrePayment.comment.$invalid ||\n !_vm.isModelDirty())},on:{\"click\":function($event){_vm.addAnother = true;}}},[_vm._v(\"Add Another\")]):_vm._e(),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1),_c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.leasePrePayment.id>0),expression:\"leasePrePayment.id>0\"}],staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.leasePrePayment.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.leasePrePayment.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.leasePrePayment.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.leasePrePayment.lastUpdatedDate))+\")\")])])],1)],1)],1):_vm._e(),(!_vm.showAddLeasePrePaymentsPanel)?_c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",on:{\"click\":_vm.onAddPrePayment}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Prepayment\\n \")])],1)],1),_c('DataTable',{ref:\"leaseprepaymentTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":\"showEmptyBanner\",\"emptyBanner\":\"No Prepayments to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}}),_c('div',[_c('b',[_vm._v(\"Total Amount: \"),_c('span',{staticClass:\"doubleUnderline\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmount}})],1)])])],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"paidDate\",on:{\"click\":function($event){return _vm.onClick()}}},[_vm._v(_vm._s(_vm._f(\"moment\")(_vm.item.paidDate,\"DD MMM YYYY\")))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\r\nimport moment from 'moment' \r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\n\r\n @Component\r\n export default class EditLeasePrePaymentLink extends Vue{\r\n @Prop() item:any;\r\n onClick(){\r\n this.editLeasePrePayment({id:this.item.id,index:this.item.index},DataTableActionTypes.Edit);\r\n }\r\n @Emit('customEvent') editLeasePrePayment(data:any, type:DataTableActionTypes){\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditLeasePrePaymentLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditLeasePrePaymentLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditLeasePrePaymentLink.vue?vue&type=template&id=33df0d22&scoped=true\"\nimport script from \"./EditLeasePrePaymentLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditLeasePrePaymentLink.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EditLeasePrePaymentLink.vue?vue&type=style&index=0&id=33df0d22&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"33df0d22\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteLeasePrePaymentConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteLeasePrePaymentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the Lease Prepayment?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteLeasePrePaymentConf_CloseButton\"},on:{\"click\":function($event){_vm.showDeleteLeasePrePaymentConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteLeasePrePaymentConf_OkButton\"},on:{\"click\":_vm.deleteLeasePrePayment}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('span',{staticClass:\"ml-2\",attrs:{\"title\":\"Delete Lease Prepayment\"},on:{\"click\":function($event){_vm.showDeleteLeasePrePaymentConfirmation = true}}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport apiService from '@/shared/services/apiService'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class LeasePrePaymentListActionButtons extends Vue{\n @Prop() item:any\n showDeleteLeasePrePaymentConfirmation = false;\n\n deleteLeasePrePayment(){\n this.showDeleteLeasePrePaymentConfirmation = false;\n this.onDeletePrePayment(this.item,DataTableActionTypes.Delete); \n }\n\n @Emit('customEvent') onDeletePrePayment(data:any,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePrePaymentListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePrePaymentListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LeasePrePaymentListActionButtons.vue?vue&type=template&id=68b6d26c&scoped=true\"\nimport script from \"./LeasePrePaymentListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./LeasePrePaymentListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LeasePrePaymentListActionButtons.vue?vue&type=style&index=0&id=68b6d26c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68b6d26c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport {Component,Prop,Emit} from 'vue-property-decorator'\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue'\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required} from 'vuelidate/lib/validators'\r\nimport apiService from '@/shared/services/apiService'\r\nimport {LeasePrePayment} from '@/models/leasePrePayment.model'\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\nimport Modal from '@/shared/components/modal/Modal.vue'\r\nimport { TableTemplate } from '@/models/tableCustomTemplate.model'\r\nimport EditLeasePrePaymentLink from './EditLeasePrePaymentLink.vue'\r\nimport LeasePrePaymentListActionButtons from './LeasePrePaymentListActionButtons.vue'\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue'\r\n\r\n@Component({\r\n components:\r\n {\r\n DataTable,Modal\r\n },\r\n mixins:[validationMixin],\r\n validations:\r\n {\r\n leasePrePayment:{\r\n paidDate:\r\n {\r\n required\r\n },\r\n totalAmount:\r\n {\r\n required,\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n },\r\n comment:\r\n {\r\n required,\r\n }\r\n }\r\n }\r\n})\r\nexport default class LeasePrePaymentList extends Vue{\r\n @Prop() RelatedID:number;\r\n @Prop() RelatedTable:RelatedTables;\r\n showAddLeasePrePaymentsPanel:boolean = false;\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n addNewLeasePrePayment:LeasePrePayment = {\r\n id:0,\r\n index:-1,\r\n paidDate:\"\",\r\n amount:\"\",\r\n gstAmount:\"\",\r\n totalAmount:\"\",\r\n gstInclusive:true,\r\n comment:\"\",\r\n relatedID:this.RelatedID,\r\n relatedTable:this.RelatedTable,\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n lastUpdateByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdatedDate:new Date(),\r\n };\r\n leasePrePayment:LeasePrePayment = Object.assign({},this.addNewLeasePrePayment);\r\n showEmptyBanner:boolean = false;\r\n items:any = [];\r\n dirtyValidatorRefNo:number = 0;\r\n showCancelConfirmation:boolean = false;\r\n addAnother:boolean = false;\r\n totalAmount:number = 0;\r\n gstRate:number = 0.1;\r\n\r\n fields = [\r\n {key:'paidDate',label:'Paid Date', class:'width_15'},\r\n {key:'comment',label:'Comment'},\r\n {key:'amount',label:'Amount', class:'text-right width_15'},\r\n {key:'gstAmount',label:'GST', class:'width_10'},\r\n {key:'totalAmount',label:'Total', class:'width_10'},\r\n {key:'actions',label:'', class:'text-center width_10'}\r\n ];\r\n customTemplateList:Array = [\r\n {slot:\"paidDate\",customTemplate:EditLeasePrePaymentLink},\r\n {slot:\"actions\",customTemplate:LeasePrePaymentListActionButtons},\r\n {slot:\"amount\",customTemplate:ApexCurrency},\r\n {slot:\"gstAmount\",customTemplate:ApexCurrency},\r\n {slot:\"totalAmount\",customTemplate:ApexCurrency}\r\n ];\r\n editMode:boolean =false; \r\n created()\r\n {\r\n this.loadLeasePrePayments();\r\n }\r\n loadLeasePrePayments(onDelete:boolean = false)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.showEmptyBanner = false;\r\n if(this.RelatedID > 0)\r\n {\r\n apiService.sendGetRequest('Lease','LeasePrePayments',{relatedTable:this.RelatedTable, relatedID:this.RelatedID}).then(\r\n response => {\r\n this.items = response.data.resultDto;\r\n this.calculateTotal();\r\n if(onDelete)\r\n {\r\n this.OnLeasePrePaymentChange(this.totalAmount);\r\n }\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n ); \r\n }\r\n else\r\n {\r\n if(this.$store.getters.getLeasePrepayments && this.$store.getters.getLeasePrepayments.length > 0)\r\n {\r\n this.items = this.$store.getters.getLeasePrepayments.slice();\r\n this.calculateTotal();\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n\r\n }\r\n calculateTotal()\r\n {\r\n var amount:number = 0;\r\n this.items.forEach(item => {\r\n amount+= parseFloat(item.totalAmount);\r\n });\r\n this.totalAmount = parseFloat(amount.toFixed(2));\r\n }\r\n onSubmit()\r\n {\r\n if(this.RelatedID > 0)\r\n {\r\n if(this.leasePrePayment.id > 0){\r\n this.updateLeasePrePayment();\r\n }\r\n else{\r\n this.createLeasePrePayment();\r\n }\r\n }\r\n else\r\n {\r\n this.leasePrePayment.gstAmount = this.leasePrePayment.gstInclusive ? (this.leasePrePayment.totalAmount * (this.gstRate / (1 + this.gstRate))) : 0,\r\n this.leasePrePayment.amount = this.leasePrePayment.totalAmount - this.leasePrePayment.gstAmount;\r\n if(this.editMode)\r\n {\r\n this.items[this.leasePrePayment.index] = this.leasePrePayment;\r\n }else\r\n {\r\n this.items.push(Object.assign({},this.leasePrePayment));\r\n }\r\n this.calculateTotal();\r\n this.OnLeasePrePaymentChange(this.totalAmount);\r\n this.$store.dispatch('setLeasePrePayments',this.items);\r\n this.closeAddLeasePrePaymentPanel();\r\n if(this.addAnother)\r\n {\r\n this.$nextTick(()=> {\r\n this.onAddPrePayment();\r\n });\r\n }\r\n }\r\n }\r\n createLeasePrePayment()\r\n {\r\n var params = {\r\n paidDate: this.leasePrePayment.paidDate,\r\n totalAmount: this.leasePrePayment.totalAmount, \r\n gstInclusive: this.leasePrePayment.gstInclusive,\r\n comment:this.leasePrePayment.comment, \r\n relatedID:this.RelatedID, \r\n relatedTable:this.RelatedTable \r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPutRequest('Lease','LeasePrePayment',params).then(\r\n response => {\r\n if(response.data.isSuccess){\r\n this.leasePrePayment.gstAmount = this.leasePrePayment.gstInclusive ? (this.leasePrePayment.totalAmount * (this.gstRate / (1 + this.gstRate))) : 0,\r\n this.leasePrePayment.amount = this.leasePrePayment.totalAmount - this.leasePrePayment.gstAmount;\r\n this.leasePrePayment.id = response.data.id;\r\n this.leasePrePayment.createdDate = response.data.lastUpdatedDate;\r\n this.leasePrePayment.createdByName = response.data.updatedByName;\r\n this.leasePrePayment.lastUpdateByName = response.data.updatedByName;\r\n this.leasePrePayment.lastUpdatedDate = response.data.lastUpdatedDate;\r\n this.leasePrePayment.concurrencyKey = response.data.concurrencyKey;\r\n this.items.push(Object.assign({},this.leasePrePayment));\r\n this.calculateTotal();\r\n this.OnLeasePrePaymentChange(this.totalAmount);\r\n this.closeAddLeasePrePaymentPanel();\r\n if(this.addAnother)\r\n {\r\n this.$nextTick(()=> {\r\n this.onAddPrePayment();\r\n });\r\n }\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n updateLeasePrePayment()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Lease','LeasePrePayment',this.leasePrePayment).then(\r\n response => {\r\n if(response.data.isSuccess){\r\n var lp = this.getLeasePrePaymentByID(this.leasePrePayment.id,this.leasePrePayment.index);\r\n var index = this.items.indexOf(lp);\r\n this.leasePrePayment.gstAmount = this.leasePrePayment.gstInclusive ? (this.leasePrePayment.totalAmount * (this.gstRate / (1 + this.gstRate))) : 0,\r\n this.leasePrePayment.amount = this.leasePrePayment.totalAmount - this.leasePrePayment.gstAmount;\r\n this.leasePrePayment.lastUpdateByName = response.data.updatedByName;\r\n this.leasePrePayment.lastUpdatedDate = response.data.lastUpdatedDate;\r\n this.leasePrePayment.concurrencyKey = response.data.concurrencyKey;\r\n this.items[index] = Object.assign({},this.leasePrePayment);\r\n var itemsCopy = Object.assign([],this.items);\r\n this.items = [];\r\n this.items = itemsCopy;\r\n this.calculateTotal();\r\n this.OnLeasePrePaymentChange(this.totalAmount);\r\n this.closeAddLeasePrePaymentPanel();\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n ); \r\n }\r\n getLeasePrePaymentByID(id:number,index:number)\r\n {\r\n if(id> 0)\r\n {\r\n var i;\r\n var prePayment;\r\n for (i = 0; i < this.items.length; i++) { \r\n if(this.items[i].id == id){\r\n prePayment = this.items[i];\r\n break;\r\n }\r\n }\r\n return prePayment;\r\n }else\r\n {\r\n var i;\r\n var prePayment;\r\n for (i = 0; i < this.items.length; i++) { \r\n if(this.items[i].index == index){\r\n prePayment = this.items[i];\r\n break;\r\n }\r\n }\r\n return prePayment;\r\n }\r\n\r\n }\r\n\r\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.Edit){\r\n this.onEditPrePayment(data);\r\n }\r\n if(type == DataTableActionTypes.Delete){\r\n this.onDeletePrePayments(data);\r\n }\r\n }\r\n\r\n onEditPrePayment(data:any)\r\n {\r\n this.leasePrePayment = Object.assign({},this.getLeasePrePaymentByID(data.id,data.index));\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.leasePrePayment);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n this.showAddLeasePrePaymentsPanel = true;\r\n this.editMode = true;\r\n }\r\n\r\n onDeletePrePayments(item:any)\r\n {\r\n if(item.id > 0)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendDeleteRequest(\"Lease\",\"LeasePrePayment\",{leasePrepaymentID:item.id}).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: \"Lease Prepayment successfully deleted.\",\r\n type: 'success',\r\n duration: 5000\r\n });\r\n \r\n this.refreshGrid({id:item.id,index:item.index});\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }) \r\n }else\r\n {\r\n this.refreshGrid({id:item.id,index:item.index});\r\n }\r\n \r\n }\r\n\r\n refreshGrid(data:any){\r\n if(data.id> 0)\r\n {\r\n if(this.leasePrePayment.id == data.id)\r\n {\r\n this.closeAddLeasePrePaymentPanel();\r\n }\r\n this.loadLeasePrePayments(true);\r\n }\r\n else\r\n {\r\n this.items.splice(data.index,1);\r\n var i;\r\n for (i = 0; i < this.items.length; i++) { \r\n this.items[i].index = i;\r\n }\r\n this.$store.dispatch('setLeasePrePayments',this.items);\r\n this.$nextTick(()=> {\r\n this.calculateTotal();\r\n this.OnLeasePrePaymentChange(this.totalAmount);\r\n });\r\n }\r\n }\r\n\r\n onAddPrePayment()\r\n {\r\n this.leasePrePayment = Object.assign({},this.addNewLeasePrePayment);\r\n this.leasePrePayment.index = this.items.length;\r\n this.showAddLeasePrePaymentsPanel = true;\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.leasePrePayment);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n isModelDirty()\r\n {\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n\r\n onCancel()\r\n {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo))\r\n {\r\n this.showCancelConfirmation = true;\r\n }\r\n else\r\n {\r\n this.closeAddLeasePrePaymentPanel();\r\n }\r\n }\r\n\r\n closeAddLeasePrePaymentPanel()\r\n {\r\n this.showAddLeasePrePaymentsPanel = false;\r\n this.showCancelConfirmation = false;\r\n this.$v.leasePrePayment.$reset();\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n this.editMode = false;\r\n }\r\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\r\n }\r\n \r\n @Emit('OnLeasePrePaymentChange') OnLeasePrePaymentChange(total:number){\r\n }\r\n \r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePrePaymentList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePrePaymentList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LeasePrePaymentList.vue?vue&type=template&id=3c3c5252&scoped=true\"\nimport script from \"./LeasePrePaymentList.vue?vue&type=script&lang=ts\"\nexport * from \"./LeasePrePaymentList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LeasePrePaymentList.vue?vue&type=style&index=0&id=3c3c5252&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3c3c5252\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { validationMixin } from 'vuelidate';\nimport { required,numeric, minValue} from 'vuelidate/lib/validators';\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport AddEditBankAccount from '@/components/admin/bankAccount/AddEditBankAccount.vue';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport ApexCurrencyFormat from '@/filters/currencyFilter'\nimport apiService from '@/shared/services/apiService';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport LeasePrePaymentList from './LeasePrePaymentList.vue';\nimport {Lease} from '@/models/Lease.model';\nimport moment from 'moment';\nimport lookupService from '@/shared/services/lookupService';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport {VehicleLeaseTypes} from '@/shared/enums/vehicleLeaseTypes.enum';\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\n\n@Component({\n components:{\n DataTable, Modal, LeasePrePaymentList, AddEditBankAccount\n },\n mixins:[validationMixin],\n validations:{\n vehicleLease:{\n type:\n {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n minValue:minValue(1)\n },\n financier:\n {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n minValue:minValue(1)\n }, \n leaseBankAccountId:\n {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n minValue:minValue(1)\n }, \n accountNumber:\n {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } \n else {\n if (value) {\n return true;\n }\n return false;\n }\n },\n },\n leaseStartDate:\n {\n required\n },\n leaseEndDate:\n {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n },\n leaseAmountPaidExternal: {\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n term:\n {\n numeric,\n minValue:minValue(0),\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n }\n },\n leasePaymentAmount:\n {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n runningCost:{\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return \t/^\\$?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(\\.[0-9][0-9]?)?$/.test(value) \n }\n },\n residualAmount: {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n residualDueDate:\n {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n isValid : (value,vm) => \n {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n }\n if (typeof value === 'undefined' || value === null || value === '') \n {\n return true\n }\n else if (typeof vm.leaseEndDate === 'undefined' || vm.leaseEndDate === null || vm.leaseEndDate === '')\n {\n return true\n }\n else \n {\n return moment(vm.leaseEndDate).isSameOrBefore(moment(value))\n }\n }\n },\n mvLeaseEstAnnualKm:{\n numeric\n },\n mvLeaseStartingODO:\n {\n numeric\n },\n mvLeasePaymentDate:{\n numeric,\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n minValue:minValue(1)\n }, \n finalPaymentDueDate:\n {\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n },\n isValid:(value,vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n }\n if(vm.finalPaymentDueDate)\n {\n if(vm.leaseEndDate != null && ((new Date(vm.finalPaymentDueDate)) > (new Date(vm.leaseEndDate)))){\n return false;\n }\n else if(vm.leaseStartDate != null && ((new Date(vm.finalPaymentDueDate)) < (new Date(vm.leaseStartDate)))){\n return false;\n }\n return true;\n }\n return true;\n }\n },\n secondPaymentDueDate:{\n isRequired: (value, vm) => {\n if((vm.type == VehicleLeaseTypes.MadeAvailable || vm.type == VehicleLeaseTypes.RunningCostOnly)) {\n return true;\n } else {\n if (value) {\n return true;\n }\n\n return false;\n }\n }\n }\n },\n }\n})\nexport default class AddEditVehicleLease extends Vue\n{\n @Prop() useStore: boolean;\n @Prop({default: null}) lease: Lease;\n @Prop({ default: null}) applicationType:ClientApplicationTypes;\n leaseID:number = 0;\n vehicleID:number = 0;\n\n vehicleLease:Lease = {\n id:0,\n type:0,\n financier:0,\n leaseBankAccountId:0,\n leaseStartDate:\"\",\n leaseEndDate:\"\",\n secondPaymentDueDate:null,\n finalPaymentDueDate:null,\n leaseAmountPaidExternal:null,\n term:null,\n monthsDeferred:0,\n leasePaymentAmount:null,\n runningCost: \"\",\n residualAmount:null,\n residualDueDate:null,\n motorVehicleID: this.vehicleID,\n concurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:new Date(),\n lastUpdatedDate:new Date(),\n mvLeaseFBTCostBase:\"\",\n mvLeaseEstAnnualKm:\"\",\n mvLeasePaymentDate:0,\n clientId:0,\n accountNumber:\"\",\n purchaseType:null,\n residualDueNotificationSent:false,\n hasScheduleCreated:false,\n ResidualDueDateDisplayText:\"\",\n ResidualAmountGstInclusive: false,\n LeasePaymentGstInclusive: false\n };\n \n purchaseTypeList:any = [];\n initialObj:Lease = Object.assign({}, this.vehicleLease); \n mvLeaseTypes:any = [];\n mvFinanceTypes:any = [];\n dirtyValidatorRefNo:number = 0;\n mvLeaseDates:number[] = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28];\n disabledStartDates:any = {};\n disabledEndDates:any = {};\n showCancelConfirmation:boolean = false;\n showLeasePrePayments:boolean = false;\n showOverrideAdminFee:boolean = false;\n showDirtyLeasePrePayments:boolean = false;\n leasePrePaymentsDirtyValRefNo:number = 0;\n relatedTable:RelatedTables = RelatedTables.VehicleLease;\n showSecondPaymentDueDateError:boolean = false;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n administrationFeeAmountWithFrequency:any = \"\";\n administrationFeeChargeFrequency:any = \"\";\n administrationFeeAmount:any =\"\";\n administrationFeeAmountOld:any = \"\";\n showDirtyOverrideAdminFee:boolean = false;\n isAdminFeeChargeModelEnabled:boolean = true;\n monthsDeferredList:number[] = [0,1,2];\n applicationRelatedTable:any = \"\" ;\n applicationRelatedId:any = \"\" ;\n isUpdateMode:boolean = true;\n leaseBankAccountList:any[] = [];\n leaseBankAccountLoaded:boolean = false;\n showAddBankAccountModal:boolean = false;\n leaseBankAccountRelatedId:number = 0;\n leaseBankAccountRelatedTable:number = 0;\n leaseNewBankAccountId: any = null;\n canUpdateLeaseFinancierAccount:boolean = false;\n leaseRelatedBankAccount:any = null;\n leaseRelatedAccountDetails:any = null;\n showLeaseFinancierAccountErrorMsg: boolean = true;\n previousLeaseHasNoEndDate:boolean = false;\n minimumLeaseStartDate:Date;\n maximumLeaseEndDate:Date;\n\n isValidLeaseDates() \n {\n if (this.vehicleLease.type == VehicleLeaseTypes.MadeAvailable || this.vehicleLease.type == VehicleLeaseTypes.RunningCostOnly){\n return true;\n }\n if(this.vehicleLease.leaseStartDate && this.vehicleLease.leaseEndDate)\n {\n if( new Date(this.vehicleLease.leaseStartDate) > new Date(this.vehicleLease.leaseEndDate)){\n return false;\n }\n return true;\n }\n return true;\n }\n motorVehicleLeaseTypes = VehicleLeaseTypes;\n monthlyRunningCost: any = 0;\n\n created(){\n this.loadLeaseTypes();\n this.loadPurchaseTypes();\n this.loadActiveFinancierTypes();\n if(this.useStore){\n if(this.applicationType == ClientApplicationTypes.Finance){\n this.isUpdateMode = this.$store.getters.getFinanceApplicationLeaseAndEmploymentLeaseType > 0\n this.applicationRelatedTable = RelatedTables.FinanceApplication\n this.applicationRelatedId = this.$store.getters.getFinanceApplicationID\n if(this.isUpdateMode){\n var financeApplicationLeaseId = this.$store.getters.getFinanceApplicationLeaseId\n if(financeApplicationLeaseId > 0){\n this.leaseBankAccountRelatedTable =RelatedTables.VehicleLease;\n this.leaseBankAccountRelatedId = financeApplicationLeaseId;\n }else{\n this.leaseBankAccountRelatedTable = this.applicationRelatedTable\n this.leaseBankAccountRelatedId = this.applicationRelatedId;\n }\n }else{\n this.leaseBankAccountRelatedTable = this.applicationRelatedTable\n this.leaseBankAccountRelatedId = this.applicationRelatedId;\n }\n this.vehicleLease = this.lease;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.vehicleLease);\n this.$store.dispatch('updateFinanceApplicationDirtyValidatorRefNos',{index: FinanceApplicationStates.LeaseAndEmployment-1,dirtyValidationNo:this.dirtyValidatorRefNo});\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n if(this.vehicleLease.financier > 0){\n this.loadLeaseFinancierAccountList();\n }\n } else {\n this.leaseBankAccountRelatedTable = RelatedTables.VehicleLease;\n this.leaseID = this.$route.params.leaseID?+this.$route.params.leaseID:0;\n this.vehicleID = this.$route.params.vehicleID?+this.$route.params.vehicleID:0;\n this.loadPreviousAndNextLeases();\n if(this.vehicleID>0){\n this.onVehicleIdUpdated(this.vehicleID);\n }\n\n if(this.leaseID>0){\n this.leaseBankAccountRelatedId = this.leaseID;\n this.loadLeaseDetails();\n } else{\n this.leaseBankAccountRelatedId = 0;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.vehicleLease);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n }\n }\n\n\n loadPreviousAndNextLeases(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Lease','PreviousAndNextLeases',{vehicleId:this.vehicleID, leaseId:this.leaseID}).then(response=>{\n var data = response.data;\n if(data.previousLease)\n {\n this.previousLeaseHasNoEndDate = data.previousLease.leaseEndDate == null;\n if(data.previousLease.leaseEndDate != null)\n {\n this.minimumLeaseStartDate = moment(data.previousLease.leaseEndDate).add(1,'days').toDate();\n this.disabledStartDates = {to:this.minimumLeaseStartDate};\n }\n else\n {\n this.minimumLeaseStartDate = moment(data.previousLease.startEndDate).add(1,'days').toDate();\n this.disabledStartDates = {to:this.minimumLeaseStartDate};\n }\n }\n if(data.nextLease)\n {\n if(data.nextLease.leaseStartDate != null)\n {\n this.maximumLeaseEndDate = moment(data.nextLease.leaseStartDate).subtract(1,'days').toDate();\n this.disabledEndDates = {from:this.maximumLeaseEndDate};\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }) \n }\n\n onAddEditLeaseBankAccount(){\n if(this.canUpdateLeaseFinancierAccount){\n apiService.sendGetRequest('BankAccount','BankAccount',{bankAccountId: this.vehicleLease.leaseBankAccountId}).then( response=>{\n this.leaseRelatedAccountDetails = response.data;\n this.showAddBankAccountModal = true;\n }) \n }else{\n this.showAddBankAccountModal = true;\n }\n }\n\n leaseBankAccountSelected(){\n this.canUpdateLeaseFinancierAccount = this.leaseRelatedBankAccount && this.vehicleLease.leaseBankAccountId == this.leaseRelatedBankAccount.value;\n }\n\n onNewLeaseFinancierBankAccountAdded(data:any){\n var newBankAccount = {value: data.id, text: data.accountName + \" \" + data.bankAccountBSB + \" \" + data.accountNumber, relatedTable: this.leaseBankAccountRelatedTable}\n this.leaseRelatedBankAccount = newBankAccount;\n this.leaseBankAccountList.push(newBankAccount);\n this.vehicleLease.leaseBankAccountId = data.id;\n this.leaseNewBankAccountId = this.leaseID == 0 ? data.id : null;\n this.canUpdateLeaseFinancierAccount = true;\n }\n\n onLeaseFinancierBankAccountUpdated(data:any){\n this.leaseRelatedBankAccount.text = data.accountName + \" \" + data.bankAccountBSB + \" \" + data.accountNumber;\n }\n\n onChangeFinancier() {\n this.vehicleLease.leaseBankAccountId = 0;\n this.showLeaseFinancierAccountErrorMsg = false;\n this.loadLeaseFinancierAccountList();\n }\n\n loadLeaseFinancierAccountList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('BankAccount','LeaseFinancierBankAccountsSelectList',{relatedTable: this.leaseBankAccountRelatedTable,\n relatedId: this.leaseBankAccountRelatedId, financierId: this.vehicleLease.financier}).then( response=>{\n this.leaseBankAccountList = response.data;\n var bankAccount= response.data.filter(ba => ba.relatedTable == this.leaseBankAccountRelatedTable);\n this.leaseRelatedBankAccount = bankAccount != null ? bankAccount[0] : null;\n this.leaseBankAccountSelected();\n this.leaseBankAccountLoaded = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }) \n }\n\n loadLeaseTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetLeaseTypesList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.mvLeaseTypes = data;\n }); \n }\n\n loadPurchaseTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetSaleTypesList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.purchaseTypeList = data;\n }); \n }\n\n loadActiveFinancierTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetFinanciersList(false).then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.mvFinanceTypes = data.filter(obj => obj.disabled == false);\n });\n }\n\n loadActiveAndSelectedFinancierTypes(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetFinanciersList(false).then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.mvFinanceTypes = data.filter(obj => obj.disabled == false || obj.value == id);\n });\n }\n \n onSubmit(){\n if(this.useStore){\n this.onFormSubmit({form: this.vehicleLease, isSuccess: true});\n return;\n }\n if(this.leaseID > 0){\n this.updateVehicleLease();\n }\n else{\n this.createVehicleLease();\n }\n }\n \n createVehicleLease(){\n var params = {\n type:this.vehicleLease.type,\n financier:this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.financier : 0,\n leaseBankAccountId:this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.leaseBankAccountId : null,\n LeaseNewBankAccountId:this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.leaseNewBankAccountId : null,\n leaseStartDate:this.vehicleLease.leaseStartDate,\n leaseEndDate:this.vehicleLease.leaseEndDate,\n secondPaymentDueDate:this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.secondPaymentDueDate : null,\n finalPaymentDueDate: this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.finalPaymentDueDate : null,\n term: this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.term : null,\n monthsDeferred: this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.monthsDeferred : null,\n leasePaymentAmount:this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.leasePaymentAmount : null,\n residualAmount: this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.residualAmount : null,\n residualDueDate: this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.residualDueDate : null,\n motorVehicleID: this.vehicleID,\n mvLeaseEstAnnualKm : this.vehicleLease.mvLeaseEstAnnualKm,\n mvLeasePaymentDate : this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.mvLeasePaymentDate : 0,\n purchaseType : this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.purchaseType : null,\n runningCost : this.vehicleLease.runningCost,\n leasePrePayments: this.$store.getters.getLeasePrepayments,\n accountNumber:this.vehicleLease.type == VehicleLeaseTypes.NovatedFullyMaintained ? this.vehicleLease.accountNumber : '' \n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('Lease','Lease',params).then(\n response => {\n if(response.data.isSuccess){\n this.leaseID=this.vehicleLease.id = response.data.id;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.$router.push({name:\"Edit Lease\",params:{leaseID:this.vehicleLease.id.toString(),routerDisplayName:\"details\"}})\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n \n updateVehicleLease(){\n this.$store.dispatch('storeIsBusyValue',true);\n if (this.vehicleLease.type != VehicleLeaseTypes.NovatedFullyMaintained) {\n this.vehicleLease.residualAmount = null;\n this.vehicleLease.residualDueDate = null;\n this.vehicleLease.financier = 0;\n this.vehicleLease.mvLeasePaymentDate = 0;\n this.vehicleLease.accountNumber = '';\n this.vehicleLease.leaseAmountPaidExternal = null;\n this.vehicleLease.finalPaymentDueDate = null;\n this.vehicleLease.term = null;\n this.vehicleLease.monthsDeferred = null;\n this.vehicleLease.leasePaymentAmount = null;\n this.vehicleLease.secondPaymentDueDate = null;\n this.vehicleLease.purchaseType = null;\n }\n apiService.sendPostRequest('Lease','Lease',this.vehicleLease).then(\n response => {\n if(response.data.isSuccess){\n this.vehicleLease.lastUpdateByName = response.data.updatedByName;\n this.vehicleLease.lastUpdatedDate = response.data.lastUpdatedDate;\n this.vehicleLease.concurrencyKey = response.data.concurrencyKey;\n this.initialObj = Object.assign({},this.vehicleLease);\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: response.data.isWarning ? 'warn' : 'success',\n duration: response.data.isWarning ? 10000 : 5000\n });\n this.onLeaseTypeUpdated(this.vehicleLease.type);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.showCancelConfirmation = true;\n }\n else{\n if(this.useStore) {\n this.onCancelForm();\n return;\n }\n this.resetFields();\n }\n }\n\n onOkayToCancel(){\n if(this.useStore) {\n this.onCancelForm();\n return;\n }\n this.resetFields();\n }\n\n resetFields(){\n this.vehicleLease = Object.assign({},this.initialObj);\n this.leaseBankAccountSelected();\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(0,this.vehicleLease);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$nextTick(()=>{this.$v.vehicleLease.$reset()})\n this.showCancelConfirmation = false;\n }\n\n loadLeaseDetails(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Lease','Lease',{id:this.leaseID}).then(\n response => {\n if(response.data.item1.isSuccess){\n this.vehicleLease = response.data.item2;\n this.vehicleLease.runningCost = ApexCurrencyFormat(this.vehicleLease.runningCost, \"\");\n this.initialObj = Object.assign({},this.vehicleLease);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.vehicleLease);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.onVehicleIdUpdated(this.vehicleLease.motorVehicleID);\n this.onLeaseTypeUpdated(this.vehicleLease.type)\n this.loadActiveAndSelectedFinancierTypes(this.vehicleLease.financier);\n this.loadLeaseFinancierAccountList();\n this.setDisabledDates();\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n setDisabledDates(){\n if (this.vehicleLease.leaseStartDate != null){\n var toDate= moment(this.vehicleLease.leaseStartDate ).add(1,'days').toDate();\n this.disabledEndDates.to = toDate;\n }\n if (this.vehicleLease.leaseEndDate != null){\n var fromDate = moment(this.vehicleLease.leaseEndDate).subtract(1,'days').toDate();\n this.disabledStartDates.from = fromDate;\n }\n }\n \n openLeasePrePayments()\n {\n this.showLeasePrePayments = true;\n }\n \n closeLeasePrePayments()\n {\n if(dirtyValidatorService.isModelDirty(this.leasePrePaymentsDirtyValRefNo))\n {\n this.showDirtyLeasePrePayments = true;\n }else\n {\n this.showLeasePrePayments = false;\n }\n }\n\n closeDirtyLeasePrePayments()\n {\n this.showLeasePrePayments = false;\n this.showDirtyLeasePrePayments = false;\n dirtyValidatorService.clearChanges(this.leasePrePaymentsDirtyValRefNo);\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n leasePrePaymentsDirtySet(refNo:number)\n {\n this.leasePrePaymentsDirtyValRefNo = refNo;\n }\n\n onLeasePrePaymentChange(total:number,items:any)\n {\n this.vehicleLease.leaseAmountPaidExternal = total;\n }\n\n destroyed()\n {\n this.clearLeasePrePayments();\n }\n\n clearLeasePrePayments()\n {\n this.$store.dispatch('setLeasePrePayments',null);\n }\n\n isSaveButtonDisabled(){\n if(this.isModelDirty()){\n if(this.$v.vehicleLease.$invalid){\n if (this.vehicleLease.type == VehicleLeaseTypes.MadeAvailable || this.vehicleLease.type == VehicleLeaseTypes.RunningCostOnly){\n if(this.$v.vehicleLease.type.$invalid ||\n this.$v.vehicleLease.leaseStartDate.$invalid ||\n this.$v.vehicleLease.leaseEndDate.$invalid ||\n this.$v.vehicleLease.runningCost.$invalid)\n {\n return true;\n }\n\n } else {\n if(this.$v.vehicleLease.type.$invalid || \n this.$v.vehicleLease.financier.$invalid || \n this.$v.vehicleLease.leaseBankAccountId.$invalid || \n this.$v.vehicleLease.accountNumber.$invalid ||\n this.$v.vehicleLease.leaseStartDate.$invalid ||\n this.$v.vehicleLease.leaseEndDate.$invalid ||\n this.$v.vehicleLease.leaseAmountPaidExternal.$invalid ||\n this.$v.vehicleLease.term.$invalid ||\n this.$v.vehicleLease.leasePaymentAmount.$invalid ||\n this.$v.vehicleLease.residualAmount.$invalid ||\n this.$v.vehicleLease.residualDueDate.$invalid ||\n this.$v.vehicleLease.mvLeaseEstAnnualKm.$invalid ||\n this.$v.vehicleLease.mvLeaseStartingODO.$invalid ||\n this.$v.vehicleLease.mvLeasePaymentDate.$invalid ||\n this.$v.vehicleLease.secondPaymentDueDate.$invalid ||\n this.$v.vehicleLease.finalPaymentDueDate.$invalid ||\n this.$v.vehicleLease.runningCost.$invalid\n )\n {\n return true;\n } else if(this.showSecondPaymentDueDateError){\n return true;\n }\n \n }\n }\n return false;\n }\n return true;\n }\n\n onEndDateChanged(){\n if(fieldValidations.isValidDate(this.vehicleLease.leaseEndDate)){\n var endDate = moment(this.vehicleLease.leaseEndDate).subtract(1,'days').toDate();\n this.disabledStartDates = {from:endDate};\n this.calculateTerm();\n //set default residual due date \n if(this.leaseID == 0 || !fieldValidations.isValidDate(this.vehicleLease.residualDueDate))\n {\n this.vehicleLease.residualDueDate = this.vehicleLease.leaseEndDate;\n }\n this.showSecondPaymentDueDateError = !this.isValidSecondPaymentDueDate();\n } \n }\n\n onStartDateChanged(){\n if(fieldValidations.isValidDate(this.vehicleLease.leaseStartDate)){\n var startDate = moment(this.vehicleLease.leaseStartDate).add(1,'days').toDate();\n this.disabledEndDates = {to:startDate};\n this.showSecondPaymentDueDateError = !this.isValidSecondPaymentDueDate();\n this.calculateTerm();\n if(this.leaseID == 0){\n var LeasPaymentDate = this.vehicleLease.leaseStartDate.getDate();\n if(LeasPaymentDate < 29){\n this.vehicleLease.mvLeasePaymentDate = LeasPaymentDate;\n }\n else{\n this.vehicleLease.mvLeasePaymentDate = 28; \n }\n }\n } \n }\n onSecondPaymentDueDateChanged(){\n this.showSecondPaymentDueDateError = !this.isValidSecondPaymentDueDate();\n }\n\n calculateTerm(){\n if(moment(this.vehicleLease.leaseStartDate).isValid() && moment(this.vehicleLease.leaseEndDate).isValid()){\n var monthDiff = moment(new Date(this.vehicleLease.leaseEndDate)).startOf('day').diff(moment(new Date(this.vehicleLease.leaseStartDate)).startOf('day'),'months',true);\n this.vehicleLease.term = monthDiff > 0 ? Math.floor(monthDiff):\"\";\n this.$v.vehicleLease.term.$touch();\n }\n } \n isValidSecondPaymentDueDate(){\n if(fieldValidations.isValidDate(this.vehicleLease.secondPaymentDueDate)){\n var secondPaymentDueDate = new Date(this.vehicleLease.secondPaymentDueDate);\n if(fieldValidations.isValidDate(this.vehicleLease.leaseStartDate)){\n var date = new Date(this.vehicleLease.leaseStartDate);\n if(date > secondPaymentDueDate){\n return false;\n }\n }\n if(fieldValidations.isValidDate(this.vehicleLease.leaseEndDate)){\n var date = new Date(this.vehicleLease.leaseEndDate);\n if(date < secondPaymentDueDate){\n return false;\n }\n }\n } \n return true;\n }\n\n CanCreatePaymentSchedule()\n {\n return true;\n }\n\n onCreatePaymentSchedule()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequestWithQueryParams('Lease','PaymentSchedules', {id:this.leaseID}).then(\n response => {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: response.data.isWarning ? 'warn' : 'success',\n duration: response.data.isWarning? 10000 : 5000\n });\n this.$router.push({name:\"Edit Lease\",params:{leaseID:this.leaseID.toString(), topRouteDisplayName:'leasetypes', routerDisplayName:\"schedule\"}})\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n\n @Emit('onVehicleIdUpdated') onVehicleIdUpdated(id:number){}\n\n @Emit('onIdUpdated') onIdUpdated(id:number){}\n\n @Emit('onTypeUpdated') onLeaseTypeUpdated(type: VehicleLeaseTypes){}\n\n @Emit('onFormSubmit') onFormSubmit(submission: any){};\n\n @Emit('onCancelForm') onCancelForm(){};\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditVehicleLease.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditVehicleLease.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditVehicleLease.vue?vue&type=template&id=24e5b2b9&scoped=true\"\nimport script from \"./AddEditVehicleLease.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditVehicleLease.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditVehicleLease.vue?vue&type=style&index=0&id=24e5b2b9&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"24e5b2b9\",\n null\n \n)\n\nexport default component.exports","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showWarningMessage)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showWarningMessage\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Warning \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_c('span',{staticStyle:{\"white-space\":\"pre-line\"}},[_vm._v(_vm._s(_vm.warningMessage))])])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"warning_AcknowledgedButton\"},on:{\"click\":_vm.onAcknowledgeWarning}},[_vm._v(\"\\n I Acknowledge\\n \")])],1)]):_vm._e(),(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditNovationConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditNovationConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditNovationConf_OkButton\"},on:{\"click\":_vm.onOkayToCancel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showAddEmployerModal)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"600px\",\"minHeight\":\"365px\",\"id\":\"AddEmployer\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Add New Employer \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddEditEmployer',{attrs:{\"modalMode\":true},on:{\"dirtyValidatorNoSet\":_vm.onAddEmployerDirtySet,\"onEmployerSaved\":_vm.onEmployerSaved}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"AddEmployer_CloseButton\"},on:{\"click\":_vm.closeAddEmployerModal}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showAddEmployerCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CloseAddEmployerConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CloseAddEmployerConf_CancelButton\"},on:{\"click\":function($event){_vm.showAddEmployerCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CloseAddEmployerConf_OkButton\"},on:{\"click\":_vm.onOkayToCloseAddEmployerModal}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showEndDatePreviousNovationConfirmation)?_c('Modal',{attrs:{\"maxWidth\":\"560px\",\"centered\":\"\",\"id\":\"EndDatePreviousNovationConfirmation\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n The previous novation's end date will be set to \"+_vm._s(_vm._f(\"ApexDateFormat\")(_vm.previousNovationEndDate))+\".\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"EndDatePreviousNovationConfirmation_CancelButton\"},on:{\"click\":function($event){_vm.showEndDatePreviousNovationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"EndDatePreviousNovationConfirmation_OkButton\"},on:{\"click\":function($event){_vm.showEndDatePreviousNovationConfirmation = false; _vm.createNovation()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showUpdateEmailConfirmation)?_c('Modal',{attrs:{\"maxWidth\":\"560px\",\"centered\":\"\",\"id\":\"showUpdateEmailConfirmation\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are \"+_vm._s(_vm.pendingInvoicesCount)+\" pending invoices. Do you want the pending invoices to reflect this new email address?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showUpdateEmailConfirmation_OkButton\"},on:{\"click\":_vm.onClickNoToUpdatePendingInvoiceEmails}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"showUpdateEmailConfirmation_YesButton\"},on:{\"click\":_vm.onClickYesToUpdatePendingInvoiceEmails}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showOverrideAdminFee)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"500px\",\"maxHeight\":\"600px\",\"id\":\"overrideAdministrationFee\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Administration Fee Amount \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-container',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"1\",\"lg\":\"1\"}}),_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"10\"}},[_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.administrationFeeAmount.$error },attrs:{\"label\":\"Administration Fee Amount (incl. GST)\",\"label-for\":\"administrationFeeAmount\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"administrationFeeAmount\",\"type\":\"text\",\"placeholder\":\"Enter Administration Fee Amount\"},on:{\"input\":function($event){return _vm.$v.administrationFeeAmount.$touch()}},model:{value:(_vm.administrationFeeAmount),callback:function ($$v) {_vm.administrationFeeAmount=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"administrationFeeAmount\"}})],1),(_vm.$v.administrationFeeAmount.$dirty && !_vm.$v.administrationFeeAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Administration fee amount is not valid.\\n \")]):_vm._e()],1)],1),_c('b-col',{attrs:{\"md\":\"1\",\"lg\":\"1\"}})],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"1\",\"lg\":\"1\"}}),_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"10\"}},[_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Frequency\",\"label-for\":\"administrationFeeChargeFrequency\",\"required\":\"\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"administrationFeeChargeFrequency\",\"type\":\"text\",\"disabled\":\"\",\"placeholder\":\"\"},model:{value:(_vm.administrationFeeChargeFrequency),callback:function ($$v) {_vm.administrationFeeChargeFrequency=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"administrationFeeChargeFrequency\"}})],1)],1),_c('b-col',{attrs:{\"md\":\"1\",\"lg\":\"1\"}})],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"LeasePrePayments_CloseButton\"},on:{\"click\":_vm.closeOverrideAdminFee}},[_vm._v(\"\\n Close\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":!_vm.isAdminFeeAmountModelDirty() || _vm.administrationFeeAmount == '' || !_vm.$v.administrationFeeAmount.isDecimal,\"id\":\"LeasePrePayments_UpdateButton\"},on:{\"click\":_vm.onUpdateAdministrationFeeForRelatedEntity}},[_vm._v(\"\\n Update\\n \")])],1)]):_vm._e(),(_vm.showOverrideFBTCostBase)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"1000px\",\"minHeight\":1800,\"id\":\"overrideAdministrationFee\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" FBT Cost Bases \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddEditFBTCostBases',{attrs:{\"novationID\":this.novation.id,\"novationStartDate\":this.novation.startDate,\"amount\":_vm.novation.mvLeaseFBTCostBase,\"canGeneratePayrollReport\":(this.novation.payCycle != null && this.novation.payCycle != 0),\"leaseType\":this.leaseType,\"payCycle\":this.novation.payCycle,\"isInvoiceScheduleGenerated\":this.isInvoiceScheduleGenerated},on:{\"onSaveFBTRecord\":function($event){return _vm.onSaveFBTRecords()}}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"LeasePrePayments_CloseButton\"},on:{\"click\":_vm.closeOverrideFBTCostBaseOfVehicle}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showDirtyOverrideAdminFee)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelOverrideAdminFeeConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelLeasePrePaymentsConf_CancelButton\"},on:{\"click\":function($event){_vm.showDirtyOverrideAdminFee = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelLeasePrePaymentsConf_OkButton\"},on:{\"click\":_vm.closeDirtyOverrideAdminFee}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mb-4\"},[_c('b-container',[(!_vm.hasEffectiveRecord && _vm.novationID > 0)?_c('b-row',{staticClass:\"mb-1\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\",\"cols\":\"12\"}},[_c('b-jumbotron',{staticClass:\"warningJumbotron\"},[_c('template',{slot:\"lead\"},[_c('div',[_c('p',{staticClass:\"pl-1\"},[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(\"Warning : \")]),_vm._v(\" Please Add FBT Cost Base Record.\")])])])],2)],1)],1):_vm._e(),_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"5\"}},[_c('b-row',[(_vm.novationID > 0)?_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"RERN\",\"label-for\":\"rern\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"disabled\":true,\"id\":\"rern\",\"type\":\"text\"},model:{value:(_vm.novation.rern),callback:function ($$v) {_vm.$set(_vm.novation, \"rern\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"novation.rern\"}})],1)],1):_vm._e()],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Type\",\"label-for\":\"typeSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.novation.relatedTable.$error, 'requiredField': (_vm.novation.relatedTable == 0 || _vm.novation.relatedTable == null)},attrs:{\"id\":\"typeSelect\",\"plain\":true,\"options\":_vm.novationTypes,\"disabled\":_vm.novation.isPayrollReportGenerated,\"required\":\"\"},on:{\"change\":function($event){_vm.onNovationTypeChanged(); _vm.$v.novation.relatedTable.$touch();}},model:{value:(_vm.novation.relatedTable),callback:function ($$v) {_vm.$set(_vm.novation, \"relatedTable\", $$v)},expression:\"novation.relatedTable\"}},[(_vm.novation.id == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.novation.relatedTable.$dirty && !_vm.$v.novation.relatedTable.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--warning': (_vm.$v.novation.leaseStartingODO.$error && _vm.$v.novation.leaseStartingODO.$dirty) },attrs:{\"label\":\"Starting ODO\",\"label-for\":\"leaseStartingODO\"}},[_c('b-form-input',{class:{ 'warinngField': (!_vm.novation.leaseStartingODO || _vm.novation.leaseStartingODO.length == 0), 'textInput': true},attrs:{\"id\":\"leaseStartingODO\",\"type\":\"text\",\"maxlength\":'6',\"placeholder\":\"Enter Starting ODO\",\"disabled\":_vm.disableOdometer || _vm.novation.isPayrollReportGenerated},on:{\"input\":function($event){return _vm.$v.novation.leaseStartingODO.$touch()}},model:{value:(_vm.novation.leaseStartingODO),callback:function ($$v) {_vm.$set(_vm.novation, \"leaseStartingODO\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"novation.leaseStartingODO\"}}),(_vm.$v.novation.leaseStartingODO.$dirty && !_vm.$v.novation.leaseStartingODO.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Starting ODO is not valid.\\n \")]):_vm._e(),(!_vm.$v.novation.leaseStartingODO.required)?_c('div',{staticClass:\"text-warning\"},[_vm._v(\"\\n Starting ODO value is missing.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(this.novation.relatedTable == _vm.relatedTables.Employer)?_c('b-form-group',{attrs:{\"label\":\"Employer\",\"label-for\":\"employerSelect\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.novation.relatedID.$error,'requiredField': (_vm.novation.relatedID == 0)},attrs:{\"id\":\"employerSelect\",\"plain\":true,\"options\":_vm.employersList,\"disabled\":_vm.novation.isPayrollReportGenerated,\"required\":\"\"},on:{\"change\":function($event){_vm.$v.novation.relatedID.$touch(); _vm.employerSelected()}},model:{value:(_vm.novation.relatedID),callback:function ($$v) {_vm.$set(_vm.novation, \"relatedID\", $$v)},expression:\"novation.relatedID\"}},[((_vm.novation.relatedID == 0))?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),_c('div',{staticClass:\"input-group-append\",attrs:{\"title\":\"Add new employer\"}},[_c('b-button',{staticClass:\"primary\",attrs:{\"size\":\"md\",\"type\":\"button\",\"disabled\":_vm.novation.isPayrollReportGenerated},on:{\"click\":function($event){_vm.showAddEmployerModal = true}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),(this.employersList.filter(function (e) { return e.value == this$1.novation.relatedID; }).length > 0)?_c('div',{staticClass:\"employer-abn-acn\"},[_vm._v(\"\\n ABN: \"+_vm._s(this.employersList.filter(function (e) { return e.value == this$1.novation.relatedID; })[0].abn)+\" \\n \"),(this.employersList.filter(function (e) { return e.value == this$1.novation.relatedID; })[0].acn.length)?_c('span',{staticClass:\"employer-acn\"},[_vm._v(\"ACN: \"+_vm._s(this.employersList.filter(function (e) { return e.value == this$1.novation.relatedID; })[0].acn))]):_vm._e()]):_vm._e(),(_vm.$v.novation.relatedID.$dirty && !_vm.$v.novation.relatedID.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Employer is required.\\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(_vm.employerEmailLoaded)?_c('b-form-group',{attrs:{\"label\":\"Email Invoices To\",\"label-for\":\"emailInvoicesTo\"}},[(_vm.novation.relatedTable == _vm.relatedTables.Employer)?_c('multiselect',{ref:\"multiselect\",class:{ 'requiredFieldMultiselect': !_vm.novation.emailInvoicesTo,'hideEmptyList':_vm.emailList.length == 0},attrs:{\"id\":\"emailInvoicesTo\",\"options\":_vm.emailList,\"multiple\":false,\"close-on-select\":true,\"clear-on-select\":false,\"preserve-search\":true,\"placeholder\":\"Enter email\",\"selectLabel\":\"\",\"selectedLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"email\",\"track-by\":\"email\",\"preselect-first\":false,\"taggable\":false,\"tag-placeholder\":\"\",\"show-no-results\":false,\"internalSearch\":false},on:{\"select\":_vm.selectExistingEmailAddress,\"search-change\":_vm.typeEmailAddress,\"close\":_vm.dropDownCloses},model:{value:(_vm.emailInvoicesTo),callback:function ($$v) {_vm.emailInvoicesTo=$$v},expression:\"emailInvoicesTo\"}},[(!_vm.novation.emailInvoicesTo)?_c('span',{attrs:{\"slot\":\"caret\"},slot:\"caret\"}):_vm._e()]):(_vm.novation.relatedTable == _vm.relatedTables.Client || _vm.novation.relatedTable == null)?_c('b-form-input',{class:{'textInput':true, 'requiredField': !_vm.novation.emailInvoicesTo },attrs:{\"id\":\"emailInvoicesTo\",\"type\":\"text\",\"placeholder\":\"Enter email\"},on:{\"input\":function($event){return _vm.$v.novation.emailInvoicesTo.$touch()}},model:{value:(_vm.novation.emailInvoicesTo),callback:function ($$v) {_vm.$set(_vm.novation, \"emailInvoicesTo\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"novation.emailInvoicesTo\"}}):_vm._e(),(_vm.$v.novation.emailInvoicesTo.$dirty && !_vm.$v.novation.emailInvoicesTo.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid email address.\\n \")]):_vm._e(),(_vm.$v.novation.emailInvoicesTo.$dirty && !_vm.$v.novation.emailInvoicesTo.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email address is required.\\n \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Pay Cycle\",\"label-for\":\"payCycleMethodSelect\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (!_vm.canGeneratePayrollReport && _vm.novation.payCycle == null && _vm.novation.id > 0)},attrs:{\"id\":\"payCycleMethodSelect\",\"plain\":true,\"options\":_vm.payCycleList,\"disabled\":_vm.novation.isPayrollReportGenerated},model:{value:(_vm.novation.payCycle),callback:function ($$v) {_vm.$set(_vm.novation, \"payCycle\", $$v)},expression:\"novation.payCycle\"}},[(_vm.novation.id == 0 || _vm.novation.payCycle == 0 || _vm.novation.payCycle == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1),(!_vm.canGeneratePayrollReport && (_vm.novation.payCycle == null || _vm.novation.payCycle == 0) && _vm.novation.id > 0)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Required to generate Payroll Setup report.\\n \")]):_vm._e()],1)],1)],1),(!_vm.useStore)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',[_c('b-form-checkbox',{attrs:{\"id\":\"seriveAgreementChkBox\",\"disabled\":true},model:{value:(_vm.novation.isServiceAgreementDocumentAvailable),callback:function ($$v) {_vm.$set(_vm.novation, \"isServiceAgreementDocumentAvailable\", $$v)},expression:\"novation.isServiceAgreementDocumentAvailable\"}},[_c('span',[_vm._v(\" Service Agreement Document \")])])],1)],1)],1):_vm._e()],1),_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"5\"}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Start Date\",\"label-for\":\"novationstartdate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.novation.startDate || _vm.novation.startDate.length == 0)},attrs:{\"disabled\":(_vm.novation.isPayrollReportGenerated || (_vm.novation.id > 0 && !_vm.useStore)),\"use-utc\":true,\"id\":'novationstartdate',\"required\":\"\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter start date',\"disabledDates\":_vm.disabledStartDates,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":!_vm.novation.isPayrollReportGenerated && _vm.novation.id == 0 && !_vm.useStore,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){_vm.$v.novation.startDate.$touch();_vm.onStartDateChanged();}},model:{value:(_vm.novation.startDate),callback:function ($$v) {_vm.$set(_vm.novation, \"startDate\", $$v)},expression:\"novation.startDate\"}}),(_vm.$v.novation.startDate.$dirty && !_vm.$v.novation.startDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Novation start date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"End Date\",\"label-for\":\"novationenddate\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"id\":'novationenddate',\"required\":\"\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter end date',\"disabledDates\":_vm.disabledEndDates,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){return _vm.onEndDateChanged();}},model:{value:(_vm.novation.endDate),callback:function ($$v) {_vm.$set(_vm.novation, \"endDate\", $$v)},expression:\"novation.endDate\"}})],1)],1)],1),_c('b-row',[(!_vm.useStore)?_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{ref:\"administrationFeeStartDate\"},[_c('label',{attrs:{\"label-for\":\"administrationFeeStartDate\"}},[_vm._v(\" \\n Administration Fee Start Date\\n \"),(!_vm.isAdminFeeChargeScheduleAvailable)?_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"No active Administration Fee Charge type schedule found.\"}})]):_vm._e(),(_vm.showAdminFeeStartDateWarningMessage)?_c('span',[_c('i',{staticClass:\"fas fa-info-circle text-warning cursor-pointer pl-1\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Please note that the Administration Fee Start Date is before Related Entity Start Date.\"}})]):_vm._e()]),_c('DatePicker',{class:{ 'adminFeeStartDisabled': !_vm.isAdministrationStartDateEnabled },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"fas fa-calendar-alt\",\"clear-button\":_vm.clearButtonEnabled && _vm.isAdministrationStartDateEnabled,\"bootstrap-styling\":true,\"disabledDates\":_vm.disabledAdminFeeStartDates,\"input-class\":'form-control textInput',\"disabled\":!(_vm.isAdministrationStartDateEnabled && _vm.isAdminFeeChargeScheduleAvailable),\"wrapper-class\":'textInput',\"placeholder\":'Select a Date'},on:{\"input\":function($event){return _vm.onAdminFeeStartDateChanged()}},model:{value:(_vm.novation.administrationFeeStartDate),callback:function ($$v) {_vm.$set(_vm.novation, \"administrationFeeStartDate\", $$v)},expression:\"novation.administrationFeeStartDate\"}})],1)],1):_vm._e()],1),_c('b-row',[(!_vm.useStore)?_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Administration Fee End Date\",\"label-for\":\"administrationFeeEndDate\"}},[_c('DatePicker',{class:{ 'requiredField': _vm.isAdministrationFeeEndDateRequired },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"fas fa-calendar-alt\",\"clear-button\":_vm.clearButtonEnabled,\"bootstrap-styling\":true,\"disabledDates\":_vm.disabledAdminFeeEndDates,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Select a Date',\"disabled\":_vm.novation.administrationFeeStartDate == '' || _vm.novation.administrationFeeStartDate == null},on:{\"input\":function($event){return _vm.$v.novation.administrationFeeEndDate.$touch();}},model:{value:(_vm.novation.administrationFeeEndDate),callback:function ($$v) {_vm.$set(_vm.novation, \"administrationFeeEndDate\", $$v)},expression:\"novation.administrationFeeEndDate\"}}),(_vm.$v.novation.administrationFeeEndDate.$dirty && !_vm.$v.novation.administrationFeeEndDate.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Administration Fee End Date is required.\\n \")]):_vm._e()],1)],1):_vm._e()],1),_c('b-row',[(_vm.isAdminFeeChargeModelEnabled && !_vm.useStore)?_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{ref:\"adminFeeAmount\",staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.novation.administrationFeeAmount.$error },attrs:{\"required\":\"\"}},[_c('label',{attrs:{\"label-for\":\"adminFeeAmount\"}},[_vm._v(\" \\n Administration Fee Amount (incl. GST)\\n \")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"administrationFeeAmount\",\"disabled\":\"\",\"type\":\"text\",\"placeholder\":\"Enter Administration Fee Amount\"},on:{\"input\":function($event){return _vm.$v.novation.administrationFeeAmount.$touch()}},model:{value:(_vm.administrationFeeAmountWithFrequency),callback:function ($$v) {_vm.administrationFeeAmountWithFrequency=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"administrationFeeAmountWithFrequency\"}}),_c('div',{staticClass:\"input-group-append\",attrs:{\"title\":\"Edit Administration Fee Amount\"}},[_c('b-button',{staticClass:\"primary\",attrs:{\"size\":\"md\",\"type\":\"button\"},on:{\"click\":_vm.openOverrideAdministrationFee}},[_c('i',{staticClass:\"fas fa-pencil-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1)],1)],1):_vm._e()],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Method to Calculate Tax\",\"label-for\":\"taxCalculationMethodSelect\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.novation.taxCalculationMethod.$error,'requiredField': (_vm.novation.taxCalculationMethod == 0)},attrs:{\"id\":\"taxCalculationMethodSelect\",\"plain\":true,\"options\":_vm.taxCalculationMethodList,\"required\":\"\",\"disabled\":_vm.novation.isPayrollReportGenerated},on:{\"input\":function($event){return _vm.$v.novation.taxCalculationMethod.$touch()}},model:{value:(_vm.novation.taxCalculationMethod),callback:function ($$v) {_vm.$set(_vm.novation, \"taxCalculationMethod\", $$v)},expression:\"novation.taxCalculationMethod\"}},[((_vm.novation.taxCalculationMethod == 0))?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1),(_vm.$v.novation.taxCalculationMethod.$dirty && !_vm.$v.novation.taxCalculationMethod.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Method to calculate Tax is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[(this.novationID > 0)?_c('b-form-group',{ref:\"mvLeaseFBTCostBase\",staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.novation.mvLeaseFBTCostBase.$error },attrs:{\"required\":\"\"}},[_c('label',{attrs:{\"label-for\":\"mvLeaseFBTCostBase\"}},[_vm._v(\" \\n FBT Cost Base of Vehicle \\n \")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"mvLeaseFBTCostBase\",\"disabled\":\"\",\"type\":\"text\",\"placeholder\":\"\"},on:{\"input\":function($event){return _vm.$v.novation.mvLeaseFBTCostBase.$touch()}},model:{value:(_vm.novation.mvLeaseFBTCostBase),callback:function ($$v) {_vm.$set(_vm.novation, \"mvLeaseFBTCostBase\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"novation.mvLeaseFBTCostBase\"}}),_c('div',{staticClass:\"input-group-append\",attrs:{\"title\":\"Edit FBT Cost Base Record\"}},[_c('b-button',{staticClass:\"primary\",attrs:{\"size\":\"md\",\"type\":\"button\"},on:{\"click\":_vm.openOverrideFBTCostBaseOfVehicle}},[_c('i',{staticClass:\"fas fa-pencil-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),(_vm.novation.mvLeaseFBTCostBase != null)?_c('div',{staticClass:\"employer-abn-acn\"},[_vm._v(\"\\n Effective Date: \"+_vm._s(_vm._f(\"ApexDateFormat\")(this.effectiveDate))+\" \")]):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Subject to FBT\",\"label-for\":\"subjectToFBT\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{'requiredField': (_vm.novation.subjectToFBT == null)},attrs:{\"id\":\"subjectToFBT\",\"plain\":true,\"disabled\":_vm.novation.isPayrollReportGenerated},on:{\"change\":_vm.onSubjectToFTBChange},model:{value:(_vm.novation.subjectToFBT),callback:function ($$v) {_vm.$set(_vm.novation, \"subjectToFBT\", $$v)},expression:\"novation.subjectToFBT\"}},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")]),_c('option',{domProps:{\"value\":true}},[_vm._v(\"Yes\")]),_c('option',{domProps:{\"value\":false}},[_vm._v(\"No\")])])],1),(_vm.$v.novation.subjectToFBT.$dirty && !_vm.$v.novation.subjectToFBT.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Subject to FBT is required.\\n \")]):_vm._e()],1)],1)],1),(_vm.novation.subjectToFBT || _vm.novation.subjectToFBT && _vm.novation.fbtMethod != null)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"FBT Method\",\"label-for\":\"fbtMethodSelect\"}},[_c('b-input-group',[_c('b-form-select',{key:\"fbtMethodSelect\",staticClass:\"textInput selectListHeight\",class:{'requiredField': (_vm.novation.fbtMethod == null)},attrs:{\"id\":\"fbtMethodSelect\",\"plain\":true,\"options\":_vm.fbtMethodList,\"disabled\":_vm.novation.isPayrollReportGenerated},on:{\"input\":function($event){return _vm.$v.novation.fbtMethod.$touch()}},model:{value:(_vm.novation.fbtMethod),callback:function ($$v) {_vm.$set(_vm.novation, \"fbtMethod\", $$v)},expression:\"novation.fbtMethod\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])])],2)],1),(_vm.novation.fbtMethod == _vm.employeeContribution && _vm.novation.mvLeaseFBTCostBase > 0 )?_c('span',{staticClass:\"ml-2\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.EmployeeContributionAmount}})],1):_vm._e(),(_vm.$v.novation.fbtMethod.$dirty && !_vm.$v.novation.fbtMethod.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n FBT Method is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.novation.subjectToFBT != null && !_vm.novation.subjectToFBT)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"10\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Does EV FBT Exemption Apply\",\"label-for\":\"isFBTExemptionApply\"}},[_c('b-input-group',[_c('b-form-select',{key:\"isFBTExemptionApply\",staticClass:\"textInput selectListHeight\",class:{'requiredField': (_vm.novation.isFBTExemptionApply == null)},attrs:{\"id\":\"isFBTExemptionApply\",\"plain\":true,\"disabled\":_vm.novation.isPayrollReportGenerated},on:{\"input\":function($event){return _vm.$v.novation.isFBTExemptionApply.$touch()}},model:{value:(_vm.novation.isFBTExemptionApply),callback:function ($$v) {_vm.$set(_vm.novation, \"isFBTExemptionApply\", $$v)},expression:\"novation.isFBTExemptionApply\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")]),_c('option',{domProps:{\"value\":true}},[_vm._v(\"Yes\")]),_c('option',{domProps:{\"value\":false}},[_vm._v(\"No\")])])],2)],1),(_vm.$v.novation.isFBTExemptionApply.$dirty && !_vm.$v.novation.isFBTExemptionApply.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n FBT Exemption is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e()],1)],1),_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.isSaveButtonDisabled()}},[_vm._v(\" \"+_vm._s(_vm.novation.id>0 || (_vm.useStore && _vm.isUpdateMode)?'Update':'Add'))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1),_c('b-row',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.novation.id>0 && !_vm.useStore),expression:\"novation.id>0 && !useStore\"}],staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.novation.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.novation.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.novation.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.novation.lastUpdatedDate))+\")\")])])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:\"primary\",attrs:{\"type\":\"button\",\"size\":\"sm\",\"disabled\":_vm.novationID <= 0},on:{\"click\":function($event){return _vm.openFBTApplicableRecords()}}},[_c('i',{staticClass:\"fas fa-edit\"})]),(_vm.showFBTApplicableRecords)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"50rem\",\"minHeight\":\"20rem\",\"id\":\"AddFBTApplicableRecords\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Add/Edit FBT Applicable Records \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',[(!this.$store.getters.getEditMode)?_c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('span',{staticClass:\"mb-1 pull-right cursor-pointer\",attrs:{\"title\":\"Add Service\"},on:{\"click\":_vm.onAddService}},[_c('i',{staticClass:\"fas fa-plus-circle primary-text fa-2x\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1):_vm._e(),_c('DataTable',{ref:\"serviceTable\",attrs:{\"items\":_vm.fbtApplicableRecords,\"fields\":_vm.fbtApplicableFields,\"customTemplates\":_vm.fbtApplicableRecordsCustomTemplateList},on:{\"customEvent\":_vm.onCustomDataTableEventFBTApplicableRecords}})],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"AddFBTApplicableRecords_CloseButton\"},on:{\"click\":_vm.onCloseFBTApplicableRecords}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport { Component, Prop, Emit } from 'vue-property-decorator';\r\nimport Modal from '@/shared/components/modal/Modal.vue'\r\nimport { FBTApplicableRecord } from '@/models/fbtApplicableRecord.model';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\r\n@Component({\r\n components:{\r\n DataTable, Modal\r\n }\r\n})\r\nexport default class FBTApplicableRecords extends Vue\r\n{\r\n @Prop() novationID:number;\r\n showFBTApplicableRecords:boolean = false;\r\n fbtApplicableRecords:FBTApplicableRecord[] = [];\r\n fbtApplicableFields:any = \r\n [\r\n {key: 'fromDate',label:'From Date', class:'width_35'},\r\n {key: 'toDate',label:'To Date', class:'width_35'},\r\n {key: 'fbtApplicable',label:'FBT Applicable', class:'width_35'},\r\n {key: 'actions',label:''},\r\n ];\r\n \r\n\r\n fbtApplicableRecordsCustomTemplateList:Array = [\r\n // {slot:\"fromDate\",customTemplate:},\r\n // {slot:\"toDate\",customTemplate:},\r\n // {slot:\"fbtApplicable\",customTemplate:},\r\n // {slot:\"actions\",customTemplate:}\r\n ];\r\n created()\r\n {\r\n\r\n }\r\n openFBTApplicableRecords()\r\n {\r\n this.showFBTApplicableRecords = true;\r\n }\r\n onCloseFBTApplicableRecords()\r\n {\r\n this.showFBTApplicableRecords = false;\r\n }\r\n onCustomDataTableEventFBTApplicableRecords()\r\n {\r\n\r\n }\r\n}\r\n","export enum FBTMethodTypes{\r\n\r\n FBTApplicable = 1,\r\n EmployeeContribution = 2,\r\n Exempt = 3,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTApplicableRecords.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTApplicableRecords.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FBTApplicableRecords.vue?vue&type=template&id=126aa1aa&scoped=true\"\nimport script from \"./FBTApplicableRecords.vue?vue&type=script&lang=ts\"\nexport * from \"./FBTApplicableRecords.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"126aa1aa\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"12\"}},[_c('b-row',{staticClass:\"add-invoice-button\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{staticClass:\"mb-3 pull-left primary\",attrs:{\"disabled\":_vm.addButtonDisabled},on:{\"click\":_vm.onAddItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add \\n \")])],1)],1),_c('b-row',{staticClass:\"table-row\"},[_c('b-col',{attrs:{\"size\":\"12\"}},[_c('b-table',{attrs:{\"selected\":\"\",\"items\":this.fBTCostBaseList.items,\"fields\":_vm.fields},scopedSlots:_vm._u([{key:\"head(lineNumber)\",fn:function(data){return [_c('p',{staticClass:\"text-center\"},[_vm._v(_vm._s(data.label))])]}},{key:\"cell(lineNumber)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',[_vm._v(_vm._s(row.item.lineNumber))])])],1)]}},{key:\"head(amount)\",fn:function(data){return [_c('p',[_vm._v(_vm._s(data.label))])]}},{key:\"cell(amount)\",fn:function(row){return [_c('b-row',{staticClass:\"fbt-amount-field\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"amount\"}},[(row.item == _vm.currentFBTCostBaseRecord)?_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.fBTCostBaseList.items[row.index].amount == null) },attrs:{\"id\":'amount' + row.index,\"type\":\"text\",\"onchange\":_vm.onChangeFBTAmount()},model:{value:(_vm.fBTCostBaseList.items[row.index].amount),callback:function ($$v) {_vm.$set(_vm.fBTCostBaseList.items[row.index], \"amount\", $$v)},expression:\"fBTCostBaseList.items[row.index].amount\"}})],1):_c('label',[_vm._v(_vm._s(row.item.amount))]),(!_vm.isAmountValid && _vm.isAmountDirty)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Amount is Invalid.\\n \")]):_vm._e()],1)],1)],1)]}},{key:\"head(startDate)\",fn:function(data){return [_c('p',[_vm._v(_vm._s(data.label))])]}},{key:\"cell(startDate)\",fn:function(row){return [(row.item == _vm.currentFBTCostBaseRecord)?_c('DatePicker',{class:{ 'requiredField': (!row.item.startDate) },attrs:{\"id\":'_DueDate' + row.index,\"use-utc\":false,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"bootstrap-styling\":true,\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledDates,\"required\":\"\",\"disabled\":row.item != _vm.currentFBTCostBaseRecord},model:{value:(row.item.startDate),callback:function ($$v) {_vm.$set(row.item, \"startDate\", $$v)},expression:\"row.item.startDate\"}}):_c('label',[_vm._v(_vm._s(_vm._f(\"ApexDateFormat\")(row.item.startDate)))])]}},{key:\"head(endDate)\",fn:function(data){return [_c('p',[_vm._v(_vm._s(data.label))])]}},{key:\"cell(endDate)\",fn:function(row){return [_c('label',[_vm._v(_vm._s(_vm._f(\"ApexDateFormat\")(row.item.endDate)))])]}},{key:\"cell(document)\",fn:function(row){return [_c('b-row',{staticClass:\"d-flex justify-content-center\"},[(row.item != _vm.currentFBTCostBaseRecord)?_c('DocumentUploader',{staticClass:\"input-group-append fbt-uploader\",attrs:{\"relatedTable\":_vm.fbtCostBaseRecordRelatedTable,\"relatedID\":row.item.id,\"buttonType\":_vm.buttonType,\"defaultDocType\":_vm.defaultDocType,\"addToolTip\":\"Upload FBT Cost Base Evidence Documents\",\"modalTitle\":\"FBT Cost Base Evidence Documents\",\"externalDocumentCount\":row.item.documentCount,\"acceptedFileTypes\":'*'}}):_vm._e()],1)]}},{key:\"head(report)\",fn:function(data){return [_c('p',{staticClass:\"text-center pb-0\"},[_vm._v(_vm._s(data.label))])]}},{key:\"cell(report)\",fn:function(row){return [_c('b-row',{staticClass:\"d-flex justify-content-center\"},[(row.item != _vm.currentFBTCostBaseRecord && !row.item.isPayrollReportGenerated && _vm.leaseType == _vm.leaseTypes.NovatedFullyMaintained && _vm.novationID > 0)?_c('b-btn',{staticClass:\"ml-3 payroll-setup-report-button pl-3\",attrs:{\"type\":\"button\",\"size\":\"md\",\"id\":\"FBTCost_UpdateButton\"},on:{\"click\":function($event){return _vm.onGeneratePayrollReport(row.item)}}},[_vm._v(\"\\n Generate\\n \")]):_vm._e(),(row.item != _vm.currentFBTCostBaseRecord && row.item.isPayrollReportGenerated && _vm.leaseType == _vm.leaseTypes.NovatedFullyMaintained && _vm.novationID > 0)?_c('b-dropdown',{staticClass:\"pl-3\",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":false}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.getPayrollReport('pdf' , row.item)}}},[_vm._v(\"PDF\")]),_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.getPayrollReport('word' , row.item)}}},[_vm._v(\"Word\")])],1):_vm._e()],1)]}}])})],1)],1),(_vm.isNewRecordAdded)?_c('div',{staticClass:\"pl-2\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"FBTCost_UpdateButton\",\"disabled\":!_vm.isCurrentRecordValid},on:{\"click\":function($event){return _vm.onUpdateFBTCostBase()}}},[_vm._v(\"\\n Save Record\\n \")])],1):_vm._e()],1)],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue, Emit} from 'vue-property-decorator';\r\nimport { required } from 'vuelidate/lib/validators';\r\nimport { FBTCostBaseList, FBTCostBaseRecordDto} from '@/models/fbtCostBase.model';\r\nimport { ApexDateFormat } from '@/filters/dateFilter';\r\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\r\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\r\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\r\nimport apiService from '@/shared/services/apiService';\r\nimport fieldValidationService from '@/shared/services/fieldValidationService';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport moment from 'moment';\r\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\r\nimport { NovationModel } from '@/models/novation.model';\r\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\r\nimport fileViewerService from '@/shared/services/fileViewerService';\r\n\r\n @Component({\r\n\r\n validations:{\r\n currentFBTCostBaseRecord:{\r\n amount: {required: fieldValidationService.isDecimal},\r\n startDate: {required}\r\n }},\r\n components:{\r\n DocumentUploader\r\n },\r\n })\r\n\r\n export default class AddEditFBTCostBases extends Vue{\r\n @Prop() novationID: number;\r\n @Prop() novationStartDate : Date;\r\n @Prop() amount : Date;\r\n @Prop() canGeneratePayrollReport: boolean;\r\n @Prop() leaseType: VehicleLeaseTypes;\r\n @Prop() payCycle: any;\r\n @Prop() isInvoiceScheduleGenerated: boolean;\r\n\r\n fBTCostBaseList: FBTCostBaseList = {\r\n novationId: 0,\r\n items: []\r\n }\r\n todayDate:any = new Date();\r\n fBTLineItemCount:number = 0;\r\n dirtyValidatorRefNo:number = 0;\r\n currentFBTCostBaseRecord : FBTCostBaseRecordDto = {\r\n id: 0,\r\n lineNumber: 0,\r\n novationId: 0,\r\n startDate: null,\r\n endDate: null,\r\n amount: 0,\r\n documentCount: 0,\r\n isPayrollReportGenerated: false,\r\n payrollReportGeneratedDate: null,\r\n \r\n }\r\n\r\n lastExistingFBTCostBaseRecord : FBTCostBaseRecordDto = {\r\n id: 0,\r\n lineNumber: 0,\r\n novationId: 0,\r\n startDate: null,\r\n endDate: null,\r\n amount: 0,\r\n documentCount: 0,\r\n isPayrollReportGenerated: false,\r\n payrollReportGeneratedDate: null,\r\n }\r\n\r\n leaseTypes = VehicleLeaseTypes;\r\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.FormFieldAppenedButtonType;\r\n addButtonDisabled: boolean = false;\r\n isNewRecordAdded: boolean = false;\r\n isAmountDirty: boolean = false;\r\n showDefaultStartDate: boolean = true;\r\n isAmountValid: boolean = false;\r\n isStartDateDirty: boolean = false;\r\n isCurrentRecordValid: boolean = false;\r\n disabledDates: any = {};\r\n defaultDocType:number = 0;\r\n fbtCostBaseRecordRelatedTable:RelatedTables = RelatedTables.FBTCostBaseRecord;\r\n fields = [\r\n {\r\n key: \"lineNumber\",\r\n label: \"#\",\r\n class: \"column-lineNumber\",\r\n },\r\n {\r\n key: \"amount\",\r\n label: \"FBT Cost Amount\",\r\n class: \"column-amount\",\r\n },\r\n {\r\n key: \"startDate\",\r\n label: \"Start Date\",\r\n class: \"column-startDate\",\r\n },\r\n {\r\n key: \"endDate\",\r\n label: \"End Date\",\r\n class: \"column-endDate\",\r\n },\r\n {\r\n key: \"document\",\r\n label: \"\",\r\n },\r\n {\r\n key: \"report\",\r\n label: \"Payroll Setup Report\",\r\n }\r\n ];\r\n\r\n created() {\r\n apiService.sendGetRequest('Novation','NovationFBTRecordList',{novationId :this.novationID}).then(\r\n response => {\r\n this.fBTCostBaseList.items = response.data;\r\n if (response.data.length > 0) {\r\n this.showDefaultStartDate = false;\r\n this.lastExistingFBTCostBaseRecord = this.fBTCostBaseList.items[this.fBTCostBaseList.items.length - 1];\r\n var lastRecordStartDate = this.lastExistingFBTCostBaseRecord.startDate;\r\n this.disabledDates = {to: moment(lastRecordStartDate).add(1, 'days').toDate()};\r\n }\r\n this.fBTCostBaseList.items.forEach(rec => {\r\n rec.lineNumber = this.currentFBTCostBaseRecord.lineNumber + 1;\r\n this.currentFBTCostBaseRecord.lineNumber++;\r\n });\r\n }\r\n );\r\n this.defaultDocType = FileTypes.FBTCostBaseEvidence;\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.currentFBTCostBaseRecord);\r\n }\r\n\r\n onChangeFBTAmount(){\r\n this.isAmountDirty = true;\r\n this.isAmountValid = fieldValidationService.isDecimal(this.currentFBTCostBaseRecord.amount);\r\n this.isCurrentRecordValid = this.checkValidRecord();\r\n }\r\n\r\n onChangeFBTStartDate(){\r\n this.isCurrentRecordValid = this.checkValidRecord();\r\n }\r\n\r\n checkValidRecord(){\r\n return fieldValidationService.isDecimal(this.currentFBTCostBaseRecord.amount) && this.currentFBTCostBaseRecord.amount != null && this.currentFBTCostBaseRecord.startDate !=null ;\r\n }\r\n\r\n onAddItem(){\r\n let nextLineNumber = (this.currentFBTCostBaseRecord.lineNumber + 1).toString();\r\n let newfbtLineItem: FBTCostBaseRecordDto = { \r\n lineNumber: nextLineNumber,\r\n amount: null,\r\n endDate: null,\r\n startDate: this.showDefaultStartDate? this.novationStartDate : null,\r\n id: null,\r\n novationId: this.novationID,\r\n documentCount: 0,\r\n isPayrollReportGenerated: false,\r\n payrollReportGeneratedDate: null,\r\n }\r\n this.isNewRecordAdded = true;\r\n this.currentFBTCostBaseRecord = newfbtLineItem;\r\n this.fBTCostBaseList.items.push(newfbtLineItem);\r\n this.addButtonDisabled = true;\r\n \r\n }\r\n\r\n onUpdateFBTCostBase(){\r\n this.isNewRecordAdded = false;\r\n apiService.sendPutRequest('Novation','NovationFBTRecord',{amount: this.currentFBTCostBaseRecord.amount , novationId : this.currentFBTCostBaseRecord.novationId, startDate: this.currentFBTCostBaseRecord.startDate, lastRecordId: this.lastExistingFBTCostBaseRecord.id}).then(\r\n response => {\r\n this.onSaveFBTRecord();\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n }\r\n );\r\n }\r\n\r\n onGeneratePayrollReport(fbtCostBaseRecord: FBTCostBaseRecordDto){\r\n if (this.payCycle == null || this.payCycle == 0){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: 'Please select a Pay Cycle before generating the Payroll Report.',\r\n type: 'warn',\r\n duration: 5000\r\n });\r\n return;\r\n }\r\n else if (this.isInvoiceScheduleGenerated == false){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: 'Please navigate to Invoices tab to create an invoice schedule before generating the payroll report.',\r\n type: 'warn',\r\n duration: 5000\r\n });\r\n return;\r\n }\r\n else if (this.leaseType == VehicleLeaseTypes.NovatedFullyMaintained && fbtCostBaseRecord.isPayrollReportGenerated == false){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Novation','GeneratePayrollReport',{fbtCostBaseRecordId: fbtCostBaseRecord.id}).then(\r\n response => {\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n fbtCostBaseRecord.isPayrollReportGenerated = true;\r\n fbtCostBaseRecord.payrollReportGeneratedDate = new Date();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n else{\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n getPayrollReport(reportFormat , fbtCostBaseRecord: FBTCostBaseRecordDto) {\r\n if (!fbtCostBaseRecord.isPayrollReportGenerated){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: 'Export is not allowed until the report is generated.',\r\n type: 'warn',\r\n duration: 5000\r\n });\r\n return;\r\n }\r\n let fileExtention = reportFormat == 'pdf' ? 'pdf' : 'doc';\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('novation', 'GetPayrollReport', {fbtCostBaseRecordID : fbtCostBaseRecord.id, reportType: reportFormat}).then(\r\n response => {\r\n if(response.data.isSuccess)\r\n {\r\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,fileExtention,false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: 'Report downloaded successfully.',\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n \r\n @Emit('onSaveFBTRecord') onSaveFBTRecord(){};\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFBTCostBase.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFBTCostBase.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditFBTCostBase.vue?vue&type=template&id=5150f0bd&scoped=true\"\nimport script from \"./AddEditFBTCostBase.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditFBTCostBase.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditFBTCostBase.vue?vue&type=style&index=0&id=5150f0bd&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5150f0bd\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { validationMixin } from 'vuelidate'\nimport { required, minValue, email} from 'vuelidate/lib/validators'\nimport { Component, Prop, Vue, Emit,Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport apiService from '@/shared/services/apiService'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport {NovationModel} from '@/models/novation.model'\nimport moment from 'moment'\nimport lookupService from '@/shared/services/lookupService'\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport AddEditEmployer from '@/components/admin/employerManagement/AddEditEmployer.vue';\nimport FBTApplicableRecords from './FBTApplicableRecords.vue'\nimport systemSettingsService from '@/shared/services/systemSettingsService';\nimport Multiselect from 'vue-multiselect';\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\nimport { FBTMethodTypes} from '@/shared/enums/fbtMethodTypes.enum';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\nimport ApexCurrencyFormat from '@/filters/currencyFilter';\nimport AddEditFBTCostBases from '@/components/admin/novationManagement/AddEditFBTCostBase.vue';\nimport {FBTCostBaseRecordDto} from '@/models/fbtCostBase.model';\n\n@Component({\n components:{\n DataTable,\n Modal,\n AddEditEmployer,\n FBTApplicableRecords,\n Multiselect,\n DocumentUploader,\n AddEditFBTCostBases\n },\n mixins:[validationMixin],\n validations:{\n novation:{\n startDate:{\n required\n },\n relatedTable:{\n required,\n minValue:minValue(1)\n },\n relatedID:{\n required,\n minValue:minValue(1)\n },\n emailInvoicesTo:{\n required,\n email\n },\n leaseStartingODO:{\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n },\n required\n },\n mvLeaseFBTCostBase:\n {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n taxCalculationMethod:\n {\n required,\n minValue:minValue(1)\n },\n subjectToFBT:\n {\n required\n },\n fbtMethod:\n {\n isRequired:(value, vm) => {\n if(vm.subjectToFBT == false ) {\n\n return true;\n } \n else {\n if(value){\n return true;\n }\n return false;\n }\n },\n \n minValue:minValue(1)\n \n },\n isFBTExemptionApply:{\n isRequired:(value, vm) => {\n if(vm.subjectToFBT == true ) {\n return true;\n } \n else {\n if(value != null){\n return true;\n }\n return false;\n }\n },\n \n minValue:minValue(1)\n },\n administrationFeeAmount:{\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n administrationFeeEndDate:{\n isRequired : (value, vm) => {\n if (vm.endDate != null && vm.endDate != \"\"\n && vm.administrationFeeStartDate != null && vm.administrationFeeStartDate != \"\"\n && (typeof value === 'undefined' || value === null || value === '')){\n return false;\n }\n return true;\n }\n }\n },\n administrationFeeAmount:{\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n }\n }\n})\n\nexport default class AddEditNovation extends Vue\n{\n @Prop() useStore:boolean;\n @Prop() newServiceAgreementUploaded:boolean\n @Prop({ default: null}) leaseTypeProp: VehicleLeaseTypes;\n @Prop({ default: null}) novationProp: NovationModel;\n @Prop({ default: null}) applicationType:ClientApplicationTypes;\n\n leaseID:number = 0;\n novationID:number = 0;\n effectiveDate:any = new Date();\n hasEffectiveRecord:boolean = true;\n \n\n currentFBTLineItem: FBTCostBaseRecordDto = {\n lineNumber: 0,\n amount: null,\n startDate: null,\n endDate: null,\n id: 0,\n novationId: this.novationID,\n documentCount: 0,\n isPayrollReportGenerated: false,\n payrollReportGeneratedDate: null\n }\n\n novation:NovationModel = {\n id:0,\n rern:\"\",\n vehicleLeaseID:0,\n relatedID:0,\n emailInvoicesTo:\"\",\n startDate:\"\",\n endDate:\"\",\n leaseStartingODO:\"\",\n taxCalculationMethod:0,\n mvLeaseFBTCostBase:\"\",\n fbtMethod: null,\n subjectToFBT:null,\n concurrencyKey:\"\",\n odometerConcurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:\"\",\n lastUpdatedDate:\"\",\n isActive:true,\n payCycle:0,\n relatedTable:null,\n isPayrollReportGenerated: false,\n isServiceAgreementDocumentAvailable:false,\n oldestFBTExStartDate: null,\n latestFBTExEndDate: null,\n IsUpdatePendingInvoiceEmailAddress: false,\n isFBTExemptionApply: null,\n novationDocumentsList:null,\n administrationFeeStartDate:\"\",\n administrationFeeEndDate:\"\",\n administrationFeeAmount:\"\",\n administrationFeeChargeFrequency:\"\",\n administrationFeeAmountWithFrequency:\"\",\n isAdministrationFeeAmountOverridden:false,\n };\n\n initialObj:NovationModel = Object.assign({}, this.novation); \n dirtyValidatorRefNo:number = 0;\n isNewFBTRecordAdded:boolean = false;\n disabledStartDates:any = {};\n disabledEndDates:any = {};\n showCancelConfirmation:boolean = false;\n leasePrePaymentsDirtyValRefNo:number = 0;\n showAddEmployerModal:boolean = false;\n addEmployerDirtyNumber:number = 0;\n employersList:any[] = [];\n selectedEmployer:any;\n taxCalculationMethodList:any[]=[];\n fbtMethodList:any[]=[];\n payCycleList:any[]=[];\n optionsList:any[]=[];\n showAddEmployerCancelConfirmation:boolean = false;\n disableOdometer:boolean = false;\n showEndDatePreviousNovationConfirmation:boolean = false;\n previousNovationHasNoEndDate:boolean = false;\n employeeContributionAmount:number;\n StatutoryRatePercentage:number = 0 ;\n DaysInYear:number;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n emailList:any[] = [];\n emailInvoicesTo:any =[];\n employerEmailLoaded:boolean = false;\n oldestExemptionStartDate:Date;\n latestExcemptionEndDate:Date;\n novationTypes:any[] = [];\n relatedTables = RelatedTables;\n leaseTypes = VehicleLeaseTypes;\n canGeneratePayrollReport = true;\n clientId: number;\n leaseType: VehicleLeaseTypes = null;\n isUpdateMode:boolean = true;\n showWarningMessage:boolean = false;\n warningMessage:string = \"\";\n isSavedNewNovation:boolean = false;\n isInvoiceScheduleGenerated = false;\n fbtApplicable: FBTMethodTypes = FBTMethodTypes.FBTApplicable;\n employeeContribution:FBTMethodTypes = FBTMethodTypes.EmployeeContribution;\n showUpdateEmailConfirmation:boolean = false;\n pendingInvoicesCount:number = 0;\n previousNovationEmailAddress:string = null;\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.FormFieldAppenedButtonType;\n novationRelatedTable:RelatedTables = RelatedTables.Novation;\n filteredDocumentTypes:any = [ FileTypes.FBTCostBaseEvidence ];\n FBTCostBaseEvidenceDocumentCount:number = 0;\n isAdminFeeChargeScheduleAvailable: boolean = false;\n clearButtonEnabled: boolean = true;\n isAdministrationStartDateEnabled: boolean = true;\n disabledAdminFeeStartDates: any = {};\n disabledAdminFeeEndDates: any = {};\n isAdminFeeChargeModelEnabled: boolean = true;\n administrationFeeAmountWithFrequency:any = \"\";\n showOverrideAdminFee:boolean = false;\n showOverrideFBTCostBase:boolean = false;\n administrationFeeChargeFrequency:any = \"\";\n administrationFeeAmount:any =\"\";\n administrationFeeAmountPrevious:any = \"\";\n showDirtyOverrideAdminFee:boolean = false;\n \n @Watch('newServiceAgreementUploaded')\n onServiceAgreementUploaded(val: any, oldVal: any)\n {\n this.loadNovationDetails(); \n }\n\n created(){\n this.leaseID = this.$route.params.leaseID?+this.$route.params.leaseID:0;\n this.novationID = this.$route.params.novationID?+this.$route.params.novationID:0;\n this.createNovationTypesList();\n this.loadSystemSettings();\n this.loadTaxCalculationMethodSelectList(); \n this.loadFBTMethodSelectList();\n this.loadPayCycleList(); \n this.loadActiveEmployerSelectList();\n this.checkActiveAdminFeeChargeSchedules();\n this.employerEmailLoaded = true;\n if (this.useStore){\n this.novation = this.novationProp;\n this.leaseType = this.leaseTypeProp;\n if(this.novation.emailInvoicesTo && this.novation.relatedTable == RelatedTables.Employer) {\n this.emailInvoicesTo = { text:\" \",value:this.novation.relatedID,email:this.novation.emailInvoicesTo } ;\n this.emailList.push(this.emailInvoicesTo)\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.novation);\n if(this.applicationType == ClientApplicationTypes.Finance){\n this.isUpdateMode = this.$store.getters.getFinanceApplicationLeaseAndEmploymentNovationRelatedId > 0\n this.$store.dispatch('updateFinanceApplicationDirtyValidatorRefNos',{index: FinanceApplicationStates.LeaseAndEmployment-1,dirtyValidationNo:this.dirtyValidatorRefNo});\n }\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n } else {\n this.loadLeaseRelatedEntityCount(); \n if(this.novationID>0){\n this.loadNovationDetails();\n this.loadPendingInvoicesCount();\n }\n else{\n this.loadLeaseType();\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.novation);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n }\n this.adjustNovationTypeList();\n }\n\n loadLeaseType() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Lease', 'LeaseType', {leaseID: this.novationID == 0 ? this.leaseID : this.novation.vehicleLeaseID}).then(response => {\n this.leaseType = response.data;\n this.adjustNovationTypeList();\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n adjustNovationTypeList(){\n if (this.leaseType == VehicleLeaseTypes.MadeAvailable) {\n this.novationTypes = this.novationTypes.filter(n => n.value == RelatedTables.Employer);\n this.novation.relatedTable = RelatedTables.Employer;\n } else if (this.leaseType == VehicleLeaseTypes.RunningCostOnly){\n this.novationTypes = this.novationTypes.filter(n => n.value == RelatedTables.Client);\n this.novation.relatedTable = RelatedTables.Client;\n this.onNovationTypeChanged();\n }\n }\n\n createNovationTypesList() {\n let employerType = {text: 'Employer' , value: RelatedTables.Employer};\n let clientType = {text: 'Client', value: RelatedTables.Client}\n this.novationTypes.push(clientType);\n this.novationTypes.push(employerType);\n }\n\n onSubjectToFTBChange(){\n if(this.novation.subjectToFBT){\n this.novation.isFBTExemptionApply = null;\n this.$v.novation.isFBTExemptionApply.$reset();\n }else{\n this.novation.fbtMethod = null;\n this.$v.novation.fbtMethod.$reset();\n } \n }\n\n onNovationTypeChanged() {\n if (this.novation.relatedTable == RelatedTables.Client){\n this.$store.dispatch('storeIsBusyValue',true);\n if(this.useStore) {\n this.clientId = this.$route.params.clientId?+this.$route.params.clientId:0;\n apiService.sendGetRequest('Client', 'Client', {id: this.clientId}).then(response =>{\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.novation.relatedID = this.clientId;\n this.novation.emailInvoicesTo = response.data.item2.email;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n else {\n apiService.sendGetRequest('Lease', 'ClientDetails', {leaseID: this.leaseID}).then(response => {\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.novation.emailInvoicesTo = response.data.email;\n this.novation.relatedID = response.data.id;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n }\n else if (this.novation.relatedTable == RelatedTables.Employer){\n this.novation.relatedID = 0;\n this.novation.emailInvoicesTo = null;\n this.emailInvoicesTo = [];\n (this.$refs.multiselect as any).search = \"\";\n }\n }\n\n onDocumentSaved(){\n this.FBTCostBaseEvidenceDocumentCount += 1;\n this.onUploadNovationDocument();\n }\n\n typeEmailAddress(query,id) {\n this.$v.novation.emailInvoicesTo.$touch();\n this.novation.emailInvoicesTo= query;\n }\n\n dropDownCloses(value,id){\n this.addNewEmailAddress(this.novation.emailInvoicesTo);\n (this.$refs.multiselect as any).search = this.novation.emailInvoicesTo;\n }\n\n dropDownOpens(){\n (this.$refs.multiselect as any).search = \"\";\n }\n\n addNewEmailAddress(newEmail){\n if(newEmail != null && newEmail != \"\"){\n const newEmailObj = {\n text:this.emailList[0]? this.emailList[0].text:\"\",\n value:this.emailList[0]? this.emailList[0].value:0,\n email:newEmail\n } \n this.emailInvoicesTo = newEmailObj;\n if(this.$v.novation.emailInvoicesTo.email && ((this.emailList.filter(obj => obj.email == newEmailObj.email)).length == 0)){\n this.emailList.push(newEmailObj); \n }\n } else {\n if(this.emailInvoicesTo && this.emailInvoicesTo.email){\n this.novation.emailInvoicesTo = this.emailInvoicesTo.email;\n (this.$refs.multiselect as any).search = this.emailInvoicesTo.email\n }\n } \n }\n\n selectExistingEmailAddress(selectedOption){\n this.novation.emailInvoicesTo = selectedOption.email;\n this.emailInvoicesTo = selectedOption;\n }\n\n employerSelected() {\n var selectedEmployer = this.employersList.filter(obj => obj.value==this.novation.relatedID && obj.email !=\"\");\n if(selectedEmployer.length > 0){\n this.selectedEmployer = selectedEmployer;\n if((this.emailList.filter(obj => obj.email == selectedEmployer[0].email)).length == 0) {\n var emailObj = { text: selectedEmployer[0].text,value:selectedEmployer[0].value,email:selectedEmployer[0].email};\n this.emailList.push(emailObj);\n }\n }\n \n if(this.emailList.length == 0){\n this.emailInvoicesTo = [];\n }\n }\n\n resetEmailInvoicesTo(){\n this.emailList = [];\n if(this.novation.emailInvoicesTo != null && this.novation.emailInvoicesTo != \"\"){\n this.emailInvoicesTo = {text:\"\",value:0,email:this.novation.emailInvoicesTo}\n this.emailList.push(this.emailInvoicesTo);\n if((this.$refs.multiselect as any) != undefined){\n (this.$refs.multiselect as any).search = this.emailInvoicesTo.email;\n }\n } else {\n this.emailInvoicesTo = [];\n if((this.$refs.multiselect as any) != undefined){\n (this.$refs.multiselect as any).search = \"\";\n }\n }\n var selectedEmployer = this.employersList.filter(obj => obj.value==this.novation.relatedID && obj.email !=\"\");\n if(selectedEmployer.length > 0){\n if((this.emailList.filter(obj => obj.email == selectedEmployer[0].email)).length == 0) {\n var emailObj = { text: selectedEmployer[0].text,value:selectedEmployer[0].value,email:selectedEmployer[0].email};\n this.emailList.push(emailObj);\n }\n }\n } \n\n loadSystemSettings(){\n this.$store.dispatch('storeIsBusyValue',true);\n systemSettingsService.LoadAllSystemSettings().then(data => \n {\n if(data)\n {\n this.StatutoryRatePercentage = parseFloat(data.StatutoryRatePercentage);\n this.DaysInYear = parseFloat(data.DaysInYear);\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n\n }\n\n get EmployeeContributionAmount()\n {\n if(this.novation.mvLeaseFBTCostBase > 0 && typeof this.StatutoryRatePercentage != undefined)\n {\n return (this.novation.mvLeaseFBTCostBase * (this.StatutoryRatePercentage / 100)) / 12;\n }\n else\n {\n return 0;\n }\n }\n\n loadActiveEmployerSelectList(){\n apiService.sendGetRequest('Employer','EmployerSelectList',{}).then( response=>{\n this.employersList = response.data.filter(obj => obj.disabled==false);\n }) \n }\n\n loadActiveAndSelectedEmployerSelectList(id:number){\n apiService.sendGetRequest('Employer','EmployerSelectList',{}).then( response=>{\n this.employersList = response.data.filter(obj => obj.disabled==false || obj.value==id);\n this.employerSelected();\n }) \n this.employerEmailLoaded =true;\n }\n\n loadTaxCalculationMethodSelectList(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetTaxCalculationMethodList().then(data => \n {\n this.taxCalculationMethodList = data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadFBTMethodSelectList(){\n apiService.sendGetRequest('Novation','FBTMethodsList').then(response=> {\n this.fbtMethodList = response.data.filter(m => m.value != FBTMethodTypes.Exempt);\n })\n }\n\n loadPayCycleList(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetScheduleLookupValues().then(data => \n {\n this.payCycleList = data.scheduleFrequencyTypes;\n this.payCycleList = this.payCycleList.filter(t => t.value != 5);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadLeaseRelatedEntityCount()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Novation','LeaseRelatedEntityCount',{leaseId:this.leaseID}).then(response=>{\n var relatedEntityCount = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n }) \n }\n\n get previousNovationEndDate(){\n return moment(this.novation.startDate).subtract(1,'days').toDate()\n }\n\n onAddEmployerDirtySet(refNo:number){\n this.addEmployerDirtyNumber = refNo;\n }\n\n closeAddEmployerModal(){\n if(dirtyValidatorService.isModelDirty(this.addEmployerDirtyNumber)){\n this.showAddEmployerCancelConfirmation = true;\n }\n else{\n this.showAddEmployerModal = false;\n }\n }\n\n onOkayToCloseAddEmployerModal(){\n dirtyValidatorService.clearChanges(this.addEmployerDirtyNumber)\n this.addEmployerDirtyNumber = 0;\n this.showAddEmployerCancelConfirmation = false;\n this.showAddEmployerModal = false;\n }\n\n onEmployerSaved(id:number,name:string){\n this.employersList.push({text:name,value:id});\n dirtyValidatorService.clearChanges(this.addEmployerDirtyNumber)\n this.addEmployerDirtyNumber = 0;\n this.showAddEmployerModal = false;\n }\n\n onGeneratePayrollReport() {\n this.closeOverrideFBTCostBaseOfVehicle();\n if (dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.$notify({\n group: 'growlNotification',\n title: 'Please save your changes before generating the report.',\n type: 'warn',\n duration: 5000\n });\n return;\n }\n if (this.novation.payCycle != null && this.novation.payCycle != 0 && this.leaseType == VehicleLeaseTypes.NovatedFullyMaintained && !this.novation.isPayrollReportGenerated){\n this.canGeneratePayrollReport = true;\n } else {\n this.canGeneratePayrollReport = false;\n return;\n }\n if (this.leaseType == VehicleLeaseTypes.NovatedFullyMaintained && !this.isInvoiceScheduleGenerated && !this.novation.isPayrollReportGenerated){\n this.$notify({\n group: 'growlNotification',\n title: 'Please navigate to Invoices tab to create an invoice schedule before generating the payroll report.',\n type: 'warn',\n duration: 5000\n });\n return;\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('novation','GeneratePayrollReport', {novationID:this.novationID}).then(\n response => {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.novation.isPayrollReportGenerated = true;\n this.initialObj = Object.assign({},this.novation);\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\"doc\",false);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onAcknowledgeWarning(){\n this.showWarningMessage = false;\n if (this.isSavedNewNovation){\n this.isSavedNewNovation = false;\n this.$router.push({name:\"Edit Novation\",params:{novationID:this.novation.id.toString(),topRouteDisplayName:'relatedentitytypes',routerDisplayName:\"details\"}});\n }\n }\n \n onSubmit(){\n if(this.useStore){\n this.onFormSubmit({form: this.novation, isSuccess: true});\n return;\n }\n if(this.novationID > 0){\n if(this.pendingInvoicesCount > 0 && this.previousNovationEmailAddress != this.novation.emailInvoicesTo){\n this.showUpdateEmailConfirmation = true;\n }\n else{\n this.updateNovation();\n }\n }\n else{\n if(this.previousNovationHasNoEndDate)\n {\n this.showEndDatePreviousNovationConfirmation = true;\n }\n else\n {\n this.createNovation();\n }\n }\n }\n \n createNovation(){\n var params = {\n startDate : this.novation.startDate,\n endDate : this.novation.endDate,\n relatedID: this.novation.relatedID,\n emailInvoicesTo:this.novation.emailInvoicesTo,\n vehicleLeaseID : this.leaseID,\n leaseStartingODO : this.novation.leaseStartingODO,\n taxCalculationMethod: this.novation.taxCalculationMethod,\n mvLeaseFBTCostBase : this.novation.mvLeaseFBTCostBase,\n fbtMethod : this.novation.fbtMethod,\n subjectToFBT : this.novation.subjectToFBT,\n payCycle : this.novation.payCycle,\n relatedTable: this.novation.relatedTable,\n isPayrollReportGenerated: this.novation.isPayrollReportGenerated,\n isFBTExemptionApply: this.novation.isFBTExemptionApply,\n administrationFeeStartDate: this.novation.administrationFeeStartDate,\n administrationFeeEndDate: this.novation.administrationFeeEndDate,\n administrationFeeAmount: this.novation.administrationFeeAmount\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('Novation','Novation',params).then(\n response => {\n if(response.data.item1.isSuccess){\n this.novationID = this.novation.id = response.data.item1.id;\n if(response.data.item1.isWarning){\n this.warningMessage = response.data.item1.message;\n this.showWarningMessage = true;\n this.isSavedNewNovation = true;\n }else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.item1.message,\n type: 'success',\n duration: 5000\n });\n this.$router.push({name:\"Edit Novation\",params:{novationID:this.novation.id.toString(),topRouteDisplayName:'relatedentitytypes',routerDisplayName:\"details\"}});\n }\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.item1.message,\n type: 'error',\n duration: 10000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n \n updateNovation(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Novation','Novation',this.novation).then(\n response => {\n if(response.data.item1.isSuccess){\n this.novation.lastUpdateByName = response.data.item1.updatedByName;\n this.novation.lastUpdatedDate = response.data.item1.lastUpdatedDate;\n this.novation.concurrencyKey = response.data.item1.concurrencyKey;\n this.novation.odometerConcurrencyKey = response.data.item2;\n this.initialObj = Object.assign({},this.novation);\n this.disableOdometer = ((this.novation.leaseStartingODO != null) || (this.novation.leaseStartingODO != undefined));\n if(this.novation.administrationFeeStartDate == null || this.novation.administrationFeeStartDate == \"\"){\n this.isAdministrationStartDateEnabled = true;\n } else {\n this.isAdministrationStartDateEnabled = false;\n this.onAdminFeeStartDateChanged();\n }\n \n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n if (response.data.item1.isWarning ){\n this.warningMessage = response.data.item1.message;\n this.showWarningMessage = true;\n }else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.item1.message,\n type: 'success',\n duration: 5000\n });\n }\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.item1.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onClickNoToUpdatePendingInvoiceEmails(){\n this.showUpdateEmailConfirmation = false;\n this.novation.IsUpdatePendingInvoiceEmailAddress = false;\n this.updateNovation();\n }\n\n onClickYesToUpdatePendingInvoiceEmails(){\n this.showUpdateEmailConfirmation = false;\n this.novation.IsUpdatePendingInvoiceEmailAddress = true;\n this.updateNovation();\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.showCancelConfirmation = true;\n }\n else{\n if (this.useStore) {\n this.onCancelForm();\n return;\n }\n this.resetFields();\n }\n }\n\n onOkayToCancel(){\n if (this.useStore) {\n this.onCancelForm();\n return;\n }\n this.showCancelConfirmation = false;\n this.resetFields();\n }\n\n resetFields(){\n this.novation = Object.assign({},this.initialObj);\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(0,this.novation);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$nextTick(()=>{this.$v.novation.$reset()})\n this.resetEmailInvoicesTo()\n this.showCancelConfirmation = false;\n }\n\n loadNovationDetails(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Novation','Novation',{id:this.novationID}).then(\n response => {\n this.novation = response.data;\n if (this.isNewFBTRecordAdded){\n this.openOverrideFBTCostBaseOfVehicle();\n }\n this.previousNovationEmailAddress = response.data.emailInvoicesTo;\n this.isInvoiceScheduleGenerated = response.data.isInvoiceScheduleGenerated;\n this.FBTCostBaseEvidenceDocumentCount = this.novation.novationDocumentsList.length > 0 ? \n (this.novation.novationDocumentsList.filter(n => n.fileType == FileTypes.FBTCostBaseEvidence)).length : 0\n\n if(response.data.emailInvoicesTo && response.data.relatedTable == RelatedTables.Employer) {\n this.emailInvoicesTo = { text:\" \",value:response.data.relatedID,email:response.data.emailInvoicesTo } ;\n this.emailList.push(this.emailInvoicesTo)\n }\n\n this.administrationFeeAmount = ApexCurrencyFormat(response.data.administrationFeeAmount,\"\");\n this.administrationFeeChargeFrequency = response.data.administrationFeeChargeFrequency;\n this.isAdminFeeChargeModelEnabled = this.administrationFeeChargeFrequency == \"\" ? false : true;\n this.administrationFeeAmountWithFrequency = ApexCurrencyFormat(response.data.administrationFeeAmount, \"\") +\" \"+response.data.administrationFeeChargeFrequency;\n this.novation.administrationFeeAmount = this.administrationFeeAmount;\n this.novation.administrationFeeChargeFrequency = this.administrationFeeChargeFrequency;\n this.novation.administrationFeeAmountWithFrequency = this.administrationFeeAmountWithFrequency;\n if(this.novation.administrationFeeStartDate == null || this.novation.administrationFeeStartDate == \"\"){\n this.isAdministrationStartDateEnabled = true;\n } else {\n this.isAdministrationStartDateEnabled = false;\n this.onAdminFeeStartDateChanged();\n }\n\n this.initialObj = Object.assign({},this.novation);\n this.leaseID = this.novation.vehicleLeaseID;\n this.latestExcemptionEndDate = response.data.latestFBTExEndDate;\n this.oldestExemptionStartDate = response.data.oldestFBTExStartDate;\n this.onStartDateChanged();\n this.onEndDateChanged();\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.novation);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.disableOdometer = ((this.novation.leaseStartingODO != null) || (this.novation.leaseStartingODO != undefined));\n this.$store.dispatch('storeIsBusyValue',false);\n this.onLeaseIdUpdated(this.novation.vehicleLeaseID);\n this.loadActiveAndSelectedEmployerSelectList(this.novation.relatedID);\n this.loadLeaseType();\n if(this.novationID > 0){\n this.getEffectiveFBTCostBaseRecord();\n }\n }\n );\n }\n\n getEffectiveFBTCostBaseRecord(){\n this.hasEffectiveRecord = false;\n apiService.sendGetRequest('Novation','EffectiveFBTCostBaseRecord',{novationID:this.novationID}).then(response => {\n if (response.data != null && response.data.id > 0){\n this.effectiveDate = response.data.startDate;\n this.hasEffectiveRecord = true;\n }\n });\n }\n\n onAdminFeeStartDateChanged(){\n this.setDisabledAdminFeeEndDates();\n }\n\n setDisabledAdminFeeEndDates(){\n if (fieldValidations.isValidDate(this.novation.administrationFeeStartDate)){\n var startDate = moment(this.novation.administrationFeeStartDate).add(1,'days').toDate();\n var fromDate = fieldValidations.isValidAndNotMinimumDate(this.novation.endDate) ? moment(this.novation.endDate).toDate() : null;\n this.disabledAdminFeeEndDates = {to:startDate, from: fromDate};\n }\n }\n\n onSaveFBTRecords(){\n this.isNewFBTRecordAdded = true;\n this.closeOverrideFBTCostBaseOfVehicle();\n this.loadNovationDetails();\n }\n\n loadPendingInvoicesCount(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Novation', 'PendingInvoicesCount', {novationID: this.novationID}).then(response =>{\n this.pendingInvoicesCount = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onEndDateChanged(){\n if(fieldValidations.isValidDate(this.novation.endDate)){\n var endDate = moment(this.novation.endDate).subtract(1,'days').toDate();\n var fromDate = fieldValidations.isValidAndNotMinimumDate(this.oldestExemptionStartDate) ? moment(this.oldestExemptionStartDate).toDate() : endDate;\n this.disabledStartDates = {from:fromDate};\n } \n else if(fieldValidations.isValidAndNotMinimumDate(this.oldestExemptionStartDate)){\n this.disabledStartDates = {from:moment(this.oldestExemptionStartDate).toDate()};\n }\n else {\n this.disabledStartDates = {};\n }\n this.setDisabledAdminFeeEndDates(); \n }\n\n onStartDateChanged(){\n if(fieldValidations.isValidDate(this.novation.startDate)){\n var startDate = moment(this.novation.startDate).add(1,'days').toDate();\n var toDate = fieldValidations.isValidAndNotMinimumDate(this.latestExcemptionEndDate) ? moment(this.latestExcemptionEndDate).toDate() : startDate;\n this.disabledEndDates = {to:toDate};\n } \n else if(fieldValidations.isValidAndNotMinimumDate(this.latestExcemptionEndDate)){\n this.disabledEndDates = {to:moment(this.latestExcemptionEndDate).toDate()};\n }\n else {\n this.disabledEndDates = {};\n }\n }\n\n isSaveButtonDisabled(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n if(this.$v.novation.relatedID.$invalid ||\n this.$v.novation.startDate.$invalid ||\n this.$v.novation.taxCalculationMethod.$invalid ||\n !this.$v.novation.isFBTExemptionApply.isRequired ||\n !this.$v.novation.fbtMethod.isRequired ||\n !this.$v.novation.emailInvoicesTo.required ||\n !this.$v.novation.leaseStartingODO.isDecimal ||\n this.$v.novation.administrationFeeEndDate.$invalid) \n {\n return true;\n }\n return false;\n }\n return true;\n }\n\n onUpdateAdministrationFeeForRelatedEntity(){\n if(this.novation.id > 0) {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {relatedEntityId:this.novation.id, administrationFeeAmount:this.administrationFeeAmount}\n apiService.sendPostRequestWithQueryParams('AdministrationFee','RelatedEntityAdminFee', params).then(\n response => {\n if(response.data.isSuccess){\n this.administrationFeeAmountWithFrequency = ApexCurrencyFormat(this.administrationFeeAmount,\"\") + \" \" + this.novation.administrationFeeChargeFrequency;\n this.initialObj.administrationFeeAmount = ApexCurrencyFormat(this.administrationFeeAmount,\"\");\n this.initialObj.administrationFeeAmountWithFrequency = this.administrationFeeAmountWithFrequency;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.showOverrideAdminFee = false;\n }\n );\n } else {\n this.novation.administrationFeeAmount = ApexCurrencyFormat(this.administrationFeeAmount,\"\");\n this.administrationFeeAmountWithFrequency = ApexCurrencyFormat(this.administrationFeeAmount,\"\") + \" \" + this.administrationFeeChargeFrequency;\n this.showOverrideAdminFee = false;\n this.administrationFeeAmountPrevious = this.administrationFeeAmount;\n }\n }\n\n isAdminFeeAmountModelDirty(){\n if(this.initialObj.administrationFeeAmount != this.administrationFeeAmount && this.novation.id > 0 && !this.useStore){\n return true;\n } else if(this.administrationFeeAmountPrevious != this.administrationFeeAmount && this.novation.id == 0 && !this.useStore) {\n return true;\n } else if(parseFloat(this.initialObj.administrationFeeAmount).toFixed(2) != parseFloat(this.administrationFeeAmount).toFixed(2) && this.useStore) {\n return true;\n }else {\n false;\n }\n }s\n\n closeOverrideAdminFee(){\n if(this.isAdminFeeAmountModelDirty()){\n this.showDirtyOverrideAdminFee = true;\n } else {\n this.showOverrideAdminFee = false;\n }\n }\n\n closeOverrideFBTCostBaseOfVehicle(){\n this.showOverrideFBTCostBase = false;\n }\n\n closeDirtyOverrideAdminFee(){\n this.administrationFeeAmount = this.novation.administrationFeeAmount;\n this.showDirtyOverrideAdminFee = false;\n this.showOverrideAdminFee = false;\n }\n\n openOverrideAdministrationFee(){\n this.showOverrideAdminFee = true;\n }\n\n openOverrideFBTCostBaseOfVehicle(){\n this.showOverrideFBTCostBase = true;\n }\n\n checkActiveAdminFeeChargeSchedules() {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetAdminFeeAndFrequency().then(data => \n { \n this.$store.dispatch('storeIsBusyValue',false);\n this.isAdminFeeChargeScheduleAvailable = data.adminFeeStartDate == null ? false : true;\n var adminFeeScheduleStartDate = moment(data.adminFeeStartDate).toDate();\n this.disabledStartDates = {to:adminFeeScheduleStartDate};\n if(this.novationID <= 0 ||(this.useStore && !this.novation.isAdministrationFeeAmountOverridden)){\n this.administrationFeeAmount = ApexCurrencyFormat(data.adminFeeChargeAmount,\"\");\n this.administrationFeeChargeFrequency = data.adminFeeChargeFrequency;\n this.isAdminFeeChargeModelEnabled = this.administrationFeeChargeFrequency == \"\" ? false : true;\n this.administrationFeeAmountWithFrequency = ApexCurrencyFormat(data.adminFeeChargeAmount, \"\") +\" \"+ data.adminFeeChargeFrequency;\n this.initialObj.administrationFeeAmount = ApexCurrencyFormat(data.adminFeeChargeAmount,\"\");\n this.administrationFeeAmountPrevious = this.administrationFeeAmount;\n this.initialObj.administrationFeeChargeFrequency = this.administrationFeeChargeFrequency;\n this.initialObj.administrationFeeAmountWithFrequency = this.administrationFeeAmountWithFrequency;\n this.novation.administrationFeeAmount = this.administrationFeeAmount;\n this.novation.administrationFeeChargeFrequency = this.administrationFeeChargeFrequency;\n this.novation.administrationFeeAmountWithFrequency = this.administrationFeeAmountWithFrequency;\n } \n });\n }\n\n get showAdminFeeStartDateWarningMessage(){\n return (this.novation.startDate != null && this.novation.startDate != \"\"\n && this.novation.administrationFeeStartDate != null && this.novation.administrationFeeStartDate != \"\"\n && moment(this.novation.administrationFeeStartDate).toDate() < moment(this.novation.startDate).toDate());\n }\n\n get isAdministrationFeeEndDateRequired(){\n return this.novation.endDate != null && this.novation.endDate != \"\" && this.novation.administrationFeeStartDate != null && this.novation.administrationFeeStartDate != \"\"\n && (this.novation.administrationFeeEndDate == null || this.novation.administrationFeeEndDate == \"\") \n }\n\n @Emit('onUploadNovationDocument') onUploadNovationDocument(){}\n \n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n\n @Emit('onIdUpdated') onIdUpdated(id:number){}\n\n @Emit('onLeaseIdUpdated') onLeaseIdUpdated(id:number){}\n\n @Emit('onFormSubmit') onFormSubmit(submission: any){};\n\n @Emit('onCancelForm') onCancelForm(){};\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditNovation.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditNovation.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditNovation.vue?vue&type=template&id=6532d7a9&scoped=true\"\nimport script from \"./AddEditNovation.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditNovation.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditNovation.vue?vue&type=style&index=0&id=6532d7a9&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6532d7a9\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Lease } from '@/models/Lease.model';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\nimport lookupService from '@/shared/services/lookupService';\nimport moment from 'moment';\nimport AddEditVehicleLease from '@/components/admin/vehicleLeaseManagement/AddEditVehicleLease.vue';\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator'\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\nimport { LeaseAndEmploymentModel } from '@/models/applicationSharedModels.model';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport apiService from '@/shared/services/apiService';\nimport AddEditNovation from '@/components/admin/novationManagement/AddEditNovation.vue';\nimport { NovationModel } from '@/models/novation.model';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { validationMixin } from 'vuelidate';\nimport { required, minValue} from 'vuelidate/lib/validators';\n\n@Component({\n components: {\n AddEditVehicleLease,\n DataTable,\n AddEditNovation,\n Modal\n },\n mixins:[validationMixin],\n validations: {\n selectedDuplicateVehicle: {\n required,\n minValue: minValue(1)\n } \n }\n})\nexport default class LeaseAndEmployment extends Vue{\n\n @Prop() applicationType:ClientApplicationTypes;\n isLeaseCreated = false;\n isNovationCreated = false;\n editMode = false;\n vehicleLeaseTypes = VehicleLeaseTypes;\n\n vehicleLease: Lease = null;\n leaseItems:any[] = [];\n showEmptyBanner = true;\n mvLeaseTypes:any = [];\n mvFinanceTypes:any = [];\n vehicleLeaseType: VehicleLeaseTypes = null;\n leaseTableFields = [\n {\n key: 'type', \n label:\"Type\",\n class:'width_15',\n formatter: (value, key, item) => {\n return this.getLeaseTypeName(item.type);\n }\n },\n {key: 'accountNumber',label:'Account Number', class:'width_15'},\n {\n key: 'financier', \n label:\"Financier\",\n class:'width_15',\n formatter: (value, key, item) => {\n return this.getFinancierName(item.financier)\n }\n },\n {\n key: 'leaseStartDate', \n label:\"Start Date\",\n class:'width_15',\n formatter: (value,key,item) => {\n if(item.leaseStartDate == null) { return '';}\n return moment(item.leaseStartDate).format(\"DD MMM YYYY\");\n }\n },\n {\n key: 'leaseEndDate', \n label:\"End Date\",\n class:'width_15',\n formatter: (value, key, item) => {\n if(item.leaseEndDate == null) { return '';}\n return moment(item.leaseEndDate).format(\"DD MMM YYYY\")\n }\n },\n {\n key: 'residualDueDate', \n label:\"Residual Due Date\",\n class:'width_15',\n formatter: (value, key, item) => {\n if (item.residualDueDate == null) { \n return ''\n }\n return moment(item.residualDueDate).format(\"DD MMM YYYY\")\n }\n }, \n ];\n\n novation: NovationModel = null;\n novationItems: any[] = [];\n novationTableFields = [\n {\n key: 'relatedTable', \n class:'width_20',\n label: 'Type',\n formatter: (value, key, item) => {\n return item.relatedTable == RelatedTables.Client ? RelatedTables[RelatedTables.Client] : item.relatedTable == RelatedTables.Employer ? RelatedTables[RelatedTables.Employer] : '';\n }\n },\n {\n key: 'startDate', \n class:'width_20',\n formatter: (value, key, item) => {\n return moment(item.startDate).format(\"DD MMM YYYY\");\n }\n },\n {\n key: 'endDate', \n class:'width_20',\n formatter: (value, key, item) => {\n return this.getEndDate(item.endDate);\n }\n },\n {\n key: 'entityName',\n formatter: (value, key, item) => {\n return this.getEntityName(item.relatedID, item.relatedTable);\n },\n class:'width_20'\n } \n ];\n\n leaseAndEmployment: LeaseAndEmploymentModel = {\n lease: {\n id:0,\n type:0,\n financier: 0,\n leaseBankAccountId: 0,\n leaseStartDate:\"\",\n leaseEndDate:\"\",\n secondPaymentDueDate:null,\n finalPaymentDueDate:null,\n leaseAmountPaidExternal:null,\n term:null,\n monthsDeferred:0,\n leasePaymentAmount:null,\n runningCost: \"\",\n residualAmount:null,\n residualDueDate:null,\n motorVehicleID: 0,\n concurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:new Date(),\n lastUpdatedDate:new Date(),\n mvLeaseFBTCostBase:\"\",\n mvLeaseEstAnnualKm:\"\",\n mvLeasePaymentDate:0,\n clientId:0,\n accountNumber:0,\n purchaseType:null,\n residualDueNotificationSent:false,\n hasScheduleCreated:false,\n ResidualDueDateDisplayText:\"\",\n ResidualAmountGstInclusive: false,\n LeasePaymentGstInclusive: false \n },\n novation: {\n id:0,\n rern:\"\",\n vehicleLeaseID:0,\n relatedID:0,\n emailInvoicesTo:\"\",\n startDate:\"\",\n endDate:\"\",\n leaseStartingODO:\"\",\n taxCalculationMethod:0,\n mvLeaseFBTCostBase:\"\",\n fbtMethod:0,\n subjectToFBT:null,\n concurrencyKey:\"\",\n odometerConcurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:\"\",\n lastUpdatedDate:\"\",\n isActive:true,\n payCycle:null,\n relatedTable:0,\n isServiceAgreementDocumentAvailable: false,\n isPayrollReportGenerated: false,\n oldestFBTExStartDate:\"\",\n latestFBTExEndDate: \"\",\n IsUpdatePendingInvoiceEmailAddress: false,\n isFBTExemptionApply: null,\n novationDocumentsList:null,\n administrationFeeStartDate: \"\",\n administrationFeeEndDate: \"\",\n administrationFeeAmount:\"\",\n administrationFeeChargeFrequency:\"\",\n administrationFeeAmountWithFrequency:\"\",\n isAdministrationFeeAmountOverridden:false,\n }\n }\n\n initialObj:LeaseAndEmploymentModel = Object.assign({}, this.leaseAndEmployment); \n employersList: any[] = [];\n clientList: any [] = [];\n dirtyValidatorRefNo:number = 0;\n stepNo:number = 0;\n clientId:number = 0;\n novationEditMode = false; \n leaseEditMode = false;\n showDuplicateVehicleConfirmation:boolean = false;\n showOnlyCreateLeaseConfirmation:boolean = false;\n duplicateVehicles:any = [];\n selectedDuplicateVehicle:number = 0;\n\n created() {\n this.loadLeaseAndFinanceTypes();\n this.loadEmployerSelectList();\n if (this.applicationType == ClientApplicationTypes.Finance){\n this.leaseAndEmployment = Object.assign({}, this.$store.getters.getFinanceApplicationLeaseAndEmployment);\n this.stepNo = FinanceApplicationStates.LeaseAndEmployment;\n }\n this.initialObj = Object.assign({},this.leaseAndEmployment);\n this.novation = Object.assign({}, this.leaseAndEmployment.novation);\n this.vehicleLease = Object.assign({}, this.leaseAndEmployment.lease);\n if(this.vehicleLease.type){\n this.isLeaseCreated = true;\n this.leaseItems = [];\n this.leaseItems.push(this.vehicleLease);\n }\n if(this.novation.relatedTable && this.novation.startDate != null){\n this.isNovationCreated = true;\n this.novationItems = [];\n this.novationItems.push(this.novation);\n }\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0; \n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.leaseAndEmployment);\n if (this.applicationType == ClientApplicationTypes.Finance){\n this.$store.dispatch('updateFinanceApplicationDirtyValidatorRefNos',{index:this.stepNo-1,dirtyValidationNo:this.dirtyValidatorRefNo});\n }\n }\n\n validateStep():boolean{\n return this.leaseAndEmployment.lease && this.leaseAndEmployment.lease.type > 0 &&\n this.leaseAndEmployment.novation && this.leaseAndEmployment.novation.relatedTable > 0;\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number):boolean{\n this.leaseAndEmployment.lease = this.vehicleLease;\n this.leaseAndEmployment.novation = this.novation;\n if (this.applicationType == ClientApplicationTypes.Finance){\n if(this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.Rejected || this.$store.getters.getFinanceApplicationStatus == FinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateFinanceApplicationLeaseAndEmployment',this.leaseAndEmployment);\n return true;\n }\n if(this.validateStep()){ \n if(!saveOnUpdate){\n return true;\n }\n this.$store.dispatch('updateFinanceApplicationLeaseAndEmployment',this.leaseAndEmployment);\n if(this.stepNo+1>this.$store.getters.getFinanceApplicationStatus){\n this.$store.dispatch('updateFinanceApplicationStatus',this.stepNo+1);\n }\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:false,nextStep:nextStep,isOkayToComplete:false});\n return true;\n }\n }\n return false;\n }\n\n updateModelOnSave(){\n this.leaseAndEmployment.lease = this.vehicleLease;\n this.leaseAndEmployment.novation = this.novation;\n if(this.validateStep()){\n if (this.applicationType == ClientApplicationTypes.Finance){\n this.$store.dispatch('updateFinanceApplicationLeaseAndEmployment',this.leaseAndEmployment);\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToComplete:false}) \n }\n }\n }\n\n /* Novation Related */\n\n get leaseType(){\n return this.vehicleLeaseType;\n }\n\n loadEmployerSelectList(){\n apiService.sendGetRequest('Employer','EmployerSelectList',{}).then( response=>{\n this.employersList = response.data;\n })\n apiService.sendGetRequest('Client', 'ClientSelectList').then ( response => {\n this.clientList = response.data;\n });\n }\n\n getEntityName(id:number, type: RelatedTables){\n var name = \"\";\n if(type == RelatedTables.Client) {\n this.clientList.forEach(element => {\n if(element.value == id){\n name = element.text;\n }\n });\n } else if(type == RelatedTables.Employer){\n this.employersList.forEach(element => {\n if(element.value == id){\n name = element.text;\n }\n });\n }\n return name;\n }\n\n getEndDate(date){\n return date ? moment(date).format(\"DD MMM YYYY\"):\"\";\n }\n\n onCustomNovationDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.editMode = true;\n this.onEditMode(this.editMode);\n this.novationEditMode = true;\n }\n }\n\n onAddNovation(){\n this.editMode = true;\n this.onEditMode(this.editMode);\n this.novationEditMode = true;\n }\n\n onNovationFormSubmit(submission: any){\n if(submission.form.relatedTable){\n this.isNovationCreated = submission.isSuccess;\n this.novation = submission.form;\n this.initialObj.novation = Object.assign({},this.novation);\n this.novationItems = [];\n this.novationItems.push(this.novation);\n }\n this.editMode = false;\n this.novationEditMode = false;\n this.onEditMode(this.editMode);\n if (this.applicationType == ClientApplicationTypes.Finance){\n this.$store.dispatch('updateFinanceApplicationIsLeaseAndEmploymentFilled',true) \n }\n }\n\n /* Lease Related */\n\n onCustomLeaseDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.editMode = true;\n this.onEditMode(this.editMode);\n this.leaseEditMode = true;\n } \n }\n\n getLeaseTypeName(id:number){\n var name = \"\";\n this.mvLeaseTypes.forEach(element => {\n if(element.value == id){\n name = element.text;\n }\n });\n return name;\n }\n\n getFinancierName(id:number){\n var name = \"\";\n this.mvFinanceTypes.forEach(element => {\n if(element.value == id){\n name = element.text;\n }\n });\n return name;\n }\n\n loadLeaseAndFinanceTypes() {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetLeaseTypesList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.mvLeaseTypes = data;\n });\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetFinanciersList(false).then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.mvFinanceTypes = data;\n });\n this.$store.dispatch('storeIsBusyValue',false);\n }\n\n onAddVehicleLease() {\n this.editMode = true;\n this.onEditMode(this.editMode);\n this.leaseEditMode = true;\n }\n\n onVehicleLeaseTypeUpdated(type: VehicleLeaseTypes){\n this.vehicleLeaseType = type;\n }\n\n onLeaseFormSubmit(submission: any){\n this.editMode = this.leaseEditMode = false;\n this.onEditMode(this.editMode);\n if(submission.form.type){\n this.isLeaseCreated = submission.isSuccess;\n this.vehicleLease = submission.form;\n this.initialObj.lease = Object.assign({},this.vehicleLease);\n this.vehicleLeaseType = this.vehicleLease.type;\n this.leaseItems = [];\n this.leaseItems.push(this.vehicleLease);\n }\n }\n\n onCancelForm() {\n this.editMode = this.leaseEditMode = this.novationEditMode = false;\n this.onEditMode(this.editMode);\n this.resetFields();\n }\n\n resetFields(){\n this.leaseAndEmployment = Object.assign({},this.initialObj);\n this.novation = Object.assign({}, this.leaseAndEmployment.novation);\n this.vehicleLease = Object.assign({}, this.leaseAndEmployment.lease);\n this.leaseItems = [];\n this.leaseItems.push(this.vehicleLease);\n this.novationItems = [];\n this.novationItems.push(this.novation);\n }\n\n onCompleteApplication(){\n if(this.applicationType == ClientApplicationTypes.Finance){\n if(this.validateStep()){\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:false,isOkayToCreateLease:false,isOkayToComplete:true});\n }\n }\n }\n\n onCustomButtonClicked(){\n if(this.applicationType == ClientApplicationTypes.Finance){\n if(this.validateStep()){\n var vehicleDetails = Object.assign({},this.$store.getters.getFinanceApplicationVehicleDetails);\n var motorVehicle = {\n id: vehicleDetails.id,\n clientId: this.clientId,\n make: vehicleDetails.make,\n model: vehicleDetails.model,\n year: new Date(vehicleDetails.yearDateTime).getFullYear(),\n plateNumber: vehicleDetails.plateNumber,\n vehicleIDNumber: vehicleDetails.vehicleIDNumber,\n engineNumber: vehicleDetails.engineNumber\n }\n apiService.sendGetRequest('Vehicle','AvailableVehicleAndLease',motorVehicle).then(response => {\n if(response.data.item1){\n if(response.data.item2){\n this.duplicateVehicles = response.data.item3;\n if(response.data.item3 != null && response.data.item3.length == 1)\n {\n this.selectedDuplicateVehicle = response.data.item3[0].value;\n }\n this.showOnlyCreateLeaseConfirmation = true;\n }\n else{\n this.showDuplicateVehicleConfirmation = true;\n }\n }\n else{\n this.$store.dispatch('updateFinanceApplicationLeaseAndEmployment',this.leaseAndEmployment);\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:true,isOkayToCreateLease:true,isOkayToComplete:false});\n }\n }); \n }\n }\n }\n\n onOkayToDuplicateVehicle(){\n this.showDuplicateVehicleConfirmation = false;\n this.showOnlyCreateLeaseConfirmation = false;\n if (this.applicationType == ClientApplicationTypes.Finance){\n this.$store.dispatch('updateFinanceApplicationLeaseAndEmployment',this.leaseAndEmployment);\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:true,isOkayToCreateLease:true,isOkayToComplete:false});\n }\n }\n\n onlyCreateLease(){\n this.showOnlyCreateLeaseConfirmation = false;\n if (this.applicationType == ClientApplicationTypes.Finance){\n this.$store.dispatch('updateFinanceApplicationMotorVehicleID',this.selectedDuplicateVehicle);\n this.$store.dispatch('saveFinanceApplication',{clientId:this.clientId,isSaveMode:true,isOkayToCreateVehicle:false,isOkayToCreateLease:true,isOkayToComplete:false});\n }\n }\n\n @Emit('onLeaseAndEmploymentEditMode') onEditMode(isEditMode: boolean){}\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeaseAndEmployment.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeaseAndEmployment.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LeaseAndEmployment.vue?vue&type=template&id=4e21f979&scoped=true\"\nimport script from \"./LeaseAndEmployment.vue?vue&type=script&lang=ts\"\nexport * from \"./LeaseAndEmployment.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LeaseAndEmployment.vue?vue&type=style&index=0&id=4e21f979&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4e21f979\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.showInvoicesPopup)?_c('b-button',{staticClass:\"primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":_vm.relatedID > 0?'Invoices':_vm.errorMessageOnNoRelatedID,\"disabled\":_vm.relatedID <= 0},on:{\"click\":function($event){return _vm.openInvoicesPopup()}}},[_c('i',{staticClass:\"fas fa-dollar-sign\"})]):_vm._e(),(_vm.showInvoicesPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"55rem\",\"minHeight\":\"25rem\",\"id\":\"InvoicesModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Invoices \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",on:{\"click\":function($event){return _vm.onAddInvoice()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Invoice\\n \")])],1)],1),_c('DataTable',{ref:\"invoiceTable\",attrs:{\"items\":_vm.invoiceItems,\"fields\":_vm.invoiceFields,\"customTemplates\":_vm.invoiceCustomTemplateList,\"showEmptyBanner\":_vm.showInvoiceEmptyBanner,\"emptyBanner\":\"No invoices to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEventInvoice}})],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"InvoicesModal_CloseButton\"},on:{\"click\":function($event){_vm.showInvoicesPopup = false}}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showNoRelatedIDMessage)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ErrorInvoiceListConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Error\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n \"+_vm._s(this.errorMessageOnNoRelatedID)+\"\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"ErrorInvoiceListConf_OkButton\"},on:{\"click\":function($event){_vm.showNoRelatedIDMessage=false}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showAddInvoicePanel)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"50rem\",\"minHeight\":\"20rem\",\"id\":\"AddInvoicePanel\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(this.$store.getters.getInvoiceID > 0 ? \"Edit\":\"Add\")+\" Invoice \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',[_c('div',[_c('b-row',{staticClass:\"add-invoice-top-row\"},[_c('b-col',{attrs:{\"lg\":\"10\"}},[_c('span',[_vm._v(\"Credit Payments To:\")]),_c('b-form-select',{staticClass:\"textInput credit-payment-drop-down selectListHeight\",attrs:{\"id\":\"bankAccountSelect\",\"plain\":true,\"options\":_vm.bankAccounts,\"required\":\"\",\"disabled\":this.$store.getters.getInvoiceGeneratedFlag},on:{\"change\":function($event){return _vm.onBankAccountChanged()}},model:{value:(_vm.selectedBankAccountId),callback:function ($$v) {_vm.selectedBankAccountId=$$v},expression:\"selectedBankAccountId\"}},[(!this.selectedBankAccountId || this.selectedBankAccountId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1),_c('b-col',{staticClass:\"pr-0\"},[(!this.$store.getters.getInvoiceGeneratedFlag && !this.$store.getters.getInvoiceServiceEditMode)?_c('span',{staticClass:\"mb-1 pull-right cursor-pointer\",attrs:{\"title\":\"Add Service\"},on:{\"click\":_vm.onAddService}},[_c('i',{staticClass:\"fas fa-plus-circle primary-text fa-2x\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()])],1)],1),_c('DataTable',{ref:\"serviceTable\",attrs:{\"items\":_vm.serviceItems,\"fields\":_vm.serviceFields,\"customTemplates\":_vm.serviceCustomTemplateList},on:{\"customEvent\":_vm.onCustomDataTableEventInvoiceService}})],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"AddInvoicePanel_CloseButton\"},on:{\"click\":_vm.onCloseInvoice}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showConfirmationOnCancel)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CloseAddInvoiceConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to Close?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CloseAddInvoiceConf_CancelButton\"},on:{\"click\":function($event){_vm.showConfirmationOnCancel = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CloseAddInvoiceConf_OkButton\"},on:{\"click\":_vm.closeInvoice}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"invoiceName\",on:{\"click\":function($event){return _vm.onClick()}}},[_vm._v(_vm._s(this.item.number))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\nexport default class EditInvoiceLink extends Vue{\n @Prop() item:any;\n onClick(){\n this.editInvoice(this.item.id,DataTableActionTypes.Edit);\n }\n @Emit('customEvent') editInvoice(data:any,type:DataTableActionTypes){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditInvoiceLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditInvoiceLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditInvoiceLink.vue?vue&type=template&id=8fb84836&scoped=true\"\nimport script from \"./EditInvoiceLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditInvoiceLink.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EditInvoiceLink.vue?vue&type=style&index=0&id=8fb84836&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8fb84836\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteInvoiceConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteInvoiceConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Invoice\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the Invoice?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteInvoiceConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteInvoiceConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteInvoiceConf_OkButton\"},on:{\"click\":_vm.deleteInvoice}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('span',{staticClass:\"ml-3\",attrs:{\"title\":_vm.item.generated?'View Invoice':'Preview Invoice'},on:{\"click\":_vm.onPreviewInvoice}},[_c('i',{class:_vm.item.generated? 'fas fa-file-pdf edit-button':'fas fa-search edit-button',attrs:{\"aria-hidden\":\"true\"}})]),(!_vm.item.generated)?_c('span',{staticClass:\"ml-3\",attrs:{\"title\":\"Generate and Save Invoice\"},on:{\"click\":_vm.onSaveInvoice}},[_c('i',{staticClass:\"fas fa-save save-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),_c('span',{staticClass:\"ml-3\",attrs:{\"title\":\"Delete Invoice\"},on:{\"click\":_vm.onDeleteInvoice}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n \r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { InvoiceService } from '@/models/invoice.model';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport fileViewerService from '@/shared/services/fileViewerService';\r\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\r\n\r\n\r\n @Component({\r\n components: {\r\n Modal\r\n }\r\n })\r\n export default class InvoiceActionButtons extends Vue{\r\n @Prop() item:any\r\n \r\n showDeleteInvoiceConfirmation = false;\r\n\r\n deleteInvoice(){\r\n this.showDeleteInvoiceConfirmation = false;\r\n this.item.isActive = false;\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.onActionEvent(this.item.id,DataTableActionTypes.Delete) \r\n }\r\n\r\n onPreviewInvoice(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Report\",\"PreviewInvoice\",{invoiceID:this.item.id}).then(\r\n response =>{\r\n if(response.data.isSuccess)\r\n {\r\n fileViewerService.ViewPDF(response.data.reportContentString,response.data.reportName);\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n onSaveInvoice()\r\n {\r\n this.onActionEvent(this.item.id,DataTableActionTypes.Save);\r\n }\r\n \r\n \r\n onDeleteInvoice()\r\n {\r\n this.showDeleteInvoiceConfirmation = true;\r\n }\r\n \r\n\r\n @Emit('customEvent') onActionEvent(id:number,type:DataTableActionTypes){\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoiceActionButtons.vue?vue&type=template&id=78fb24c6&scoped=true\"\nimport script from \"./InvoiceActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoiceActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InvoiceActionButtons.vue?vue&type=style&index=0&id=78fb24c6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"78fb24c6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(this.$store.getters.getItemEditMode(this.item.id))?_c('div',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.invoiceServiceLine.type.$error,'requiredField': (_vm.invoiceServiceLine.type == 0)},attrs:{\"id\":\"serviceSelect\",\"plain\":true,\"options\":_vm.allServiceTypes,\"required\":\"\"},on:{\"change\":function($event){_vm.$v.invoiceServiceLine.type.$touch();_vm.onChangeType();}},model:{value:(_vm.invoiceServiceLine.type),callback:function ($$v) {_vm.$set(_vm.invoiceServiceLine, \"type\", $$v)},expression:\"invoiceServiceLine.type\"}},[(_vm.item.id == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select --\")])]):_vm._e()],2)],1):_vm._e(),(!this.$store.getters.getItemEditMode(this.item.id))?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.serviceTypeText)+\"\\n\")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n \r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, minValue} from 'vuelidate/lib/validators';\r\nimport { InvoiceService } from '@/models/invoice.model';\r\n\r\n @Component({\r\n mixins:[validationMixin],\r\n validations:{\r\n invoiceServiceLine:{\r\n type:\r\n {\r\n required,\r\n minValue:minValue(1)\r\n }\r\n }\r\n }\r\n })\r\n export default class InvoiceServiceType extends Vue{\r\n @Prop() item:any;\r\n invoiceServiceLine:InvoiceService = null;\r\n serviceTypeText:string = \"\";\r\n allServiceTypes:any = [];\r\n SetServiceTypes()\r\n {\r\n var serviceTypes = this.$store.getters.getServiceTypeList;\r\n this.allServiceTypes = serviceTypes.slice();\r\n }\r\n created()\r\n {\r\n this.invoiceServiceLine = Object.assign({}, this.$store.getters.getInvoiceLineByID(this.item.id)); \r\n this.SetServiceTypes();\r\n this.GetServiceTypeText(); \r\n }\r\n GetServiceTypeText()\r\n {\r\n var result = this.allServiceTypes.filter(obj => obj.value == this.invoiceServiceLine.type)[0];\r\n if(result)\r\n {\r\n this.serviceTypeText = result.text;\r\n }else\r\n {\r\n this.serviceTypeText = \"\";\r\n }\r\n }\r\n onChangeType()\r\n {\r\n this.$nextTick(() => {\r\n this.GetServiceTypeText();\r\n this.$store.dispatch(\"updateServiceType\",this.invoiceServiceLine);\r\n });\r\n \r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceServiceType.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceServiceType.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoiceServiceType.vue?vue&type=template&id=8438281c&scoped=true\"\nimport script from \"./InvoiceServiceType.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoiceServiceType.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8438281c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(this.$store.getters.getItemEditMode(this.item.id))?_c('div',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoiceServiceLine.quantity.$error }},[_c('b-form-input',{class:{'textInput':true },attrs:{\"id\":\"quantity\",\"type\":\"text\",\"placeholder\":\"Quantity\"},on:{\"input\":function($event){return _vm.$v.invoiceServiceLine.quantity.$touch()}},nativeOn:{\"change\":function($event){return _vm.onChange()}},model:{value:(_vm.invoiceServiceLine.quantity),callback:function ($$v) {_vm.$set(_vm.invoiceServiceLine, \"quantity\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"invoiceServiceLine.quantity\"}})],1)],1):_vm._e(),(!this.$store.getters.getItemEditMode(this.item.id))?_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.invoiceServiceLine.quantity)+\"\\n\")]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n \r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, minValue,numeric} from 'vuelidate/lib/validators';\r\nimport { InvoiceService } from '@/models/invoice.model';\r\n\r\n @Component({\r\n mixins:[validationMixin],\r\n validations:{\r\n invoiceServiceLine:{\r\n quantity:\r\n {\r\n required,\r\n numeric,\r\n minValue:minValue(1)\r\n }\r\n }\r\n }\r\n })\r\n export default class InvoiceServiceQuantity extends Vue{\r\n @Prop() item:any;\r\n invoiceServiceLine:InvoiceService = null;\r\n created()\r\n {\r\n \r\n this.invoiceServiceLine = Object.assign({},this.$store.getters.getInvoiceLineByID(this.item.id)); \r\n }\r\n onChange(value)\r\n {\r\n this.$store.dispatch('updateQuantity',this.invoiceServiceLine);\r\n\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceServiceQuantity.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceServiceQuantity.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoiceServiceQuantity.vue?vue&type=template&id=7e327996&scoped=true\"\nimport script from \"./InvoiceServiceQuantity.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoiceServiceQuantity.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7e327996\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(this.$store.getters.getItemEditMode(this.item.id))?_c('div',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoiceServiceLine.unitCost.$error }},[_c('b-input-group',{class:{ 'requiredField': (_vm.invoiceServiceLine.unitCost.length == 0)},attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"unitCost\",\"type\":\"text\",\"placeholder\":\"Unit Cost\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.invoiceServiceLine.unitCost.$touch()}},nativeOn:{\"change\":function($event){return _vm.onChange()}},model:{value:(_vm.invoiceServiceLine.unitCost),callback:function ($$v) {_vm.$set(_vm.invoiceServiceLine, \"unitCost\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"invoiceServiceLine.unitCost\"}})],1)],1)],1):_vm._e(),(!this.$store.getters.getItemEditMode(this.item.id))?_c('div',[_c('ApexCurrency',{attrs:{\"value\":_vm.invoiceServiceLine.unitCost}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n \r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required} from 'vuelidate/lib/validators';\r\nimport { InvoiceService } from '@/models/invoice.model';\r\n\r\n @Component({\r\n mixins:[validationMixin],\r\n validations:{\r\n invoiceServiceLine:{\r\n unitCost:\r\n {\r\n required,\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n }\r\n }\r\n }\r\n })\r\n export default class InvoiceServiceUnitCost extends Vue{\r\n @Prop() item:any;\r\n invoiceServiceLine:InvoiceService = null;\r\n created()\r\n {\r\n this.invoiceServiceLine = Object.assign({}, this.$store.getters.getInvoiceLineByID(this.item.id)); \r\n }\r\n onChange()\r\n {\r\n this.$store.dispatch('updateUnitCost',this.invoiceServiceLine);\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceServiceUnitCost.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceServiceUnitCost.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoiceServiceUnitCost.vue?vue&type=template&id=f02d6586&scoped=true\"\nimport script from \"./InvoiceServiceUnitCost.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoiceServiceUnitCost.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f02d6586\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteInvoiceServiceConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteInvoiceServiceConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Invoice Service\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the invoice service?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteInvoiceServiceConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteInvoiceServiceConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteInvoiceServiceConf_OkButton\"},on:{\"click\":_vm.deleteInvoiceService}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!this.$store.getters.getInvoiceGeneratedFlag)?_c('span',[(!(this.invoiceServiceLine.onEdit || this.$store.getters.getInvoiceServiceEditMode))?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Edit Service Type\"},on:{\"click\":_vm.onEditService}},[_c('i',{staticClass:\"fas fa-pencil-alt edit-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(this.invoiceServiceLine.onEdit)?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Save Service Type\"},on:{\"click\":_vm.onSaveService}},[_c('i',{staticClass:\"fas fa-save save-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(this.invoiceServiceLine.onEdit)?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Cancel\"},on:{\"click\":_vm.onCancelService}},[_c('i',{staticClass:\"fas fa-times cancel-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(!(this.invoiceServiceLine.onEdit || this.$store.getters.getInvoiceServiceEditMode))?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Delete Service Type\"},on:{\"click\":_vm.onDeleteService}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n \r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport apiService from '@/shared/services/apiService'\r\nimport { InvoiceService } from '@/models/invoice.model';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport Modal from '@/shared/components/modal/Modal.vue'\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\n\r\n @Component({\r\n components: {\r\n Modal\r\n }\r\n })\r\n export default class InoiceServiceActionButtons extends Vue{\r\n @Prop() item:any\r\n invoiceServiceLine:InvoiceService = null;\r\n showDeleteInvoiceServiceConfirmation = false;\r\n \r\n created()\r\n {\r\n this.invoiceServiceLine = Object.assign({}, this.$store.getters.getInvoiceLineByID(this.item.id)); \r\n }\r\n deleteInvoiceService(){\r\n this.showDeleteInvoiceServiceConfirmation = false;\r\n this.item.isActive = false;\r\n this.onDeleteInvoiceService(this.item.id,DataTableActionTypes.Delete); \r\n }\r\n onEditService()\r\n {\r\n this.invoiceServiceLine.onEdit = true;\r\n this.$store.dispatch('setEditMode',true);\r\n this.$store.dispatch('setItemEditMode',{id:this.item.id, edit:true});\r\n }\r\n validateService()\r\n {\r\n var isValid = false;\r\n var message = \"\";\r\n this.invoiceServiceLine = Object.assign({}, this.$store.getters.getInvoiceLineByID(this.item.id)); \r\n if(this.invoiceServiceLine.type == 0)\r\n {\r\n message = \"Please select type\";\r\n }\r\n else if (this.invoiceServiceLine.quantity == 0) \r\n {\r\n message = \"Please enter quantity\";\r\n }\r\n else if (this.invoiceServiceLine.unitCost == 0 )\r\n {\r\n message = \"Please enter unit cost\";\r\n }\r\n else if(!fieldValidations.isValidNumber(this.invoiceServiceLine.quantity))\r\n {\r\n message = \"Invalid quantity\";\r\n }\r\n else if(!fieldValidations.isDecimal(this.invoiceServiceLine.unitCost))\r\n {\r\n message = \"Invalid unit cost\";\r\n }\r\n else\r\n {\r\n isValid = true;\r\n }\r\n\r\n return {isValid: isValid, message: message};\r\n }\r\n onSaveService()\r\n {\r\n var result = this.validateService();\r\n if(result.isValid == false)\r\n {\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: result.message,\r\n type: 'error',\r\n duration: 1000\r\n });\r\n return;\r\n }\r\n this.invoiceServiceLine.onEdit = false;\r\n this.$store.dispatch('setItemEditMode',{id:this.item.id, edit:false});\r\n this.onSaveInvoiceService(this.invoiceServiceLine,DataTableActionTypes.Save); \r\n }\r\n \r\n \r\n onCancelService()\r\n {\r\n if(this.invoiceServiceLine.id == 0)\r\n {\r\n this.onCancelInvoiceService(this.invoiceServiceLine.id,DataTableActionTypes.Cancel);\r\n }else\r\n {\r\n this.invoiceServiceLine.onEdit = false;\r\n this.$store.dispatch('setItemEditMode',{id:this.item.id, edit:false});\r\n this.$store.dispatch('setEditMode',false);\r\n }\r\n \r\n }\r\n onDeleteService()\r\n {\r\n this.showDeleteInvoiceServiceConfirmation = true;\r\n }\r\n GetEditMode()\r\n {\r\n return this.$store.getters.getInvoiceServiceEditMode;\r\n }\r\n @Emit('customEvent') onDeleteInvoiceService(id:number,type:DataTableActionTypes){\r\n }\r\n @Emit('customEvent') onSaveInvoiceService(value:InvoiceService,type:DataTableActionTypes){\r\n }\r\n @Emit('customEvent') onCancelInvoiceService(value:number,type:DataTableActionTypes){\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InoiceServiceActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InoiceServiceActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InoiceServiceActionButtons.vue?vue&type=template&id=32d5d2c7&scoped=true\"\nimport script from \"./InoiceServiceActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./InoiceServiceActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InoiceServiceActionButtons.vue?vue&type=style&index=0&id=32d5d2c7&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"32d5d2c7\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\r\nimport EditInvoiceLink from '@/components/admin/invoices/EditInvoiceLink.vue';\r\nimport InvoiceActionButtons from '@/components/admin/invoices/InvoiceActionButtons.vue';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport { Component, Prop, Emit } from 'vue-property-decorator';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport InvoiceServiceType from '@/components/admin/invoices/InvoiceServiceType.vue';\r\nimport InvoiceServiceQuantity from '@/components/admin/invoices/InvoiceServiceQuantity.vue';\r\nimport InvoiceServiceUnitCost from '@/components/admin/invoices/InvoiceServiceUnitCost.vue';\r\nimport InoiceServiceActionButtons from '@/components/admin/invoices/InoiceServiceActionButtons.vue';\r\nimport Modal from '@/shared/components/modal/Modal.vue'\r\nimport { InvoiceService } from '@/models/invoice.model';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport {BankAccountTypes} from '@/shared/enums/bankAccountTypes.enum';\r\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\r\n\r\n@Component({\r\n components:\r\n {\r\n DataTable,Modal\r\n }\r\n})\r\nexport default class InvoiceList extends Vue{\r\n @Prop() relatedTable:RelatedTables;\r\n @Prop() relatedID:number;\r\n @Prop() errorMessageOnNoRelatedID:string;\r\n editMode:boolean = false;\r\n showInvoiceEmptyBanner:boolean = false;\r\n showServiceEmptyBanner:boolean = false;\r\n showAddInvoicePanel:boolean = false;\r\n showInvoicesPopup:boolean = false;\r\n invoiceItems:any = [];\r\n invoiceFields = [\r\n {key: 'number',label:'Invoice Number', class:'width_40'},\r\n {key: 'excludeGSTAmount',label:'Subtotal', class:'width_10 text-right', },\r\n {key: 'gst',label:'GST', class:'width_10 text-right'},\r\n {key: 'amount',label:'Total', class:'width_10 text-right'},\r\n {key: 'actions',label:\"\",tdClass:'invoice-action-buttons'} \r\n ];\r\n serviceItems:any = [];\r\n serviceFields = [\r\n {key: 'service',label:'Service', class:'width_35'},\r\n {key: 'quantity',label:'Quantity', class:'width_10 text-right'},\r\n {key: 'unitCost',label:'Unit Cost (incl. GST)', class:'width_25 text-right'},\r\n {key: 'totalAmount',label:'Total Cost (incl. GST)', class:'text-right'},\r\n {key: 'actions',label:\"\",class:'text-center',tdClass:'invoice-service-action-buttons'}];\r\n newServiceInvoiceLine:InvoiceService = {\r\n id:0,\r\n type:0,\r\n quantity:0,\r\n unitCost:0,\r\n totalAmount:0,\r\n invoiceID:0,\r\n onEdit:true,\r\n concurrencyKey:\"\",\r\n createdBy:\"\",\r\n createdDate:new Date(),\r\n updatedBy:\"\",\r\n updatedDate:new Date()\r\n };\r\n invoiceCustomTemplateList:Array = [\r\n {slot:\"number\",customTemplate:EditInvoiceLink},\r\n {slot:\"actions\",customTemplate:InvoiceActionButtons},\r\n {slot:\"excludeGSTAmount\",customTemplate:ApexCurrency},\r\n {slot:\"gst\",customTemplate:ApexCurrency},\r\n {slot:\"amount\",customTemplate:ApexCurrency}];\r\n\r\n serviceCustomTemplateList:Array = [\r\n {slot:\"service\",customTemplate:InvoiceServiceType},\r\n {slot:\"quantity\",customTemplate:InvoiceServiceQuantity},\r\n {slot:\"unitCost\",customTemplate:InvoiceServiceUnitCost},\r\n {slot:\"actions\",customTemplate:InoiceServiceActionButtons},\r\n {slot:\"totalAmount\",customTemplate:ApexCurrency}];\r\n\r\n showAddService:boolean = false;\r\n invoiceService:InvoiceService = null;\r\n showNoRelatedIDMessage:boolean = false;\r\n showConfirmationOnCancel:boolean = false;\r\n selectedBankAccountId:number = 0;\r\n bankAccounts:any = [];\r\n \r\n created()\r\n {\r\n this.getBankAccounts();\r\n }\r\n\r\n loadInvoiceData()\r\n {\r\n this.loadInvoiceList();\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Finance\",\"InvoiceServiceTypes\").then(\r\n response =>{\r\n var serviceTypes = response.data; \r\n this.$store.dispatch('setServiceTypes',serviceTypes);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }) \r\n }\r\n\r\n loadInvoiceList()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Finance\",\"InvoiceList\",{relatedTable:this.relatedTable, relatedID:this.relatedID}).then(\r\n response =>{\r\n this.invoiceItems = response.data; \r\n if(response.data && response.data.length > 0) \r\n {\r\n this.calculateTotalAmount(response.data);\r\n this.onInvoicesRefresh(response.data.length);\r\n }\r\n this.$store.dispatch('setInvoiceList',response.data);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }) \r\n }\r\n\r\n //happens in the background. no need to busy indicate.\r\n getBankAccounts(){\r\n apiService.sendGetRequest(\"BankAccount\",\"BankAccountsSelectList\",{relatedTable:RelatedTables.Company, relatedId:0}).then(response =>{\r\n this.bankAccounts = response.data.filter(obj => obj.disabled == false && obj.type == BankAccountTypes.Commission);\r\n }).catch(error => {\r\n })\r\n }\r\n\r\n onBankAccountChanged()\r\n {\r\n if(this.$store.getters.getInvoiceID > 0 && this.selectedBankAccountId > 0)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {\r\n invoiceId:this.$store.getters.getInvoiceID,\r\n bankAccountId:this.selectedBankAccountId\r\n };\r\n apiService.sendPostRequestWithQueryParams(\"Finance\",\"InvoiceBankAccount\",params).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n }\r\n \r\n calculateTotalAmount(data:any)\r\n {\r\n var totalAmount = 0;\r\n data.forEach(element => {\r\n totalAmount += element.amount;\r\n });\r\n this.$store.dispatch('updateTotalInvoiceAmount',totalAmount);\r\n }\r\n\r\n openInvoicesPopup()\r\n {\r\n if(this.relatedID == 0)\r\n {\r\n this.showNoRelatedIDMessage = true;\r\n return;\r\n }\r\n this.showInvoiceEmptyBanner = true;\r\n this.$store.dispatch('setRelatedID',this.relatedID);\r\n this.$store.dispatch('setRelatedTable',this.relatedTable);\r\n this.loadInvoiceData();\r\n this.showInvoicesPopup = true;\r\n }\r\n\r\n onAddInvoice()\r\n {\r\n this.showAddInvoicePanel = true;\r\n this.serviceItems = [];\r\n this.$store.dispatch('setInvoiceServiceLines',this.serviceItems);\r\n this.$store.dispatch('setInvoiceID',0);\r\n this.$store.dispatch('setEditMode',false);\r\n if(this.bankAccounts != null && this.bankAccounts.length == 1)\r\n {\r\n this.selectedBankAccountId = this.bankAccounts[0].value;\r\n }\r\n else\r\n {\r\n this.selectedBankAccountId = 0;\r\n }\r\n this.showServiceEmptyBanner = true;\r\n }\r\n\r\n onEditInvoice(id)\r\n {\r\n this.$store.dispatch('setInvoiceID',id);\r\n var invoiceItem = this.invoiceItems.filter(obj=> obj.id == id);\r\n if(invoiceItem && invoiceItem[0] && invoiceItem[0].generated)\r\n {\r\n this.$store.dispatch('setInvoiceGeneratedFlag',true);\r\n }else\r\n {\r\n this.$store.dispatch('setInvoiceGeneratedFlag',false);\r\n }\r\n if(invoiceItem && invoiceItem[0])\r\n {\r\n this.selectedBankAccountId = invoiceItem[0].bankAccountId;\r\n }\r\n\r\n this.serviceItems = [];\r\n this.showAddInvoicePanel = true;\r\n this.$store.dispatch('setEditMode',false);\r\n this.loadInvoiceServiceList();\r\n }\r\n\r\n loadInvoiceServiceList()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.$store.dispatch('setEditMode',false);\r\n apiService.sendGetRequest(\"Finance\",\"InvoiceServiceList\",{invoiceID:this.$store.getters.getInvoiceID}).then(\r\n response =>{\r\n this.serviceItems = [];\r\n this.$nextTick(()=>{\r\n this.serviceItems = response.data;\r\n if (this.serviceItems.length == 0) {\r\n this.$store.dispatch('setInvoiceID',0);\r\n }\r\n }); \r\n this.$store.dispatch('setInvoiceServiceLines',response.data); \r\n this.showServiceEmptyBanner = false;\r\n this.$forceUpdate();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }) \r\n }\r\n\r\n onAddService()\r\n {\r\n if(this.selectedBankAccountId == 0)\r\n {\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: 'Please select a bank account',\r\n type: 'error',\r\n duration: 3000\r\n });\r\n }\r\n else\r\n {\r\n this.newServiceInvoiceLine.invoiceID = this.$store.getters.getInvoiceID;\r\n this.serviceItems.push(Object.assign({},this.newServiceInvoiceLine));\r\n this.$store.dispatch('setInvoiceServiceLines',this.serviceItems);\r\n this.$store.dispatch('setEditMode',true);\r\n }\r\n }\r\n\r\n onRefreshInvoice()\r\n {\r\n this.loadInvoiceList();\r\n }\r\n \r\n onCloseInvoice()\r\n {\r\n if(this.$store.getters.getInvoiceServiceEditMode){\r\n this.showConfirmationOnCancel = true;\r\n }else\r\n {\r\n this.closeInvoice();\r\n }\r\n }\r\n closeInvoice()\r\n {\r\n this.showConfirmationOnCancel = false;\r\n this.showAddInvoicePanel = false;\r\n this.showAddService = false;\r\n this.loadInvoiceList();\r\n this.$store.dispatch('setEditMode',false);\r\n this.$store.dispatch('setInvoiceGeneratedFlag',false);\r\n }\r\n\r\n onCustomDataTableEventInvoice(data:any,type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.Delete){\r\n this.deleteInvoice(data);\r\n }\r\n if(type == DataTableActionTypes.Save){\r\n this.onSaveInvoice(data);\r\n }\r\n if(type == DataTableActionTypes.Edit){\r\n this.onEditInvoice(data);\r\n }\r\n }\r\n\r\n deleteInvoice(id:number){\r\n apiService.sendDeleteRequest(\"Finance\",\"Invoice\",{id:id}).then(\r\n response =>{\r\n if(response.data.isSuccess)\r\n {\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.onRefreshInvoice();\r\n }\r\n else\r\n {\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }) \r\n }\r\n\r\n onSaveInvoice(id:number)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Report\",\"GenerateInvoice\",{invoiceID:id}).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n \r\n this.onRefreshInvoice();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }) \r\n }\r\n\r\n onCustomDataTableEventInvoiceService(value:any,type:DataTableActionTypes)\r\n {\r\n if(type == DataTableActionTypes.Save)\r\n {\r\n this.onSaveInvoiceService(value);\r\n }\r\n else if(type == DataTableActionTypes.Delete)\r\n {\r\n this.onDeleteInvoiceService(value);\r\n }\r\n else if(type == DataTableActionTypes.Cancel)\r\n {\r\n this.cancelInvoiceService(value);\r\n }\r\n }\r\n\r\n onDeleteInvoiceService(id:number){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendDeleteRequest(\"Finance\",\"InvoiceService\",{id:id}).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.loadInvoiceServiceList();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }) \r\n }\r\n\r\n onSaveInvoiceService(invoiceServiceLine:InvoiceService)\r\n {\r\n if(this.$store.getters.getInvoiceID == 0)\r\n {\r\n this.saveInvoice(invoiceServiceLine);\r\n }else\r\n {\r\n this.saveInvoiceService(invoiceServiceLine);\r\n }\r\n }\r\n\r\n saveInvoice(invoiceServiceLine:InvoiceService)\r\n {\r\n var params = {\r\n relatedTable:this.$store.getters.getRelatedTable,\r\n relatedID:this.$store.getters.getRelatedID,\r\n bankAccountId: this.selectedBankAccountId,\r\n };\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPutRequest(\"Finance\",\"Invoice\",params).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$store.dispatch('setInvoiceID',response.data.id);\r\n this.saveInvoiceService(invoiceServiceLine); \r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n saveInvoiceService(invoiceServiceLine:InvoiceService)\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n if(invoiceServiceLine.id == 0)\r\n {\r\n var params = {\r\n type: invoiceServiceLine.type,\r\n quantity:invoiceServiceLine.quantity,\r\n unitCost: invoiceServiceLine.unitCost,\r\n totalAmount: invoiceServiceLine.totalAmount,\r\n invoiceID: this.$store.getters.getInvoiceID,\r\n }\r\n apiService.sendPutRequest(\"Finance\",\"InvoiceService\",params).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.loadInvoiceServiceList();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }else\r\n {\r\n apiService.sendPostRequest(\"Finance\",\"InvoiceService\",invoiceServiceLine).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.loadInvoiceServiceList();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'modalGrowlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n }\r\n\r\n cancelInvoiceService(id:number)\r\n {\r\n this.serviceItems.splice(this.serviceItems.length - 1 ,1)\r\n this.$store.dispatch('setEditMode',false);\r\n this.$store.dispatch('setInvoiceServiceLines',this.serviceItems);\r\n }\r\n\r\n @Emit('onInvoicesRefresh') onInvoicesRefresh(count:number){}\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoiceList.vue?vue&type=template&id=6a9e4dcf\"\nimport script from \"./InvoiceList.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoiceList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InvoiceList.vue?vue&type=style&index=0&id=6a9e4dcf&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport apiService from '@/shared/services/apiService'\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport Wizard from '@/shared/components/wizard/Wizard.vue';\nimport WizardTab from '@/shared/components/wizard/WizardTab.vue';\nimport InitialDetails from './InitialDetails.vue';\nimport AddEditMotorVehicle from '@/components/admin/motorVehicleManagement/AddEditMotorVehicle.vue';\nimport RequestInvoice from './RequestInvoice.vue';\nimport ReviseApplication from './ReviseApplication.vue';\nimport SignatureAndSubmission from './SignatureAndSubmission.vue';\nimport LeaseAndEmployment from '@/components/admin/applicationManagement/sharedApplicationManagement/LeaseAndEmployment.vue';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { FinanceApplication, FinanceApplicationActionModel } from '@/models/financeApplication.model';\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum'; \nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport lookupService from '@/shared/services/lookupService';\nimport InvoiceList from '@/components/admin/invoices/InvoiceList.vue';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport { validationMixin } from 'vuelidate';\nimport { required } from 'vuelidate/lib/validators';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\nimport Filtrations from '@/shared/filtrations';\n\n@Component(\n { \n mixins:[validationMixin],\n components: {\n Wizard,\n WizardTab,\n InitialDetails,\n AddEditMotorVehicle,\n RequestInvoice,\n ReviseApplication,\n SignatureAndSubmission,\n LeaseAndEmployment,\n Notes,\n DocumentUploader,\n Modal,\n InvoiceList,\n SystemTextNotes\n },\n validations:{\n applicationActionModel:{\n reason:{\n required\n },\n date:{\n required \n },\n },\n selectedBrokerageReceivedDate: {\n required\n }\n }\n }\n)\nexport default class FinanceApplicationWizard extends Vue{\n clientId:number = 0;\n applicationId:number = 0;\n selectedTabRouteName:string = 'initialStep';\n dirtyValidationRefNumbers:number[] =[0,0,0,0];\n routeNames:string[] = ['initialDetails','vehicleDetails','requestInvoice','reviseApplication','signatureAndSubmission','leaseAndEmployment'];\n stepNames:string[] = [\"Initial Details\", \"Vehicle Details\", \"Request Invoice\", \"Revise Application\", \"Signature and Submission\", \"Lease & Employment\", \"Completed\", \"Rejected\", \"Withdrawn\"];\n relatedTable:RelatedTables = RelatedTables.FinanceApplication;\n showWizard:boolean = false;\n showDirtyNavigationConfirmation:boolean = false;\n clientName:string = \"\";\n selectedStep:string = \"Initial Details\";\n disableSave:boolean = false;\n initialDetailsStatus:FinanceApplicationStates = FinanceApplicationStates.InitialDetails;\n vehicleDetailsStatus:FinanceApplicationStates = FinanceApplicationStates.VehicleDetails;\n requestInvoiceStatus:FinanceApplicationStates = FinanceApplicationStates.RequestInvoice;\n reviseApplicationStatus:FinanceApplicationStates = FinanceApplicationStates.ReviseApplication;\n signatureAndSubmissionStatus:FinanceApplicationStates = FinanceApplicationStates.SignatureAndSubmission;\n leaseAndEmploymentStatus:FinanceApplicationStates = FinanceApplicationStates.LeaseAndEmployment;\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\n rejectedStatus:FinanceApplicationStates = FinanceApplicationStates.Rejected;\n withdrawnStatus:FinanceApplicationStates = FinanceApplicationStates.Withdrawn;\n completedStatus:FinanceApplicationStates = FinanceApplicationStates.Completed;\n currentTab:any = null;\n totalTabs:number = this.isFinanceOnlyApplication() ? 5 : 6;\n initialApplicationActionModel:FinanceApplicationActionModel = {reason: \"\", date: new Date(), reverted: false, state: 0, applicationId: 0}\n applicationActionModel:FinanceApplicationActionModel = Object.assign({}, this.initialApplicationActionModel);\n showFinanceApplicationActionModal:boolean = false;\n actionText:string = \"\";\n applicationActionDirtyValidationNo:number = 0;\n todayDate:any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n hideFooter:boolean = true;\n financeApplication: ClientApplicationTypes = ClientApplicationTypes.Finance;\n initialObject: FinanceApplication = {\n id:0,\n clientId:0,\n status:FinanceApplicationStates.InitialDetails,\n actionDate:\"\",\n brokerageReceivedDate:\"\",\n applicationName:\"\",\n assigneeId:0,\n okayToComplete:false,\n okayToCreateVehicleLeaseAndNovation:false,\n okayToCreateLeaseAndNovation:false,\n motorVehicleId:0,\n vehicleLeaseId:0,\n novationId:0,\n leaseCreatedDate: \"\",\n leaseCreatedByName: \"\",\n totalInvoiceAmount:0,\n concurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:\"\",\n lastUpdatedDate:\"\",\n financierTypes:[],\n leaseTypes:[],\n clientFinanceApplicationARN:null,\n generatedFrom: ClientApplicationTypes.Finance,\n applicationInfo: {\n isFinanceOnly:false\n },\n mandatoryFieldsFilled:false,\n initialDetails: {\n assigneeId:0,\n receivedDate:\"\",\n submittedDate:\"\",\n financier:0,\n reference:\"\",\n totalFinancedAmount:\"\",\n approvedDate:\"\",\n saleType:0,\n },\n vehicleDetails:{\n id:0,\n mvrn:0,\n make:\"\",\n model:\"\",\n year:0,\n yearDateTime:\"\",\n plateNumber:\"\",\n vehicleIDNumber:\"\",\n engineNumber:\"\",\n regoRenewalDate:\"\",\n insuranceRenewalDate:\"\",\n clientid:0,\n concurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:new Date(),\n lastUpdatedDate:new Date(),\n isImageChanged:false,\n imageInfo:null,\n administrationFeeStartDate:\"\",\n administrationFeeEndDate:\"\",\n administrationFeeAmount:\"\",\n administrationFeeChargeFrequency:\"\",\n administrationFeeAmountWithFrequency:\"\",\n isAdministrationFeeAmountOverridden:false,\n status:0,\n variant:\"\",\n condition:null,\n bodyType:null,\n transmission:null,\n fuelType:null,\n colour:null,\n isCreatedByFinanceApplication:false,\n isPossibleToInactiveVehicle:\"\",\n isImageUploadedByApplication:false\n },\n requestInvoice:{\n invoiceRequestedDate:\"\",\n invoiceReceivedDate:\"\"\n },\n reviseApplication:{\n updatedDate:\"\",\n generatedDate:\"\",\n signedDate:\"\"\n },\n signatureAndSubmission:{\n documentSubmittedDate:\"\",\n settlementDate:\"\"\n },\n leaseAndEmployment:{\n lease : {\n id:0,\n type:0,\n financier: 0,\n leaseBankAccountId: 0,\n leaseStartDate:\"\",\n leaseEndDate:\"\",\n secondPaymentDueDate:null,\n finalPaymentDueDate:null,\n leaseAmountPaidExternal:null,\n term:null,\n monthsDeferred:0,\n leasePaymentAmount:null,\n runningCost: \"\",\n residualAmount:null,\n residualDueDate:null,\n motorVehicleID: 0,\n concurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:new Date(),\n lastUpdatedDate:new Date(),\n mvLeaseFBTCostBase:\"\",\n mvLeaseEstAnnualKm:\"\",\n mvLeasePaymentDate:0,\n clientId:0,\n accountNumber:\"\",\n purchaseType:null,\n residualDueNotificationSent:false,\n hasScheduleCreated:false,\n ResidualDueDateDisplayText:\"\",\n ResidualAmountGstInclusive: false,\n LeasePaymentGstInclusive: false\n },\n novation: {\n id:0,\n rern:\"\",\n vehicleLeaseID:0,\n relatedID:0,\n emailInvoicesTo:\"\",\n startDate:\"\",\n endDate:\"\",\n leaseStartingODO:\"\",\n taxCalculationMethod:0,\n mvLeaseFBTCostBase:\"\",\n fbtMethod:null,\n subjectToFBT:null,\n concurrencyKey:\"\",\n odometerConcurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:\"\",\n lastUpdatedDate:\"\",\n isActive:true,\n payCycle:0,\n relatedTable:null,\n isPayrollReportGenerated: false,\n oldestFBTExStartDate:\"\",\n latestFBTExEndDate: \"\",\n isServiceAgreementDocumentAvailable: false,\n IsUpdatePendingInvoiceEmailAddress: false,\n isFBTExemptionApply: null,\n novationDocumentsList:null,\n administrationFeeStartDate: \"\",\n administrationFeeEndDate: \"\",\n administrationFeeAmount:\"\",\n administrationFeeChargeFrequency:\"\",\n administrationFeeAmountWithFrequency:\"\",\n isAdministrationFeeAmountOverridden:false,\n }\n },\n initialDetailsValidations:\n {\n showAssigneeErrorMessage:false,\n showReceivedDateErrorMessage:false,\n showSubmittedDateErrorMessage:false,\n showFinancierErrorMessage:false,\n showReferenceErorMessage:false,\n showApprovedDateErorMessage:false,\n showSaleTypeErrorMessage:false,\n showTotalFinancedAmountErrorMessage:false\n },\n requestInvoiceValidations:\n {\n showInvoiceRequestedDateErrorMessage:false,\n showInvoiceReceivedDateErrorMessage:false,\n },\n reviseApplicationValidations:{\n showUpdatedDateErrorMessage:false,\n showGeneratedDateErrorMessage:false,\n showSignedDateErrorMessage:false\n },\n signatureAndSubmissionValidations:{\n showSettlementDateErrorMessage:false,\n showSubmittedDateErrorMessage:false\n },\n dirtyValidationRefNos : [0,0,0,0,0],\n applicationInfoDirtyValidationRefNo: 0,\n isLeaseAndEmploymentFilled:false\n };\n showSetBrokerageReceivedDateModal:boolean = false;\n selectedBrokerageReceivedDate:any = \"\";\n isLeaseAndEmploymentEditMode = false;\n reloadAppInfo:boolean = false;\n\n created(){\n this.relatedTable = RelatedTables.FinanceApplication;\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n if((this.applicationId == 0) && (this.selectedTabRouteName != this.routeNames[0])){\n this.$router.push({name:'Edit Finance Application',params:{id:this.applicationId.toString(),clientId:this.clientId.toString(),routerDisplayName:this.routeNames[0]}})\n }\n this.loadData();\n this.loadLeaseTypes();\n this.loadClientNameByClientID();\n }\n\n destroyed(){\n this.$store.dispatch('resetFinanceApplicationToInitialState',Object.assign({},this.initialObject));\n this.$store.dispatch('updateFinanceApplicationTotalInvoiceAmount',0);\n }\n\n loadData(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetFinanciersList(false).then(data => \n {\n this.$store.dispatch('updateFinanceApplicationFinancierTypesList',data)\n this.$store.dispatch('storeIsBusyValue',false);\n if(this.applicationId>0){ \n this.loadApplication();\n }\n else{\n this.$store.dispatch('updateFinanceApplicationClientId',this.clientId);\n this.showWizard = true;\n }\n });\n }\n\n loadApplication(relaodApplicationInfo:boolean = false)\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.applicationId}\n apiService.sendGetRequest('Application','FinanceApplication',params).then(response=>{\n this.$store.dispatch('updateFinanceApplication',response.data);\n this.$store.dispatch('updateFinanceApplicationTotalInvoiceAmount',response.data.totalInvoiceAmount);\n var index = this.routeNames.indexOf(this.$route.params.routerDisplayName) + 1;\n if( (index == 0 || index > response.data.status) && \n (this.selectedTabRouteName != this.routeNames[response.data.status-1])){\n this.$router.push({name:'Edit Finance Application',params:{id:this.applicationId.toString(),clientId:this.clientId.toString(),routerDisplayName:this.routeNames[response.data.status-1]}})\n }\n if(relaodApplicationInfo){\n this.reloadAppInfo = true;\n }\n this.disableSave = (response.data.status == FinanceApplicationStates.Completed);\n this.showWizard = true;\n this.selectedBrokerageReceivedDate = response.data.brokerageReceivedDate;\n this.$store.dispatch('updateFinanceApplicationIsLeaseAndEmploymentFilled',this.$store.getters.getFinanceApplicationIsLeaseAndEmploymentValid);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadClientNameByClientID()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.clientId}\n apiService.sendGetRequest('Client','ClientName',params).then(response=>{ \n this.clientName = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadLeaseTypes()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetLeaseTypesList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.$store.dispatch('updateFinanceApplicationLeaseTypesList',data)\n });\n }\n\n onIdUpdated(id:number){\n this.clientId = id;\n }\n\n personalTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[0] = refNo;\n }\n \n isPersonalTabDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]);\n }\n\n addressTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n }\n\n bankTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[2] = refNo;\n }\n\n routerNavigateBack(){\n var isDirty = false;\n var dirtyValidatorRefNos = this.$store.getters.getFinanceApplicationDirtyValidationRefNos;\n var applicationInfoDirtyValRefNo = this.$store.getters.getFinanceApplicationInfoDirtyValidationRefNo;\n dirtyValidatorRefNos.push(applicationInfoDirtyValRefNo);\n dirtyValidatorRefNos.forEach(num =>{\n if(dirtyValidatorService.isModelDirty(num)){\n isDirty = true;\n }\n })\n if(isDirty){\n this.showDirtyNavigationConfirmation = true;\n }\n else{\n var queryData = this.getQueryData();\n this.$router.push({name:'Edit Client',params:{id:this.clientId.toString(),topRouteDisplayName:'profile', routerDisplayName:'applications'}, query: queryData});\n }\n }\n\n onConvertToNonFinanceApplication(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Application','ConvertToNonFinance', { financeApplicationId: this.$store.getters.getFinanceApplicationID }).then(response=>{\n if(response.data){\n if(response.data.isSuccess){\n this.loadApplication(true);\n this.totalTabs = 6;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onRejectedRouteBack(){\n var queryData = this.getQueryData();\n this.$router.push({name:'Edit Client',params:{id:this.clientId.toString(),topRouteDisplayName:'profile', routerDisplayName:'applications'}, query: queryData});\n }\n\n onComplete(){\n if(this.isFinanceOnlyApplication()){\n (this.$refs.signatureAndSubmission as SignatureAndSubmission).onCompleteApplication();\n }else{\n (this.$refs.leaseAndEmployment as LeaseAndEmployment).onCompleteApplication();\n }\n }\n\n onSave(){\n this.$store.dispatch('storeIsBusyValue',true);\n if(this.applicationId == 0){\n var application = this.$store.getters.getFinanceApplication;\n var params = {\n id:application.id,\n applicationName:application.applicationName,\n brokerageReceivedDate:application.brokerageReceivedDate,\n assigneeId:application.assigneeId,\n clientId:this.clientId,\n status:application.status,\n okayToCreateVehicleAndLease:false,\n initialApplication:application.initialApplication,\n requestInvoice:application.requestInvoice,\n reviseApplication:application.reviseApplication,\n signatureAndSubmission:application.signatureAndSubmission,\n leaseDetails:application.leaseDetails,\n requiresInvoice:application.requiresInvoice,\n generatedFrom: ClientApplicationTypes.Finance,\n concurrencyKey:application.concurrencyKey\n }\n apiService.sendPutRequest('Application','FinanceApplication',params).then(response=>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.applicationId = response.data.id;\n this.$router.push({name:'Edit Finance Application',params:{clientId:this.clientId.toString(),id:response.data.id.toString(), routerDisplayName:this.selectedTabRouteName}}); \n this.$store.dispatch('storeIsBusyValue',false);\n }\n else{\n let errorMsgs = response.data.message.split(',');\n errorMsgs.forEach(errorMsg => {\n this.$notify({\n group: 'growlNotification',\n title: errorMsg,\n type: 'error',\n duration: 10000\n }); \n });\n \n this.$store.dispatch('storeIsBusyValue',false);\n }\n });\n }\n else{\n var application = this.$store.getters.getFinanceApplication;\n apiService.sendPostRequest('Application','FinanceApplication',application).then(response=>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n var leaseApplication = this.$store.getters.getFinanceApplication;\n leaseApplication.concurrencyKey = response.data.concurrencyKey;\n this.$store.dispatch('updateFinanceApplication',leaseApplication); \n this.dirtyValidationRefNumbers.forEach(num =>{\n dirtyValidatorService.resetModelValidator(num);\n }) \n this.$store.dispatch('storeIsBusyValue',false);\n }\n else{\n let errorMsgs = response.data.message.split(',');\n errorMsgs.forEach(errorMsg => {\n this.$notify({\n group: 'growlNotification',\n title: errorMsg,\n type: 'error',\n duration: 10000\n }); \n });\n \n this.$store.dispatch('storeIsBusyValue',false);\n }\n });\n } \n }\n\n showSetBrokerageReceivedDate(){\n return this.$store.getters.getFinanceApplicationID>0 && \n (this.$store.getters.getFinanceApplication.status == FinanceApplicationStates.SignatureAndSubmission ||\n this.$store.getters.getFinanceApplication.status == FinanceApplicationStates.LeaseAndEmployment ||\n this.$store.getters.getFinanceApplication.status == FinanceApplicationStates.Completed);\n }\n\n brokerageReceivedDateInValid(){\n return this.$v.selectedBrokerageReceivedDate.$invalid;\n }\n\n setBrokerageReceivedDate(){\n this.$store.dispatch('updateFinanceApplicationBrokerageReceivedDate',this.selectedBrokerageReceivedDate); \n this.onSave();\n this.showSetBrokerageReceivedDateModal = false;\n }\n\n dirtyValidatorRefNoSet(refNo,index){\n this.dirtyValidationRefNumbers[index] = refNo;\n }\n\n onOkayToNavigate(){\n this.showDirtyNavigationConfirmation = false;\n dirtyValidatorService.clearAllChanges();\n var queryData = this.getQueryData();\n this.$router.push({name:'Edit Client',params:{id:this.clientId.toString(),topRouteDisplayName:'profile', routerDisplayName:'applications'}, query: queryData });\n }\n\n getQueryData() {\n var queryData = {};\n if(Object.keys(this.$route.query).length > 0){\n let clientApplicationFilter = this.$route.query[Filtrations.CLIENT_APPLICATION_FILTER];\n if (clientApplicationFilter) {\n queryData[Filtrations.CLIENT_APPLICATION_FILTER] = clientApplicationFilter;\n }\n }\n\n return queryData;\n }\n\n onTabChanged(selectedStep:any){\n this.currentTab = selectedStep;\n this.selectedStep = selectedStep.name;\n }\n\n onCurrentTabSelected(selectedStep:any){\n this.totalTabs = this.isFinanceOnlyApplication() ? 5 : 6;\n this.currentTab = selectedStep;\n }\n\n get backDisabled(){\n return this.currentTab && this.currentTab.index == 0;\n }\n\n get nextDisabled(){\n return this.currentTab && this.currentTab.index == (this.isFinanceOnlyApplication() ? 4 : 5);\n }\n\n get isFinanceApplicationMandatoryFieldsFilled(){\n return this.$store.getters.getFinanceApplicationMandatoryFieldsFilled;\n }\n\n isFinanceOnlyApplication(){\n return this.$store.getters.getFinanceApplicationIsFinanceOnly;\n }\n\n goForward(){\n (this.$refs.financeApplicationWizard as Wizard).changeTabByIndex(this.currentTab.index+1);\n }\n\n goBack(){\n (this.$refs.financeApplicationWizard as Wizard).changeTabByIndex(this.currentTab.index-1);\n }\n\n onSaveWizard(){\n (this.$refs.financeApplicationWizard as Wizard).onSave(); \n }\n\n onCompleteBtnClicked(){\n (this.$refs.financeApplicationWizard as Wizard).onCompleteBtnClicked(ClientApplicationTypes.Finance);\n }\n\n onCustomButtonClicked(){\n (this.$refs.financeApplicationWizard as Wizard).onCustomButtonClicked();\n }\n\n rejectApplication(){\n this.showFinanceApplicationActionModal = true;\n this.actionText = \"Reject\";\n this.applicationActionModel.state = this.rejectedStatus;\n this.applicationActionModel.applicationId = this.$store.getters.getFinanceApplicationID;\n this.applicationActionDirtyValidationNo = dirtyValidatorService.setInitialModel(this.applicationActionDirtyValidationNo, this.applicationActionModel);\n }\n\n withdrawApplication(){\n this.showFinanceApplicationActionModal = true;\n this.actionText = \"Withdraw\";\n this.applicationActionModel.state = this.withdrawnStatus;\n this.applicationActionModel.applicationId = this.$store.getters.getFinanceApplicationID;\n this.applicationActionDirtyValidationNo = dirtyValidatorService.setInitialModel(this.applicationActionDirtyValidationNo, this.applicationActionModel);\n }\n\n revertToInitial(){\n this.applicationActionModel.state = FinanceApplicationStates.InitialDetails;\n this.applicationActionModel.applicationId = this.$store.getters.getFinanceApplicationID;\n this.applicationActionDirtyValidationNo = dirtyValidatorService.setInitialModel(this.applicationActionDirtyValidationNo, this.applicationActionModel);\n this.onApplicationAction();\n }\n\n isApplicationActionModelDirty(){\n return dirtyValidatorService.isModelDirty(this.applicationActionDirtyValidationNo);\n }\n\n downloadApplication(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Utility\",\"DownloadSignedCFADocumentUsingARN\",\n {applicationARN:this.$store.getters.getFinanceApplicationARN}).then(\n response =>{\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onApplicationAction(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Application','FinanceApplicationStatus',this.applicationActionModel).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n var leaseApplication = this.$store.getters.getFinanceApplication;\n leaseApplication.concurrencyKey = response.data.concurrencyKey;\n leaseApplication.status = this.applicationActionModel.state;\n leaseApplication.actionDate = this.applicationActionModel.date;\n leaseApplication.lastUpdateByName = response.data.updatedByName;\n leaseApplication.lastUpdatedDate = new Date();\n this.$store.dispatch('updateFinanceApplication',leaseApplication);\n this.actionText = \"\";\n this.applicationActionModel = Object.assign({}, this.initialApplicationActionModel);\n dirtyValidatorService.clearChanges(this.applicationActionDirtyValidationNo);\n this.applicationActionDirtyValidationNo = 0;\n this.showFinanceApplicationActionModal = false; \n this.$store.dispatch('storeIsBusyValue',false);\n if(leaseApplication.status == FinanceApplicationStates.InitialDetails){\n this.$router.push({name:'Edit Finance Application',params:{clientId:this.clientId.toString(),id:leaseApplication.id.toString(), routerDisplayName:\"initialDetails\"}}); \n }\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n \n this.$store.dispatch('storeIsBusyValue',false);\n }\n });\n }\n\n onApplicationActionCancel(){\n this.actionText = \"\";\n this.applicationActionModel = Object.assign({}, this.initialApplicationActionModel);\n dirtyValidatorService.clearChanges(this.applicationActionDirtyValidationNo);\n this.applicationActionDirtyValidationNo = 0;\n this.showFinanceApplicationActionModal = false;\n }\n\n onLeaseAndEmploymentEditMode(isEditMode: boolean) {\n this.isLeaseAndEmploymentEditMode = isEditMode;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinanceApplicationWizard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinanceApplicationWizard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FinanceApplicationWizard.vue?vue&type=template&id=01639866&scoped=true\"\nimport script from \"./FinanceApplicationWizard.vue?vue&type=script&lang=ts\"\nexport * from \"./FinanceApplicationWizard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FinanceApplicationWizard.vue?vue&type=style&index=0&id=01639866&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"01639866\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showQueryCFANoteModal)?_c('Modal',{attrs:{\"Modal\":\"\",\"centered\":\"\",\"id\":\"showQueryCFANoteModalId\",\"maxWidth\":\"500px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"\\n Query Reason Note\\n \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-form-group',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.queryNoteText),expression:\"queryNoteText\",modifiers:{\"trim\":true}}],class:{'textInput':true, 'form-control':true, 'form-group--error': _vm.$v.queryNoteText.$error, 'requiredField': (_vm.queryNoteText.length == 0)},attrs:{\"id\":\"note\",\"rows\":\"5\",\"placeholder\":\"Enter Note\"},domProps:{\"value\":(_vm.queryNoteText)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.queryNoteText=$event.target.value.trim()},function($event){return _vm.$v.queryNoteText.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.queryNoteText.$dirty && !_vm.$v.queryNoteText.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Note is required.\\n \")]):_vm._e()])],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showQueryCFANoteModal_CancelButton\"},on:{\"click\":function($event){_vm.showQueryCFANoteModal = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right\",attrs:{\"size\":\"md\",\"disabled\":!_vm.$v.queryNoteText.required,\"id\":\"showQueryCFANoteModal_OkButton\"},on:{\"click\":_vm.onQueryCFA}},[_vm._v(\"\\n Query\\n \")])],1)]):_vm._e(),(_vm.showWithdrawCFANoteModal)?_c('Modal',{attrs:{\"Modal\":\"\",\"centered\":\"\",\"id\":\"showWithdrawCFANoteModalId\",\"maxWidth\":\"500px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"\\n Withdraw Reason Note\\n \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-form-group',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.withdrawNoteText),expression:\"withdrawNoteText\",modifiers:{\"trim\":true}}],class:{'textInput':true, 'form-control':true, 'form-group--error': _vm.$v.withdrawNoteText.$error},attrs:{\"id\":\"withdrawNoteText\",\"rows\":\"5\",\"placeholder\":\"Enter Note\"},domProps:{\"value\":(_vm.withdrawNoteText)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.withdrawNoteText=$event.target.value.trim()},function($event){return _vm.$v.withdrawNoteText.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.withdrawNoteText.$dirty && !_vm.$v.withdrawNoteText.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Note is required.\\n \")]):_vm._e()])],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showWithdrawCFANoteModal_CancelButton\"},on:{\"click\":function($event){_vm.showWithdrawCFANoteModal = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right\",attrs:{\"size\":\"md\",\"id\":\"showWithdrawCFANoteModal_OkButton\"},on:{\"click\":_vm.onWithdrawCFA}},[_vm._v(\"\\n Withdraw\\n \")])],1)]):_vm._e(),(_vm.showRejectCFANoteModal)?_c('Modal',{attrs:{\"Modal\":\"\",\"centered\":\"\",\"id\":\"showRejectCFANoteModalId\",\"maxWidth\":\"500px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"\\n Reject Reason Note\\n \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-form-group',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.rejectNoteText),expression:\"rejectNoteText\",modifiers:{\"trim\":true}}],class:{'textInput':true, 'form-control':true, 'form-group--error': _vm.$v.rejectNoteText.$error},attrs:{\"id\":\"note\",\"rows\":\"5\",\"placeholder\":\"Enter Note\"},domProps:{\"value\":(_vm.rejectNoteText)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.rejectNoteText=$event.target.value.trim()},function($event){return _vm.$v.rejectNoteText.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.rejectNoteText.$dirty && !_vm.$v.rejectNoteText.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Note is required.\\n \")]):_vm._e()])],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showRejectCFANoteModal_CancelButton\"},on:{\"click\":function($event){_vm.showRejectCFANoteModal = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right\",attrs:{\"size\":\"md\",\"id\":\"showRejectCFANoteModal_OkButton\"},on:{\"click\":_vm.onRejectCFA}},[_vm._v(\"\\n Reject\\n \")])],1)]):_vm._e(),(_vm.onShowAnnatureAuditLogs)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"annatureAuditLogsModal\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap modal-title\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Annature Audit Logs\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"anntureAuditLogsCloseBtn\"},on:{\"click\":_vm.onCloseAnnatureAuditLogsModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AnnatureAuditLogs',{staticClass:\"modal-body-text\",attrs:{\"relatedIdList\":[_vm.applicationId],\"relatedTable\":_vm.relatedTable}})],1)]):_vm._e(),(_vm.showDocumentRepositoryModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"documentRepositoryModal\",\"minWidth\":'80%',\"maxHeight\":\"650px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap modal-title\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Document Repository\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"documentRepositoryCloseBtn\"},on:{\"click\":_vm.onCloseDocumentRepository}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('DocumentRepository',{staticClass:\"modal-body-text\",attrs:{\"docRepositoryUploaderEnabled\":_vm.isClient && (this.$store.getters.getClientFinanceApplicationStatus == _vm.documentQueriedStatus || this.$store.getters.getClientFinanceApplicationStatus == _vm.informationQueriedStatus)}})],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[(!_vm.isClient)?_c('span',{attrs:{\"id\":\"arn1\"}},[_vm._v(\" Application - \"+_vm._s(_vm.clientName)+\" \"+_vm._s((this.$store.getters.getClientFinanceApplicationARN != \"\")?('- ' + this.$store.getters.getClientFinanceApplicationARN):''))]):_c('span',{attrs:{\"id\":\"arn2\"}},[_vm._v(_vm._s(this.$store.getters.getClientFinanceApplicationARN != \"\" ? this.$store.getters.getClientFinanceApplicationARN : 'Application'))]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":_vm.isClient ? 'Go Back to Homepage' : 'Go Back to Applications'},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})]),(_vm.isAdmin && _vm.applicationId > 0)?_c('ClientFinanceApplicationAuditLogsActionButton',{staticClass:\"back-navigation mr-2\",attrs:{\"spanMode\":true,\"applicationId\":_vm.applicationId}}):_vm._e()],1),_c('b-row',{staticClass:\"currentStatusRow\"},[_c('b-col',{staticClass:\"ml-4\"},[_c('b-row',{staticClass:\"mb-3\"},[_c('span',[_c('b',[_vm._v(\"\\n Current Status : \"+_vm._s(this.$store.getters.getClientFinanceApplicationStatus < this.awaitingSignatureStatus ? 'Draft' \n : this.$store.getters.getClientFinanceApplicationStatus == this.awaitingSignatureStatus ? 'Awaiting Signature' \n : this.$store.getters.getClientFinanceApplicationStatus == this.readyForSubmissionStatus ? 'Ready For Submission' \n : this.$store.getters.getClientFinanceApplicationStatus == this.informationQueriedStatus ? 'Information Queried'\n : this.$store.getters.getClientFinanceApplicationStatus == this.documentQueriedStatus ? 'Document Queried' \n : this.$store.getters.getClientFinanceApplicationStatus == this.withdrawnStatus ? 'Withdrawn'\n : this.$store.getters.getClientFinanceApplicationStatus == this.awaitingFinancierApprovalStatus ? 'Awaiting Financier Approval'\n : this.$store.getters.getClientFinanceApplicationStatus == this.financierApprovedStatus ? \"Financier Approved\"\n : this.$store.getters.getClientFinanceApplicationStatus == this.rejectedStatus ? \"Rejected\"\n : this.$store.getters.getClientFinanceApplicationStatus == this.convertedStatus ? \"Converted\"\n : 'Awaiting Review')+\" \\n \")])])])],1),_c('b-col',[_c('b-row',{staticClass:\"float-right mr-1 mb-2\"},[(this.$store.getters.getClientFinanceApplicationStatus >= this.awaitingSignatureStatus)?_c('b-button',{staticClass:\"primary mr-2\",attrs:{\"id\":\"documentRepository\",\"type\":\"button\",\"size\":\"md\",\"title\":\"Document Repository\"},on:{\"click\":function($event){_vm.showDocumentRepositoryModal = true}}},[_c('span',[_c('i',{staticClass:\"fas fa-file\",attrs:{\"aria-hidden\":\"true\"}})])]):_vm._e(),(_vm.isClient)?_c('div',[_c('b-button',{staticClass:\"primary\",attrs:{\"id\":\"popoverButton-open\",\"type\":\"button\",\"size\":\"md\",\"title\":\"Download Credit Guide\"},on:{\"click\":function($event){return _vm.downloadCreditGuide()}}},[_c('span',[_c('i',{staticClass:\"fas fa-file-download\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"  Credit Guide\")])]),(_vm.applicationId == 0 && this.$store.getters.getClientFinanceApplicationCreditGuideDownloadedDate == null)?_c('b-popover',{attrs:{\"placement\":\"left\",\"show\":\"\",\"target\":\"popoverButton-open\"}},[_vm._v(\"\\n Click here to download and view our Credit Guide\\n \")]):_vm._e()],1):_vm._e(),(_vm.isAdmin && this.applicationId > 0 && this.$store.getters.getClientFinanceApplicationStatus >= _vm.awaitingSignatureStatus)?_c('div',[_c('b-button',{staticClass:\"primary\",attrs:{\"id\":\"annatureAuditLogs\",\"type\":\"button\",\"size\":\"md\",\"title\":\"Annature Audit Logs\"},on:{\"click\":function($event){_vm.onShowAnnatureAuditLogs=true}}},[_c('span',[_c('i',{staticClass:\"fas fa-history\",attrs:{\"aria-hidden\":\"true\"}})])])],1):_vm._e()],1)],1)],1),(_vm.showWizard)?_c('Wizard',{ref:\"clientFinanceApplicationWizard\",attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":\"personalDetails\",\"routeName\":\"Edit Client Finance Application\",\"disableSave\":_vm.disableSave,\"validateToComplete\":true,\"applicationId\":this.applicationId,\"applicationType\":_vm.clientFinanceApplication,\"applicationStatus\":this.$store.getters.getClientFinanceApplicationStatus,\"wizardClass\":'client-finance-wizard'},on:{\"onTabChanged\":_vm.onTabChanged,\"onCurrentTabSelected\":_vm.onCurrentTabSelected}},[_c('WizardTab',{attrs:{\"name\":\"Personal Details\",\"selected\":true,\"completed\":true,\"index\":0,\"routerDisplayName\":\"personalDetails\",\"validateMandatoryFields\":_vm.mandatoryFieldsValidation.personalDetails}},[_c('PersonalDetails',{attrs:{\"isClient\":_vm.isClient,\"routeNames\":_vm.routeNames},on:{\"onValidateStep\":_vm.onValidatePersonalDetails}})],1),_c('WizardTab',{attrs:{\"name\":\"Address Details\",\"completed\":this.$store.getters.getClientFinanceApplicationEditedSteps && this.$store.getters.getClientFinanceApplicationEditedSteps.includes(_vm.addressStatus),\"index\":1,\"routerDisplayName\":\"addressDetails\",\"validateMandatoryFields\":_vm.mandatoryFieldsValidation.addressDetails}},[_c('AddressDetails',{attrs:{\"isClient\":_vm.isClient,\"routeNames\":_vm.routeNames},on:{\"onValidateStep\":_vm.onValidateAddressDetails}})],1),_c('WizardTab',{attrs:{\"name\":\"Employment\",\"completed\":this.$store.getters.getClientFinanceApplicationEditedSteps && this.$store.getters.getClientFinanceApplicationEditedSteps.includes(_vm.employmentStatus),\"index\":2,\"routerDisplayName\":\"employmentDetails\",\"validateMandatoryFields\":_vm.mandatoryFieldsValidation.employment}},[_c('EmploymentDetails',{attrs:{\"isClient\":_vm.isClient,\"routeNames\":_vm.routeNames},on:{\"onValidateStep\":_vm.onValidateEmployment}})],1),_c('WizardTab',{attrs:{\"name\":\"Income\",\"completed\":this.$store.getters.getClientFinanceApplicationEditedSteps && this.$store.getters.getClientFinanceApplicationEditedSteps.includes(_vm.incomeStatus),\"index\":3,\"routerDisplayName\":\"incomeDetails\",\"validateMandatoryFields\":_vm.mandatoryFieldsValidation.income}},[_c('Income',{attrs:{\"isClient\":_vm.isClient,\"routeNames\":_vm.routeNames},on:{\"onValidateStep\":_vm.onValidateIncome}})],1),_c('WizardTab',{attrs:{\"name\":\"Assets\",\"completed\":this.$store.getters.getClientFinanceApplicationEditedSteps && this.$store.getters.getClientFinanceApplicationEditedSteps.includes(_vm.assetsStatus),\"index\":4,\"routerDisplayName\":\"assetsDetails\",\"validateMandatoryFields\":_vm.mandatoryFieldsValidation.assets}},[_c('Assets',{attrs:{\"isClient\":_vm.isClient,\"routeNames\":_vm.routeNames},on:{\"onValidateStep\":_vm.onValidateAssets}})],1),_c('WizardTab',{attrs:{\"name\":\"Liabilities\",\"completed\":this.$store.getters.getClientFinanceApplicationEditedSteps && this.$store.getters.getClientFinanceApplicationEditedSteps.includes(_vm.liabilitiesStatus),\"index\":5,\"routerDisplayName\":\"liabilitiesDetails\",\"validateMandatoryFields\":_vm.mandatoryFieldsValidation.liabilities}},[_c('Liabilities',{attrs:{\"isClient\":_vm.isClient,\"routeNames\":_vm.routeNames},on:{\"onValidateStep\":_vm.onValidateLiabilityDetails}})],1),_c('WizardTab',{attrs:{\"name\":\"Motor Vehicle & Financed Amount\",\"completed\":this.$store.getters.getClientFinanceApplicationEditedSteps && this.$store.getters.getClientFinanceApplicationEditedSteps.includes(_vm.motorVehicleDetailsAndFinancedAmountStatus),\"index\":6,\"routerDisplayName\":\"motorVehicleDetailsAndFinancedAmount\",\"validateMandatoryFields\":_vm.mandatoryFieldsValidation.motorVehicleDetailsAndFinancedAmount}},[_c('MotorVehicleDetailsAndFinancedAmount',{attrs:{\"isClient\":_vm.isClient,\"routeNames\":_vm.routeNames},on:{\"onValidateStep\":_vm.onValidateMotorVehicleDetailsAndFinancedAmountDetails}})],1),_c('WizardTab',{attrs:{\"name\":\"Change in Circumstances\",\"completed\":this.$store.getters.getClientFinanceApplicationEditedSteps && this.$store.getters.getClientFinanceApplicationEditedSteps.includes(_vm.changeInCircumstancesStatus),\"index\":7,\"routerDisplayName\":\"changeInCircumstances\",\"validateMandatoryFields\":_vm.mandatoryFieldsValidation.changeInCircumstances}},[_c('ChangeInCircumstances',{ref:\"changeInCircumstanceStep\",attrs:{\"isClient\":_vm.isClient,\"routeNames\":_vm.routeNames},on:{\"onValidateStep\":_vm.onValidateChangeInCircumstances}})],1),_c('div',{attrs:{\"slot\":\"audit-info\"},slot:\"audit-info\"},[(this.$store.getters.getClientFinanceApplicationId>0)?_c('b-row',{staticClass:\"ml-2 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(this.$store.getters.getClientFinanceApplicationCreatedByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(this.$store.getters.getClientFinanceApplicationCreatedDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(this.$store.getters.getClientFinanceApplicationUpdatedByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(this.$store.getters.getClientFinanceApplicationUpdatedDate))+\")\")])]):_vm._e(),_c('div',{attrs:{\"slot\":\"wizard-footer\"},slot:\"wizard-footer\"},[_c('b-row',[_c('b-col',{staticClass:\"pt-2\"},[(_vm.currentTab && _vm.currentTab.index>0 && !this.isReadOnly)?_c('b-btn',{staticClass:\"float-left ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":_vm.backDisabled},on:{\"click\":_vm.goBack}},[_c('i',{staticClass:\"fas fa-arrow-left\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Back\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index<(_vm.totalTabs-1) && !this.isReadOnly)?_c('b-btn',{staticClass:\"float-right mr-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":_vm.nextDisabled},on:{\"click\":_vm.goForward}},[_vm._v(\"\\n \"+_vm._s(_vm.disableSave || this.$store.getters.getClientFinanceApplicationStatus == _vm.rejectedStatus || this.$store.getters.getClientFinanceApplicationStatus == _vm.withdrawnStatus ? 'Next':'Save and Continue')+\" \"),_c('i',{staticClass:\"fas fa-arrow-right\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(!_vm.disableSave && (_vm.currentTab && _vm.currentTab.index>0) && !this.isReadOnly)?_c('b-btn',{staticClass:\"float-right mr-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.onSaveWizard}},[_vm._v(\"\\n Save\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && ((this.isReadOnly && this.isClient && this.$store.getters.getClientFinanceApplicationStatus == this.documentQueriedStatus) || !this.isReadOnly))?_c('b-btn',{staticClass:\"float-right mr-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":_vm.onDisableSubmitButton()},on:{\"click\":_vm.onSubmitCFA}},[_vm._v(\"\\n \"+_vm._s(_vm.submitBtnText)+\"\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && _vm.isAllowedToFinancierApprove && _vm.isAdmin)?_c('b-btn',{staticClass:\"float-right mr-2 reject-button\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.rejectCFA}},[_vm._v(\"\\n Reject\\n \")]):_vm._e(),_c('b-dropdown',{staticClass:\"float-right mr-2\",attrs:{\"hidden\":!(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && _vm.isAllowedToQuery && _vm.isAdmin),\"id\":\"queryDropdown\",\"text\":\"Query\"}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.queryCFA(_vm.queryActionTypeDocument)}}},[_vm._v(\"Document\")]),_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.queryCFA(_vm.queryActionTypeInformation)}}},[_vm._v(\"Information\")])],1),(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && _vm.isAllowedToWithdraw && _vm.isAdmin)?_c('b-btn',{staticClass:\"float-right mr-2 query-button\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.withdrawCFA}},[_vm._v(\"\\n Withdraw\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && _vm.isAllowedToFinancierApprove && _vm.isAdmin)?_c('b-btn',{staticClass:\"float-right mr-2 primary\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.onFinancierApprove}},[_vm._v(\"\\n Financier Approve\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && _vm.isAllowedToConvert && _vm.isAdmin)?_c('b-btn',{staticClass:\"float-right mr-2 primary\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.onConvertCFA}},[_vm._v(\"\\n Convert \\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && _vm.isAllowedToSubmitForBank && _vm.isAdmin)?_c('b-btn',{staticClass:\"float-right mr-2 primary\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.onBankSubmitCFA}},[_vm._v(\"\\n Submitted to Bank\\n \")]):_vm._e(),(_vm.currentTab && _vm.currentTab.index == (_vm.totalTabs-1) && _vm.isAllowedToApprove && _vm.isAdmin)?_c('b-btn',{staticClass:\"float-right mr-2 primary\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.onApproveCFA}},[_vm._v(\"\\n Approve\\n \")]):_vm._e()],1)],1)],1)],1)],1):_vm._e()],1)],1)],1)],1),(this.showWizard)?_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"12\",\"xl\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('span',[_vm._v(\" Notes \")])]),_c('ClientFinanceApplicationNotes',{attrs:{\"relatedId\":_vm.applicationId}})],1)],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('DragAndDropControlApplication',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.clientFinanceApplication,\"relatedID\":_vm.applicationId,\"isAcknowledgeEnabled\":false,\"relatedStep\":0,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":_vm.docRepositoryUploaderEnabled,\"index\":1,\"modalMode\":false,\"docRepositoryMode\":true}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.showPreviewController),expression:\"!showPreviewController\"}],staticClass:\"uploader\",class:{ dragging: _vm.isDragging },on:{\"dragenter\":_vm.OnDragEnter,\"dragleave\":_vm.OnDragLeave,\"dragover\":function($event){$event.preventDefault();},\"drop\":_vm.onDropDocument}},[(_vm.uploaderEnabled)?_c('div',{staticClass:\"drag-and-drop-uploader responsive-width drag-drop-client-application\",class:{ dragging: _vm.isDragging },on:{\"dragenter\":_vm.OnDragEnter,\"dragleave\":_vm.OnDragLeave,\"dragover\":function($event){$event.preventDefault();},\"drop\":_vm.onDropDocument}},[_c('b-row',{staticClass:\"justify-content-md-center\",attrs:{\"align-v\":\"center\"}},[_c('b-col',{staticClass:\"client-application-color\",attrs:{\"sm\":\"5\",\"lg\":\"3\",\"md\":\"auto\"}},[_c('i',{staticClass:\"fas fa-cloud-upload-alt\"}),_c('p',[_vm._v(\"Drag your Files here\")])]),_c('b-col',{staticClass:\"client-application-color\",attrs:{\"cols\":\"12\",\"sm\":\"auto\",\"md\":\"auto\",\"lg\":\"auto\"}},[_vm._v(\"\\n OR\\n \")]),_c('b-col',{attrs:{\"col\":\"\",\"sm\":\"4\",\"md\":\"4\",\"lg\":\"2\"}},[_c('div',{staticClass:\"file-input\"},[_c('label',{staticClass:\"client-application-btn\",attrs:{\"for\":\"file\"}},[_vm._v(\"Select file(s)\")]),_c('input',{attrs:{\"type\":\"file\",\"id\":\"file\",\"accept\":_vm.accept,\"multiple\":\"\"},on:{\"click\":_vm.onInputClick,\"change\":_vm.onInputChange}})])])],1)],1):_vm._e()]),_c('div',[(_vm.docRepositoryMode && _vm.isAnyDocumentAvailable)?_c('span',{staticStyle:{\"cursor\":\"pointer\",\"float\":\"right\",\"margin\":\"5px\"},attrs:{\"title\":\"Download All\"},on:{\"click\":_vm.onDownloadAllDocuments}},[_c('i',{staticClass:\"fas fa-download download-button fa-lg\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()]),(_vm.isAnyDocumentAvailable)?_c('table',{staticClass:\"files-table-common mt-3\",class:{'files-table-doc-repo-mode' : _vm.uploaderEnabled && _vm.docRepositoryMode, 'files-table-doc-repo-read-only' : !_vm.uploaderEnabled && _vm.docRepositoryMode,\n 'files-table-read-only' : !_vm.uploaderEnabled && !_vm.docRepositoryMode, 'files-table' : _vm.uploaderEnabled && !_vm.docRepositoryMode}},[_c('tr',[_c('th',{staticClass:\"width_10\"},[_vm._v(\"File Name\")]),(!_vm.docRepositoryMode)?_c('th',{staticClass:\"width_20\"},[_vm._v(\"Document Type\")]):_vm._e(),_c('th',{staticClass:\"width_15\"},[_vm._v(\"Uploaded By\")]),_c('th',{staticClass:\"width_8\"},[_vm._v(\"Uploaded Date\")]),_c('th',{staticClass:\"width_5\"})]),_vm._l((_vm.documentList),function(file,index){return _c('tr',{key:index},[_c('td',[(_vm.documentList[index].editMode)?_c('div',[_c('b-form-group',{staticClass:\"vertical-center mb-0 mr-1\",attrs:{\"label-for\":\"documentType\",\"center\":\"\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"docName\",\"type\":\"text\",\"disabled\":!(_vm.uploaderEnabled && !_vm.documentList[index].isReadOnly)},model:{value:(_vm.documentList[index].fileName),callback:function ($$v) {_vm.$set(_vm.documentList[index], \"fileName\", $$v)},expression:\"documentList[index].fileName\"}})],1)],1):_vm._e(),(!_vm.documentList[index].editMode)?_c('div',{staticClass:\"ml-2\"},[_c('span',[_vm._v(_vm._s(_vm.documentList[index].fileName))])]):_vm._e()]),(!_vm.docRepositoryMode)?_c('td',[(_vm.uploaderEnabled && !_vm.documentList[index].isReadOnly)?_c('div',[_c('b-form-group',{staticClass:\"vertical-center mb-0 mr-1\",attrs:{\"label-for\":\"documentType\",\"center\":\"\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{ 'requiredField': (_vm.documentList[index].fileType == 0 ) },attrs:{\"id\":\"documentType\",\"plain\":true,\"options\":_vm.docTypes,\"required\":\"\"},on:{\"change\":function($event){return _vm.onChangeDocumentType(_vm.documentList[index])}},model:{value:(_vm.documentList[index].fileType),callback:function ($$v) {_vm.$set(_vm.documentList[index], \"fileType\", $$v)},expression:\"documentList[index].fileType\"}},[(_vm.selectedDocType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1):_vm._e(),(!(_vm.uploaderEnabled && !_vm.documentList[index].isReadOnly))?_c('div',{staticClass:\"ml-2\"},[_c('span',[_vm._v(_vm._s(_vm.setNewDocumentTypeByID(_vm.documentList[index].fileType)))])]):_vm._e()]):_vm._e(),_c('td',[_c('div',{staticClass:\"ml-2\"},[_c('span',[_vm._v(_vm._s(_vm.documentList[index].createdByUserName))])])]),_c('td',[_c('div',{staticClass:\"ml-2\"},[_c('span',[_vm._v(_vm._s(_vm.formatDate(_vm.documentList[index].createdOnUtc)))])])]),_c('td',[_c('div',{staticStyle:{\"text-align\":\"center\",\"vertical-align\":\"middle\"}},[(_vm.uploaderEnabled && !_vm.documentList[index].isReadOnly && !_vm.documentList[index].editMode)?_c('span',{staticStyle:{\"cursor\":\"pointer\",\"margin-left\":\"6px\"},attrs:{\"title\":\"Edit Document Name\"},on:{\"click\":function($event){return _vm.onEditDocument(_vm.documentList[index])}}},[_c('i',{staticClass:\"fas fa-edit download-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.uploaderEnabled && !_vm.documentList[index].isReadOnly && _vm.documentList[index].editMode)?_c('span',{staticStyle:{\"cursor\":\"pointer\",\"margin-left\":\"6px\"},attrs:{\"title\":\"Save Document Name\"},on:{\"click\":function($event){return _vm.onSaveDocument(_vm.documentList[index])}}},[_c('i',{staticClass:\"fas fa-save download-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.uploaderEnabled && !_vm.documentList[index].isReadOnly && _vm.documentList[index].editMode)?_c('span',{staticStyle:{\"cursor\":\"pointer\",\"margin-left\":\"6px\"},attrs:{\"title\":\"Cancel\"},on:{\"click\":function($event){return _vm.onCancelEditDocument(_vm.documentList[index])}}},[_c('i',{staticClass:\"fas fa-times download-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),((_vm.uploaderEnabled || _vm.docRepositoryMode) && !_vm.documentList[index].editMode)?_c('span',{staticStyle:{\"cursor\":\"pointer\",\"margin-left\":\"6px\"},attrs:{\"title\":\"Download Document\"},on:{\"click\":function($event){return _vm.onDownloadDocument(_vm.documentList[index])}}},[_c('i',{staticClass:\"fas fa-download download-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.uploaderEnabled && !_vm.documentList[index].isReadOnly && !_vm.documentList[index].editMode)?_c('span',{staticStyle:{\"cursor\":\"pointer\",\"margin-left\":\"6px\"},attrs:{\"title\":\"Delete Document\"},on:{\"click\":function($event){return _vm.OpenDeleteConfirmation(index, _vm.documentList[index])}}},[_c('i',{staticClass:\"fas fa-trash-alt fa-sm delete-button\"})]):_vm._e()])])])})],2):_vm._e(),_c('br'),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showPreviewController),expression:\"showPreviewController\"}]},[_c('DocumentPreviewControl',{attrs:{\"docPreviewFileName\":_vm.docPreviewFileName,\"docPreviewURL\":_vm.docPreviewURL},on:{\"onCloseDocumentPreviewControl\":_vm.closeDocumentPreviewControl}})],1),(_vm.showDeleteConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteDocumentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text wrap-text\"},[_vm._v(\"\\n Are you sure you want to delete the document?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteDocumentConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteDocumentConf_OkButton\"},on:{\"click\":function($event){return _vm.OnClickDeleteFile(_vm.deletingDocIndex,_vm.deletingDoc)}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Emit, Watch } from \"vue-property-decorator\";\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport apiService from '@/shared/services/apiService';\nimport AppSettings from '@/app.config';\nimport {ClientFinanceApplicationDocument} from '@/models/document.model';\nimport moment from 'moment';\nimport blobService from '@/shared/services/azureBlobStorageService';\nimport { BlobContainerType } from '@/shared/enums/blobContainerTypes.enum';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport DocumentPreviewControl from '@/shared/components/documentPreviewControl/DocumentPreviewControl.vue';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport { ClientFinanceApplicationStates } from \"@/shared/enums/clientFinanceApplicationStates.enum\";\nimport { FileTypes } from \"@/shared/enums/fileTypes.enum\";\n\n@Component({\n components:{\n Modal,\n DocumentPreviewControl,\n SystemTextNotes\n },\n filters:{\n fileSizeFilter(value:any){\n if(value){\n return (value/1024).toFixed(2);\n }\n }\n },\n})\nexport default class DragAndDropControlApplication extends Vue {\n @Prop() accept:any;\n @Prop() relatedTable:RelatedTables;\n @Prop() relatedStep:number;\n @Prop() relatedID:number;\n @Prop() index:number;\n @Prop() uploaderEnabled:boolean;\n @Prop() defaultDocType:any;\n @Prop() modalMode:boolean;\n @Prop() isAcknowledgeEnabled: boolean;\n @Prop() docRepositoryMode: boolean;\n\n deletingDoc:any;\n deletingDocIndex:number;\n isDragging: boolean = false;\n dragCount: number = 0;\n dataURI: any = \"\";\n selectedDocType:number = 0;\n docTypes:any[] = [];\n docCategoryTypes:any[] = [];\n documentList = [];\n isValidDocumentList : boolean = true;\n showDeleteConfirmation:boolean = false;\n showPreviewController:boolean = false;\n docPreviewFileName:any = \"\"\n docPreviewURL: any =\"\";\n clientFinanceApplicationRelatedTable:RelatedTables = RelatedTables.ClientFinanceApplication;\n selectedForEditDocumentFileName = \"\";\t\n\n @Watch('relatedID')\n onRelatedIDChanged(val: any, oldVal: any)\n {\n this.loadDocumentsList(); \n }\n\n @Watch('defaultDocType')\n onDocTypeChanged(val: any, oldVal: any)\n {\n if(val > 0)\n {\n this.selectedDocType = val;\n this.documentList.forEach(item => {\n if(!item.fileType || item.fileType == 0)\n item.fileType = this.selectedDocType;\n });\n }\n }\n\n created()\n { \n if(this.docRepositoryMode){\n this.loadDocCategoryTypes();\n }\n\n this.loadDocTypes();\n if(this.defaultDocType > 0){\n this.selectedDocType = this.defaultDocType;\n this.documentList.forEach(item => {\n if(!item.fileType || item.fileType == 0)\n item.fileType = this.selectedDocType;\n });\n }\n }\n\n loadDocTypes()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {applicationStep:this.relatedStep};\n apiService.sendGetRequest('Utility','ClientApplicationDocTypes',params).then( response=>{\n this.docTypes = response.data; \n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadDocCategoryTypes()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {applicationStep:this.relatedStep};\n apiService.sendGetRequest('Utility','ClientApplicationDocCategoryTypes', params).then( response=>{\n this.docCategoryTypes = response.data; \n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n setNewDocumentTypeByID(docId:number):string{\n let documentType = \"\";\n if(this.docTypes != null && this.docTypes.length > 0 && this.docTypes.filter(obj => obj.value == docId)[0])\n {\n documentType = this.docTypes.filter(obj => obj.value == docId)[0].text;\n }\n return documentType;\n }\n\n mounted()\n {\n this.loadDocumentsList(); \n }\n\n onPreviewDocument(doc:any)\n {\n if(doc.id > 0)\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Utility\",\"DownloadDocument\",{id:doc.id}).then(\n response =>{\n if(response.data.isSuccess)\n {\n this.docPreviewURL= fileViewerService.GetURLToPreviewDocument(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false); \n this.$nextTick(()=>{\n this.docPreviewFileName = doc.fileName;\n this.showPreviewController = true;\n })\n \n }\n else\n {\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n else \n {\n var doc = this.documentList[doc.index];\n if(doc != null){\n this.showPreviewController = true;\n this.docPreviewURL = fileViewerService.GetPreviewDocumentByFile(doc);\n this.docPreviewFileName = doc.fileName;\n } \n }\n }\n\n closeDocumentPreviewControl(){\n this.showPreviewController = false;\n }\n \n OpenDeleteConfirmation(index: number, document: any){\n this.deletingDoc=document;\n this.deletingDocIndex=index;\n this.showDeleteConfirmation=true;\n }\n\n onDownloadDocument(doc){\n if(doc.id > 0)\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Utility\",\"DownloadClientFinanceApplicationDocument\",{id:doc.id}).then(\n response =>{\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false);\n }\n else{\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }else \n {\n var doc = this.documentList[doc.index];\n if(doc != null){\n fileViewerService.DownloadDocumentByFile(doc);\n } \n }\n }\n\n onEditDocument(document: any) {\n this.selectedForEditDocumentFileName = document.fileName;\n document.editMode = true;\n }\n\n onSaveDocument(document: any) {\n this.UpdateExistingDocument(document);\n document.editMode = false;\n }\n\n onCancelEditDocument(document: any) {\n document.fileName = this.selectedForEditDocumentFileName;\n this.selectedForEditDocumentFileName = \"\";\t\n document.editMode = false;\n }\n\n formatDate(date:any):any{\n return moment(date).format(\"DD MMM YYYY\");\n }\n\n onDownloadAllDocuments(){\n if(this.relatedTable > 0 && this.relatedID > 0) {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Utility\",\"DownloadAllClientFinanceApplicationDocuments\",{relatedID: this.relatedID}).then(\n response =>{\n if(response.data.isSuccess) { \n fileViewerService.DownloadZipFile(response.data.documentContentString,response.data.documentName,response.data.documentExtention,false);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n }\n\n getDataURI(file:any):any{\n return URL.createObjectURL(file);\n }\n\n OnDragEnter(event){\n event.preventDefault();\n if(this.uploaderEnabled){\n this.dragCount++;\n this.isDragging=true;\n }\n }\n\n OnDragLeave(event){\n event.preventDefault();\n if(this.uploaderEnabled){\n this.dragCount--;\n if(this.dragCount <= 0 ){\n this.isDragging=false;\n }\n }\n }\n\n onInputClick(event){\n event.target.value = null;\n }\n\n onInputChange(event){\n const documents = event.target.files;\n Array.from(documents).forEach(document => {\n if(this.filesChange(document)){\n this.AddDocumentToList(document);\n } \n });\n }\n\n onDropDocument(event){\n event.preventDefault();\n this.dragCount=0;\n if(this.uploaderEnabled){\n event.stopPropagation();\n this.isDragging = false;\n const documents = event.dataTransfer.files;\n Array.from(documents).forEach(document => {\n if(this.filesChange(document)){\n this.AddDocumentToList(document);\n } \n });\n }\n }\n \n AddDocumentToList(file:any){\n this.$store.dispatch('storeIsBusyValue',true);\n var newDoc : ClientFinanceApplicationDocument;\n blobService.getsasAndGuid(BlobContainerType.Private).then(response => {\n var docSas = response.data;\n var newDocument:ClientFinanceApplicationDocument = {\n id:0,\n fileName:file.name,\n clientFinanceApplicationState:this.relatedStep,\n relatedTable:this.relatedTable,\n relatedID:0,\n fileType: this.docRepositoryMode? FileTypes.Other: this.selectedDocType,\n guid:docSas.blobGuid,\n fileExtension:this.getFileExtension(file.name),\n uri:this.getDataURI(file),\n locked:false,\n concurrencyKey:\"\",\n createdByUserName:localStorage.loggedInUserName,\n lastUpdateByName:'',\n createdOnUtc:new Date(),\n lastUpdatedDate:new Date(),\n index:this.documentList.length,\n file:file,\n sasTokenProperties:docSas,\n mimeType:file.type,\n editMode:false,\n };\n this.documentList.push(newDocument);\n if(this.relatedID <= 0){\n this.UpdateDocumentListInStore();\n if(this.isAcknowledgeEnabled){\n this.onChangeDocument(DataTableActionTypes.Save);\n }\n }\n else{\n this.UploadNewDocument(newDocument);\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.onDocumentsAdded(newDocument);\n })\n }\n\n UpdateDocumentListInStore(){\n if(this.isValidDocuments()){\n this.$store.dispatch('updateDocumentsByIndex', { index: this.index, documents:this.documentList});\n }\n }\n getDocumentList()\n {\n return this.documentList;\n }\n getDocumentCount(){\n return this.documentList.length;\n }\n ClearDocumentList(){\n this.documentList = [];\n this.UpdateDocumentListInStore();\n }\n ClearDocumentListWithoutValidation(){\n this.documentList = [];\n this.$store.dispatch('updateDocumentsByIndex', { index: this.index, documents:this.documentList});\n }\n setDocumentList(){\n this.documentList= this.$store.getters.getDocumentsByIndex(this.index);\n }\n getFileExtension(fileName:string){\n var wordList = fileName.split(\".\");\n return wordList[wordList.length-1];\n }\n\n get isAnyDocumentAvailable() {\n return this.documentList.length > 0;\n }\n \n OnClickDeleteFile(index: number, document: any){\n if(this.relatedID <= 0){\n this.documentList.splice(index,1);\n this.UpdateDocumentListInStore();\n if(this.isAcknowledgeEnabled){\n this.onChangeDocument(DataTableActionTypes.Delete)\n }\n }\n else{\n if(document.id <=0){\n this.documentList.splice(index,1);\n if(this.isAcknowledgeEnabled){\n this.onChangeDocument(DataTableActionTypes.Delete)\n }\n }\n else{\n this.DeleteExistingDocumentList(document);\n } \n }\n this.showDeleteConfirmation = false;\n this.deletingDoc=[];\n this.deletingDocIndex=-1;\n }\n\n DeleteExistingDocumentList(document:any){\n this.$store.dispatch('storeIsBusyValue',true);\n blobService.deleteClientFinanceApplicationFile(document.id).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.loadDocumentsList(true);\n }\n else{\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }) \n }\n\n filesChange(file:any):boolean{\n if(file && !this.validateFileTypes(file))\n {\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: file.name + \" could not be uploaded. Invalid file type.\",\n type: 'error',\n duration: 5000\n });\n return false;\n }\n else if(file && file.size < AppSettings.maxFileUploadSizeInMB*1024*1024){\n return true;\n }\n else{\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: \"Maximum file size is \"+ AppSettings.maxFileUploadSizeInMB + \"MB. \" + file.name +\" cannot be uploaded.\",\n type: 'error',\n duration: 3000\n });\n return false;\n }\n }\n\n validateFileTypes(file):boolean\n {\n if(this.accept == \"*\")\n {\n return true;\n }\n var acceptList = this.accept.split(',');\n\n if(this.accept.includes('.bal') && file.name.toLowerCase().includes('.bal'))\n {\n return true;\n }\n if(acceptList.includes('image/*') && file.type.includes('image') > 0)\n {\n return true;\n }\n\n var validCount = 0;\n acceptList.forEach(element => {\n if(file.type.includes(element.replace('.','')))\n {\n validCount++;\n }\n });\n\n return validCount > 0 ? true : false;\n }\n\n onChangeDocumentType(document:any){\n if(this.relatedID <= 0){\n this.UpdateDocumentListInStore();\n if(this.isAcknowledgeEnabled){\n this.onChangeDocument(DataTableActionTypes.Edit);\n }\n }\n else{\n if(document.id > 0){\n if(this.docRepositoryMode && this.uploaderEnabled) {\n document.clientFinanceApplicationState = ClientFinanceApplicationStates.Other;\n }\n this.UpdateExistingDocument(document);\n }\n }\n }\n\n // TODO: add logic when document category changes PBI-88315\n onChangeDocumentCategoryType(document:any){\n this.UpdateExistingDocument(document);\n }\n\n UpdateExistingDocument(document:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Utility','ClientApplicationDocuments',document).then(response => {\n if(response.data.isSuccess){\n if(!this.isAcknowledgeEnabled){\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.onChangeDocument(DataTableActionTypes.Edit);\n }\n document.concurrencyKey = response.data.concurrencyKey;\n }\n else{\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n UploadNewDocument(document:ClientFinanceApplicationDocument){\n document.relatedID= this.relatedID;\n document.clientFinanceApplicationState = (this.docRepositoryMode && this.uploaderEnabled) ? ClientFinanceApplicationStates.Other : this.relatedStep;\n blobService.uploadFile(document.sasTokenProperties,document.file).then( response =>{\n var docParams = {\n fileName:document.fileName,\n fileType: document.fileType,\n guid: document.guid,\n fileExtension: document.fileExtension,\n uri: document.uri,\n relatedTable:this.relatedTable,\n relatedId:this.relatedID,\n locked:false,\n editMode:document.editMode,\n mimeType:document.file.type,\n clientFinanceApplicationState:document.clientFinanceApplicationState,\n clientFinanceApplicationId:this.relatedID\n };\n apiService.sendPutRequest('Utility','ClientApplicationDocuments',docParams).then( response2 => {\n if(response2.data.isSuccess){\n if(!this.isAcknowledgeEnabled){\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response2.data.message,\n type: 'success',\n duration: 5000\n });\n this.onChangeDocument(DataTableActionTypes.Save);\n }\n document.concurrencyKey = response2.data.concurrencyKey;\n document.id = response2.data.id;\n }\n else{\n this.$notify({\n group: this.modalMode? 'modalGrowlNotification':'growlNotification',\n title: response2.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n })\n }\n\n loadDocumentsList(isEmitEnabled:boolean=false)\n {\n if(this.relatedID <= 0)\n {\n this.documentList = this.$store.getters.getDocumentsByIndex(this.index);\n this.UpdateDocumentListInStore();\n return;\n }\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {clientFinanceApplicationId:this.relatedID, clientFinanceApplicationState:this.relatedStep};\n apiService.sendGetRequest('Utility','ClientApplicationDocuments',params).then( response=> {\n this.documentList = response.data;\n\n if(isEmitEnabled){\n this.onChangeDocument(DataTableActionTypes.Delete)\n }\n this.onLoadDocumentList(response.data);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n isValidDocuments():boolean{\n this.isValidDocumentList = true;\n if(this.documentList && this.documentList.length > 0)\n {\n this.documentList.forEach(document =>{\n if(document.fileType == 0){\n this.isValidDocumentList = false;\n }\n });\n }\n else if(this.documentList.length == 0){\n this.isValidDocumentList = false;\n }\n\n return this.isValidDocumentList;\n }\n\n isValidDocumentsList():boolean{\n this.isValidDocumentList = true;\n if(this.documentList && this.documentList.length > 0)\n {\n this.documentList.forEach(document =>{\n if(document.fileType == 0){\n this.isValidDocumentList = false;\n }\n });\n }\n return this.isValidDocumentList;\n }\n\n @Emit('OnDocumentsAdded') onDocumentsAdded(docs:any){}\n\n @Emit('documentChangedEvent') onChangeDocument(type:DataTableActionTypes){ }\n\n @Emit('onLoadDocumentList') onLoadDocumentList(data:any){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDropControlApplication.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DragAndDropControlApplication.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DragAndDropControlApplication.vue?vue&type=template&id=34cf9964&scoped=true\"\nimport script from \"./DragAndDropControlApplication.vue?vue&type=script&lang=ts\"\nexport * from \"./DragAndDropControlApplication.vue?vue&type=script&lang=ts\"\nimport style0 from \"./DragAndDropControlApplication.vue?vue&type=style&index=0&id=34cf9964&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"34cf9964\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport { validationMixin } from \"vuelidate\";\r\nimport DragAndDropControlApplication from \"@/shared/components/dragAndDropControl/DragAndDropControlApplication.vue\";\r\nimport { RelatedTables } from \"@/shared/enums/relatedTables.enum\";\r\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\r\n\r\n@Component({\r\n components: {\r\n DragAndDropControlApplication,\r\n DataTable,\r\n },\r\n mixins: [validationMixin],\r\n validations: {},\r\n})\r\nexport default class DocumentRepository extends Vue {\r\n @Prop() docRepositoryUploaderEnabled: boolean;\r\n\r\n clientFinanceApplication: RelatedTables = RelatedTables.ClientFinanceApplication;\r\n applicationId: number = 0;\r\n\r\n created() {\r\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\r\n }\r\n}\r\n","export enum ClientApplicationFileTypes\r\n{\r\n DriversLicenseOrPassport = 1,\r\n MedicareCard = 2,\r\n HomePropertyLoan = 6,\r\n InvestmentPropertyLoan = 7,\r\n MarginLoan = 8,\r\n LoanForInvestment = 9,\r\n MotorVehicleLoan = 10,\r\n RecreationalAssetLoan = 11,\r\n PlantAndEquipmentLoan = 12,\r\n CreditCard = 13,\r\n Overdraft = 14,\r\n DebtAgreement = 15,\r\n TaxDebt = 16,\r\n RentOrBoard = 17,\r\n MotorVehicleRunningCosts = 18,\r\n GeneralLivingExpenses = 19,\r\n PrivateEducation = 20,\r\n Childcare = 21,\r\n Other = 22,\r\n TaxInvoice = 23,\r\n Payslip = 24,\r\n HomeProperty = 25,\r\n InvestmentProperty = 26,\r\n RecreationalAsset = 27,\r\n PlantAndEquipment = 28,\r\n MotorVehicle = 29,\r\n SharesTrustAndManagedFunds = 30,\r\n CashInBank = 31,\r\n Superannuation = 32,\r\n HomeContents = 33,\r\n OtherIncome = 34,\r\n BankStatement = 35,\r\n SpouceRecentPaySlip = 36,\r\n}\r\n","export enum AustralianStates {\r\n ACT = 1,\r\n NSW = 2,\r\n NT = 3,\r\n QLD = 4,\r\n SA = 5,\r\n TAS = 6,\r\n VIC = 7,\r\n WA = 8,\r\n Other = 9\r\n}","export enum AustralianResidencyStatus {\r\n Citizen = 1,\r\n PermanentResident = 2,\r\n Visa = 3\r\n}","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentRepository.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentRepository.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./DocumentRepository.vue?vue&type=template&id=2f2f455a&scoped=true\"\nimport script from \"./DocumentRepository.vue?vue&type=script&lang=ts\"\nexport * from \"./DocumentRepository.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2f2f455a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ml-2 mt-4\"},[_c('CFAAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"stepName\":'Personal Details'}}),_c('b-form',[_c('b-row',[_c('b-col',{attrs:{\"xl\":\"3\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"emailFormGroup\",class:{ 'form-group--error': _vm.$v.personalDetails.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"normalEmail\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (!_vm.personalDetails.email || _vm.personalDetails.email == '') },attrs:{\"id\":\"normalEmail\",\"type\":\"email\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Email Address\"},on:{\"input\":function($event){return _vm.$v.personalDetails.email.$touch()}},model:{value:(_vm.personalDetails.email),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"personalDetails.email\"}}),(_vm.$v.personalDetails.email.$dirty && !_vm.$v.personalDetails.email.email )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid email address.\\n \")]):_vm._e(),(_vm.validateRequiredField && !_vm.$v.personalDetails.email.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email address is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"homePhoneFormGroup\",class:{ 'form-group--error': _vm.$v.personalDetails.homePhone.$error },attrs:{\"label\":\"Home Phone\",\"label-for\":\"homePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"homePhone\",\"type\":\"text\",\"placeholder\":\"Enter Home Phone\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.personalDetails.homePhone.$touch()}},model:{value:(_vm.personalDetails.homePhone),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"homePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"personalDetails.homePhone\"}}),(_vm.$v.personalDetails.homePhone.$dirty && !_vm.$v.personalDetails.homePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"mobilePhoneFormGroup\",class:{ 'form-group--error': _vm.$v.personalDetails.mobilePhone.$error },attrs:{\"label\":\"Mobile Phone\",\"label-for\":\"mobilePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (!_vm.personalDetails.mobilePhone || _vm.personalDetails.mobilePhone.length == 0 ) },attrs:{\"id\":\"mobilePhone\",\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Mobile Phone\"},on:{\"input\":function($event){return _vm.$v.personalDetails.mobilePhone.$touch()}},model:{value:(_vm.personalDetails.mobilePhone),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"mobilePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"personalDetails.mobilePhone\"}}),(_vm.$v.personalDetails.mobilePhone.$dirty && !_vm.$v.personalDetails.mobilePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid phone number.\\n \")]):_vm._e(),((_vm.validateRequiredField && (!_vm.$v.personalDetails.mobilePhone.required)))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Mobile phone number required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"workPhoneFormGroup\",class:{ 'form-group--error': _vm.$v.personalDetails.workPhone.$error },attrs:{\"label\":\"Work Phone\",\"label-for\":\"workPhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"workPhone\",\"type\":\"text\",\"placeholder\":\"Enter Work Phone\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.personalDetails.workPhone.$touch()}},model:{value:(_vm.personalDetails.workPhone),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"workPhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"personalDetails.workPhone\"}}),(_vm.$v.personalDetails.workPhone.$dirty && !_vm.$v.personalDetails.workPhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid phone number.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"xl\":\"3\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Marital Status\",\"label-for\":\"maritalStatus\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': _vm.personalDetails.maritalStatus == 0 },attrs:{\"id\":\"maritalStatusSelect\",\"plain\":true,\"disabled\":_vm.isReadOnly,\"options\":_vm.maritalStatuses},model:{value:(_vm.personalDetails.maritalStatus),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"maritalStatus\", $$v)},expression:\"personalDetails.maritalStatus\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])])],2),(_vm.validateRequiredField && !_vm.$v.personalDetails.maritalStatus.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Marital Status is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',[_c('label',{attrs:{\"label-for\":\"dependantAges\"}},[_vm._v(\"\\n Age of Dependants you care for \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Specify comma separated Numerical age of the each Dependant\"}})])]),_c('br'),_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"dependantAges\",\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter comma separated age's of dependants\"},on:{\"input\":function($event){return _vm.$v.personalDetails.dependantsAge.$touch()}},model:{value:(_vm.personalDetails.dependantsAge),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"dependantsAge\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"personalDetails.dependantsAge\"}})],1),(_vm.$v.personalDetails.dependantsAge.$dirty && !_vm.$v.personalDetails.dependantsAge.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Depandant Age format\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"licenseNumberFormGroup\",class:{ 'form-group--error': _vm.$v.personalDetails.driversLicenseNumber.$error },attrs:{\"label\":\"Driver’s License Number\",\"label-for\":\"licenseNumber\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (!_vm.personalDetails.driversLicenseNumber || _vm.personalDetails.driversLicenseNumber.length == 0 ) },attrs:{\"id\":\"licenseNumber\",\"type\":\"text\",\"placeholder\":\"Enter Driver’s License Number\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.personalDetails.driversLicenseNumber.$touch()}},model:{value:(_vm.personalDetails.driversLicenseNumber),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"driversLicenseNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"personalDetails.driversLicenseNumber\"}}),(_vm.$v.personalDetails.driversLicenseNumber.$dirty && !_vm.$v.personalDetails.driversLicenseNumber.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid number.\\n \")]):_vm._e(),((_vm.validateRequiredField && (!_vm.$v.personalDetails.driversLicenseNumber.required)))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Driver’s license number required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"License Issuing State\",\"label-for\":\"licenseIssuingState\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': _vm.personalDetails.licenseIssuingState == 0 },attrs:{\"id\":\"licenseIssuingStatesSelect\",\"plain\":true,\"disabled\":_vm.isReadOnly,\"options\":_vm.licenseStates},on:{\"change\":_vm.onIssuingStateChange},model:{value:(_vm.personalDetails.licenseIssuingState),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"licenseIssuingState\", $$v)},expression:\"personalDetails.licenseIssuingState\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])])],2),(_vm.validateRequiredField && !_vm.$v.personalDetails.licenseIssuingState.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n License Issuing State is required.\\n \")]):_vm._e()],1)],1)],1),(_vm.personalDetails.licenseIssuingState == _vm.LicenceIssuingStateOther)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"License Issuing Details\",\"label-for\":\"licenseIssuingDetails\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.personalDetails.licenseIssuingDetails == null || _vm.personalDetails.licenseIssuingDetails.length == 0) },attrs:{\"disabled\":_vm.isReadOnly,\"id\":\"licenseIssuingStatesText\",\"type\":\"text\",\"placeholder\":\"Enter Issuing Country\"},on:{\"input\":function($event){return _vm.$v.personalDetails.licenseIssuingDetails.$touch()}},model:{value:(_vm.personalDetails.licenseIssuingDetails),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"licenseIssuingDetails\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"personalDetails.licenseIssuingDetails\"}}),((_vm.validateRequiredField || _vm.$v.personalDetails.licenseIssuingDetails.$dirty) && !_vm.$v.personalDetails.licenseIssuingDetails.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Issuing country is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Driver’s Licence Type\",\"label-for\":\"licenseType\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': _vm.personalDetails.driversLicenseType == 0 },attrs:{\"id\":\"licenseType\",\"plain\":true,\"options\":_vm.driverLicenseTypes,\"disabled\":_vm.isReadOnly},model:{value:(_vm.personalDetails.driversLicenseType),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"driversLicenseType\", $$v)},expression:\"personalDetails.driversLicenseType\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])])],2),(_vm.validateRequiredField && !_vm.$v.personalDetails.driversLicenseType.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Driver’s Licence Type is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Australian Residency Status\",\"label-for\":\"residencyStatus\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': _vm.personalDetails.residencyStatus == 0 },attrs:{\"id\":\"maritalStatusSelect\",\"plain\":true,\"options\":_vm.australianResidencyStatuses,\"disabled\":_vm.isReadOnly},on:{\"change\":_vm.onResidencyStateChange},model:{value:(_vm.personalDetails.residencyStatus),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"residencyStatus\", $$v)},expression:\"personalDetails.residencyStatus\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])])],2),(_vm.validateRequiredField && !_vm.$v.personalDetails.residencyStatus.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Australian residency status is required.\\n \")]):_vm._e()],1)],1)],1),(_vm.personalDetails.residencyStatus == _vm.ResidencyStatus)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Residency Status Details\",\"label-for\":\"residencyStatusDetails\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.personalDetails.residencyStatusDetails == null || _vm.personalDetails.residencyStatusDetails.length == 0) },attrs:{\"id\":\"residencyStatusDetails\",\"type\":\"text\",\"placeholder\":\"Enter Residency Status Details\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.personalDetails.residencyStatusDetails.$touch()}},model:{value:(_vm.personalDetails.residencyStatusDetails),callback:function ($$v) {_vm.$set(_vm.personalDetails, \"residencyStatusDetails\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"personalDetails.residencyStatusDetails\"}}),((_vm.validateRequiredField || _vm.$v.personalDetails.residencyStatusDetails.$dirty) && !_vm.$v.personalDetails.residencyStatusDetails.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Residency status details are required.\\n \")]):_vm._e()],1)],1)],1):_vm._e()],1),_c('b-col',{attrs:{\"xl\":\"6\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"inner-card\"},[_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please ensure to upload the following supporting documents: \")]),_c('ul',[_c('li',[_vm._v(\" Driver’s license / Passport \")]),_c('li',[_vm._v(\" Medicare card \")])]),(_vm.docRequiredText && _vm.validateRequiredField)?_c('p',{staticStyle:{\"color\":\"red\"}},[_vm._v(_vm._s(_vm.docRequiredText)+\" \")]):_vm._e(),_c('DragAndDropControlApplication',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.clientFinanceApplication,\"relatedID\":_vm.applicationId,\"isAcknowledgeEnabled\":false,\"relatedStep\":_vm.stepNo,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":!_vm.isReadOnly,\"index\":1,\"modalMode\":false},on:{\"documentChangedEvent\":_vm.onCustomDocumentEvent,\"onLoadDocumentList\":_vm.validatePersonalDetailsStep}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',[_c('b-col',{staticClass:\"mb-3\"},[_c('h4',[_vm._v(_vm._s(_vm.stepName != null ? _vm.stepName : '')+\" \\n \"),(this.$store.getters.getClientFinanceApplicationId > 0 && _vm.isAdmin)?_c('AuditHistoryLogs',{attrs:{\"relatedId\":this.$store.getters.getClientFinanceApplicationId,\"relatedTable\":_vm.relatedTable,\"relatedStatus\":_vm.stepNo,\"auditHistoryIdentifier\":_vm.auditHistoryIdentifier}}):_vm._e()],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-inline\"},[(_vm.relatedId > 0 && _vm.isAuditHistoryAvailable)?_c('span',{staticClass:\"edit-button\",attrs:{\"title\":\"View Audit Log History\"},on:{\"click\":function($event){return _vm.openHistoryLogsPopup()}}},[_c('i',{staticClass:\"fas fa-history fa-sm\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.showAuditLogHistoryPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"73%\",\"id\":\"showAuditLogHistory\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Audit Log History \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',{staticClass:\"modal-body-text\"},[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('b-table-simple',{attrs:{\"id\":\"auditLogHistoryTable\",\"hover\":\"\",\"small\":\"\",\"caption-top\":\"\",\"responsive\":\"\"}},[_c('b-thead',[_c('b-tr',_vm._l((_vm.auditLogHistoryFields),function(field,index){return _c('b-th',{key:field.key + index,class:field.class},[_c('div',[_vm._v(\"\\n \"+_vm._s(field.label)+\"\\n \")])])}),1)],1),_c('b-tbody',_vm._l((_vm.auditLogHistoryItems),function(item,index){return _c('b-tr',{key:'data_' + index},_vm._l((_vm.auditLogHistoryFields),function(field){return _c('b-td',{key:field.key,class:field.class + ' align-middle'},[(field.key == 'view')?_c('div',[_c('span',{staticClass:\"edit-link\",attrs:{\"id\":'selectLink_' + item.auditDateTime},on:{\"click\":function($event){return _vm.viewAuditHistory(item, index)}}},[_vm._v(\"View\")])]):(field.formatter)?_c('label',[_vm._v(\"\\n \"+_vm._s(field.formatter(item[field.key], field.key, item))+\"\\n \")]):_c('label',[_vm._v(\"\\n \"+_vm._s(item[field.key])+\"\\n \")])])}),1)}),1)],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showAuditHistory_CloseButton\"},on:{\"click\":_vm.closeAuditHistoryPopup}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showAuditLogDetailsPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"63%\",\"id\":\"showAuditLogDetails\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Audit Log History Details \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',{staticClass:\"modal-body-text\"},[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('b-table-simple',{attrs:{\"id\":\"auditLogDetailsTable\",\"hover\":\"\",\"small\":\"\",\"caption-top\":\"\",\"responsive\":\"\"}},[_c('b-thead',[_c('b-tr',_vm._l((_vm.auditLogDetailsFields),function(field,index){return _c('b-th',{key:field.key + index,class:field.class},[_c('div',[_vm._v(\"\\n \"+_vm._s(field.label)+\"\\n \")])])}),1)],1),_c('b-tbody',_vm._l((_vm.auditLogDetailsItems),function(item,index){return _c('b-tr',{key:'data_' + index},_vm._l((_vm.auditLogDetailsFields),function(field,fieldIndex){return _c('b-td',{key:field.key,class:field.class + ' align-middle ' + _vm.getChangedCellClass(fieldIndex, item)},[(field.formatter)?_c('label',[_vm._v(\"\\n \"+_vm._s(field.formatter(item[field.key], field.key, item))+\"\\n \")]):_c('label',[_vm._v(\"\\n \"+_vm._s(item[field.key])+\"\\n \")])])}),1)}),1)],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showAuditLogDetails_CloseButton\"},on:{\"click\":_vm.closeAuditLogDetailsPopup}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport apiService from '@/shared/services/apiService';\nimport moment from 'moment';\nimport fieldValidations from '@/shared/services/fieldValidationService';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class AuditHistoryLogs extends Vue {\n @Prop() relatedTable: RelatedTables;\n @Prop() relatedId: number;\n @Prop() relatedStatus: number;\n @Prop({default:null}) auditHistoryIdentifier: string;\n\n auditLogHistoryItems: any[] = [];\n auditLogHistoryFields: any[] = [{\n key: \"auditedDate\",\n label: 'Date',\n formatter: (value, key, item) => {\n return moment(item.auditedDate).format(\"YYYY MMM DD HH:mm:ss\")\n },\n },\n { key: \"actionType\", label: 'Type' },\n { key: \"updatedByName\", label: 'Updated By' },\n { key: \"view\" },\n ];\n\n auditLogDetailsFields: any[] = [\n { key: \"propertyName\", label: 'Field Name' },\n { key: \"oldValue\", label: 'Previous Value',\n formatter: (value, key, item) => {\n return this.setCustomDataFormats(value);\n },\n },\n { key: \"newValue\", label: 'New Value',\n formatter: (value, key, item) => {\n return this.setCustomDataFormats(value);\n },\n },\n ];\n auditLogDetailsItems: any[] = [];\n entityFields: any[] = [];\n showAuditLogHistoryPopup: boolean = false;\n showAuditLogDetailsPopup: boolean = false;\n isAuditHistoryAvailable: boolean = false;\n\n created(){\n this.loadHistoryLogs();\n }\n\n openHistoryLogsPopup() {\n this.showAuditLogHistoryPopup = true;\n }\n\n loadHistoryLogs() {\n this.$store.dispatch('storeIsBusyValue', true);\n var params = {\n relatedTable: this.relatedTable,\n relatedId: this.relatedId,\n relatedStatus: this.relatedStatus,\n auditHistoryIdentifier: this.auditHistoryIdentifier\n };\n\n apiService.sendGetRequest(\"AuditLog\", \"AuditLogs\", params).then(response => {\n if (response.data != null && response.data.length > 0){\n this.auditLogHistoryItems = response.data;\n this.isAuditHistoryAvailable = true;\n }else{\n this.isAuditHistoryAvailable = false;\n }\n this.$store.dispatch('storeIsBusyValue', false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue', false);\n })\n }\n\n getChangedCellClass(index, item) {\n if (index == 2 && item.oldValue != item.newValue)\n return 'changed-cell';\n else\n return '';\n }\n\n closeAuditHistoryPopup() {\n this.showAuditLogHistoryPopup = false;\n }\n\n viewAuditHistory(item:any, index:any){\n this.auditLogDetailsItems = item.auditLogs;\n this.showAuditLogDetailsPopup = true;\n }\n\n closeAuditLogDetailsPopup() {\n this.showAuditLogDetailsPopup = false;\n } \n\n setCustomDataFormats(value: any){\n if(fieldValidations.isValidDateFormat(value)){\n return moment(value).format(\"YYYY MMM DD HH:mm:ss\")\n }else if(fieldValidations.isValidDateFormatWithGMTTime(value)){\n return moment(value).format(\"YYYY MMM DD\")\n }\n else if (fieldValidations.isValidDecimal(value)){\n return Number(value).toFixed(2).replace(/[.,]00$/, \"\");\n }\n return value;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuditHistoryLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AuditHistoryLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AuditHistoryLogs.vue?vue&type=template&id=50817c92&scoped=true\"\nimport script from \"./AuditHistoryLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./AuditHistoryLogs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AuditHistoryLogs.vue?vue&type=style&index=0&id=50817c92&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"50817c92\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop} from 'vue-property-decorator';\nimport AuditHistoryLogs from '@/shared/components/auditHistory/AuditHistoryLogs.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\n\n@Component({\n components:{\n AuditHistoryLogs\n },\n})\nexport default class CFAAuditHistory extends Vue{\n @Prop() stepNo:number;\n @Prop({default:null}) auditHistoryIdentifier:string; \n @Prop({default:null}) stepName:string; \n isAdmin:boolean = false; \n relatedTable:RelatedTables = RelatedTables.ClientFinanceApplication; \n \n created(){\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CFAAuditHistory.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CFAAuditHistory.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CFAAuditHistory.vue?vue&type=template&id=10b29464&scoped=true\"\nimport script from \"./CFAAuditHistory.vue?vue&type=script&lang=ts\"\nexport * from \"./CFAAuditHistory.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b29464\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop, Watch } from 'vue-property-decorator';\nimport {PersonalDetailsModel } from '@/models/clientFinanceApplication.model';\nimport { validationMixin } from 'vuelidate';\nimport { required, minValue, email, numeric} from 'vuelidate/lib/validators';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { ClientApplicationFileTypes } from '@/shared/enums/clientApplicationFileTypes.enum';\nimport fieldValidationService from '@/shared/services/fieldValidationService';\nimport lookupService from '@/shared/services/lookupService';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\nimport { AustralianStates } from '@/shared/enums/australianStates.enum';\nimport { AustralianResidencyStatus } from '@/shared/enums/australianResidencyStatus.enum';\nimport apiService from '@/shared/services/apiService';\nimport DragAndDropControlApplication from '@/shared/components/dragAndDropControl/DragAndDropControlApplication.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport CFAAuditHistory from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFAAuditHistory.vue';\n\n@Component({\n components:{\n Modal,\n DragAndDropControlApplication,\n CFAAuditHistory\n },\n mixins:[validationMixin],\n validations:\n {\n personalDetails:\n {\n email:{\n email,\n required\n },\n homePhone:{\n numeric\n },\n mobilePhone:{\n numeric,\n required\n },\n workPhone:{\n numeric\n },\n dependantsAge:{\n isValid : value =>{\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^(\\s{0}((?=[1-9])\\d{1,2}))(,\\s{0,1}(?=[1-9])\\d{1,2})*$/.test(value)\n }\n },\n driversLicenseNumber:{\n required,\n minValue:minValue(1),\n numeric\n },\n maritalStatus : {\n minValue:minValue(1),\n required\n },\n licenseIssuingState: {\n minValue:minValue(1),\n required\n },\n driversLicenseType: {\n minValue:minValue(1),\n required\n },\n residencyStatus: {\n minValue:minValue(1),\n required\n },\n residencyStatusDetails: {\n isRequired:(value, vm) => {\n if(vm.residencyStatus != AustralianResidencyStatus.Visa ) {\n return true;\n } \n else {\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n } \n },\n licenseIssuingDetails:{\n isRequired:(value, vm) => {\n if(vm.licenseIssuingState != AustralianStates.Other ) {\n return true;\n } \n else {\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n }\n }\n }\n }\n})\nexport default class PersonalDetails extends Vue{\n @Prop() isClient:boolean;\n @Prop() routeNames:string[];\n\n personalDetails:PersonalDetailsModel = {\n email:\"\",\n homePhone:\"\",\n mobilePhone:\"\",\n workPhone:\"\",\n maritalStatus:0,\n dependantsAge:\"\",\n driversLicenseNumber:undefined,\n residencyStatusDetails:\"\",\n licenseIssuingDetails:\"\",\n licenseIssuingState:0,\n driversLicenseType:0,\n residencyStatus:0,\n documentList:[],\n };\n\n LicenceIssuingStateOther:AustralianStates = AustralianStates.Other;\n ResidencyStatus:AustralianResidencyStatus = AustralianResidencyStatus.Visa\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n maritalStatuses:any = [];\n driverLicenseTypes:any = [];\n australianResidencyStatuses: any = [];\n licenseStates:any = [];\n assigneeList:any = [];\n financierList:any = [];\n allVehicleModels:any = [];\n allVehicleMakes:any = [];\n allVehicleMakesAndModels:any = [];\n stepNo:number = ClientFinanceApplicationStates.PersonalDetails;\n dirtyValidatorRefNo:number = 0;\n applicationInfoDirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n applicationId:number = 0;\n showConfirmationOnRejected:boolean = false;\n openDate:Date = new Date();\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n\n driversLicenseFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.DriversLicenseOrPassport;\n medicareCardFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.MedicareCard;\n docRequiredText:string = '';\n currentIndex:number = 0;\n validateRequiredField:boolean = false;\n routerName:string = \"\";\n dependantlimit:number=15;\n isReadOnly:boolean = false;\n isAdmin:boolean = false;\n \n created(){\n this.personalDetails = Object.assign({},this.$store.getters.getClientFinanceApplicationPersonalDetails);\n this.isReadOnly = this.$store.getters.getIsReadOnly;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.personalDetails);\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.routerName = this.$route.params.routerDisplayName;\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n this.loadAustralianResidencyStatuses();\n this.loadLicenseStates();\n this.loadMaritalStatuses();\n this.loadDriverLicenceTypesStatuses();\n if(this.applicationId == 0){\n this.onLoadPersonalDetails();\n }\n }\n\n mounted(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.PersonalDetails)){\n this.validateRequiredField = true;\n this.onValidateDocumentList(false);\n }\n }\n\n onLoadPersonalDetails(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {clientId:this.clientId, clientFinanceApplicationStep:this.$store.getters.getClientFinanceApplicationStatus}\n apiService.sendGetRequest('ClientFinanceApplication','ClientDetailsForClientApplication',params).then(response=>{\n if(response.data){\n var clientData = response.data.personalDetails;\n this.personalDetails.email = clientData.email;\n this.personalDetails.mobilePhone = clientData.mobilePhone;\n this.personalDetails.homePhone = clientData.homePhone;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number):boolean{\n if(this.isClient){\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected){\n this.$store.dispatch('updateClientFinanceApplicationPersonalDetails',this.personalDetails);\n return true;\n }\n if(this.validateOnSave()){\n this.validateStep();\n this.onValidateDocumentList();\n if(this.stepNo+1>this.$store.getters.getClientFinanceApplicationStatus){\n this.$store.dispatch('updateClientFinanceApplicationStatus',nextStep+1);\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n if(this.applicationId > 0){\n this.$store.dispatch('updateClientFinanceApplicationPersonalDetails',this.personalDetails);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.onNavigate(nextStep, this.applicationId);\n return true;\n });\n } else {\n this.onSaveClientFinanceApplication(false, nextStep);\n return true;\n }\n } else {\n this.$store.dispatch('updateClientFinanceApplicationPersonalDetails',this.personalDetails);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.onNavigate(nextStep, this.applicationId);\n return true;\n });\n return true;\n }\n return false;\n }\n }else{\n this.onNavigate(nextStep, this.applicationId);\n return true; \n }\n }\n\n validateStep():boolean{\n this.validateRequiredField = true;\n return !this.$v.personalDetails.$invalid;\n }\n\n validateOnSave(){\n var isValid = true;\n if(!fieldValidationService.isValidEmail(this.personalDetails.email)){\n isValid = false; \n }\n if(!fieldValidations.isValidOrNullNumber(this.personalDetails.homePhone)){\n isValid = false;\n }\n if(!fieldValidations.isValidOrNullNumber(this.personalDetails.mobilePhone)){\n isValid = false;\n }\n if(!fieldValidations.isValidOrNullNumber(this.personalDetails.workPhone)){\n isValid = false;\n }\n if(!fieldValidations.isValidOrNullNumber(this.personalDetails.driversLicenseNumber)){\n isValid = false;\n }\n if(!fieldValidations.isValidCommaSeparatedList(this.personalDetails.dependantsAge)){\n isValid = false;\n }\n \n return isValid;\n }\n\n onNavigate(step: number, applicationId:number){\n var requestedRouterName = this.routeNames[step];\n if(requestedRouterName != this.routerName){\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:applicationId.toString(), routerDisplayName:requestedRouterName}}); \n }\n }\n \n updateModelOnSave(){\n if(this.validateOnSave()) {\n if(this.applicationId > 0){\n this.$store.dispatch('updateClientFinanceApplicationPersonalDetails',this.personalDetails);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(res => {\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var personalDetailsDocuments = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.PersonalDetails);\n this.onValidateStep(ClientFinanceApplicationStates.PersonalDetails, personalDetailsDocuments); \n });\n } else {\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.onSaveClientFinanceApplication(true, 0);\n }\n \n }\n }\n\n validatePersonalDetailsStep(){\n return !this.$v.personalDetails.$invalid && this.onValidateDocumentList();\n }\n\n onSaveClientFinanceApplication(saveMode:boolean, stepIndexToNavigate:number){\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var personalDetailsDocuments = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.PersonalDetails);\n this.personalDetails.documentList = personalDetailsDocuments;\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.PersonalDetails)){\n editedSteps.push(ClientFinanceApplicationStates.PersonalDetails);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.$store.dispatch('storeIsBusyValue',true);\n this.$store.dispatch('updateClientFinanceApplicationPersonalDetails',this.personalDetails);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:saveMode})\n .then(response => {\n if(response.applicationId > 0){\n this.$store.dispatch('uploadDocumentsForClientFinanceApplication', {relatedTable:RelatedTables.ClientFinanceApplication, documentList:personalDetailsDocuments, relatedId:response.applicationId})\n .then(res => {\n this.$store.dispatch('storeIsBusyValue',false);\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:response.applicationId.toString(), routerDisplayName: saveMode ? \"personalDetails\" : this.routeNames[stepIndexToNavigate]}}); \n })\n }\n });\n }\n\n onResidencyStateChange(){\n this.personalDetails.residencyStatusDetails = \"\"; \n }\n\n onIssuingStateChange(){\n this.personalDetails.licenseIssuingDetails = \"\";\n }\n\n loadMaritalStatuses(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetMaritalStatuses().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.maritalStatuses = data;\n }); \n }\n\n loadDriverLicenceTypesStatuses(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetDriverLicenseTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.driverLicenseTypes = data;\n }); \n }\n\n loadAustralianResidencyStatuses(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetAustralianResidencyStatuses().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.australianResidencyStatuses = data;\n }); \n }\n\n loadLicenseStates(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetAddressStatesWithOtherType().then( data=>\n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.licenseStates = data;\n })\n }\n\n onCustomDocumentEvent(){\n this.onValidateDocumentList();\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var personalDetailsDocs = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.PersonalDetails);\n this.onValidateStep(ClientFinanceApplicationStates.PersonalDetails, personalDetailsDocs);\n }\n\n onValidateDocumentList(validateFromStore:boolean = true){\n var documentValidationDictionary = {\n driversLicenseOrPassportFileType : 0,\n medicareCardFileType : 0,\n }\n var validationTextArray = [];\n var documentList = [];\n if(validateFromStore) {\n var docs = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n documentList = docs.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.PersonalDetails);\n }\n else {\n documentList = this.$store.getters.getClientFinanceApplicationPersonalDetails.documentList;\n }\n documentList.forEach(element => {\n if(element.fileType == ClientApplicationFileTypes.DriversLicenseOrPassport){\n documentValidationDictionary.driversLicenseOrPassportFileType = 1;\n } else if (element.fileType == ClientApplicationFileTypes.MedicareCard){\n documentValidationDictionary.medicareCardFileType = 1;\n }\n });\n \n if(documentValidationDictionary.driversLicenseOrPassportFileType == 0){\n validationTextArray.push('Driver\\'s Licence / Passport')\n }\n \n if(documentValidationDictionary.medicareCardFileType == 0){\n validationTextArray.push('Medicare Card')\n }\n \n var distinctValidations = [ ...new Set(validationTextArray)];\n var validationText = [ ...new Set(validationTextArray)].join(\", \");\n this.docRequiredText = validationText + (distinctValidations.length > 1 ? ' are required.' : distinctValidations.length > 0 ? ' is required.' : '');\n return validationText == \"\" ;\n }\n\n @Emit('onValidateStep') onValidateStep(applicationStep:ClientFinanceApplicationStates, documentList:any[]) {\n\n }\n\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonalDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonalDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PersonalDetails.vue?vue&type=template&id=03dd99a3&scoped=true\"\nimport script from \"./PersonalDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./PersonalDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PersonalDetails.vue?vue&type=style&index=0&id=03dd99a3&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"03dd99a3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ml-2\"},[(_vm.isAddressesLoaded)?_c('b-row',[_c('b-col',{attrs:{\"lg\":\"4\"}},[_c('ApplicationAddress',{ref:\"currentAddress\",attrs:{\"initialAddress\":_vm.currentAddress,\"selectedRow\":_vm.selectedRowData,\"editMode\":_vm.editMode,\"isReadOnly\":_vm.isReadOnly,\"checkValidationMessages\":_vm.checkValidationMessages,\"showAddEditAddressButton\":_vm.isShowAddEditAddressButton,\"stepNo\":_vm.stepNo},on:{\"applicationAddressLinesChanged\":_vm.applicationAddressLinesChanged,\"onCancelAddressTableRowSelected\":_vm.onCancelAddressTableRowSelected}})],1),(_vm.items.length > 0)?_c('b-col',[_c('DataTable',{ref:\"addressLineRecords\",staticClass:\"addressLine-datatable\",attrs:{\"items\":_vm.items,\"fields\":_vm.addressLinesFields,\"customTemplates\":_vm.customTemplateList,\"selectable\":true,\"select-mode\":_vm.selectMode,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No Addresses to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { AddressTypes } from '@/shared/enums/addressTypes.enum';\r\n\r\nexport class AddressModel{\r\n id:number;\r\n relatedTable:number;\r\n relatedID:number;\r\n addressLine1:string;\r\n addressLine2:string;\r\n suburb:string;\r\n stateId:number;\r\n postcode:any;\r\n country:string;\r\n latitude:any;\r\n longitude:any;\r\n concurrencyKey:any;\r\n addressType:AddressTypes;\r\n addressTypeText:string;\r\n createdBy:string;\r\n createdDate:any;\r\n updatedBy:string;\r\n updatedDate:any;\r\n}","import { ApplicationAddressModel } from '@/models/applicationAddress.model';\r\nimport { AddressModel as AddressDetailsModel } from '@/models/address.model';\r\nimport { Vehicle } from '@/models/vehicle.model'\r\nimport { ApplicationAddressLineModel } from './applicationAddressLine.model';\r\n\r\nexport class ClientFinanceApplication{\r\n id:number;\r\n arn:string;\r\n clientId:number;\r\n status:number;\r\n concurrencyKey:any;\r\n createdByName:string;\r\n lastUpdateByName:string;\r\n createdDate:any;\r\n creditGuideDownloadedDate:any;\r\n lastUpdatedDate:any;\r\n isSubmit:boolean;\r\n isReadOnly:boolean;\r\n editedSteps:number[];\r\n personalDetails:PersonalDetailsModel;\r\n addressDetails:AddressModel;\r\n employment:EmploymentDetailsModel;\r\n assets:AssetsModel;\r\n income:IncomeModel;\r\n liabilities:LiabilitiesModel;\r\n motorVehicleDetailsAndFinancedAmount:MotorVehicleDetailsAndFinancedAmountModel;\r\n changeInCircumstances: ChangeInCircumstancesModel;\r\n dirtyValidationRefNos:number[];\r\n isActive:boolean;\r\n}\r\n\r\n\r\nexport class PersonalDetailsModel {\r\n email:string;\r\n homePhone:string;\r\n mobilePhone:string;\r\n workPhone:string;\r\n maritalStatus:number;\r\n dependantsAge:string;\r\n driversLicenseNumber:string;\r\n licenseIssuingState:any;\r\n licenseIssuingDetails:\"\";\r\n driversLicenseType:any;\r\n residencyStatus:any;\r\n residencyStatusDetails:string;\r\n documentList:any[];\r\n}\r\n\r\nexport class AddressModel{\r\n addressLines:ApplicationAddressLineModel[];\r\n}\r\n\r\nexport class AssetsModel {\r\n maxRowNumber:number;\r\n assetItems:AssetItem[];\r\n documentList:any[];\r\n}\r\n\r\n// TODO: Consider making these number instead of any\r\nexport class IncomeModel{\r\n grossAnnualIncome:any;\r\n monthlyNetIncome:any;\r\n spousalGrossAnnualIncome:any;\r\n spousalMonthlyNetIncome:any;\r\n investmentPropertyIncome:any;\r\n superannuationIncome:any;\r\n governmentBenefitIncome:any;\r\n investmentIncome:any;\r\n otherIncome:any;\r\n otherIncomeDetails:string;\r\n documentList:any[];\r\n}\r\n\r\nexport interface LiabilitiesModel {\r\n monthlyRepayments:MonthlyRepaymentItem[];\r\n monthlyExpenses:MonthlyExpenseItem[];\r\n documentList:any[];\r\n maxMonthlyRepaymentsRowNumber:any;\r\n maxMonthlyExpensesRowNumber:any;\r\n}\r\n\r\nexport interface LiabilityDependencyModel {\r\n isRentOrBoard:boolean;\r\n}\r\n\r\nexport class MotorVehicleDetailsAndFinancedAmountModel {\r\n amountSeekingPreApproval:any;\r\n costVehicleIncludingGST:any;\r\n saleType:any;\r\n sellerDetails: SellerDetails;\r\n motorVehicleDetails: MotorVehicleDetails;\r\n documentList:any[];\r\n}\r\n\r\nexport class MonthlyRepaymentItem {\r\n rowNumber: any;\r\n category: any;\r\n balanceAmount: any;\r\n endDate: any;\r\n financierName: string;\r\n limitAmount: any;\r\n monthlyRepaymentAmount: any;\r\n note: string;\r\n payout: any;\r\n}\r\n\r\nexport class MonthlyExpenseItem {\r\n rowNumber: any;\r\n category: any;\r\n currencyAmount: any;\r\n note: string;\r\n isRequired: boolean;\r\n}\r\n\r\nexport class AssetItem {\r\n rowNumber: any;\r\n category: any;\r\n currencyAmount: any;\r\n note: string;\r\n ownedOutright:boolean\r\n}\r\n\r\nexport class SellerDetails extends AddressDetailsModel {\r\n name: any;\r\n contactPerson: any;\r\n contactNumber: string;\r\n email: string;\r\n}\r\n\r\nexport class MotorVehicleDetails extends Vehicle {\r\n termOfLease: any;\r\n replacementOrAdditionalVehicle: any;\r\n}\r\n\r\nexport class EmploymentDetailsModel {\r\n employmentLines: any[];\r\n documentList: any[];\r\n}\r\n\r\nexport class ChangeInCircumstancesModel {\r\n changeInCircumstancesAgreement:any;\r\n creditGuideDownloadAndReadComplete:boolean;\r\n changeInCirumstanceNote:string;\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('CFATableAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"tableName\":'Address'}}),_c('b-row',[(!_vm.isReadOnly)?_c('b-col',{attrs:{\"md\":\"8\"}},[_c('label',[_vm._v(\"Address\")]),_c('AutoCompleteAddressSearch',{on:{\"onSearchAddress\":_vm.onSearchAddress}})],1):_vm._e(),(!_vm.isReadOnly)?_c('b-col',{attrs:{\"md\":\"8\"}},[_c('hr',{staticClass:\"address-search-section ml-0\"})]):_vm._e()],1),_c('b-row',[_c('b-col',{attrs:{\"md\":\"8\",\"lg\":\"8\"}},[_c('b-form',[_c('b-form-group',{attrs:{\"label\":\"Address Line1\",\"label-for\":\"addressLine1\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{'requiredField': (_vm.address.addressLine1 == null || _vm.address.addressLine1.length == 0)},attrs:{\"id\":\"addressLine1\",\"type\":\"text\",\"placeholder\":\"Enter Address Line1\",\"disabled\":_vm.isReadOnly,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.address.addressLine1.$touch()}},model:{value:(_vm.address.addressLine1),callback:function ($$v) {_vm.$set(_vm.address, \"addressLine1\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.addressLine1\"}}),((_vm.checkValidationMessages || _vm.$v.address.addressLine1.$dirty) && (_vm.$v.address.addressLine1.error || !_vm.$v.address.addressLine1.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Address Line1 is required.\\n \")]):_vm._e()],1),_c('b-form-group',{attrs:{\"label\":\"Address Line2\",\"label-for\":\"addressLine2\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",attrs:{\"id\":\"addressLine2\",\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Address Line2\"},model:{value:(_vm.address.addressLine2),callback:function ($$v) {_vm.$set(_vm.address, \"addressLine2\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.addressLine2\"}})],1),_c('b-form-group',{attrs:{\"label\":\"Suburb\",\"label-for\":\"ra_suburb\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{'requiredField': (_vm.address.suburb ==null || _vm.address.suburb.length == 0)},attrs:{\"id\":\"suburb\",\"type\":\"text\",\"placeholder\":\"Enter Suburb\",\"disabled\":_vm.isReadOnly,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.address.suburb.$touch()}},model:{value:(_vm.address.suburb),callback:function ($$v) {_vm.$set(_vm.address, \"suburb\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.suburb\"}}),((_vm.checkValidationMessages || _vm.$v.address.suburb.$dirty) && (_vm.$v.address.suburb.$error || !_vm.$v.address.suburb.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Suburb is required.\\n \")]):_vm._e()],1),_c('b-form-group',{attrs:{\"label\":\"State\",\"label-for\":\"state\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{'requiredField': (_vm.address.stateId == 0)},attrs:{\"id\":\"state\",\"plain\":true,\"options\":_vm.addressStates,\"disabled\":_vm.isReadOnly,\"required\":\"\"},on:{\"change\":function($event){return _vm.$v.address.stateId.$touch()}},model:{value:(_vm.address.stateId),callback:function ($$v) {_vm.$set(_vm.address, \"stateId\", $$v)},expression:\"address.stateId\"}},[(_vm.address.stateId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),((_vm.checkValidationMessages || _vm.$v.address.stateId.$dirty) && (!_vm.$v.address.stateId.minValue || !_vm.$v.address.stateId.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n State is required.\\n \")]):_vm._e()],1),_c('b-form-group',{attrs:{\"label\":\"Postcode\",\"label-for\":\"postcode\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{'requiredField': (_vm.address.postcode == null || _vm.address.postcode.length == 0)},attrs:{\"id\":\"postcode\",\"type\":\"text\",\"maxlength\":'4',\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Post Code\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.address.postcode.$touch()}},model:{value:(_vm.address.postcode),callback:function ($$v) {_vm.$set(_vm.address, \"postcode\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.postcode\"}}),_c('div',[((_vm.checkValidationMessages || _vm.$v.address.postcode.$dirty) && !_vm.$v.address.postcode.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Postcode is required.\\n \")]):_vm._e(),(_vm.$v.address.postcode.$dirty && !_vm.$v.address.postcode.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Postcode should be a number.\\n \")]):_vm._e()])],1),_c('b-form-group',{attrs:{\"label\":\"Country\",\"label-for\":\"country\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",attrs:{\"id\":\"country\",\"type\":\"text\",\"disabled\":\"\",\"placeholder\":\"Enter Country\"},model:{value:(_vm.address.country),callback:function ($$v) {_vm.$set(_vm.address, \"country\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.country\"}})],1),_c('b-form-group',{staticStyle:{\"font-weight\":\"bold\"},attrs:{\"label\":\"Time at Address\",\"label-for\":\"timeAtAddress\"}},[_c('b-row',{staticClass:\"timeAtAddressTextInput\"},[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{staticClass:\"mb-0\",staticStyle:{\"font-weight\":\"normal\"},attrs:{\"label\":\"Years\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'requiredField': (_vm.address.timeAtAddressYears == null || _vm.address.timeAtAddressYears.length == 0) },attrs:{\"id\":\"timeAtAddressYears\",\"type\":\"text\",\"label\":\"Years\",\"placeholder\":\"Enter Years\",\"maxlength\":'3',\"disabled\":_vm.isReadOnly,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.address.timeAtAddressYears.$touch();}},model:{value:(_vm.address.timeAtAddressYears),callback:function ($$v) {_vm.$set(_vm.address, \"timeAtAddressYears\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.timeAtAddressYears\"}}),(_vm.$v.address.timeAtAddressYears.$dirty && !_vm.$v.address.timeAtAddressYears.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid number of years.\\n \")]):_vm._e(),((_vm.checkValidationMessages || _vm.$v.address.timeAtAddressYears.$dirty) && !_vm.$v.address.timeAtAddressYears.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Number of years is required.\\n \")]):_vm._e()],1)],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{staticClass:\"mb-0\",staticStyle:{\"font-weight\":\"normal\"},attrs:{\"label\":\"Months\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.address.timeAtAddressMonths == null || _vm.address.timeAtAddressMonths.length == 0) },attrs:{\"id\":\"timeAtAddressMonths\",\"plain\":true,\"options\":_vm.monthsPerYear,\"disabled\":_vm.isReadOnly},on:{\"change\":function($event){return _vm.$v.address.timeAtAddressMonths.$touch()}},model:{value:(_vm.address.timeAtAddressMonths),callback:function ($$v) {_vm.$set(_vm.address, \"timeAtAddressMonths\", $$v)},expression:\"address.timeAtAddressMonths\"}},[(_vm.address.timeAtAddressMonths == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Select Months --\")])]):_vm._e()],2),((_vm.checkValidationMessages || _vm.$v.address.timeAtAddressMonths.$dirty) && !_vm.$v.address.timeAtAddressMonths.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Number of months is required.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-form-group',{attrs:{\"label\":\"Address Type\",\"label-for\":\"addressType\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{'requiredField': (_vm.address.clientAddressType == 0)},attrs:{\"id\":\"addressType\",\"plain\":true,\"disabled\":_vm.isReadOnly,\"options\":_vm.clientAddressTypes,\"required\":\"\"},on:{\"change\":function($event){return _vm.$v.address.clientAddressType.$touch()}},model:{value:(_vm.address.clientAddressType),callback:function ($$v) {_vm.$set(_vm.address, \"clientAddressType\", $$v)},expression:\"address.clientAddressType\"}},[(_vm.address.clientAddressType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),((_vm.checkValidationMessages || _vm.$v.address.clientAddressType.$dirty) && (!_vm.$v.address.clientAddressType.minValue || !_vm.$v.address.clientAddressType.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Address Type is required.\\n \")]):_vm._e()],1),(_vm.address.clientAddressType == _vm.rentClientAddressType)?_c('div',[_c('label',{attrs:{\"label-for\":\"ifRenting\"}},[_c('b',[_vm._v(\"If renting, please fill below\")])]),_c('b-form-group',{attrs:{\"label\":\"Landlord Name\",\"label-for\":\"landlordName\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'requiredField': (_vm.address.landlordName == null || _vm.address.landlordName.length == 0) },attrs:{\"id\":\"landlordName\",\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Landlord Name\"},on:{\"input\":function($event){return _vm.$v.address.landlordName.$touch()}},model:{value:(_vm.address.landlordName),callback:function ($$v) {_vm.$set(_vm.address, \"landlordName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.landlordName\"}}),((_vm.checkValidationMessages || _vm.$v.address.landlordName.$dirty) && !_vm.$v.address.landlordName.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n LandlordName is required.\\n \")]):_vm._e()],1),_c('b-form-group',{ref:\"landlordContactNumber\",attrs:{\"label\":\"Landlord Contact Number\",\"label-for\":\"landlordContactNumber\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.address.landlordName == null || _vm.address.landlordName.length == 0) },attrs:{\"id\":\"landlordContactNumber\",\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Landlord Contact Number\"},on:{\"input\":function($event){return _vm.$v.address.landlordContactNumber.$touch()}},model:{value:(_vm.address.landlordContactNumber),callback:function ($$v) {_vm.$set(_vm.address, \"landlordContactNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"address.landlordContactNumber\"}}),(_vm.$v.address.landlordContactNumber.$dirty && !_vm.$v.address.landlordContactNumber.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid phone number.\\n \")]):_vm._e(),((_vm.checkValidationMessages || _vm.$v.address.landlordContactNumber.$dirty) && !_vm.$v.address.landlordContactNumber.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Phone number is required.\\n \")]):_vm._e()],1)],1):_vm._e(),_c('b-row',{staticClass:\"mb-3 mt-4\"},[(_vm.showAddEditAddressButton || _vm.editMode)?_c('b-button',{staticClass:\"primary ml-3 mr-3\",attrs:{\"id\":\"addAddressBtn\",\"disabled\":_vm.isModelInvalidForAddAddress() || _vm.isReadOnly,\"title\":\"Add New Address Record\"},on:{\"click\":_vm.addEditAddressLine}},[_c('i',{class:_vm.editMode ? '' : 'fas fa-plus',attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.editMode ? 'Update Address' : 'Add Address')+\"\\n \")]):_vm._e(),(_vm.editMode)?_c('b-button',{attrs:{\"disabled\":_vm.isReadOnly,\"title\":\"Cancel Update Address\",\"id\":\"cancelUpdateAddress\"},on:{\"click\":_vm.onCancelEditAddress}},[_vm._v(\"\\n Cancel\\n \")]):_vm._e()],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { AddressModel } from '@/models/address.model';\r\nimport { ClientAddressTypes } from '@/shared/enums/clientAddressTypes.enum';\r\n\r\nexport class ApplicationAddressModel extends AddressModel {\r\n timeAtAddressYears: any;\r\n timeAtAddressMonths: any;\r\n previousAddressNotAvailable: boolean;\r\n clientAddressType:ClientAddressTypes;\r\n landlordName: string;\r\n landlordContactNumber: string;\r\n}","export enum AddressTypes{\r\n Postal = 1, \r\n Residential = 2,\r\n Location = 3,\r\n Business = 4\r\n}","export enum ClientAddressTypes{\r\n OwnedOutright = 1, \r\n OwnedWithMortgage = 2,\r\n Rent = 3,\r\n Board = 4,\r\n LiveWithRelatives = 5\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',[_c('b-col',{staticClass:\"mb-3\"},[_c('h4',[_vm._v(_vm._s(_vm.tableName)+\" \\n \"),(this.$store.getters.getClientFinanceApplicationId > 0 && _vm.isAdmin)?_c('GroupedAuditHistoryLogs',{attrs:{\"relatedId\":this.$store.getters.getClientFinanceApplicationId,\"relatedTable\":_vm.relatedTable,\"relatedStatus\":_vm.stepNo,\"auditHistoryIdentifier\":_vm.auditHistoryIdentifier,\"groupIdentifier\":_vm.tableName}}):_vm._e()],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"d-inline\"},[(_vm.relatedId > 0 && _vm.isAuditHistoryAvailable)?_c('span',{staticClass:\"edit-button\",attrs:{\"title\":\"View Audit Log History\"},on:{\"click\":_vm.onOpenAuditHistoryModal}},[_c('i',{staticClass:\"fas fa-history fa-sm\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.showAuditLogHistoryPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"73%\",\"id\":\"showAuditLogHistory\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(_vm._s(_vm.groupIdentifier != null ? _vm.groupIdentifier : '')+\" Audit Log History \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',{staticClass:\"modal-body-text\"},[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('b-table-simple',{attrs:{\"id\":\"auditHistoryTable\",\"hover\":\"\",\"small\":\"\",\"caption-top\":\"\",\"responsive\":\"\"}},[_c('b-thead',[_c('b-tr',_vm._l((_vm.auditLogHistoryFields),function(field,index){return _c('b-th',{key:field.key + index,class:field.class},[_c('div',[_vm._v(\"\\n \"+_vm._s(field.label)+\"\\n \")])])}),1)],1),_c('b-tbody',_vm._l((_vm.auditLogHistoryItems),function(item,index){return _c('b-tr',{key:'data_' + index},_vm._l((_vm.auditLogHistoryFields),function(field){return _c('b-td',{key:field.key,class:field.class + ' align-middle'},[(field.key == 'view')?_c('div',[_c('span',{staticClass:\"edit-link\",attrs:{\"id\":'selectLink_' + item.auditDateTime},on:{\"click\":function($event){return _vm.viewAuditHistory(item, index)}}},[_vm._v(\"View\\n \")])]):(field.formatter)?_c('label',[_vm._v(\"\\n \"+_vm._s(field.formatter(item[field.key], field.key, item))+\"\\n \")]):_c('label',[_vm._v(\"\\n \"+_vm._s(item[field.key])+\"\\n \")])])}),1)}),1)],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showAuditHistory_CloseButton\"},on:{\"click\":_vm.onCloseAuditHistoryModal}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showGroupedAuditHistory)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"68%\",\"id\":\"showGroupedAuditHistory\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(_vm._s(_vm.groupIdentifier != null ? _vm.groupIdentifier : '')+\" Table Audit Log History\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',{staticClass:\"modal-body-text\"},[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('b-table-simple',{attrs:{\"id\":\"groupedAuditHistoryTable\",\"hover\":\"\",\"small\":\"\",\"caption-top\":\"\",\"responsive\":\"\"}},[_c('b-thead',[_c('b-tr',_vm._l((_vm.groupedAuditHistoryFields),function(field,index){return _c('b-th',{key:field.key + index,class:field.class},[_c('div',[_vm._v(\"\\n \"+_vm._s(field.label)+\"\\n \")])])}),1)],1),_c('b-tbody',_vm._l((_vm.groupedAuditHistoryItems),function(item,index){return _c('b-tr',{key:'data_' + index},_vm._l((_vm.groupedAuditHistoryFields),function(field){return _c('b-td',{key:field.key,class:field.class + ' align-middle'},[(field.key == 'view')?_c('div',[(item.actionType != 'Created')?_c('span',{staticClass:\"edit-link\",attrs:{\"id\":'selectLink_' + item.id},on:{\"click\":function($event){return _vm.viewGroupedAuditHistory(item, index)}}},[_vm._v(\"View\")]):_vm._e()]):(field.formatter)?_c('label',[_vm._v(\"\\n \"+_vm._s(field.formatter(item[field.key], field.key, item))+\"\\n \")]):_c('label',[_vm._v(\"\\n \"+_vm._s(item[field.key])+\"\\n \")])])}),1)}),1)],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showGroupedAuditHistory_CloseButton\"},on:{\"click\":_vm.onCloseGroupedAuditHistoryModal}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showAuditLogDetailsPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"63%\",\"id\":\"showAuditLogDetailsPopup\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Audit Log History Details \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',{staticClass:\"modal-body-text\"},[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('b-table-simple',{attrs:{\"id\":\"auditLogDetailsTable\",\"hover\":\"\",\"small\":\"\",\"caption-top\":\"\",\"responsive\":\"\"}},[_c('b-thead',[_c('b-tr',_vm._l((_vm.auditLogDetailsFields),function(field,index){return _c('b-th',{key:field.key + index,class:field.class},[_c('div',[_vm._v(\"\\n \"+_vm._s(field.label)+\"\\n \")])])}),1)],1),_c('b-tbody',_vm._l((_vm.auditLogDetailsItems),function(item,index){return _c('b-tr',{key:'data_' + index},_vm._l((_vm.auditLogDetailsFields),function(field,fieldIndex){return _c('b-td',{key:field.key,class:field.class + ' align-middle ' + _vm.getChangedCellClass(fieldIndex, item)},[(field.formatter)?_c('label',[_vm._v(\"\\n \"+_vm._s(field.formatter(item[field.key], field.key, item))+\"\\n \")]):_c('label',[_vm._v(\"\\n \"+_vm._s(item[field.key])+\"\\n \")])])}),1)}),1)],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showAuditLogDetails_CloseButton\"},on:{\"click\":_vm.closeAuditLogDetailsPopup}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport apiService from '@/shared/services/apiService';\nimport moment from 'moment';\nimport fieldValidations from '@/shared/services/fieldValidationService';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class GroupedAuditHistoryLogs extends Vue {\n @Prop() relatedTable: RelatedTables;\n @Prop() relatedId: number;\n @Prop() relatedStatus: number;\n @Prop({default:null}) auditHistoryIdentifier: string;\n @Prop({default:null}) groupIdentifier: string;\n\n auditLogHistoryItems: any[] = [];\n groupedAuditHistoryItems: any[] = [];\n auditLogHistoryFields: any[] = [{\n key: \"auditedDate\",\n label: 'Date',\n formatter: (value, key, item) => {\n return moment(item.auditedDate).format(\"YYYY MMM DD HH:mm:ss\")\n },\n },\n { key: \"actionType\", label: 'Type' },\n { key: \"updatedByName\", label: 'Updated By' },\n { key: \"view\" },\n ];\n\n groupedAuditHistoryFields: any[] = [\n { key: \"id\", label: 'Row #' },\n { key: \"actionType\", label: 'Type' },\n { key: \"view\" },\n ];\n\n auditLogDetailsFields: any[] = [\n { key: \"propertyName\", label: 'Field Name' },\n { key: \"oldValue\", label: 'Previous Value',\n formatter: (value, key, item) => {\n return this.setCustomDataFormats(value);\n },\n },\n { key: \"newValue\", label: 'New Value',\n formatter: (value, key, item) => {\n return this.setCustomDataFormats(value);\n },\n },\n ];\n auditLogDetailsItems: any[] = [];\n showAuditLogHistoryPopup: boolean = false;\n showGroupedAuditHistory: boolean = false;\n showAuditLogDetailsPopup: boolean = false;\n isAuditHistoryAvailable: boolean = false;\n\n created(){\n this.loadHistoryLogs();\n }\n\n onOpenAuditHistoryModal() {\n this.showAuditLogHistoryPopup = true;\n }\n\n loadHistoryLogs() {\n this.$store.dispatch('storeIsBusyValue', true);\n var params = {\n relatedTable: this.relatedTable,\n relatedId: this.relatedId,\n relatedStatus: this.relatedStatus,\n auditHistoryIdentifier: this.auditHistoryIdentifier\n };\n\n apiService.sendGetRequest(\"AuditLog\", \"GroupedAuditLogs\", params).then(response => {\n if (response.data != null && response.data.length > 0){\n this.auditLogHistoryItems = response.data;\n this.isAuditHistoryAvailable = true;\n }else{\n this.isAuditHistoryAvailable = false;\n }\n this.$store.dispatch('storeIsBusyValue', false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue', false);\n })\n }\n\n getChangedCellClass(index, item) {\n if (index == 2 && item.oldValue != item.newValue)\n return 'changed-cell';\n else\n return '';\n }\n\n onCloseAuditHistoryModal() {\n this.showAuditLogHistoryPopup = false;\n }\n\n viewAuditHistory(item:any, index:any){\n this.groupedAuditHistoryItems = item.auditHistoryGroups;\n this.showGroupedAuditHistory = true;\n }\n\n viewGroupedAuditHistory(item:any, index:any){\n this.auditLogDetailsItems = item.auditLogs;\n this.showAuditLogDetailsPopup = true;\n }\n\n onCloseGroupedAuditHistoryModal() {\n this.showGroupedAuditHistory = false;\n }\n\n closeAuditLogDetailsPopup() {\n this.showAuditLogDetailsPopup = false;\n }\n\n setCustomDataFormats(value: any){\n if(fieldValidations.isValidDateFormat(value)){\n return moment(value).format(\"YYYY MMM DD HH:mm:ss\")\n }else if(fieldValidations.isValidDateFormatWithGMTTime(value)){\n return moment(value).format(\"YYYY MMM DD\")\n }else if (fieldValidations.isValidDecimal(value)){\n return Number(value).toFixed(2).replace(/[.,]00$/, \"\");\n }\n return value;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupedAuditHistoryLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupedAuditHistoryLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./GroupedAuditHistoryLogs.vue?vue&type=template&id=ed872254&scoped=true\"\nimport script from \"./GroupedAuditHistoryLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./GroupedAuditHistoryLogs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GroupedAuditHistoryLogs.vue?vue&type=style&index=0&id=ed872254&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ed872254\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop} from 'vue-property-decorator';\nimport GroupedAuditHistoryLogs from '@/shared/components/auditHistory/GroupedAuditHistoryLogs.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\n\n@Component({\n components:{\n GroupedAuditHistoryLogs\n },\n})\nexport default class CFATableAuditHistory extends Vue{\n @Prop() stepNo:number;\n @Prop({default:null}) auditHistoryIdentifier:string; \n @Prop({default:null}) tableName:string; \n isAdmin:boolean = false; \n relatedTable:RelatedTables = RelatedTables.ClientFinanceApplication; \n \n created(){\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CFATableAuditHistory.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CFATableAuditHistory.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CFATableAuditHistory.vue?vue&type=template&id=29855281&scoped=true\"\nimport script from \"./CFATableAuditHistory.vue?vue&type=script&lang=ts\"\nexport * from \"./CFATableAuditHistory.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"29855281\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { validationMixin } from 'vuelidate';\nimport { required,minValue, maxLength,numeric} from 'vuelidate/lib/validators';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport AutoCompleteAddressSearch from '@/shared/components/address/AutoCompleteAddressSearch.vue'\nimport { AutoCompleteAddress } from '@/models/autoCompleteAddress.model';\nimport lookupService from '@/shared/services/lookupService';\nimport { ApplicationAddressModel } from '@/models/applicationAddress.model';\nimport apiService from '@/shared/services/apiService';\nimport { AddressTypes } from '@/shared/enums/addressTypes.enum';\nimport { ClientAddressTypes } from '@/shared/enums/clientAddressTypes.enum';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport ApexConstants from '@/shared/constants';\nimport { ApplicationAddressLineModel } from '@/models/applicationAddressLine.model';\nimport CFATableAuditHistory from './auditHistory/CFATableAuditHistory.vue';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n AutoCompleteAddressSearch,\n CFATableAuditHistory\n },\n validations:{\n address:{\n addressLine1:{\n required\n },\n suburb:{\n required\n },\n stateId:{\n minValue:minValue(1),\n required\n },\n postcode:{\n maxLength:maxLength(4),\n required,\n numeric\n },\n addressType:{\n minValue:minValue(1),\n required\n },\n timeAtAddressYears:{\n maxLength:maxLength(3),\n numeric,\n isRequired: (value, vm) => {\n if(vm.timeAtAddressMonths == 0 && value == \"0\"){\n return false;\n }else{\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n }\n },\n timeAtAddressMonths:{\n isRequired: (value, vm) => {\n if(vm.timeAtAddressYears == \"0\" && value == 0){\n return false;\n }else{\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n }\n },\n clientAddressType:{\n minValue:minValue(1),\n required\n },\n landlordName:\n {\n isRequired:(value, vm) => {\n if(vm.clientAddressType != ClientAddressTypes.Rent ) {\n return true;\n } \n else {\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n }, \n },\n landlordContactNumber:\n {\n numeric,\n isRequired:(value, vm) => {\n if(vm.clientAddressType != ClientAddressTypes.Rent) {\n return true;\n } \n else {\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n }, \n \n }\n },\n }\n }\n)\nexport default class ApplicationAddress extends Vue{\n @Prop() relatedTable:number\n @Prop() relatedID:number\n @Prop() initialAddress:any\n @Prop({default: false}) checkValidationMessages:boolean\n @Prop({default: false}) showPreviousAddressAvailabilityCheckbox:boolean\n @Prop() isReadOnly:boolean;\n @Prop() stepNo:number;\n @Prop({default:null}) selectedRow:any;\n @Prop({default: false}) editMode:boolean;\n @Prop({default : true}) showAddEditAddressButton:boolean;\n\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n residentialAddressType:AddressTypes = AddressTypes.Residential;\n rentClientAddressType:ClientAddressTypes = ClientAddressTypes.Rent;\n newAddressModel: ApplicationAddressModel = new ApplicationAddressModel()\n address: ApplicationAddressModel = new ApplicationAddressModel()\n dirtyValidatorRefNo:number = 0;\n addressStates:any = [];\n clientAddressTypes:any = [];\n addressTypeOptions:any = [];\n monthsPerYear = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];\n isAdmin:boolean = false;\n\n newApplicationAddressModel: ApplicationAddressLineModel = {\n id: 0,\n relatedTable: 0,\n index:-1,\n rowNumber:0,\n relatedID:0,\n addressLine1:\"\",\n addressLine2:\"\",\n suburb:\"\",\n stateId:0,\n postcode:null,\n country: ApexConstants.DEFAULT_COUNTRY,\n latitude:0,\n longitude:0,\n concurrencyKey:\"\",\n addressType:0,\n addressTypeText:\"\",\n createdBy:\"\",\n createdDate:null,\n updatedBy:\"\",\n updatedDate:null,\n timeAtAddressYears: null,\n timeAtAddressMonths: null,\n previousAddressNotAvailable: false,\n clientAddressType: 0,\n landlordName: \"\",\n landlordContactNumber: \"\"\n }\n\n @Watch('selectedRow')\n onAddressTableRowSelect(val: any, oldVal: any)\n { \n if(this.selectedRow != null){\n this.address = Object.assign({}, this.selectedRow);\n }\n }\n\n @Watch('initialAddress')\n onInitialAddressDetails(val: any, oldVal: any)\n {\n this.newAddressModel = this.initialAddress;\n this.address = Object.assign({},this.newAddressModel);\n }\n\n created(){\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n this.newAddressModel = this.initialAddress;\n this.newAddressModel.addressType = this.residentialAddressType;\n this.newAddressModel.country = ApexConstants.DEFAULT_COUNTRY\n this.newAddressModel.stateId = 0;\n this.newAddressModel.clientAddressType = 0;\n this.newAddressModel.timeAtAddressMonths = null;\n this.address = Object.assign({},this.newAddressModel);\n \n this.loadStates();\n this.loadClientAddressTypes();\n this.loadAddressTypes();\n }\n \n loadStates(){\n lookupService.GetAddressStatesList().then(data =>{\n this.addressStates = data;\n });\n }\n \n loadClientAddressTypes(){\n lookupService.GetClientAddressTypes().then(data =>{\n this.clientAddressTypes = data;\n });\n }\n\n onSearchAddress(address: AutoCompleteAddress){\n this.address.addressLine1 = address.addressLine1;\n this.address.addressLine2 = address.addressLine2;\n this.address.postcode = address.postcode;\n this.address.stateId = address.stateId;\n this.address.suburb = address.suburb;\n }\n\n addEditAddressLine(){\n if(this.editMode){\n var editedAddressLine = Object.assign({}, this.newApplicationAddressModel);\n editedAddressLine.addressLine1 = this.address.addressLine1;\n editedAddressLine.addressLine2 = this.address.addressLine2;\n editedAddressLine.suburb = this.address.suburb;\n editedAddressLine.stateId = this.address.stateId;\n editedAddressLine.postcode = this.address.postcode;\n editedAddressLine.country = this.address.country;\n editedAddressLine.timeAtAddressYears = this.address.timeAtAddressYears;\n editedAddressLine.timeAtAddressMonths = this.address.timeAtAddressMonths;\n editedAddressLine.addressType = this.address.addressType;\n editedAddressLine.clientAddressType = this.address.clientAddressType;\n editedAddressLine.addressTypeText = this.getClientAddressTypeText();\n editedAddressLine.landlordName = this.address.landlordName;\n editedAddressLine.landlordContactNumber = this.address.landlordContactNumber;\n\n this.applicationAddressLinesChanged(editedAddressLine);\n this.onCancelEditAddress();\n }else{\n let newAddressLine = Object.assign({}, this.newApplicationAddressModel);\n newAddressLine.addressLine1 = this.address.addressLine1;\n newAddressLine.addressLine2 = this.address.addressLine2;\n newAddressLine.suburb = this.address.suburb;\n newAddressLine.stateId = this.address.stateId;\n newAddressLine.postcode = this.address.postcode;\n newAddressLine.country = this.address.country;\n newAddressLine.timeAtAddressYears = this.address.timeAtAddressYears;\n newAddressLine.timeAtAddressMonths = this.address.timeAtAddressMonths;\n newAddressLine.addressType = this.address.addressType;\n newAddressLine.clientAddressType = this.address.clientAddressType;\n newAddressLine.addressTypeText = this.getClientAddressTypeText();\n newAddressLine.landlordName = this.address.landlordName;\n newAddressLine.landlordContactNumber = this.address.landlordContactNumber;\n\n this.applicationAddressLinesChanged(newAddressLine);\n this.clearApplicationAddressFields(); \n }\n }\n\n getClientAddressTypeText(){\n var addressType = this.clientAddressTypes.filter(obj=> obj.value == this.address.clientAddressType);\n if(addressType && addressType.length > 0)\n {\n return addressType[0].text;\n }\n return \"\";\n }\n\n clearApplicationAddressFields(){\n this.address.addressLine1 = \"\";\n this.address.addressLine2 = \"\";\n this.address.suburb = \"\";\n this.address.stateId = 0;\n this.address.addressType = AddressTypes.Residential;\n this.address.addressTypeText = \"\";\n this.address.clientAddressType = 0;\n this.address.postcode = \"\";\n this.address.timeAtAddressYears = null;\n this.address.timeAtAddressMonths = null;\n this.address.landlordName = \"\";\n this.address.landlordContactNumber = \"\";\n this.address.country = ApexConstants.DEFAULT_COUNTRY,\n this.$v.address.$reset();\n }\n\n onCancelEditAddress(){\n this.onCancelAddressTableRowSelected();\n this.clearApplicationAddressFields();\n }\n\n getAddressDetails(){\n return this.address\n }\n\n loadAddressTypes(){ \n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Address','AddressTypes',{relatedTable: RelatedTables.Client}).then(\n response => {\n if(response.data)\n {\n this.addressTypeOptions = response.data;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n \n isModelInvalidForAddAddress()\n {\n return (this.$v.address.addressLine1.$invalid || this.$v.address.suburb.$invalid || this.$v.address.stateId.$invalid\n || this.$v.address.postcode.$invalid || this.$v.address.timeAtAddressYears.$invalid || this.$v.address.timeAtAddressMonths.$invalid || this.$v.address.clientAddressType.$invalid\n || (this.address.clientAddressType == ClientAddressTypes.Rent && (this.$v.address.landlordName.$invalid || this.$v.address.landlordContactNumber.$invalid))); \n }\n\n validateStep():boolean{\n return !this.$v.address.$invalid;\n }\n\n validateStepOnSave():boolean {\n return true;\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n\n @Emit('applicationAddressLinesChanged') applicationAddressLinesChanged(applicationAddressLines:any){}\n\n @Emit('onCancelAddressTableRowSelected') onCancelAddressTableRowSelected(){}\n}\n","export enum MonthlyRepaymentTypes{\r\n\r\n HomePropertyLoan = 1,\r\n InvestmentPropertyLoan = 2,\r\n MarginLoan = 3,\r\n LoanForInvestment = 4,\r\n MotorVehicleLoan = 5,\r\n RecreationalAssetLoan = 6,\r\n PlantAndEquipmentLoan = 7,\r\n CreditCard = 8,\r\n Overdraft = 9,\r\n DebtAgreement = 10,\r\n TaxDebt = 11,\r\n Other = 12,\r\n}","export enum MonthlyExpenseTypes {\r\n\r\n RentOrBoard = 1,\r\n MotorVehicleRunningCosts = 2,\r\n GeneralLivingExpenses = 3,\r\n PrivateEducation = 4,\r\n Childcare = 5,\r\n Other = 6\r\n}","export enum EmploymentTypes {\r\n FullTime = 1,\r\n PartTime = 2,\r\n FullTimeContract = 3,\r\n PartTimeContract = 4,\r\n Casual = 5,\r\n FixedTerm = 6,\r\n DailyHireAndWeeklyHire = 7,\r\n Other = 8\r\n}","export enum SaleTypes\r\n{\r\n DealerSale = 1,\r\n PrivateSale = 2,\r\n Refinance = 3\r\n}","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationAddress.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationAddress.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationAddress.vue?vue&type=template&id=6be4f1a3&scoped=true\"\nimport script from \"./ApplicationAddress.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationAddress.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationAddress.vue?vue&type=style&index=0&id=6be4f1a3&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6be4f1a3\",\n null\n \n)\n\nexport default component.exports","import fieldValidations from '@/shared/services/fieldValidationService';\r\nimport { PersonalDetailsModel, AddressModel, EmploymentDetailsModel, IncomeModel, LiabilitiesModel, MonthlyRepaymentItem, MonthlyExpenseItem, MotorVehicleDetailsAndFinancedAmountModel, AssetsModel, ChangeInCircumstancesModel, LiabilityDependencyModel} from '@/models/clientFinanceApplication.model';\r\nimport { ClientApplicationFileTypes } from '@/shared/enums/clientApplicationFileTypes.enum';\r\nimport { ApplicationAddressModel } from '@/models/applicationAddress.model';\r\nimport { MonthlyRepaymentTypes } from '../enums/monthlyRepaymentTypes.enum';\r\nimport customValidationService from '@/shared/services/customValidationService';\r\nimport { ClientAddressTypes } from '../enums/clientAddressTypes.enum';\r\nimport { MonthlyExpenseTypes } from '../enums/monthlyExpenseTypes.enum';\r\nimport { EmploymentTypes } from '@/shared/enums/employmentTypes.enum';\r\nimport { AustralianStates } from '@/shared/enums/australianStates.enum';\r\nimport { AustralianResidencyStatus } from '@/shared/enums/australianResidencyStatus.enum';\r\nimport { SaleTypes } from '@/shared/enums/saleTypes.enum';\r\n\r\nclass ClientFinanceApplicationValidations {\r\n\r\n isValidPersonalDetails(personalDetails:PersonalDetailsModel):boolean\r\n {\r\n var isValid = true;\r\n if(!fieldValidations.isValidEmail(personalDetails.email)){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if(personalDetails.maritalStatus == 0 || personalDetails.maritalStatus == null || personalDetails.maritalStatus == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(personalDetails.mobilePhone == null || personalDetails.mobilePhone == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(personalDetails.licenseIssuingState == 0 || personalDetails.licenseIssuingState == null || personalDetails.licenseIssuingState == undefined){\r\n isValid = false;\r\n return isValid;\r\n }else if(personalDetails.licenseIssuingState == AustralianStates.Other && (personalDetails.licenseIssuingDetails == '' || personalDetails.licenseIssuingDetails == null || personalDetails.licenseIssuingDetails == undefined)){\r\n isValid = false;\r\n return isValid;\r\n } else if(personalDetails.driversLicenseType == 0 || personalDetails.driversLicenseType == null || personalDetails.driversLicenseType == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(personalDetails.residencyStatus == 0 || personalDetails.residencyStatus == null || personalDetails.residencyStatus == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(personalDetails.residencyStatus == AustralianResidencyStatus.Visa && (personalDetails.residencyStatusDetails == '' || personalDetails.residencyStatusDetails == null || personalDetails.residencyStatusDetails == undefined)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidNumber(personalDetails.mobilePhone)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!this.validatePersonalDetailsDocumentList(personalDetails.documentList)){\r\n isValid = false;\r\n return isValid\r\n } else{\r\n return isValid;\r\n }\r\n }\r\n\r\n isValidLiabilityDetails(liabilities:LiabilitiesModel, liabilityDependency:LiabilityDependencyModel):boolean\r\n {\r\n var isValid = true;\r\n\r\n if(!this.isValidMonthlyRepayments(liabilities.monthlyRepayments)){\r\n isValid = false;\r\n return isValid\r\n }else if(!this.isValidMonthlyExpenses(liabilities.monthlyExpenses, liabilityDependency)){\r\n isValid = false;\r\n return isValid\r\n }\r\n\r\n return isValid;\r\n }\r\n\r\n isValidAssetDetails(assets:AssetsModel):boolean\r\n {\r\n var isValid = true;\r\n if(assets && assets.assetItems){\r\n for(var i=0; i < assets.assetItems.length; i++){\r\n if(!fieldValidations.isValidDecimal(assets.assetItems[i].currencyAmount)){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if(assets.assetItems[i].ownedOutright == null || assets.assetItems[i].ownedOutright == undefined){\r\n isValid = false;\r\n return isValid;\r\n }\r\n }\r\n return isValid;\r\n } else {\r\n isValid = false;\r\n return isValid;\r\n }\r\n }\r\n\r\n isValidIncomeDetails(income:IncomeModel):boolean\r\n {\r\n var isValid = true;\r\n\r\n if(income.grossAnnualIncome == null || income.grossAnnualIncome == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(income.monthlyNetIncome == null || income.monthlyNetIncome == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(income.otherIncome != null && (income.otherIncomeDetails == null || income.otherIncomeDetails == undefined || income.otherIncomeDetails.length==0)){\r\n isValid = false;\r\n return isValid;\r\n }\r\n \r\n return isValid;\r\n }\r\n\r\n isValidMonthlyRepayments(monthlyRepayments:MonthlyRepaymentItem[]):boolean{\r\n var isValid = true;\r\n\r\n for(var i=0; i < monthlyRepayments.length; i++){\r\n if(monthlyRepayments[i].category == null){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if((monthlyRepayments[i].category != MonthlyRepaymentTypes.Other\r\n && !fieldValidations.isValidDecimal(monthlyRepayments[i].balanceAmount)\r\n || (monthlyRepayments[i].category == MonthlyRepaymentTypes.Other\r\n && !fieldValidations.isDecimal(monthlyRepayments[i].balanceAmount)))){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if((monthlyRepayments[i].category != MonthlyRepaymentTypes.Other\r\n && !fieldValidations.isValidDecimal(monthlyRepayments[i].monthlyRepaymentAmount)\r\n || (monthlyRepayments[i].category == MonthlyRepaymentTypes.Other\r\n && !fieldValidations.isDecimal(monthlyRepayments[i].monthlyRepaymentAmount)))){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if((monthlyRepayments[i].category == MonthlyRepaymentTypes.MotorVehicleLoan\r\n || monthlyRepayments[i].category == MonthlyRepaymentTypes.RecreationalAssetLoan\r\n || monthlyRepayments[i].category == MonthlyRepaymentTypes.PlantAndEquipmentLoan) \r\n && (monthlyRepayments[i].payout == null || monthlyRepayments[i].payout == undefined)){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if((monthlyRepayments[i].category == MonthlyRepaymentTypes.MotorVehicleLoan\r\n || monthlyRepayments[i].category == MonthlyRepaymentTypes.RecreationalAssetLoan\r\n || monthlyRepayments[i].category == MonthlyRepaymentTypes.PlantAndEquipmentLoan) \r\n && (monthlyRepayments[i].endDate == \"\" || monthlyRepayments[i].endDate == null ||\r\n monthlyRepayments[i].endDate == undefined)){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if(monthlyRepayments[i].category == MonthlyRepaymentTypes.CreditCard\r\n && !fieldValidations.isValidDecimal(monthlyRepayments[i].limitAmount)){\r\n isValid = false;\r\n return isValid; \r\n }\r\n else if(monthlyRepayments[i].category == MonthlyRepaymentTypes.Other\r\n && (monthlyRepayments[i].note == \"\" || monthlyRepayments[i].note == null ||\r\n monthlyRepayments[i].note == undefined)){\r\n isValid = false;\r\n return isValid;\r\n }\r\n }\r\n\r\n return isValid; \r\n } \r\n\r\n isValidMonthlyExpenses(monthlyExpenses:MonthlyExpenseItem[], liabilityDependency: LiabilityDependencyModel):boolean\r\n {\r\n var isValid = true;\r\n\r\n for(var i=0; i < monthlyExpenses.length; i++){\r\n if(monthlyExpenses[i].category == null){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if((monthlyExpenses[i].category != MonthlyExpenseTypes.Other\r\n && !fieldValidations.isValidDecimal(monthlyExpenses[i].currencyAmount)\r\n || (monthlyExpenses[i].category == MonthlyRepaymentTypes.Other\r\n && !fieldValidations.isDecimal(monthlyExpenses[i].currencyAmount)))){\r\n isValid = false;\r\n return isValid;\r\n }\r\n else if(monthlyExpenses[i].category == MonthlyExpenseTypes.Other\r\n && (monthlyExpenses[i].note == \"\" || monthlyExpenses[i].note == null ||\r\n monthlyExpenses[i].note == undefined)){\r\n isValid = false;\r\n return isValid;\r\n }\r\n }\r\n\r\n if (monthlyExpenses.length == 0 || !monthlyExpenses.some(me => me.category == MonthlyExpenseTypes.GeneralLivingExpenses)){\r\n isValid = false;\r\n return isValid;\r\n }else if(liabilityDependency.isRentOrBoard && (monthlyExpenses.length == 0 || !monthlyExpenses.some(me => me.category == MonthlyExpenseTypes.RentOrBoard))){\r\n isValid = false;\r\n return isValid;\r\n }\r\n\r\n return isValid;\r\n } \r\n \r\n isValidMotorVehicleDetailsAndFinancedAmountDetails(motorVehicleDetailsAndFinancedAmountDetails:MotorVehicleDetailsAndFinancedAmountModel):boolean\r\n {\r\n var isValid = true;\r\n if(!fieldValidations.isValidDecimal(motorVehicleDetailsAndFinancedAmountDetails.amountSeekingPreApproval)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidDecimal(motorVehicleDetailsAndFinancedAmountDetails.costVehicleIncludingGST)){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType == null || motorVehicleDetailsAndFinancedAmountDetails.saleType == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType != SaleTypes.Refinance && !fieldValidations.isValidText(motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.name)){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType != SaleTypes.Refinance && !fieldValidations.isValidText(motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.contactPerson)){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType != SaleTypes.Refinance && !fieldValidations.isValidNumber(motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.contactNumber)){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType != SaleTypes.Refinance && !fieldValidations.isValidOrNullEmail(motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.email)){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType != SaleTypes.Refinance && !fieldValidations.isValidText(motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.addressLine1)){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType != SaleTypes.Refinance && !fieldValidations.isValidText(motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.suburb)){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType != SaleTypes.Refinance && motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.stateId == 0 || motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.stateId == null || motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.stateId == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.saleType != SaleTypes.Refinance && !fieldValidations.isValidNumber(motorVehicleDetailsAndFinancedAmountDetails.sellerDetails.postcode)){\r\n isValid = false;\r\n return isValid;\r\n } else if(motorVehicleDetailsAndFinancedAmountDetails.motorVehicleDetails.condition == null || motorVehicleDetailsAndFinancedAmountDetails.motorVehicleDetails.condition == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidText(motorVehicleDetailsAndFinancedAmountDetails.motorVehicleDetails.make)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidText(motorVehicleDetailsAndFinancedAmountDetails.motorVehicleDetails.model)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidText(motorVehicleDetailsAndFinancedAmountDetails.motorVehicleDetails.variant)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidDate(motorVehicleDetailsAndFinancedAmountDetails.motorVehicleDetails.yearDateTime)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidNumberOrZero(motorVehicleDetailsAndFinancedAmountDetails.motorVehicleDetails.termOfLease)){\r\n isValid = false;\r\n return isValid;\r\n } \r\n else {\r\n return isValid;\r\n } \r\n }\r\n\r\n validatePersonalDetailsDocumentList(documentList){\r\n var documentValidationDictionary = {\r\n driversLicenseFileType : 0,\r\n medicareCardFileType : 0,\r\n }\r\n var validationTextArray = [];\r\n documentList.forEach(element => {\r\n if(element.fileType == ClientApplicationFileTypes.DriversLicenseOrPassport){\r\n documentValidationDictionary.driversLicenseFileType = 1;\r\n } else if (element.fileType == ClientApplicationFileTypes.MedicareCard){\r\n documentValidationDictionary.medicareCardFileType = 1;\r\n }\r\n });\r\n \r\n return !(documentValidationDictionary.driversLicenseFileType == 0 || documentValidationDictionary.medicareCardFileType == 0);\r\n }\r\n\r\n isValidAddressDetails(addressDetails:AddressModel){\r\n return this.isValidAddress(addressDetails);\r\n }\r\n\r\n isValidAddress(address:AddressModel){\r\n if(address.addressLines.length > 0){\r\n var isValid = true;\r\n address.addressLines.forEach(address => {\r\n if((address.addressType < 1 || address.addressType == null || address.addressType == undefined)){\r\n isValid = false;\r\n return isValid;\r\n } else if(address.addressLine1 == \"\" || address.addressLine1 == null || address.addressLine1 == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(address.suburb == \"\" || address.suburb == null || address.suburb == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(address.stateId == 0 || address.stateId == null || address.stateId == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidNumberOrZero(address.postcode)){\r\n isValid = false;\r\n return isValid;\r\n } else if(address.country == \"\" || address.country == null || address.country == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidNumberOrZero(address.timeAtAddressYears)){\r\n isValid = false;\r\n return isValid;\r\n } else if(address.timeAtAddressMonths == null || address.timeAtAddressMonths == undefined){\r\n isValid = false;\r\n return isValid\r\n } else if(address.clientAddressType < 1 || address.clientAddressType == null || address.clientAddressType == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(address.clientAddressType == ClientAddressTypes.Rent && (address.landlordName == \"\" || address.landlordName == null || address.landlordName == undefined)){\r\n isValid = false;\r\n return isValid;\r\n } else if(address.clientAddressType == ClientAddressTypes.Rent && !fieldValidations.isValidNumber(address.landlordContactNumber)){\r\n isValid = false;\r\n return isValid;\r\n } else {\r\n return isValid;\r\n } \r\n });\r\n return isValid;\r\n }\r\n } \r\n\r\n isValidEmploymentDetails(employmentDetails:EmploymentDetailsModel){\r\n return this.isValidEmployment(employmentDetails) && (employmentDetails.documentList && employmentDetails.documentList.length >= 1);\r\n }\r\n\r\n isValidEmployment(employment:EmploymentDetailsModel){\r\n if(employment.employmentLines.length > 0){\r\n var isValid = true;\r\n employment.employmentLines.forEach(employment => {\r\n if(employment.employmentType == 0 || employment.employmentType == null || employment.employmentType == undefined){\r\n isValid = false;\r\n return isValid;\r\n }else if(employment.employmentType == EmploymentTypes.Other && (employment.employmentTypeDetails == '' || employment.employmentTypeDetails == null || employment.employmentTypeDetails == undefined)){\r\n isValid = false;\r\n return isValid;\r\n }else if(employment.businessName == \"\" || employment.businessName == null || employment.businessName == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(employment.abn == null || customValidationService.validateABN(employment.abn).isValid){\r\n isValid = false;\r\n return isValid;\r\n } else if(employment.position == \"\" || employment.position == null || employment.position == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(employment.employerContactName == \"\" || employment.employerContactName == null || employment.employerContactName == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidNumber(employment.workPhone)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidNumberOrZero(employment.lengthOfEmploymentYears)){\r\n isValid = false;\r\n return isValid;\r\n } else if(!fieldValidations.isValidNumberOrZero(employment.lengthOfEmploymentMonths) || employment.lengthOfEmploymentMonths == null || employment.lengthOfEmploymentMonths == undefined){\r\n isValid = false;\r\n return isValid\r\n }\r\n });\r\n return isValid;\r\n }\r\n }\r\n\r\n isValidChangeInCircumstance(changeInCircumstance:ChangeInCircumstancesModel){\r\n var isValid = true;\r\n if(changeInCircumstance.changeInCircumstancesAgreement == null || changeInCircumstance.changeInCircumstancesAgreement == undefined){\r\n isValid = false;\r\n return isValid;\r\n } else if(!changeInCircumstance.creditGuideDownloadAndReadComplete) {\r\n isValid = false;\r\n return isValid;\r\n }\r\n return isValid;\r\n }\r\n}\r\n\r\nconst clientFinanceApplicationValidations = new ClientFinanceApplicationValidations();\r\nexport default clientFinanceApplicationValidations;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"ml-2 grid-large-icon\",attrs:{\"title\":\"Edit Item\"},on:{\"click\":_vm.onEditTableLineClick}},[_c('i',{staticClass:\"fas fa-edit edit-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]),_c('span',{staticClass:\"ml-2 grid-large-icon\",attrs:{\"title\":\"Delete Item\"},on:{\"click\":_vm.deleteTableLine}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\n\n@Component({})\n\nexport default class TableActionButtons extends Vue{\n @Prop() item:any\n\n showDeleteTableLineConfirmationModal = false;\n relatedTable:RelatedTables = RelatedTables.ExpenseClaim;\n\n deleteTableLine()\n {\n this.showDeleteTableLineConfirmationModal = false;\n this.onDeleteTableLineAction(this.item,DataTableActionTypes.Delete)\n }\n\n onEditTableLineClick(){\n this.onEditTableLineAction(this.item, DataTableActionTypes.RowSelect)\n }\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n @Emit('customEvent') onEditTableLineAction(item:any,type:DataTableActionTypes){\n }\n \n @Emit('customEvent') onDeleteTableLineAction(id:number,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TableActionButtons.vue?vue&type=template&id=788450a2&scoped=true\"\nimport script from \"./TableActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./TableActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./TableActionButtons.vue?vue&type=style&index=0&id=788450a2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"788450a2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Emit } from 'vue-property-decorator';\nimport {AddressModel } from '@/models/clientFinanceApplication.model';\nimport { validationMixin } from 'vuelidate';\nimport ApplicationAddress from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationAddress.vue'\nimport { ApplicationAddressModel } from '@/models/applicationAddress.model';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum'; \nimport ApexConstants from '@/shared/constants';\nimport apiService from '@/shared/services/apiService';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport lookupService from '@/shared/services/lookupService';\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport clientFinanceApplicationValidationService from '@/shared/services/clientFinanceApplicationValidationService';\nimport TableActionButtons from './TableActionButtons.vue';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport { ClientAddressTypes } from '@/shared/enums/clientAddressTypes.enum';\n\n@Component({\n components:{\n ApplicationAddress,\n DataTable\n },\n mixins:[validationMixin],\n validations:{}\n})\nexport default class AddressDetails extends Vue{\n @Prop() isReload:boolean;\n @Prop() isClient:boolean;\n @Prop() routeNames:string[];\n \n stepNo:number = ClientFinanceApplicationStates.Address;\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n addressDetails: AddressModel = new AddressModel();\n currentAddress: ApplicationAddressModel = new ApplicationAddressModel();\n isAddressesLoaded:boolean = false;\n clientId:number = 0;\n applicationId:number = 0;\n isPreviousAddressNeeded: boolean = false; \n checkValidationMessages:boolean = false;\n initialApplicationAddressObj: ApplicationAddressModel = {\n id: 0,\n relatedTable: 0,\n relatedID:0,\n addressLine1:\"\",\n addressLine2:\"\",\n suburb:\"\",\n stateId:0,\n postcode:null,\n country: ApexConstants.DEFAULT_COUNTRY,\n latitude:0,\n longitude:0,\n concurrencyKey:\"\",\n addressType:0,\n addressTypeText:\"\",\n createdBy:\"\",\n createdDate:null,\n updatedBy:\"\",\n updatedDate:null,\n timeAtAddressYears: null,\n timeAtAddressMonths: null,\n previousAddressNotAvailable: false,\n clientAddressType: 0,\n landlordName: \"\",\n landlordContactNumber: \"\"\n }\n routerName:string = \"\";\n isReadOnly:boolean = false;\n items:any = [];\n addressStatesList:any = [];\n clientAddressTypes:any = [];\n selectMode = \"single\";\n addressLinesFields = [\n {key: 'rowNumber', label: '#', class:'width_5'},\n {key: 'stateId', label: 'Address', class:'width_25', formatter: (value, key, item) => {\n return item.addressLine1 + \" \" + item.addressLine2 + \", \" + item.suburb + \", \" + this.getState(value) + \", \" + item.postcode;\n }\n },\n {key: 'addressTypeText', label: 'Address Type', class:'text-left width_10',\n formatter: (value, key, item) => {\n return this.getClientAddressTypeText(item.clientAddressType);\n }},\n {key: 'timeAtAddressText', label: 'Time At Address', class:'text-right width_15',\n formatter: (value, key, item) => {\n return item.timeAtAddressYears == 0 ? item.timeAtAddressMonths + (item.timeAtAddressMonths == 1 ? \" Month\" : \" Months\")\n : item.timeAtAddressMonths == 0 ? item.timeAtAddressYears + (item.timeAtAddressYears == 1 ? \" Year\" : \" Years\") \n : item.timeAtAddressYears + (item.timeAtAddressYears == 1 ? \" Year\" : \" Years\") + \" and \" + item.timeAtAddressMonths + (item.timeAtAddressMonths == 1 ? \" Month\" : \" Months\");\n }\n } \n ];\n selectedRowData:any = null;\n editMode:boolean = false;\n customTemplateList:Array = [];\n \n created(){\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.isReadOnly = this.$store.getters.getIsReadOnly;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.routerName = this.$route.params.routerDisplayName;\n this.addressDetails = this.$store.getters.getClientFinanceApplicationAddressDetails;\n this.isAddressesLoaded = true;\n \n if(this.addressDetails.addressLines.length == 0){\n this.onLoadExistingAddressDetails();\n }\n this.loadStates();\n this.loadClientAddressTypes();\n if(!this.isReadOnly){\n this.addressLinesFields.push({key: 'actions',label:\"\",class:'text-right text-nowrap width_5',formatter:null});\n this.customTemplateList.push({slot:\"actions\",customTemplate:TableActionButtons});\n }\n this.items = this.addressDetails.addressLines;\n }\n\n mounted(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.Address) && !this.onValidateAddressDetails()){\n this.checkValidationMessages = true;\n }\n\n if(this.isReadOnly && this.addressDetails.addressLines.length > 0){\n this.onCustomDataTableEvent(this.addressDetails.addressLines[0], DataTableActionTypes.RowSelect);\n (this.$refs.addressLineRecords as DataTable).selectFirstRow();\n }\n }\n\n onLoadExistingAddressDetails(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {clientId:this.clientId, clientFinanceApplicationStep:this.stepNo}\n apiService.sendGetRequest('ClientFinanceApplication','ClientDetailsForClientApplication',params).then(response=>{\n if(response.data && response.data.addressDetails && response.data.addressDetails.addressLines.length > 0){\n this.currentAddress = response.data.addressDetails.addressLines[0];\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadStates(){\n lookupService.GetAddressStatesList().then(data =>{\n this.addressStatesList = data;\n });\n }\n\n loadClientAddressTypes(){\n lookupService.GetClientAddressTypes().then(data =>{\n this.clientAddressTypes = data;\n });\n }\n\n getClientAddressTypeText(addressType:ClientAddressTypes){\n var address = this.clientAddressTypes.filter(obj=> obj.value == addressType);\n if(address && address.length > 0)\n {\n return address[0].text;\n }\n return \"\";\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.addressLineRecords as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.addressLineRecords as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.editMode = false;\n var itemIndex = this.items.findIndex(f => f.index == data.index);\n\n if(itemIndex > -1){\n this.items.splice(itemIndex, 1);\n var index = 0; \n this.items.forEach(address => {\n address.index = index++;\n });\n this.resetTableRowNumbers();\n }\n\n (this.$refs.addressLineRecords as DataTable).resetLastCustomAction();\n this.onCancelAddressTableRowSelected();\n this.onValidateAddressListAfterAction();\n (this.$refs.currentAddress as ApplicationAddress).clearApplicationAddressFields();\n }\n if(type == DataTableActionTypes.RowSelect){\n this.editMode = true;\n this.selectedRowData = data;\n }\n }\n\n get isShowAddEditAddressButton(){\n return this.items.length < 4;\n }\n\n getState(id){\n var state = this.addressStatesList.filter(obj=> obj.value == id);\n if(state && state.length > 0)\n {\n return state[0].text;\n }\n return \"\";\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number){\n if(this.isClient){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Address)){\n editedSteps.push(ClientFinanceApplicationStates.Address);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.getAddressDetails();\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected || this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationAddressDetails',this.addressDetails);\n return true;\n } \n if(this.validateOnSave()){ \n this.$store.dispatch('updateClientFinanceApplicationAddressDetails',this.addressDetails);\n if(this.$store.getters.getClientFinanceApplicationStatus <= ClientFinanceApplicationStates.ChangeInCircumstances){\n this.$store.dispatch('updateClientFinanceApplicationStatus',nextStep+1);\n } \n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.editMode = false;\n this.onValidateStep(ClientFinanceApplicationStates.Address);\n this.onNavigate(nextStep, this.applicationId);\n return true; \n });\n }else{\n this.onValidateStep(ClientFinanceApplicationStates.Address);\n return false;\n } \n }else{\n this.onNavigate(nextStep, this.applicationId);\n return true\n }\n }\n \n updateModelOnSave(){\n if(this.validateOnSave()){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Address)){\n editedSteps.push(ClientFinanceApplicationStates.Address);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.getAddressDetails();\n if(this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Rejected && this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationAddressDetails',this.addressDetails);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(response => {\n this.editMode = false;\n this.onValidateStep(ClientFinanceApplicationStates.Address);\n });\n }\n } \n }\n\n validateOnSave(){\n var isValid = true;\n if(!this.isValidAddress()){\n isValid = false; \n }\n return isValid;\n }\n\n isValidAddress():boolean {\n var isValid = true;\n this.items.forEach(address => {\n if(!fieldValidations.isValidOrNullNumber(address.timeAtAddressYears)){\n isValid = false;\n return isValid;\n }else if(!fieldValidations.isValidOrNullNumber(address.postcode)){\n isValid = false;\n return isValid;\n }else if(!fieldValidations.isValidOrNullNumber(address.landlordContactNumber)){\n isValid = false;\n return isValid;\n }\n });\n return isValid;\n }\n\n getAddressDetails(){\n this.addressDetails.addressLines = this.items;\n }\n\n onNavigate(step: number, applicationId:number){\n var requestedRouterName = this.routeNames[step];\n if(requestedRouterName != this.routerName){\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:applicationId.toString(), routerDisplayName:requestedRouterName}}); \n }\n }\n\n applicationAddressLinesChanged(applicationAddressLines: any){\n if(!this.editMode){\n applicationAddressLines.index = this.items.length;\n this.items.push(applicationAddressLines);\n }else{\n var itemIndex = this.items.findIndex(f => f.index == this.selectedRowData.index);\n applicationAddressLines.index = this.selectedRowData.index;\n applicationAddressLines.rowNumber = this.selectedRowData.rowNumber;\n\n if(itemIndex > -1){\n this.items.splice(itemIndex, 1, applicationAddressLines);\n }\n }\n\n this.resetTableRowNumbers();\n this.checkValidationMessages = false;\n }\n\n resetTableRowNumbers(){\n if(this.items.length > 0){\n if(!this.editMode){\n var rowNumber = 1;\n this.items.forEach(address => {\n address.rowNumber = rowNumber++;\n });\n }\n }\n }\n\n onValidateAddressListAfterAction(){\n this.getAddressDetails();\n this.$store.dispatch('updateClientFinanceApplicationAddressDetails',this.addressDetails);\n this.onValidateStep(ClientFinanceApplicationStates.Address);\n }\n\n onValidateAddressDetails(){\n var addressDetails = this.$store.getters.getClientFinanceApplicationAddressDetails;\n return clientFinanceApplicationValidationService.isValidAddressDetails(addressDetails);\n }\n\n onCancelAddressTableRowSelected(){\n this.editMode = false;\n this.selectedRowData = null;\n if((this.$refs.addressLineRecords as DataTable) != undefined){\n (this.$refs.addressLineRecords as DataTable).clearSelected();\n }\n }\n\n @Emit('onValidateStep') onValidateStep(applicationStep:ClientFinanceApplicationStates) {\n\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddressDetails.vue?vue&type=template&id=ccc15de6&scoped=true\"\nimport script from \"./AddressDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./AddressDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddressDetails.vue?vue&type=style&index=0&id=ccc15de6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ccc15de6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-4 ml-2\"},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"4\"}},[_c('ApplicationEmployment',{ref:\"currentEmployment\",attrs:{\"initialEmployment\":_vm.currentEmployment,\"isReadOnly\":_vm.isReadOnly,\"editMode\":_vm.editMode,\"selectedRow\":_vm.selectedRowData,\"stepNo\":_vm.stepNo,\"showAddEditEmploymentButton\":_vm.isShowAddEditEmploymentButton,\"checkValidationMessages\":_vm.checkValidationMessages},on:{\"applicationEmploymentLinesChanged\":_vm.applicationEmploymentLinesChanged,\"onCancelEmploymentTableRowSelected\":_vm.onCancelEmploymentTableRowSelected}})],1),_c('b-col',[_c('b-row',{staticClass:\"mt-4\"},[_c('b-col',[_c('b-card',{staticClass:\"inner-card\"},[_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please ensure to upload the following supporting documents: \")]),_c('ul',[_c('li',[_vm._v(\" Two most recent payslips \")])]),(_vm.docRequiredText)?_c('p',{staticStyle:{\"color\":\"red\"}},[_vm._v(_vm._s(_vm.docRequiredText)+\" \")]):_vm._e(),_c('DragAndDropControlApplication',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.clientFinanceApplicationRelatedTable,\"relatedID\":_vm.applicationId,\"isAcknowledgeEnabled\":false,\"relatedStep\":_vm.stepNo,\"defaultDocType\":this.paySlipFileType,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":!_vm.isReadOnly,\"index\":1,\"modalMode\":false},on:{\"documentChangedEvent\":_vm.onCustomDocumentEvent}})],1)],1)],1),_c('b-row',[(_vm.items.length > 0)?_c('b-col',[_c('DataTable',{ref:\"employmentLineRecords\",staticClass:\"mt-3\",attrs:{\"fields\":_vm.employmentLinesFields,\"items\":_vm.items,\"customTemplates\":_vm.customTemplateList,\"selectable\":true,\"select-mode\":_vm.selectMode,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No Employments to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('CFATableAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"tableName\":'Employment'}}),_c('b-col',{attrs:{\"md\":\"8\",\"lg\":\"10\"}},[_c('b-form',[_c('b-row',[_c('b-col',{attrs:{\"xl\":\"11\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Employment Type\",\"label-for\":\"empType\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': _vm.employment.employmentType == 0 },attrs:{\"id\":\"employmentTypeSelect\",\"plain\":true,\"options\":_vm.employmentTypes,\"disabled\":_vm.isReadOnly},on:{\"change\":_vm.onEmploymentTypeChange},model:{value:(_vm.employment.employmentType),callback:function ($$v) {_vm.$set(_vm.employment, \"employmentType\", $$v)},expression:\"employment.employmentType\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])])],2),(_vm.checkValidationMessages && !_vm.$v.employment.employmentType.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Employment type is required.\\n \")]):_vm._e()],1)],1)],1),(_vm.employment.employmentType == _vm.EmploymentTypeOther)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Employment Type Details\",\"label-for\":\"empTypeDetails\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.employment.employmentTypeDetails == null || _vm.employment.employmentTypeDetails.length == 0) },attrs:{\"id\":\"empName\",\"type\":\"text\",\"placeholder\":\"Enter Employment Type Details\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.employment.employmentTypeDetails.$touch()}},model:{value:(_vm.employment.employmentTypeDetails),callback:function ($$v) {_vm.$set(_vm.employment, \"employmentTypeDetails\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employment.employmentTypeDetails\"}}),((_vm.checkValidationMessages || _vm.$v.employment.employmentTypeDetails.$dirty) && !_vm.$v.employment.employmentTypeDetails.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Employment type details are required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Employment Name\",\"label-for\":\"empName\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.employment.businessName.$error),'requiredField': (_vm.employment.businessName == null || _vm.employment.businessName.length == 0)},attrs:{\"id\":\"empName\",\"type\":\"text\",\"placeholder\":\"Enter Employment Name\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.employment.businessName.$touch()}},model:{value:(_vm.employment.businessName),callback:function ($$v) {_vm.$set(_vm.employment, \"businessName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employment.businessName\"}}),((_vm.checkValidationMessages || _vm.$v.employment.businessName.$dirty) && (_vm.$v.employment.businessName.error || !_vm.$v.employment.businessName.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Employment name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Employer ABN\",\"label-for\":\"empABN\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.employment.abn.$error),'requiredField': (_vm.employment.abn == null || _vm.employment.abn.length == 0)},attrs:{\"id\":\"empABN\",\"type\":\"text\",\"placeholder\":\"Enter ABN\",\"disabled\":_vm.isReadOnly,\"maxlength\":'11'},on:{\"input\":function($event){_vm.$v.employment.abn.$touch();_vm.validateABN();}},model:{value:(_vm.employment.abn),callback:function ($$v) {_vm.$set(_vm.employment, \"abn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employment.abn\"}}),((_vm.checkValidationMessages || _vm.$v.employment.abn.$dirty) && (_vm.$v.employment.abn.error || !_vm.$v.employment.abn.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Employment ABN is required.\\n \")]):_vm._e(),(_vm.isInvalidABN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.invalidABNMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Employer ACN\",\"label-for\":\"empACN\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.employment.acn.$error)},attrs:{\"id\":\"empACN\",\"type\":\"text\",\"placeholder\":\"Enter ACN\",\"disabled\":_vm.isReadOnly,\"maxlength\":'9'},on:{\"input\":function($event){_vm.$v.employment.acn.$touch();_vm.validateACN();}},model:{value:(_vm.employment.acn),callback:function ($$v) {_vm.$set(_vm.employment, \"acn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employment.acn\"}}),(_vm.isInvalidACN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.invalidACNMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Position or Title\",\"label-for\":\"empPosition\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.employment.position.$error),'requiredField': (_vm.employment.position == null || _vm.employment.position.length == 0)},attrs:{\"id\":\"empTitle\",\"type\":\"text\",\"placeholder\":\"Enter Position or Title\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.employment.position.$touch();}},model:{value:(_vm.employment.position),callback:function ($$v) {_vm.$set(_vm.employment, \"position\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employment.position\"}}),((_vm.checkValidationMessages || _vm.$v.employment.position.$dirty) && (_vm.$v.employment.position.error || !_vm.$v.employment.position.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Position or Title is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Employer Contact Name\",\"label-for\":\"empContactName\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.employment.employerContactName.$error),'requiredField': (_vm.employment.employerContactName == null || _vm.employment.employerContactName.length == 0)},attrs:{\"id\":\"empContactName\",\"type\":\"text\",\"placeholder\":\"Enter Contact Name\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.employment.employerContactName.$touch();}},model:{value:(_vm.employment.employerContactName),callback:function ($$v) {_vm.$set(_vm.employment, \"employerContactName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employment.employerContactName\"}}),((_vm.checkValidationMessages || _vm.$v.employment.employerContactName.$dirty) && (_vm.$v.employment.employerContactName.error || !_vm.$v.employment.employerContactName.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Employer contact name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Employer Contact Number\",\"label-for\":\"empContactNum\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.employment.workPhone.$error),\n 'requiredField': (_vm.employment.workPhone == null || _vm.employment.workPhone.length == 0)},attrs:{\"id\":\"empContactNum\",\"type\":\"text\",\"placeholder\":\"Enter Contact Number\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.employment.workPhone.$touch();}},model:{value:(_vm.employment.workPhone),callback:function ($$v) {_vm.$set(_vm.employment, \"workPhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employment.workPhone\"}}),((_vm.checkValidationMessages || _vm.$v.employment.workPhone.$dirty) && (_vm.$v.employment.workPhone.error || !_vm.$v.employment.workPhone.required))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Employer contact number is required.\\n \")]):_vm._e(),((_vm.checkValidationMessages || _vm.$v.employment.workPhone.$dirty) && (_vm.$v.employment.workPhone.error || !_vm.$v.employment.workPhone.numeric))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid Employer contact number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticStyle:{\"display\":\"inline-block\"},attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Length of Employment\",\"label-for\":\"lengthOfEmployment\"}},[_c('b-row',{staticClass:\"lengthOfEmploymentTextInput\"},[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{staticClass:\"mb-0\",attrs:{\"label\":\"Years\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{'requiredField': (_vm.employment.lengthOfEmploymentYears == null || _vm.employment.lengthOfEmploymentYears.length == 0)},attrs:{\"id\":\"lengthOfEmployment\",\"type\":\"text\",\"label\":\"Years\",\"maxlength\":'3',\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Years\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.employment.lengthOfEmploymentYears.$touch();}},model:{value:(_vm.employment.lengthOfEmploymentYears),callback:function ($$v) {_vm.$set(_vm.employment, \"lengthOfEmploymentYears\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"employment.lengthOfEmploymentYears\"}}),((_vm.checkValidationMessages || _vm.$v.employment.lengthOfEmploymentYears.$dirty) && !_vm.$v.employment.lengthOfEmploymentYears.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid number of years.\\n \")]):_vm._e(),((_vm.checkValidationMessages || _vm.$v.employment.lengthOfEmploymentYears .$dirty) && !_vm.$v.employment.lengthOfEmploymentYears.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Number of years is required.\\n \")]):_vm._e()],1)],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{staticClass:\"mb-0\",attrs:{\"label\":\"Months\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{'requiredField': (_vm.employment.lengthOfEmploymentMonths == null || _vm.employment.lengthOfEmploymentMonths.length == 0)},attrs:{\"id\":\"lengthOfEmploymentMonths\",\"plain\":true,\"options\":_vm.monthsPerYear,\"disabled\":_vm.isReadOnly},on:{\"change\":function($event){return _vm.$v.employment.lengthOfEmploymentMonths.$touch();}},model:{value:(_vm.employment.lengthOfEmploymentMonths),callback:function ($$v) {_vm.$set(_vm.employment, \"lengthOfEmploymentMonths\", $$v)},expression:\"employment.lengthOfEmploymentMonths\"}},[(_vm.employment.lengthOfEmploymentMonths == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Select Months --\")])]):_vm._e()],2),((_vm.checkValidationMessages || _vm.$v.employment.lengthOfEmploymentMonths.$dirty) && (!_vm.$v.employment.lengthOfEmploymentMonths.isRequired))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Number of months is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1),_c('b-row',{staticClass:\"mb-3 mt-4\"},[(_vm.showAddEditEmploymentButton || _vm.editMode)?_c('b-button',{staticClass:\"primary ml-3 mr-3\",attrs:{\"id\":\"addEmploymentBtn\",\"disabled\":_vm.isModelInvalidForAddEmployment() || _vm.isReadOnly,\"title\":\"Add New Employment Record\"},on:{\"click\":_vm.addEditEmploymentLine}},[_c('i',{class:_vm.editMode ? '' : 'fas fa-plus',attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.editMode ? 'Update Employment' : 'Add Employment')+\"\\n \")]):_vm._e(),(_vm.editMode)?_c('b-button',{attrs:{\"disabled\":_vm.isReadOnly,\"title\":\"Cancel Update Employment\",\"id\":\"cancelUpdateEmployment\"},on:{\"click\":_vm.onCancelEditEmployment}},[_vm._v(\"\\n Cancel\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export class ApplicationEmploymentLineModel{\r\n id:number;\r\n businessName:string;\r\n employmentType:number;\r\n employmentTypeDetails:string;\r\n position:string;\r\n employerContactName:string;\r\n lengthOfEmploymentYears:any;\r\n lengthOfEmploymentMonths:any;\r\n abn:any;\r\n acn:any;\r\n workPhone:string;\r\n mobilePhone:string;\r\n email:string;\r\n payrollSoftware:number;\r\n isActive:boolean;\r\n concurrencyKey:any;\r\n createdByName:string;\r\n lastUpadteByName:string;\r\n createdDate:any;\r\n lastUpdatedDate:any;\r\n index:number;\r\n rowNumber:number;\r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { validationMixin } from 'vuelidate';\nimport { required,minValue, maxLength,numeric} from 'vuelidate/lib/validators';\nimport { ApplicationEmploymentLineModel } from '@/models/applicationEmploymentLine.model';\nimport customValidationService from '@/shared/services/customValidationService';\nimport lookupService from '@/shared/services/lookupService';\nimport { EmploymentTypes } from '@/shared/enums/employmentTypes.enum';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport CFATableAuditHistory from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFATableAuditHistory.vue';\n\n@Component({\n components:{\n CFATableAuditHistory,\n },\n mixins:[validationMixin],\n validations:\n {\n employment:{\n businessName :{\n required\n },\n employmentType: {\n minValue:minValue(1),\n required,\n },\n abn: {\n required,\n numeric \n },\n acn:{\n numeric\n },\n position:{\n required\n },\n employerContactName:{\n required\n },\n workPhone:{\n required,\n numeric\n },\n lengthOfEmploymentYears:{\n maxLength:maxLength(3),\n numeric,\n isRequired: (value, vm) => {\n if(vm.lengthOfEmploymentMonths == 0 && value == \"0\"){\n return false;\n }else{\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n }\n },\n lengthOfEmploymentMonths:{\n isRequired: (value, vm) => {\n if(vm.lengthOfEmploymentYears == \"0\" && value == 0){\n return false;\n }else{\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n }\n },\n employmentTypeDetails:{\n isRequired:(value, vm) => {\n if(vm.employmentType != EmploymentTypes.Other ) {\n return true;\n } \n else {\n if (typeof value === 'undefined' || value === null || value === '') {\n return false\n }\n return true;\n }\n }\n }\n }\n }\n \n} )\n\nexport default class ApplicationEmployment extends Vue{\n @Prop() initialEmployment:any\n @Prop({default: false}) checkValidationMessages:boolean\n @Prop() isReadOnly:boolean;\n @Prop() stepNo:number;\n @Prop({default:null}) selectedRow:any;\n @Prop({default: false}) editMode:boolean;\n @Prop({default : true}) showAddEditEmploymentButton:boolean;\n\n EmploymentTypeOther: EmploymentTypes = EmploymentTypes.Other;\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n newEmploymentModel: ApplicationEmploymentLineModel = new ApplicationEmploymentLineModel()\n employment: ApplicationEmploymentLineModel = new ApplicationEmploymentLineModel()\n dirtyValidatorRefNo:number = 0;\n employmentTypes: any = [];\n monthsPerYear = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];\n isInvalidABN:boolean = false;\n invalidABNMessage:string = \"\";\n isInvalidACN:boolean = false;\n invalidACNMessage:string = \"\";\n isAdmin:boolean = false;\n\n newApplicationEmploymentLineModel: ApplicationEmploymentLineModel = {\n id: 0,\n index:-1,\n rowNumber:0,\n businessName: \"\",\n employmentType: 0,\n employmentTypeDetails: \"\",\n position: \"\",\n employerContactName: \"\",\n lengthOfEmploymentYears: null,\n lengthOfEmploymentMonths: null,\n abn: null,\n acn: null,\n workPhone: \"\",\n mobilePhone: \"\",\n email: \"\",\n payrollSoftware: 0,\n isActive: false,\n concurrencyKey: \"\",\n createdByName: \"\",\n lastUpadteByName: \"\",\n createdDate: null,\n lastUpdatedDate: null,\n }\n\n @Watch('selectedRow')\n onEmploymentTableRowSelect(val: any, oldVal: any)\n { \n if(this.selectedRow != null){\n this.employment = Object.assign({}, this.selectedRow);\n }\n }\n\n @Watch('initialEmployment')\n onInitialEmployment(val: any, oldVal: any)\n {\n this.newEmploymentModel = this.initialEmployment;\n this.employment = Object.assign({},this.newEmploymentModel);\n }\n\n created(){\n this.newEmploymentModel = this.initialEmployment;\n this.employment = Object.assign({},this.newEmploymentModel);\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n this.loadEmploymentTypes();\n }\n\n getEmployment(){\n return this.employment;\n }\n\n loadEmploymentTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetEmploymentTypes().then(data => \n {\n this.employmentTypes = data;\n this.$store.dispatch('storeIsBusyValue',false);\n }); \n }\n\n onEmploymentTypeChange(){\n this.employment.employmentTypeDetails = \"\"\n }\n\n isModelInvalidForAddEmployment()\n {\n return (this.$v.employment.employmentType.$invalid\n || this.$v.employment.businessName.$invalid\n || (this.$v.employment.abn.$invalid || this.isInvalidABN)\n || this.$v.employment.position.$invalid\n || this.$v.employment.employerContactName.$invalid\n || this.$v.employment.workPhone.$invalid\n || this.$v.employment.lengthOfEmploymentYears.$invalid\n || this.$v.employment.lengthOfEmploymentMonths.$invalid\n );\n }\n\n validateStep():boolean{\n return !this.$v.$invalid;\n }\n\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n validateABN(){\n var result = customValidationService.validateABN(this.employment.abn);\n this.isInvalidABN = result.isValid;\n this.invalidABNMessage = result.validationMessage;\n }\n\n validateACN(){\n var result = customValidationService.validateACN(this.employment.acn);\n this.isInvalidACN = result.isValid;\n this.invalidACNMessage = result.validationMessage;\n }\n\n addEditEmploymentLine(){\n if(this.editMode){\n let editedEmploymentLine = Object.assign({}, this.newApplicationEmploymentLineModel);\n editedEmploymentLine.employmentType = this.employment.employmentType;\n editedEmploymentLine.employmentTypeDetails = this.employment.employmentTypeDetails;\n editedEmploymentLine.businessName = this.employment.businessName;\n editedEmploymentLine.abn = this.employment.abn;\n editedEmploymentLine.acn = this.employment.acn;\n editedEmploymentLine.position = this.employment.position;\n editedEmploymentLine.employerContactName = this.employment.employerContactName;\n editedEmploymentLine.workPhone = this.employment.workPhone;\n editedEmploymentLine.lengthOfEmploymentYears = this.employment.lengthOfEmploymentYears;\n editedEmploymentLine.lengthOfEmploymentMonths = this.employment.lengthOfEmploymentMonths;\n\n this.applicationEmploymentLinesChanged(editedEmploymentLine);\n this.onCancelEditEmployment();\n }else{\n let newEmploymentLine = Object.assign({}, this.newApplicationEmploymentLineModel);\n newEmploymentLine.employmentType = this.employment.employmentType;\n newEmploymentLine.employmentTypeDetails = this.employment.employmentTypeDetails;\n newEmploymentLine.businessName = this.employment.businessName;\n newEmploymentLine.abn = this.employment.abn;\n newEmploymentLine.acn = this.employment.acn;\n newEmploymentLine.position = this.employment.position;\n newEmploymentLine.employerContactName = this.employment.employerContactName;\n newEmploymentLine.workPhone = this.employment.workPhone;\n newEmploymentLine.lengthOfEmploymentYears = this.employment.lengthOfEmploymentYears;\n newEmploymentLine.lengthOfEmploymentMonths = this.employment.lengthOfEmploymentMonths;\n \n this.applicationEmploymentLinesChanged(newEmploymentLine);\n this.clearApplicationEmploymentFields();\n } \n }\n\n clearApplicationEmploymentFields(){\n this.employment.employmentType = 0;\n this.employment.employmentTypeDetails = \"\";\n this.employment.businessName = \"\";\n this.employment.abn = null;\n this.employment.acn = null;\n this.employment.position = \"\";\n this.employment.employerContactName = \"\";\n this.employment.workPhone = \"\";\n this.employment.lengthOfEmploymentYears = null;\n this.employment.lengthOfEmploymentMonths = null;\n this.$v.employment.$reset();\n }\n\n onCancelEditEmployment(){\n this.onCancelEmploymentTableRowSelected();\n this.clearApplicationEmploymentFields();\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n\n @Emit('applicationEmploymentLinesChanged') applicationEmploymentLinesChanged(applicationEmploymentLines:any){}\n\n @Emit('onCancelEmploymentTableRowSelected') onCancelEmploymentTableRowSelected(){}\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationEmployment.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationEmployment.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationEmployment.vue?vue&type=template&id=60bbe997\"\nimport script from \"./ApplicationEmployment.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationEmployment.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { ClientApplicationFileTypes } from '@/shared/enums/clientApplicationFileTypes.enum';\nimport DragAndDropControlApplication from '@/shared/components/dragAndDropControl/DragAndDropControlApplication.vue';\nimport ApplicationEmployment from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/ApplicationEmployment.vue'\nimport { ApplicationEmploymentLineModel } from '@/models/applicationEmploymentLine.model';\nimport { EmploymentDetailsModel } from '@/models/clientFinanceApplication.model';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum'; \nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport TableActionButtons from './TableActionButtons.vue';\nimport clientFinanceApplicationValidationService from '@/shared/services/clientFinanceApplicationValidationService';\nimport fieldValidations from '@/shared/services/fieldValidationService';\n\n@Component({\n components:{\n ApplicationEmployment,\n DragAndDropControlApplication,\n DataTable,\n },\n mixins:[validationMixin],\n validations:\n {\n \n }\n})\nexport default class EmploymentDetails extends Vue{\n @Prop() isClient:boolean;\n @Prop() routeNames:string[];\n \n stepNo:number = ClientFinanceApplicationStates.Employment;\n paySlipFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.Payslip;\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n currentEmployment: ApplicationEmploymentLineModel = new ApplicationEmploymentLineModel();\n checkValidationMessages:boolean = false;\n clientId:number = 0;\n docRequiredText:string = '';\n applicationId:number = 0;\n routerName:string = \"\";\n employmentDetails: EmploymentDetailsModel = new EmploymentDetailsModel();\n isEmploymentLoaded:boolean = false;\n clientFinanceApplicationRelatedTable:RelatedTables = RelatedTables.ClientFinanceApplication;\n isReadOnly:boolean = false;\n initialApplicationEmploymentObj: ApplicationEmploymentLineModel = {\n id:0,\n index: -1,\n rowNumber: 0,\n businessName:\"\",\n abn:\"\",\n employmentType:0,\n employmentTypeDetails:\"\",\n acn:\"\",\n workPhone:\"\",\n mobilePhone:\"\",\n email:\"\",\n payrollSoftware:0,\n employerContactName:\"\",\n lengthOfEmploymentYears:null,\n lengthOfEmploymentMonths:null,\n isActive:true,\n concurrencyKey:\"\",\n createdByName:\"\",\n lastUpadteByName:\"\",\n createdDate:\"\",\n lastUpdatedDate:\"\",\n position:\"\",\n };\n \n items:any = [];\n tableName:string = \"Employment\";\n selectMode = \"single\";\n employmentLinesFields = [\n {key: 'rowNumber', label: '#', class: 'width_5 text-left'},\n {key: 'businessName', label: 'Employer Name', class: 'width_30'},\n {key: 'lengthOfEmploymentText', label: 'Length of Employment', class:'width_20',\n formatter: (value, key, item) => {\n return item.lengthOfEmploymentYears == 0 ? item.lengthOfEmploymentMonths + (item.lengthOfEmploymentMonths == 1 ? \" Month\" : \" Months\")\n : item.lengthOfEmploymentMonths == 0 ? item.lengthOfEmploymentYears + (item.lengthOfEmploymentYears == 1 ? \" Year\" : \" Years\")\n : item.lengthOfEmploymentYears + (item.lengthOfEmploymentYears == 1 ? \" Year\" : \" Years\") + \" and \" + item.lengthOfEmploymentMonths + (item.lengthOfEmploymentMonths == 1 ? \" Month\" : \" Months\");\n }\n } \n ];\n selectedRowData:any = null\n editMode:boolean = false;\n customTemplateList:Array = [];\n \n created(){\n this.checkValidationMessages = false;\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.isReadOnly = this.$store.getters.getIsReadOnly;\n this.routerName = this.$route.params.routerDisplayName;\n\n this.employmentDetails = Object.assign({},this.$store.getters.getClientFinanceApplicationEmploymentDetails);\n this.currentEmployment = this.initialApplicationEmploymentObj;\n if(!this.isReadOnly){\n this.employmentLinesFields.push({key: 'actions',label:\"\",class:'text-right text-nowrap width_5', formatter:null});\n this.customTemplateList.push({slot:\"actions\",customTemplate:TableActionButtons});\n }\n this.items = this.employmentDetails.employmentLines;\n this.isEmploymentLoaded = true;\n }\n\n mounted(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.Employment) && this.employmentDetails.employmentLines.length <= 0){\n this.checkValidationMessages = true;\n }\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.Employment)){\n this.onValidateDocumentList(false);\n }\n if(this.isReadOnly && this.employmentDetails.employmentLines.length > 0){\n this.onCustomDataTableEvent(this.employmentDetails.employmentLines[0], DataTableActionTypes.RowSelect);\n (this.$refs.employmentLineRecords as DataTable).selectFirstRow();\n }\n }\n\n getEmploymentDetails(){\n this.employmentDetails.employmentLines = this.items;\n }\n\n get isShowAddEditEmploymentButton(){\n return this.items.length < 4;\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number){\n if(this.isClient){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Employment)){\n editedSteps.push(ClientFinanceApplicationStates.Employment);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.getEmploymentDetails();\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected || this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationEmploymentDetails',this.employmentDetails);\n return true;\n }\n if(this.validateOnSave()){ \n this.$store.dispatch('updateClientFinanceApplicationEmploymentDetails',this.employmentDetails);\n if(this.$store.getters.getClientFinanceApplicationStatus <= ClientFinanceApplicationStates.ChangeInCircumstances){\n this.$store.dispatch('updateClientFinanceApplicationStatus',nextStep+1);\n }\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var employmentDetailsDocs = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Employment);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.onValidateStep(ClientFinanceApplicationStates.Employment, employmentDetailsDocs);\n this.onNavigate(nextStep, this.applicationId);\n return true;\n });\n }else{\n this.onValidateStep(ClientFinanceApplicationStates.Employment, employmentDetailsDocs);\n return false;\n } \n }else{\n this.onNavigate(nextStep, this.applicationId);\n return true;\n } \n }\n\n updateModelOnSave(){\n if(this.validateOnSave()){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Employment)){\n editedSteps.push(ClientFinanceApplicationStates.Employment);\n this.$store.dispatch('updateClientFinanceApplicationStatus',ClientFinanceApplicationStates.Employment);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.getEmploymentDetails();\n if(this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Rejected && this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationEmploymentDetails',this.employmentDetails);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(response => {\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var employmentDetailsDocs = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Employment);\n this.onValidateStep(ClientFinanceApplicationStates.Employment, employmentDetailsDocs);\n });\n }\n } \n }\n\n validateOnSave(){\n this.getEmploymentDetails();\n var isValid = true;\n\n if(this.employmentDetails.employmentLines.length > 0){\n this.checkValidationMessages = false;\n }else{\n this.checkValidationMessages = true;\n }\n\n if(this.employmentDetails.documentList.length > 0){\n this.onValidateDocumentList(false);\n }else{\n this.onValidateDocumentList(true);\n }\n if(!this.isValidEmployment()){\n isValid = false; \n }\n return isValid;\n }\n\n isValidEmployment():boolean {\n var isValid = true;\n this.items.forEach(employment => {\n if(!fieldValidations.isValidOrNullNumber(employment.lengthOfEmploymentYears)){\n isValid = false;\n return isValid;\n }\n });\n return isValid;\n } \n\n onNavigate(step: number, applicationId:number){\n var requestedRouterName = this.routeNames[step];\n if(requestedRouterName != this.routerName){\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:applicationId.toString(), routerDisplayName:requestedRouterName}}); \n }\n }\n\n onValidateDocumentList(validateFromStore:boolean = true){\n var documentList = [];\n this.docRequiredText = \"\"\n if(validateFromStore) {\n var docs = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n documentList = docs.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Employment);\n }\n else {\n documentList = this.$store.getters.getClientFinanceApplicationEmploymentDetails.documentList;\n }\n if(documentList && documentList.length < 1){\n this.docRequiredText = \"Two PaySlips are required.\"; \n }\n return this.docRequiredText == '';\n }\n\n onValidateEmploymentDetails(){\n var employmentDetails = this.$store.getters.getClientFinanceApplicationEmploymentDetails;\n return clientFinanceApplicationValidationService.isValidEmploymentDetails(employmentDetails);\n }\n\n onCustomDocumentEvent(){\n this.onValidateDocumentList();\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var employmentDetailsDocs = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Employment);\n this.onValidateStep(ClientFinanceApplicationStates.Employment, employmentDetailsDocs);\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.employmentLineRecords as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.employmentLineRecords as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.editMode = false;\n var itemIndex = this.items.findIndex(f => f.index == data.index);\n\n if(itemIndex > -1){\n this.items.splice(itemIndex, 1);\n var index = 0; \n this.items.forEach(employment => {\n employment.index = index++;\n });\n this.resetTableRowNumbers();\n }\n\n (this.$refs.employmentLineRecords as DataTable).resetLastCustomAction();\n this.onCancelEmploymentTableRowSelected();\n this.onValidateEmploymentListAfterAction();\n (this.$refs.currentEmployment as ApplicationEmployment).clearApplicationEmploymentFields();\n }\n if(type == DataTableActionTypes.RowSelect){\n this.editMode = true;\n this.selectedRowData = data;\n }\n }\n\n applicationEmploymentLinesChanged(applicationEmploymentLines){\n if(!this.editMode){\n applicationEmploymentLines.index = this.items.length;\n this.items.push(applicationEmploymentLines); \n }else{\n var itemIndex = this.items.findIndex(f => f.index == this.selectedRowData.index);\n applicationEmploymentLines.index = this.selectedRowData.index;\n applicationEmploymentLines.rowNumber = this.selectedRowData.rowNumber;\n\n if(itemIndex > -1){\n this.items.splice(itemIndex, 1, applicationEmploymentLines);\n }\n }\n\n this.resetTableRowNumbers();\n this.checkValidationMessages = false;\n }\n\n resetTableRowNumbers(){\n if(this.items.length > 0){\n if(!this.editMode){\n var rowNumber = 1;\n this.items.forEach(employment => {\n employment.rowNumber = rowNumber++;\n });\n }\n }\n }\n\n onValidateEmploymentListAfterAction(){\n this.getEmploymentDetails();\n this.$store.dispatch('updateClientFinanceApplicationEmploymentDetails', this.employmentDetails);\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var employmentDetailsDocs = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Employment);\n this.onValidateStep(ClientFinanceApplicationStates.Employment, employmentDetailsDocs);\n }\n\n onCancelEmploymentTableRowSelected(){\n this.editMode = false;\n this.selectedRowData = null;\n if((this.$refs.employmentLineRecords as DataTable) != undefined){\n (this.$refs.employmentLineRecords as DataTable).clearSelected();\n }\n }\n\n @Emit('onValidateStep') onValidateStep(applicationStep:ClientFinanceApplicationStates, documentList:any[]) {}\n\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmploymentDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EmploymentDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EmploymentDetails.vue?vue&type=template&id=c8236ca2&scoped=true\"\nimport script from \"./EmploymentDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./EmploymentDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EmploymentDetails.vue?vue&type=style&index=0&id=c8236ca2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c8236ca2\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ml-2 mt-4\"},[_c('CFAAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"stepName\":'Income'}}),_c('b-form',[_c('b-row',[_c('b-col',{attrs:{\"xl\":\"3\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"grossAnnualIncome\"}},[_vm._v(\"Gross Annual Income (Including Super)\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.income.grossAnnualIncome == null || _vm.income.grossAnnualIncome.length == 0 ) },attrs:{\"id\":\"grossAnnualIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Gross Annual Income (Including Super)\"},on:{\"input\":function($event){return _vm.$v.income.grossAnnualIncome.$touch()}},model:{value:(_vm.income.grossAnnualIncome),callback:function ($$v) {_vm.$set(_vm.income, \"grossAnnualIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.grossAnnualIncome\"}})],1),(_vm.validateRequiredField && !_vm.$v.income.grossAnnualIncome.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Gross Annual Income (Including Super) is required.\\n \")]):_vm._e(),(_vm.$v.income.grossAnnualIncome.$dirty && !_vm.$v.income.grossAnnualIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1),_c('br'),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"monthlyNetIncome\"}},[_vm._v(\"Monthly Net Income\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.income.monthlyNetIncome == null || _vm.income.monthlyNetIncome.length == 0 ) },attrs:{\"id\":\"monthlyNetIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Monthly Net Income\"},on:{\"input\":function($event){return _vm.$v.income.monthlyNetIncome.$touch()}},model:{value:(_vm.income.monthlyNetIncome),callback:function ($$v) {_vm.$set(_vm.income, \"monthlyNetIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.monthlyNetIncome\"}})],1),(_vm.validateRequiredField && !_vm.$v.income.monthlyNetIncome.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Monthly Net Income is required.\\n \")]):_vm._e(),(_vm.$v.income.monthlyNetIncome.$dirty && !_vm.$v.income.monthlyNetIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1),_c('br'),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"spousalGrossAnnualIncome\"}},[_vm._v(\"Spousal Gross Annual Income\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"spousalGrossAnnualIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Spousal Gross Annual Income\"},on:{\"input\":function($event){return _vm.$v.income.spousalGrossAnnualIncome.$touch()}},model:{value:(_vm.income.spousalGrossAnnualIncome),callback:function ($$v) {_vm.$set(_vm.income, \"spousalGrossAnnualIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.spousalGrossAnnualIncome\"}})],1),(_vm.$v.income.spousalGrossAnnualIncome.$dirty && !_vm.$v.income.spousalGrossAnnualIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1),_c('br'),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"spousalMonthlyNetIncome\"}},[_vm._v(\"Spousal Monthly Net Income\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"spousalMonthlyNetIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Spousal Monthly Net Income\"},on:{\"input\":function($event){return _vm.$v.income.spousalMonthlyNetIncome.$touch()}},model:{value:(_vm.income.spousalMonthlyNetIncome),callback:function ($$v) {_vm.$set(_vm.income, \"spousalMonthlyNetIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.spousalMonthlyNetIncome\"}})],1),(_vm.$v.income.spousalMonthlyNetIncome.$dirty && !_vm.$v.income.spousalMonthlyNetIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1)],1),_c('b-col',{attrs:{\"xl\":\"3\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"investmentPropertyIncome\"}},[_vm._v(\"Monthly Investment Property Income\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"investmentPropertyIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Monthly Investment Property Income\"},on:{\"input\":function($event){return _vm.$v.income.investmentPropertyIncome.$touch()}},model:{value:(_vm.income.investmentPropertyIncome),callback:function ($$v) {_vm.$set(_vm.income, \"investmentPropertyIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.investmentPropertyIncome\"}})],1),(_vm.$v.income.investmentPropertyIncome.$dirty && !_vm.$v.income.investmentPropertyIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1),_c('br'),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"superannuationIncome\"}},[_vm._v(\"Monthly Superannuation Income\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"superannuationIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Monthly Superannuation Income\"},on:{\"input\":function($event){return _vm.$v.income.superannuationIncome.$touch()}},model:{value:(_vm.income.superannuationIncome),callback:function ($$v) {_vm.$set(_vm.income, \"superannuationIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.superannuationIncome\"}})],1),(_vm.$v.income.superannuationIncome.$dirty && !_vm.$v.income.superannuationIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1),_c('br'),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"governmentBenefitIncome\"}},[_vm._v(\"Monthly Government Benefit Income\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"governmentBenefitIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Monthly Government Benefit Income\"},on:{\"input\":function($event){return _vm.$v.income.governmentBenefitIncome.$touch()}},model:{value:(_vm.income.governmentBenefitIncome),callback:function ($$v) {_vm.$set(_vm.income, \"governmentBenefitIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.governmentBenefitIncome\"}})],1),(_vm.$v.income.governmentBenefitIncome.$dirty && !_vm.$v.income.governmentBenefitIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1),_c('br'),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"investmentIncome\"}},[_vm._v(\"Monthly Investment Income\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"investmentIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Monthly Investment Income\"},on:{\"input\":function($event){return _vm.$v.income.investmentIncome.$touch()}},model:{value:(_vm.income.investmentIncome),callback:function ($$v) {_vm.$set(_vm.income, \"investmentIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.investmentIncome\"}})],1),(_vm.$v.income.investmentIncome.$dirty && !_vm.$v.income.investmentIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1),_c('br'),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"otherIncome\"}},[_vm._v(\"Monthly Other Income/Incomes\")]),_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"otherIncome\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Monthly Other Income/Incomes\"},on:{\"input\":function($event){_vm.$v.income.otherIncome.$touch();_vm.resetIncomeDetails()}},model:{value:(_vm.income.otherIncome),callback:function ($$v) {_vm.$set(_vm.income, \"otherIncome\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.otherIncome\"}})],1),(_vm.$v.income.otherIncome.$dirty && !_vm.$v.income.otherIncome.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1),_c('br'),(_vm.income.otherIncome && _vm.income.otherIncome.length!=0 && _vm.$v.income.otherIncome.numeric && _vm.income.otherIncome!=0)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',{attrs:{\"for\":\"otherIncomeDetails\"}},[_vm._v(\"Other Income/Incomes Details\")]),_c('b-input-group',[_c('b-form-textarea',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.income.otherIncomeDetails == null || _vm.income.otherIncomeDetails.length == 0 ) },attrs:{\"id\":\"otherIncomeDetails\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"rows\":\"1\",\"max-rows\":\"5\",\"placeholder\":\"Enter Other Income/Incomes Details\"},on:{\"input\":function($event){return _vm.$v.income.otherIncomeDetails.$touch()}},model:{value:(_vm.income.otherIncomeDetails),callback:function ($$v) {_vm.$set(_vm.income, \"otherIncomeDetails\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"income.otherIncomeDetails\"}})],1),(_vm.validateRequiredField && _vm.income.otherIncomeDetails.length==0)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Other Income Details are required.\\n \")]):_vm._e()],1)],1):_vm._e()],1),_c('b-col',{attrs:{\"xl\":\"6\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"inner-card\"},[_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please ensure to upload the following supporting documents: \")]),_c('ul',[_c('li',[_vm._v(\" Proof of other income, such as government benefits.\")])]),_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please note the following: \")]),_c('ul',[_c('li',[_vm._v(\"The financier may also request your spouses most recent payslips for serviceability reasons.\")]),_c('li',[_vm._v(\"The financier may also request bank statements for the last 3 months showing your incoming and outgoing expenses.\")])]),(_vm.docRequiredText)?_c('p',{staticStyle:{\"color\":\"red\"}},[_vm._v(_vm._s(_vm.docRequiredText))]):_vm._e(),_c('DragAndDropControlApplication',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.clientFinanceApplication,\"relatedID\":_vm.applicationId,\"isAcknowledgeEnabled\":false,\"relatedStep\":_vm.stepNo,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":!_vm.isReadOnly,\"index\":1,\"modalMode\":false},on:{\"documentChangedEvent\":_vm.onCustomDocumentEvent,\"onLoadDocumentList\":_vm.validateIncomeStep}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop} from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport {IncomeModel } from '@/models/clientFinanceApplication.model';\nimport { required, numeric} from 'vuelidate/lib/validators';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport DragAndDropControlApplication from '@/shared/components/dragAndDropControl/DragAndDropControlApplication.vue';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { ClientApplicationFileTypes } from '@/shared/enums/clientApplicationFileTypes.enum';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport CFAAuditHistory from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFAAuditHistory.vue';\n\n@Component({\n components:{\n DragAndDropControlApplication,\n Modal,\n CFAAuditHistory\n },\n mixins:[validationMixin],\n validations:\n {\n income:{\n grossAnnualIncome:{\n numeric,\n required\n },\n monthlyNetIncome:{\n numeric,\n required\n },\n spousalGrossAnnualIncome:{\n numeric,\n },\n spousalMonthlyNetIncome:{\n numeric,\n },\n investmentPropertyIncome:{\n numeric,\n },\n superannuationIncome:{\n numeric,\n },\n governmentBenefitIncome:{\n numeric,\n },\n investmentIncome:{\n numeric,\n },\n otherIncome:{\n numeric,\n },\n otherIncomeDetails:{ \n }\n }\n }\n})\nexport default class Income extends Vue{\n @Prop() isClient:boolean;\n @Prop() routeNames:string[];\n\n income:IncomeModel={\n grossAnnualIncome:\"\",\n monthlyNetIncome:\"\",\n spousalGrossAnnualIncome:\"\",\n spousalMonthlyNetIncome:\"\",\n investmentPropertyIncome:\"\",\n superannuationIncome:\"\",\n governmentBenefitIncome:\"\",\n investmentIncome:\"\",\n otherIncome:\"\",\n otherIncomeDetails:\"\",\n documentList:[]\n \n };\n\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n stepNo:number = ClientFinanceApplicationStates.Income;\n dirtyValidatorRefNo:number = 0;\n applicationInfoDirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n applicationId:number = 0;\n otherIncomeFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.OtherIncome;\n bankStatementFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.BankStatement;\n spouceRecentPaySlipFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.SpouceRecentPaySlip;\n docRequiredText:string = '';\n currentIndex:number = 0;\n validateRequiredField:boolean = false;\n routerName:string = \"\";\n isReadOnly:boolean = false;\n isAdmin:boolean = false;\n \n created(){\n this.income = Object.assign({},this.$store.getters.getClientFinanceApplicationIncome);\n this.isReadOnly = this.$store.getters.getIsReadOnly;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.income);\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.routerName = this.$route.params.routerDisplayName;\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n }\n\n mounted(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.Income)){\n this.validateRequiredField = true;\n }\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number){\n if(this.isClient){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Income)){\n editedSteps.push(ClientFinanceApplicationStates.Income);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected || this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationIncome',this.income);\n return true;\n } \n if(this.validateOnSave()){\n this.$store.dispatch('updateClientFinanceApplicationIncome',this.income);\n if(this.$store.getters.getClientFinanceApplicationStatus <= ClientFinanceApplicationStates.ChangeInCircumstances){\n this.$store.dispatch('updateClientFinanceApplicationStatus',nextStep+1);\n }\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.onValidateStep(ClientFinanceApplicationStates.Income, []);\n this.onNavigate(nextStep, this.applicationId);\n return true;\n });\n }else{\n this.onValidateStep(ClientFinanceApplicationStates.Income, []);\n return false;\n } \n }else{\n this.onNavigate(nextStep, this.applicationId);\n return true;\n }\n \n }\n \n updateModelOnSave(){\n if(this.validateOnSave()){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Income)){\n editedSteps.push(ClientFinanceApplicationStates.Income);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n\n if(this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Rejected && this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationIncome',this.income);\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(response => {\n var documentList = []\n this.onValidateStep(ClientFinanceApplicationStates.Income, documentList);\n });\n }\n }\n }\n\n validateOnSave():boolean {\n var isValid = true;\n \n if(!fieldValidations.isValidOrNullNumber(this.income.grossAnnualIncome)){\n isValid = false;\n }\n else if(!fieldValidations.isValidOrNullNumber(this.income.monthlyNetIncome)){\n isValid = false;\n }\n else if(!fieldValidations.isValidOrNullNumber(this.income.superannuationIncome)){\n isValid = false;\n }\n else if(!fieldValidations.isValidOrNullNumber(this.income.spousalGrossAnnualIncome)){\n isValid = false;\n }\n else if(!fieldValidations.isValidOrNullNumber(this.income.spousalMonthlyNetIncome)){\n isValid = false;\n }\n else if(!fieldValidations.isValidOrNullNumber(this.income.investmentPropertyIncome)){\n isValid = false;\n }\n else if(!fieldValidations.isValidOrNullNumber(this.income.otherIncome)){\n isValid = false;\n }\n else if(!fieldValidations.isValidOrNullNumber(this.income.governmentBenefitIncome)){\n isValid = false;\n }\n\n return isValid;\n }\n\n onValidateDocumentList(){\n var documentValidationDictionary = {\n otherIncomeFileType : 0,\n bankStatementFileType:0,\n spouceRecentPaySlipFileType:0,\n \n }\n var validationTextArray = [];\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n documentList.forEach(element => {\n if(element.fileType == ClientApplicationFileTypes.OtherIncome){\n documentValidationDictionary.otherIncomeFileType = 1;\n } else if (element.fileType == ClientApplicationFileTypes.BankStatement){\n documentValidationDictionary.bankStatementFileType = 1;\n } else if(element.fileType == ClientApplicationFileTypes.SpouceRecentPaySlip){\n documentValidationDictionary.spouceRecentPaySlipFileType = 1;\n }\n });\n \n }\n\n validateIncomeStep(){\n return !this.$v.income.$invalid && this.onValidateDocumentList();\n }\n\n onCustomDocumentEvent(){\n this.onValidateDocumentList();\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var incomeDocs = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Income);\n this.onValidateStep(ClientFinanceApplicationStates.Income, incomeDocs);\n }\n\n onNavigate(step: number, applicationId:number){\n var requestedRouterName = this.routeNames[step];\n if(requestedRouterName != this.routerName){\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:applicationId.toString(), routerDisplayName:requestedRouterName}}); \n }\n }\n\n @Emit('onValidateStep') onValidateStep(applicationStep:ClientFinanceApplicationStates, documentList:any[]) {\n\n }\n resetIncomeDetails(){\n this.income.otherIncomeDetails=\"\";\n }\n}\n","export enum AssetCategoryTypes {\r\n HomeProperty = 1,\r\n InvestmentProperty = 2,\r\n RecreationalAsset = 3,\r\n PlantAndEquipment = 4,\r\n MotorVehicle = 5,\r\n SharesTrustAndManagedFunds = 6,\r\n CashInBank = 7,\r\n Superannuation = 8,\r\n HomeContents = 9,\r\n Other = 10\r\n}\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Income.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Income.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Income.vue?vue&type=template&id=478347d3&scoped=true\"\nimport script from \"./Income.vue?vue&type=script&lang=ts\"\nexport * from \"./Income.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Income.vue?vue&type=style&index=0&id=478347d3&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"478347d3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ml-2 mt-4\"},[_c('CFATableAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"tableName\":'Assets'}}),_c('b-row',[_c('b-col',{attrs:{\"xl\":\"7\",\"lg\":\"12\"}},[_c('div',[(_vm.showEmptyBanner && _vm.items.length == 0)?_c('div',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{staticClass:\"pull-right primary mb-3\",attrs:{\"disabled\":_vm.isReadOnly},on:{\"click\":_vm.onAddAsset}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add New Asset\\n \")])],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n No assets found.\\n \")])])],2)],1)],1)],1):_vm._e(),(_vm.items.length > 0)?_c('b-table',{attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([{key:\"cell(category)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"grid-category-textInput\"},[_c('b-form-select',{class:{ 'requiredField': (_vm.items[row.index].category == null) },attrs:{\"id\":'category_' + row.index,\"plain\":true,\"options\":_vm.assetsCategories,\"disabled\":_vm.isReadOnly},on:{\"change\":function($event){return _vm.onCategoryChanged(row.index)}},model:{value:(row.item.category),callback:function ($$v) {_vm.$set(row.item, \"category\", $$v)},expression:\"row.item.category\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Select Category --\")])])],2)],1),(_vm.validateRequiredField && _vm.items[row.index].category == null)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Category is required.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(currencyAmount)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"grid-textInput\",attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"text-right textInput\",class:{ 'form-group--error': !_vm.isValidAmount(row.item.currencyAmount),\n 'requiredField': (_vm.items[row.index].currencyAmount == null || _vm.items[row.index].currencyAmount === '')},attrs:{\"id\":'currencyAmount' + row.index,\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Value\"},on:{\"input\":function($event){_vm.calculateTotalCurrencyAmount(); _vm.$v.items.$each[row.index].currencyAmount.$touch()}},model:{value:(row.item.currencyAmount),callback:function ($$v) {_vm.$set(row.item, \"currencyAmount\", $$v)},expression:\"row.item.currencyAmount\"}})],1),(_vm.validateRequiredField && (_vm.items[row.index].currencyAmount == null || _vm.items[row.index].currencyAmount === ''))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Value is required.\\n \")]):_vm._e(),(_vm.$v.items.$each[row.index].currencyAmount.$dirty && !_vm.$v.items.$each[row.index].currencyAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Value is invalid.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(ownedOutright)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"grid-category-textInput\"},[_c('b-form-select',{class:{ 'requiredField': (_vm.items[row.index].category != _vm.otherAssetCategoryType && _vm.items[row.index].ownedOutright == null) },attrs:{\"id\":'ownedOutright' + row.index,\"plain\":true,\"disabled\":_vm.isReadOnly},model:{value:(row.item.ownedOutright),callback:function ($$v) {_vm.$set(row.item, \"ownedOutright\", $$v)},expression:\"row.item.ownedOutright\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Select Category --\")]),_c('option',{domProps:{\"value\":true}},[_vm._v(\"Yes\")]),_c('option',{domProps:{\"value\":false}},[_vm._v(\"No\")])])],2)],1),(_vm.validateRequiredField && _vm.items[row.index].category != _vm.otherAssetCategoryType && _vm.items[row.index].ownedOutright == null)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Owned Outright is required.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(note)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(row.item.note),expression:\"row.item.note\"}],staticClass:\"textInput grid-textInput form-control\",attrs:{\"id\":'note_'+ row.index,\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Note\",\"rows\":1},domProps:{\"value\":(row.item.note)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(row.item, \"note\", $event.target.value)}}})])],1)]}},{key:\"cell(action)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"pt-1\",attrs:{\"cols\":\"12\"}},[(!_vm.isReadOnly)?_c('span',{staticClass:\"delete_assets\",attrs:{\"title\":\"Delete Item\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":'deleteAssets_' + row.index},on:{\"click\":function($event){return _vm.onDeleteAssetItem(row.index)}}},[_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"false\"}})]):_vm._e()])],1)]}},{key:\"custom-foot\",fn:function(){return [(true)?_c('b-tr',[_c('b-td',{staticClass:\"text-bold\",attrs:{\"colspan\":\"9\"}},[_c('b-button',{staticClass:\"pull-left primary\",attrs:{\"disabled\":_vm.isReadOnly},on:{\"click\":_vm.onAddAsset}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add New Asset\\n \")])],1)],1):_vm._e(),(_vm.items && _vm.items.length > 1)?_c('b-tr',[_c('b-td',{staticClass:\"text-bold color-header-column\"},[_vm._v(\"Total\")]),(_vm.isAdmin)?_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"1\"}}):_vm._e(),_c('b-td',{staticClass:\"text-right text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalCurrencyAmount}})],1),_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"4\"}})],1):_vm._e()]},proxy:true}],null,false,10754800)}):_vm._e()],1)]),_c('b-col',{attrs:{\"xl\":\"5\",\"lg\":\"12\"}},[_c('b-row',{staticClass:\"mb-3\"},[_c('b-col',[_c('h4',[_vm._v(\"Supporting Documents\")])])],1),_c('b-card',{staticClass:\"inner-card\"},[_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please note the following:\")]),_c('ul',[_c('li',[_vm._v(\" Information on any other loans you have, such as mortgage and personal loan documents. The financier may also request a copy of your most recent rates notice.\")]),_c('li',[_vm._v(\" A summary of your share portfolio if you have one, or of other investments. \")]),_c('li',[_vm._v(\" A summary of your superannuation. \")])]),_c('DragAndDropControlApplication',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.clientFinanceApplication,\"relatedID\":_vm.applicationId,\"isAcknowledgeEnabled\":false,\"relatedStep\":_vm.stepNo,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":!_vm.isReadOnly,\"index\":1,\"modalMode\":false},on:{\"documentChangedEvent\":_vm.onCustomDocumentEvent}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { AssetItem, AssetsModel } from '@/models/clientFinanceApplication.model';\nimport lookupService from '@/shared/services/lookupService';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { ClientApplicationFileTypes } from '@/shared/enums/clientApplicationFileTypes.enum';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\nimport { AssetCategoryTypes } from '@/shared/enums/clientFinanceApplicationAssetCategoryTypes.enum';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport DragAndDropControlApplication from '@/shared/components/dragAndDropControl/DragAndDropControlApplication.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport CFATableAuditHistory from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFATableAuditHistory.vue';\n\n@Component({\n components:{\n DragAndDropControlApplication,\n CFATableAuditHistory\n },\n mixins:[validationMixin],\n validations:\n {\n items:\n {\n $each: {\n currencyAmount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n }\n }\n }\n }\n})\nexport default class Assets extends Vue{ \n @Prop() isClient:boolean;\n @Prop() routeNames:string[];\n\n showEmptyBanner:boolean = false;\n items:any[] = [];\n fields:any[] = [\n { key:'category', label:'Category', class:'width_45 text-center'},\n { key:'currencyAmount', label:'Value', class:'text-center'},\n { key:'ownedOutright', label:'Owned Outright', class:'text-center'},\n { key:'note', label:'Note', class:'width_25 text-center'},\n { key:'action', label:'', class:'width_5'},\n ];\n\n stepNo:number = ClientFinanceApplicationStates.Assets;\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n assets:AssetsModel = {\n maxRowNumber: 0,\n assetItems: [],\n documentList: []\n };\n assetsCategories:any[] = [];\n validateRequiredField:boolean = false;\n routerName:string = \"\";\n clientId:number = 0;\n applicationId:number = 0;\n dirtyValidatorRefNo:number = 0;\n homePropertyFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.HomeProperty;\n otherAssetCategoryType:AssetCategoryTypes = AssetCategoryTypes.Other;\n totalCurrencyAmount:number = 0;\n isReadOnly:boolean = false;\n isAdmin:boolean = false;\n \n created(){\n this.loadAssetCategories();\n this.isReadOnly = this.$store.getters.getIsReadOnly;\n this.assets = Object.assign({},this.$store.getters.getClientFinanceApplicationAssets);\n this.items = this.assets.assetItems ? this.assets.assetItems : new Array();\n this.calculateTotalCurrencyAmount();\n this.showEmptyBanner = true;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.assets);\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.routerName = this.$route.params.routerDisplayName;\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n\n if(this.isAdmin){\n var rowNumberField = { key:'rowNumber', label:'Row #', class:'width_10 text-center', \n formatter: (value, key, item) => {\n return value != null ? value : 'N/A';\n }\n }\n this.fields.splice(0, 0, rowNumberField);\n }\n }\n \n mounted(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.Assets)){\n this.validateRequiredField = true;\n }\n }\n\n onAddAsset(){\n let assetItem: AssetItem = {\n rowNumber: null,\n category: null,\n currencyAmount: null,\n note: \"\",\n ownedOutright:null,\n }\n this.items.push(assetItem);\n }\n\n onDeleteAssetItem(index: number) {\n this.items.splice(index, 1);\n this.calculateTotalCurrencyAmount();\n }\n\n isEmptyAssetItem(assetItem: AssetItem){\n return assetItem.category == null && (assetItem.currencyAmount == null || assetItem.currencyAmount === '') && assetItem.note == \"\" \n && (assetItem.ownedOutright == null || assetItem.ownedOutright == undefined);\n }\n\n removeEmptyAssetItems(){\n var emptyAssetItems = [];\n this.items.forEach(item => {\n if(this.isEmptyAssetItem(item)){\n emptyAssetItems.push(this.items.indexOf(item))\n }\n });\n for (var i = emptyAssetItems.length -1; i >= 0; i--){\n this.items.splice(emptyAssetItems[i],1);\n }\n }\n\n onCategoryChanged(index){\n this.items[index].currencyAmount = null;\n this.items[index].note = \"\";\n this.items[index].ownedOutright = null;\n this.calculateTotalCurrencyAmount();\n }\n\n calculateTotalCurrencyAmount(){ \n this.totalCurrencyAmount = 0;\n this.items.forEach(item => {\n this.totalCurrencyAmount += (this.getAmountValue(+item.currencyAmount)) ;\n });\n }\n\n getAmountValue(value: any): number{\n if (typeof value === 'undefined' || value === null || value === '' || !this.isValidAmount(value)) {\n return 0;\n }\n return value;\n }\n\n isValidAmount(value:any) {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true;\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value);\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number){\n if(this.isClient){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Assets)){\n editedSteps.push(ClientFinanceApplicationStates.Assets);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.getAssetData();\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected || this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationAssets',this.assets);\n return true;\n } \n if(this.validateOnSave()){\n this.$store.dispatch('updateClientFinanceApplicationAssets',this.assets);\n if(this.$store.getters.getClientFinanceApplicationStatus <= ClientFinanceApplicationStates.ChangeInCircumstances){\n this.$store.dispatch('updateClientFinanceApplicationStatus',nextStep+1);\n }\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.onValidateStep(ClientFinanceApplicationStates.Assets, []);\n this.onNavigate(nextStep, this.applicationId);\n return true;\n });\n }else{\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var assetsDocuments = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Assets);\n this.onValidateStep(ClientFinanceApplicationStates.Assets, assetsDocuments);\n return false;\n }\n }else{\n this.onNavigate(nextStep, this.applicationId);\n return true;\n }\n \n }\n\n onNavigate(step: number, applicationId:number){\n var requestedRouterName = this.routeNames[step];\n if(requestedRouterName != this.routerName){\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:applicationId.toString(), routerDisplayName:requestedRouterName}}); \n }\n }\n\n validateOnSave(){\n return this.isValidAssetsItems(); \n }\n\n isValidAssetsItems():boolean {\n var isValid = true;\n var assetItems = this.items;\n \n for(var i=0; i < assetItems.length; i++){\n if(!fieldValidations.isDecimal(assetItems[i].currencyAmount)){\n isValid = false;\n return isValid;\n }\n }\n\n return isValid;\n }\n \n updateModelOnSave(){\n if(this.validateOnSave()){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Assets)){\n editedSteps.push(ClientFinanceApplicationStates.Assets);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.getAssetData();\n if(this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Rejected && this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationAssets',this.assets);\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(response => {\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var assetsDocuments = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Assets);\n this.onValidateStep(ClientFinanceApplicationStates.Assets, assetsDocuments);\n });\n }\n }\n }\n\n getAssetData(){\n this.removeEmptyAssetItems()\n this.assets.assetItems = this.items;\n }\n\n onCustomDocumentEvent(){\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n var assetsDocuments = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Assets);\n this.onValidateStep(ClientFinanceApplicationStates.Assets, assetsDocuments);\n }\n \n loadAssetCategories()\n {\n lookupService.GetAssetsCategories().then(data => \n {\n this.assetsCategories = data;\n });\n }\n\n @Emit('onValidateStep') onValidateStep(applicationStep:ClientFinanceApplicationStates, documentList:any[]) {}\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Assets.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Assets.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Assets.vue?vue&type=template&id=4a3e0aa8&scoped=true\"\nimport script from \"./Assets.vue?vue&type=script&lang=ts\"\nexport * from \"./Assets.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Assets.vue?vue&type=style&index=0&id=4a3e0aa8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4a3e0aa8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ml-2 mt-3\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('MonthlyRepayments',{ref:\"monthlyRepayments\",attrs:{\"isReadOnly\":_vm.isReadOnly,\"monthlyRepaymentItems\":_vm.monthlyRepaymentItems,\"validateRequiredField\":_vm.validateRequiredField,\"stepNo\":_vm.stepNo,\"relatedTable\":_vm.clientFinanceApplication}})],1)],1),_c('b-row',[_c('b-col',{attrs:{\"xl\":\"7\",\"lg\":\"12\"}},[_c('MonthlyExpenses',{ref:\"monthlyExpenses\",attrs:{\"isReadOnly\":_vm.isReadOnly,\"monthlyExpenseItems\":_vm.monthlyExpenseItems,\"validateRequiredField\":_vm.validateRequiredField,\"stepNo\":_vm.stepNo,\"relatedTable\":_vm.clientFinanceApplication}})],1),_c('b-col',{staticClass:\"mt-2\",attrs:{\"xl\":\"5\",\"lg\":\"12\"}},[_c('b-row',{staticClass:\"mb-3\"},[_c('b-col',[_c('h4',[_vm._v(\"Supporting Documents\")])])],1),_c('b-card',{staticClass:\"inner-card\"},[_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please note the following:\")]),_c('ul',[_c('li',[_vm._v(\" Information on any other loans you have, such as mortgage and personal loan documents. The financier may also request a copy of your most recent rates notice. \")]),_c('li',[_vm._v(\" A summary of your share portfolio if you have one, or of other investments. \")])]),(_vm.docRequiredText)?_c('p',{staticStyle:{\"color\":\"red\"}},[_vm._v(_vm._s(_vm.docRequiredText)+\" \")]):_vm._e(),_c('DragAndDropControlApplication',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.clientFinanceApplication,\"relatedID\":_vm.applicationId,\"isAcknowledgeEnabled\":false,\"relatedStep\":_vm.stepNo,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":!_vm.isReadOnly,\"index\":1,\"modalMode\":false},on:{\"documentChangedEvent\":_vm.onCustomDocumentEvent,\"onLoadDocumentList\":_vm.validateLiablilitiesStep}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-2 ml-2\"},[_c('CFATableAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"tableName\":'Monthly Repayments',\"auditHistoryIdentifier\":_vm.monthlyRepaymentsIdenifier}}),_c('div',[(_vm.showEmptyBanner && _vm.items.length == 0)?_c('div',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{staticClass:\"pull-right primary mb-3\",attrs:{\"disabled\":_vm.isReadOnly},on:{\"click\":_vm.onAddMonthlyRepaymentItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add New Repayment\\n \")])],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n No monthly repayment found.\\n \")])])],2)],1)],1)],1):_vm._e(),(_vm.items.length > 0)?_c('b-table',{attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([{key:\"cell(category)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput select-field\",class:{ 'requiredField': (_vm.items[row.index].category == null) },attrs:{\"id\":'category_' + row.index,\"plain\":true,\"disabled\":_vm.isReadOnly,\"options\":_vm.monthlyRepayments},on:{\"change\":function($event){return _vm.onCategorychanged(row.index)}},model:{value:(row.item.category),callback:function ($$v) {_vm.$set(row.item, \"category\", $$v)},expression:\"row.item.category\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Select Category --\")])])],2),(_vm.validateRequiredField && _vm.items[row.index].category == null)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Category is required.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(balanceAmount)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"amount-field\",attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"text-right textInput\",class:{ 'form-group--error': !_vm.isValidAmount(row.item.balanceAmount),\n 'requiredField': _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].balanceAmount == null || _vm.items[row.index].balanceAmount === '')},attrs:{\"id\":'balanceAmount_' + row.index,\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Balance Amount\"},on:{\"input\":function($event){_vm.calculateTotalBalanceAmount(); _vm.$v.items.$each[row.index].balanceAmount.$touch()}},model:{value:(row.item.balanceAmount),callback:function ($$v) {_vm.$set(row.item, \"balanceAmount\", $$v)},expression:\"row.item.balanceAmount\"}})],1),(_vm.validateRequiredField && _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].balanceAmount == null || _vm.items[row.index].balanceAmount === ''))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Balance Amount is required.\\n \")]):_vm._e(),(_vm.$v.items.$each[row.index].balanceAmount.$dirty && !_vm.$v.items.$each[row.index].balanceAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Balance Amount is invalid.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(endDate)\",fn:function(row){return [(_vm.isEndDateMandatory(row.item.category))?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('DatePicker',{class:{'requiredField': _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].endDate == null || _vm.items[row.index].endDate == '' ) },attrs:{\"highlighted\":{dates: [_vm.todayDateUTC], includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":!_vm.isReadOnly,\"disabled\":_vm.isReadOnly,\"bootstrap-styling\":true,\"id\":'submittedDate_' + row.index,\"input-class\":'textInput',\"wrapper-class\":'textInput date-field',\"placeholder\":'End Date'},model:{value:(row.item.endDate),callback:function ($$v) {_vm.$set(row.item, \"endDate\", $$v)},expression:\"row.item.endDate\"}}),(_vm.validateRequiredField && _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].endDate == null || _vm.items[row.index].endDate == ''))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n End Date is required.\\n \")]):_vm._e()],1)],1):_vm._e()]}},{key:\"cell(financierName)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"text-field\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":'financierName_' + row.index,\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"maxlength\":\"80\",\"placeholder\":\"Financier Name\"},model:{value:(row.item.financierName),callback:function ($$v) {_vm.$set(row.item, \"financierName\", $$v)},expression:\"row.item.financierName\"}})],1)],1)],1)]}},{key:\"cell(limitAmount)\",fn:function(row){return [(_vm.isLimitAmountMandatory(row.item.category))?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"amount-field\",attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"text-right textInput\",class:{ 'form-group--error': !_vm.isValidAmount(row.item.limitAmount),\n 'requiredField': _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].limitAmount == null || _vm.items[row.index].limitAmount === '' )},attrs:{\"id\":'limitAmount_' + row.index,\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"maxlength\":\"8\",\"placeholder\":\"Limit Amount\"},on:{\"input\":function($event){_vm.calculateTotalLimitAmount(); _vm.$v.items.$each[row.index].limitAmount.$touch()}},model:{value:(row.item.limitAmount),callback:function ($$v) {_vm.$set(row.item, \"limitAmount\", $$v)},expression:\"row.item.limitAmount\"}})],1),(_vm.validateRequiredField && _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].limitAmount == null || _vm.items[row.index].limitAmount === ''))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Limit Amount is required.\\n \")]):_vm._e(),(_vm.$v.items.$each[row.index].limitAmount.$dirty && !_vm.$v.items.$each[row.index].limitAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Limit Amount is invalid.\\n \")]):_vm._e()],1)],1):_vm._e()]}},{key:\"cell(monthlyRepaymentAmount)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"amount-field\",attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"text-right textInput\",class:{ 'form-group--error': !_vm.isValidAmount(row.item.monthlyRepaymentAmount),\n 'requiredField': _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].monthlyRepaymentAmount == null || _vm.items[row.index].monthlyRepaymentAmount === '')},attrs:{\"id\":'monthlyRepaymentAmount_' + row.index,\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"maxlength\":\"8\",\"placeholder\":\"Monthly Repayment\"},on:{\"input\":function($event){_vm.calculateTotalMonthlyRepaymentAmount(); _vm.$v.items.$each[row.index].monthlyRepaymentAmount.$touch()}},model:{value:(row.item.monthlyRepaymentAmount),callback:function ($$v) {_vm.$set(row.item, \"monthlyRepaymentAmount\", $$v)},expression:\"row.item.monthlyRepaymentAmount\"}})],1),(_vm.validateRequiredField && _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].monthlyRepaymentAmount == null || _vm.items[row.index].monthlyRepaymentAmount === ''))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Monthly Repayment is required.\\n \")]):_vm._e(),(_vm.$v.items.$each[row.index].monthlyRepaymentAmount.$dirty && !_vm.$v.items.$each[row.index].monthlyRepaymentAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Monthly Repayment is invalid.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(payout)\",fn:function(row){return [(_vm.isPayoutMandatory(row.item.category))?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput boolean-field\",class:{'requiredField': _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && _vm.items[row.index].payout == null },attrs:{\"id\":'payout_' + row.index,\"plain\":true,\"disabled\":_vm.isReadOnly},model:{value:(row.item.payout),callback:function ($$v) {_vm.$set(row.item, \"payout\", $$v)},expression:\"row.item.payout\"}},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Select Payout --\")]),_c('option',{domProps:{\"value\":true}},[_vm._v(\"Yes\")]),_c('option',{domProps:{\"value\":false}},[_vm._v(\"No\")])]),(_vm.validateRequiredField && _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].payout == null))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Payout is required.\\n \")]):_vm._e()],1)],1):_vm._e()]}},{key:\"cell(note)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(row.item.note),expression:\"row.item.note\"}],staticClass:\"textInput form-control note-field\",class:{'requiredField': _vm.items[row.index].category != null && _vm.items[row.index].category == _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].note == null || _vm.items[row.index].note == '' ) },attrs:{\"id\":'note_'+ row.index,\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Note\",\"rows\":1},domProps:{\"value\":(row.item.note)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(row.item, \"note\", $event.target.value)}}}),(_vm.validateRequiredField && _vm.items[row.index].category != null && _vm.items[row.index].category == _vm.monthlyRepaymentTypes.Other && (_vm.items[row.index].note == null || _vm.items[row.index].note == ''))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Note is required.\\n \")]):_vm._e()])],1)]}},{key:\"cell(action)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"pt-1\",attrs:{\"cols\":\"12\"}},[(!_vm.isReadOnly)?_c('span',{staticClass:\"delete_liability\",attrs:{\"title\":\"Delete Item\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":'deleteLiability_' + row.index},on:{\"click\":function($event){return _vm.onDeleteLiabilityItem(row.index)}}},[_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"false\"}})]):_vm._e()])],1)]}},{key:\"custom-foot\",fn:function(){return [(true)?_c('b-tr',[_c('b-td',{staticClass:\"text-bold\",attrs:{\"colspan\":\"9\"}},[_c('b-button',{staticClass:\"pull-left primary\",attrs:{\"disabled\":_vm.isReadOnly},on:{\"click\":_vm.onAddMonthlyRepaymentItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add New Repayment\\n \")])],1)],1):_vm._e(),(_vm.items && _vm.items.length > 1)?_c('b-tr',[_c('b-td',{staticClass:\"text-bold color-header-column\"},[_vm._v(\"Total\")]),(_vm.isAdmin)?_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"1\"}}):_vm._e(),_c('b-td',{staticClass:\"text-right text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalBalanceAmount}})],1),_c('b-td',{staticClass:\"text-right text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalMonthlyRepaymentAmount}})],1),_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"3\"}}),_c('b-td',{staticClass:\"text-right text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalLimitAmount}})],1),_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"3\"}})],1):_vm._e()]},proxy:true}],null,false,2017418289)}):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport { MonthlyRepaymentItem } from '@/models/clientFinanceApplication.model';\nimport { validationMixin } from 'vuelidate';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport lookupService from '@/shared/services/lookupService';\nimport {MonthlyRepaymentTypes} from '@/shared/enums/monthlyRepaymentTypes.enum';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport ApexConstants from '@/shared/constants';\nimport CFATableAuditHistory from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFATableAuditHistory.vue';\n\n@Component({\n components:{\n Modal,\n CFATableAuditHistory\n },\n mixins:[validationMixin],\n validations:\n {\n items:\n {\n $each: {\n balanceAmount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n limitAmount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n monthlyRepaymentAmount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n }\n }\n }\n }\n})\nexport default class MonthlyRepayments extends Vue{\n @Prop() monthlyRepaymentItems: any;\n @Prop() validateRequiredField: boolean;\n @Prop() isReadOnly:boolean;\n @Prop() stepNo:number;\n @Prop() relatedTable:number;\n fields:any[] = [\n { key:'category', label:'Category', class:'text-center'},\n { key:'balanceAmount', label:'Balance Amount', class:'text-center'},\n { key:'monthlyRepaymentAmount', label:'Monthly Repayment Amount', class:'text-center'},\n { key:'financierName', label:'Financier Name', class: 'text-center'},\n { key:'payout', label:'Payout', class: 'text-center'},\n { key:'endDate', label:'End Date', class:'text-center'},\n { key:'limitAmount', label:'Limit Amount', class:'text-center'},\n { key:'note', label:'Note', class:'text-center'},\n { key:'action', label:''},\n ];\n items:any[] = []; \n dirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n applicationId:number = 0;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n monthlyRepaymentTypes = MonthlyRepaymentTypes\n monthlyRepayments:any[] = [];\n totalBalanceAmount:number = 0;\n totalLimitAmount:number = 0;\n totalMonthlyRepaymentAmount:number = 0;\n showEmptyBanner:boolean = false;\n isAdmin:boolean = false;\n monthlyRepaymentsIdenifier = ApexConstants.CFA_MONTHLY_REPAYMENTS_IDENTIFIER\n \n created(){\n this.loadMonthlyRepayments();\n this.items = this.monthlyRepaymentItems ;\n this.showEmptyBanner = true;\n if(this.items.length > 0){\n this.calculateTotalBalanceAmount();\n this.calculateTotalLimitAmount();\n this.calculateTotalMonthlyRepaymentAmount();\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.items);\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n \n if(this.isAdmin){\n var rowNumberField = { key:'rowNumber', label:'Row #', class:'width_10 text-center', \n formatter: (value, key, item) => {\n return value != null ? value : 'N/A';\n }\n }\n this.fields.splice(0, 0, rowNumberField);\n }\n }\n\n onAddMonthlyRepaymentItem() {\n let monthlyRepaymentItem: MonthlyRepaymentItem = {\n rowNumber: null,\n category: null,\n balanceAmount: null,\n endDate: null,\n financierName: \"\",\n limitAmount: null,\n monthlyRepaymentAmount: null,\n payout: null,\n note: \"\"\n }\n\n this.items.push(monthlyRepaymentItem);\n }\n\n isEmptyMonthlyRepayment(monthlyRepayment: MonthlyRepaymentItem){\n return monthlyRepayment.category == null && (monthlyRepayment.balanceAmount == null || monthlyRepayment.balanceAmount === '') && monthlyRepayment.endDate == null\n && monthlyRepayment.financierName == \"\" && (monthlyRepayment.limitAmount == null || monthlyRepayment.limitAmount === '')\n && (monthlyRepayment.monthlyRepaymentAmount == null || monthlyRepayment.monthlyRepaymentAmount === '')\n && monthlyRepayment.payout == null && monthlyRepayment.note == \"\";\n }\n\n removeEmptyMonthlyRepayments(){\n var emptyMonthlyRepaymentList = [];\n this.items.forEach(item => {\n if(this.isEmptyMonthlyRepayment(item)){\n emptyMonthlyRepaymentList.push(this.items.indexOf(item))\n }\n });\n for (var i = emptyMonthlyRepaymentList.length -1; i >= 0; i--){\n this.items.splice(emptyMonthlyRepaymentList[i],1);\n }\n }\n\n loadMonthlyRepayments()\n {\n lookupService.GetMonthlyRepayments().then(data => \n {\n this.monthlyRepayments = data;\n });\n }\n\n onDeleteLiabilityItem(index: number) {\n this.items.splice(index, 1);\n this.calculateTotalBalanceAmount();\n this.calculateTotalLimitAmount();\n this.calculateTotalMonthlyRepaymentAmount();\n }\n\n isValidAmount(value:any)\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true;\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value);\n }\n\n isPayoutMandatory(category){\n return category == null\n || category == this.monthlyRepaymentTypes.MotorVehicleLoan\n || category == this.monthlyRepaymentTypes.RecreationalAssetLoan\n || category == this.monthlyRepaymentTypes.PlantAndEquipmentLoan\n || category == this.monthlyRepaymentTypes.Other;\n }\n\n isEndDateMandatory(category){\n return category == null\n || category == this.monthlyRepaymentTypes.MotorVehicleLoan\n || category == this.monthlyRepaymentTypes.RecreationalAssetLoan\n || category == this.monthlyRepaymentTypes.PlantAndEquipmentLoan\n || category == this.monthlyRepaymentTypes.Other;\n }\n\n isLimitAmountMandatory(category){\n return category == null\n || category == this.monthlyRepaymentTypes.CreditCard\n || category == this.monthlyRepaymentTypes.Other;\n }\n\n validateStep():boolean{\n return !this.$v.items.$invalid;\n }\n\n isValidMonthlyRepayments():boolean {\n var isValid = true;\n var monthlyRepayments = this.items;\n\n for(var i=0; i < monthlyRepayments.length; i++){\n if(!fieldValidations.isDecimal(monthlyRepayments[i].balanceAmount)){\n isValid = false;\n return isValid;\n }else if(!fieldValidations.isDecimal(monthlyRepayments[i].monthlyRepaymentAmount)){\n isValid = false;\n return isValid;\n }else if(!fieldValidations.isDecimal(monthlyRepayments[i].limitAmount)){\n isValid = false;\n return isValid;\n }\n }\n\n return isValid; \n } \n\n getAmountValue(value: any): number{\n if (typeof value === 'undefined' || value === null || value === '' || !this.isValidAmount(value)) {\n return 0;\n }\n return value;\n }\n\n onCategorychanged(index){\n this.items[index].balanceAmount = null;\n this.items[index].endDate = null;\n this.items[index].financierName = \"\";\n this.items[index].limitAmount = null;\n this.items[index].monthlyRepaymentAmount = null;\n this.items[index].note = \"\";\n this.items[index].payout = null;\n this.calculateTotalBalanceAmount();\n this.calculateTotalLimitAmount();\n this.calculateTotalMonthlyRepaymentAmount();\n }\n\n calculateTotalBalanceAmount(){ \n this.totalBalanceAmount = 0;\n this.items.forEach(item => {\n this.totalBalanceAmount += (this.getAmountValue(+item.balanceAmount)) ;\n });\n }\n\n calculateTotalLimitAmount(){ \n this.totalLimitAmount = 0;\n this.items.forEach(item => {\n this.totalLimitAmount += (this.getAmountValue(+item.limitAmount)) ;\n });\n }\n\n calculateTotalMonthlyRepaymentAmount(){ \n this.totalMonthlyRepaymentAmount = 0;\n this.items.forEach(item => {\n this.totalMonthlyRepaymentAmount += (this.getAmountValue(+item.monthlyRepaymentAmount)) ;\n });\n }\n\n getMonthlyRepayments(){\n this.removeEmptyMonthlyRepayments();\n return this.items\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MonthlyRepayments.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MonthlyRepayments.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MonthlyRepayments.vue?vue&type=template&id=c9aab8e6&scoped=true\"\nimport script from \"./MonthlyRepayments.vue?vue&type=script&lang=ts\"\nexport * from \"./MonthlyRepayments.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MonthlyRepayments.vue?vue&type=style&index=0&id=c9aab8e6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c9aab8e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-2 ml-2\"},[_c('CFATableAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"tableName\":'Monthly Expenses',\"auditHistoryIdentifier\":_vm.monthlyExpensesIdenifier}}),_c('div',[(_vm.showEmptyBanner && _vm.items.length == 0)?_c('div',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{staticClass:\"pull-right primary mb-3\",attrs:{\"disabled\":_vm.isReadOnly},on:{\"click\":_vm.onAddMonthlyExpenseItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add New Expense\\n \")])],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n No monthly expense found.\\n \")])])],2)],1)],1)],1):_vm._e(),(_vm.items.length > 0)?_c('b-table',{attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([{key:\"cell(category)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"select-field\"},[_c('b-form-select',{class:{ 'requiredField': (_vm.items[row.index].category == null) },attrs:{\"id\":'category_' + row.index,\"plain\":true,\"options\":_vm.monthlyExpenses,\"disabled\":_vm.items[row.index].isRequired || _vm.isReadOnly},on:{\"change\":function($event){return _vm.onCategorychanged(row.index)}},model:{value:(row.item.category),callback:function ($$v) {_vm.$set(row.item, \"category\", $$v)},expression:\"row.item.category\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Select Category --\")])])],2),(_vm.showCategoryInfo(row.item.category))?_c('div',{staticClass:\"input-group-append\"},[_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info category-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Click here to view details\"},on:{\"click\":function($event){return _vm.onCategoryInfoClicked(row.item.category)}}})])]):_vm._e()],1),(_vm.validateRequiredField && _vm.items[row.index].category == null)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Category is required.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(currencyAmount)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"amount-field\",attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"text-right textInput\",class:{'form-group--error': !_vm.isValidAmount(row.item.currencyAmount),\n 'requiredField': _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyExpenseTypes.Other && (_vm.items[row.index].currencyAmount == null || _vm.items[row.index].currencyAmount === '') },attrs:{\"id\":'currencyAmount' + row.index,\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Currency Amount\"},on:{\"input\":function($event){_vm.calculateTotalCurrencyAmount(); _vm.$v.items.$each[row.index].currencyAmount.$touch()}},model:{value:(row.item.currencyAmount),callback:function ($$v) {_vm.$set(row.item, \"currencyAmount\", $$v)},expression:\"row.item.currencyAmount\"}})],1),(_vm.validateRequiredField && _vm.items[row.index].category != null && _vm.items[row.index].category != _vm.monthlyExpenseTypes.Other && (_vm.items[row.index].currencyAmount == null || _vm.items[row.index].currencyAmount === ''))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Currency Amount is required.\\n \")]):_vm._e(),(_vm.$v.items.$each[row.index].currencyAmount.$dirty && !_vm.$v.items.$each[row.index].currencyAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Currency Amount is invalid.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(note)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(row.item.note),expression:\"row.item.note\"}],staticClass:\"textInput note-field form-control\",class:{'requiredField': _vm.items[row.index].category == _vm.monthlyExpenseTypes.Other && (_vm.items[row.index].note == null || _vm.items[row.index].note == '' ) },attrs:{\"id\":'note_'+ row.index,\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Note\",\"rows\":1},domProps:{\"value\":(row.item.note)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(row.item, \"note\", $event.target.value)}}}),(_vm.validateRequiredField && _vm.items[row.index].category != null && _vm.items[row.index].category == _vm.monthlyExpenseTypes.Other && (_vm.items[row.index].note == null || _vm.items[row.index].note == ''))?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Note is required.\\n \")]):_vm._e()])],1)]}},{key:\"cell(action)\",fn:function(row){return [(!_vm.items[row.index].isRequired)?_c('b-row',[_c('b-col',{staticClass:\"pt-1\",attrs:{\"cols\":\"12\"}},[(!_vm.isReadOnly)?_c('span',{staticClass:\"delete_liability\",attrs:{\"title\":\"Delete Item\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":'deleteLiability_' + row.index},on:{\"click\":function($event){return _vm.onDeleteLiabilityItem(row.index)}}},[_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"false\"}})]):_vm._e()])],1):_vm._e()]}},{key:\"custom-foot\",fn:function(){return [(true)?_c('b-tr',[_c('b-td',{staticClass:\"text-bold\",attrs:{\"colspan\":\"9\"}},[_c('b-button',{staticClass:\"pull-left primary\",attrs:{\"disabled\":_vm.isReadOnly},on:{\"click\":_vm.onAddMonthlyExpenseItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add New Expense\\n \")])],1)],1):_vm._e(),(_vm.items && _vm.items.length > 1)?_c('b-tr',[_c('b-td',{staticClass:\"text-bold color-header-column\"},[_vm._v(\"Total\")]),(_vm.isAdmin)?_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"1\"}}):_vm._e(),_c('b-td',{staticClass:\"text-right text-bold color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalCurrencyAmount}})],1),_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"3\"}})],1):_vm._e()]},proxy:true}],null,false,466798419)}):_vm._e()],1),(_vm.showAcknowledgementMessage)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showAcknowledgementMessage\",\"minWidth\":_vm.acknowledgementMessageMinWidth}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Acknowledgement \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\",domProps:{\"innerHTML\":_vm._s(_vm.acknowledgementMessage)}})]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"acknowledgementButton\"},on:{\"click\":function($event){_vm.showAcknowledgementMessage = false; _vm.acknowledgementMessage = '';}}},[_vm._v(\"\\n I Acknowledge\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator';\nimport { MonthlyExpenseItem } from '@/models/clientFinanceApplication.model';\nimport { validationMixin } from 'vuelidate';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport lookupService from '@/shared/services/lookupService';\nimport {MonthlyExpenseTypes} from '@/shared/enums/monthlyExpenseTypes.enum';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport ApexConstants from '@/shared/constants';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport CFATableAuditHistory from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFATableAuditHistory.vue';\n\n@Component({\n components:{\n Modal,\n CFATableAuditHistory\n },\n mixins:[validationMixin],\n validations:\n {\n items:\n {\n $each: {\n currencyAmount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n }\n }\n }\n }\n})\n\nexport default class MonthlyExpenses extends Vue{\n @Prop() monthlyExpenseItems: any\n @Prop() validateRequiredField: boolean;\n @Prop() isReadOnly:boolean;\n @Prop() stepNo:number;\n @Prop() relatedTable:number;\n fields:any[] = [\n { key:'category', label:'Category', class:'text-center'},\n { key:'currencyAmount', label:'Currency Amount', class:'text-center'},\n { key:'note', label:'Note', class:'text-center'},\n { key:'action', label:''},\n ];\n items:any[] = []; \n dirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n applicationId:number = 0;\n monthlyExpenses:any[] = [];\n totalCurrencyAmount:number = 0;\n monthlyExpenseTypes = MonthlyExpenseTypes\n acknowledgementMessage:string = \"\"\n showAcknowledgementMessage:boolean = false;\n showEmptyBanner:boolean = false;\n isAdmin:boolean = false;\n acknowledgementMessageMinWidth:any = '';\n monthlyExpensesIdenifier = ApexConstants.CFA_MONTHLY_EXPENSES_IDENTIFIER\n\n created(){\n this.loadMonthlyRepayments();\n this.items = this.monthlyExpenseItems;\n this.showEmptyBanner = true;\n if(this.items.length > 0){\n this.calculateTotalCurrencyAmount();\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.items);\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n\n if(this.isAdmin){\n var rowNumberField = { key:'rowNumber', label:'Row #', class:'width_10 text-center', \n formatter: (value, key, item) => {\n return value != null ? value : 'N/A';\n }\n }\n this.fields.splice(0, 0, rowNumberField);\n }\n }\n\n onAddMonthlyExpenseItem() {\n let monthlyExpenseItem: MonthlyExpenseItem = {\n rowNumber: null,\n category: null,\n currencyAmount: null,\n note: \"\",\n isRequired: false\n }\n\n this.items.push(monthlyExpenseItem);\n }\n\n isEmptyMonthlyExpense(monthlyExpense: MonthlyExpenseItem){\n return monthlyExpense.category == null && (monthlyExpense.currencyAmount == null || monthlyExpense.currencyAmount === '') && monthlyExpense.note == \"\";\n }\n\n removeEmptyMonthlyExpenses(){\n var emptyMonthlyExpenseList = [];\n this.items.forEach(item => {\n if(this.isEmptyMonthlyExpense(item)){\n emptyMonthlyExpenseList.push(this.items.indexOf(item))\n }\n });\n for (var i = emptyMonthlyExpenseList.length -1; i >= 0; i--){\n this.items.splice(emptyMonthlyExpenseList[i],1);\n }\n }\n\n loadMonthlyRepayments()\n {\n lookupService.GetMonthlyExpenses().then(data => \n {\n this.monthlyExpenses = data;\n });\n }\n\n onDeleteLiabilityItem(index: number) {\n this.items.splice(index, 1);\n this.calculateTotalCurrencyAmount();\n }\n\n isValidAmount(value:any)\n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true;\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value);\n }\n\n validateStep():boolean{\n return !this.$v.items.$invalid;\n }\n\n isValidMonthlyExpenses():boolean {\n var isValid = true;\n var monthlyExpenses = this.items;\n \n for(var i=0; i < monthlyExpenses.length; i++){\n if(!fieldValidations.isDecimal(monthlyExpenses[i].currencyAmount)){\n isValid = false;\n return isValid;\n }\n }\n\n return isValid;\n } \n\n getAmountValue(value: any): number{\n if (typeof value === 'undefined' || value === null || value === '' || !this.isValidAmount(value)) {\n return 0;\n }\n return value;\n }\n\n onCategorychanged(index){\n this.items[index].currencyAmount = null;\n this.items[index].note = \"\";\n this.calculateTotalCurrencyAmount();\n }\n\n showCategoryInfo(category: MonthlyExpenseTypes){\n return category == MonthlyExpenseTypes.RentOrBoard || category == MonthlyExpenseTypes.GeneralLivingExpenses;\n }\n\n getCategoryInfoText(category: MonthlyExpenseTypes){\n if (category == MonthlyExpenseTypes.RentOrBoard){\n return \"Only for vehicle being financed.\";\n }else if (category == MonthlyExpenseTypes.GeneralLivingExpenses){\n return \"General living expenses includes:
\\\n
    \\\n
  • Utilities and rates
  • \\\n
  • Telephone, internet and pay TV bills
  • \\\n
  • Groceries
  • \\\n
  • Recreation and entertainment
  • \\\n
  • Clothing and personal care
  • \\\n
  • Medical and health expenses
  • \\\n
  • Transport (including motor vehicle running costs of existing household vehicles and lifestyle assets)
  • \\\n
  • Insurance costs including health, homes and contents, life, and income protection
  • \\\n
\\\n As well as other expenses not mentioned above.

\\\n Note: Anticipated running costs of this assets/s should be entered separately in motor vehicle running costs field.\";\n }else{\n return \"\";\n }\n }\n\n onCategoryInfoClicked(category: MonthlyExpenseTypes){\n this.showAcknowledgementMessage = true;\n this.acknowledgementMessageMinWidth = category == MonthlyExpenseTypes.GeneralLivingExpenses ? '814px' : '';\n this.acknowledgementMessage = this.getCategoryInfoText(category);\n }\n\n calculateTotalCurrencyAmount(){ \n this.totalCurrencyAmount = 0;\n this.items.forEach(item => {\n this.totalCurrencyAmount += (this.getAmountValue(+item.currencyAmount)) ;\n });\n }\n getMonthlyExpenses(){\n this.removeEmptyMonthlyExpenses();\n return this.items\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MonthlyExpenses.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MonthlyExpenses.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MonthlyExpenses.vue?vue&type=template&id=b7181622&scoped=true\"\nimport script from \"./MonthlyExpenses.vue?vue&type=script&lang=ts\"\nexport * from \"./MonthlyExpenses.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MonthlyExpenses.vue?vue&type=style&index=0&id=b7181622&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b7181622\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Vue, Prop } from 'vue-property-decorator';\nimport {AddressModel, LiabilitiesModel, MonthlyExpenseItem } from '@/models/clientFinanceApplication.model';\nimport { validationMixin } from 'vuelidate';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\nimport {MonthlyRepaymentTypes} from '@/shared/enums/monthlyRepaymentTypes.enum';\nimport MonthlyRepayments from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyRepayments.vue';\nimport MonthlyExpenses from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/MonthlyExpenses.vue';\nimport DragAndDropControlApplication from '@/shared/components/dragAndDropControl/DragAndDropControlApplication.vue';\nimport { ClientApplicationFileTypes } from '@/shared/enums/clientApplicationFileTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { MonthlyExpenseTypes } from '@/shared/enums/monthlyExpenseTypes.enum';\nimport { ClientAddressTypes } from '@/shared/enums/clientAddressTypes.enum';\n\n@Component({\n components:{\n Modal,\n MonthlyRepayments,\n MonthlyExpenses,\n DragAndDropControlApplication\n },\n mixins:[validationMixin],\n validations:\n {\n liabilities:\n {\n monthlyRepayments:\n {\n $each: {\n balanceAmount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n limitAmount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n monthlyRepaymentAmount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n }\n }\n }\n }\n }\n})\nexport default class Liablilities extends Vue{\n @Prop() isClient:boolean;\n @Prop() routeNames:string[];\n\n stepNo:number = ClientFinanceApplicationStates.Liabilities;\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n dirtyValidatorRefNo:number = 0;\n applicationInfoDirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n applicationId:number = 0;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n monthlyRepaymentTypes = MonthlyRepaymentTypes\n monthlyRepayments:any[] = [];\n monthlyExpenses:any[] = [];\n totalBalanceAmount:number = 0;\n totalLimitAmount:number = 0;\n totalMonthlyRepaymentAmount:number = 0;\n monthlyRepaymentItems: any[] = [];\n monthlyExpenseItems: any[] = [];\n liabilities:LiabilitiesModel = {\n monthlyRepayments: [],\n monthlyExpenses: [],\n documentList: [],\n maxMonthlyRepaymentsRowNumber: 0,\n maxMonthlyExpensesRowNumber: 0\n };\n \n otherFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.HomePropertyLoan;\n docRequiredText:string = \"\";\n validateRequiredField:boolean = false;\n routerName:string = \"\";\n isReadOnly:boolean = false;\n\n mounted(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.Liabilities)){\n this.validateRequiredField = true;\n }\n }\n \n created(){\n this.liabilities = Object.assign({},this.$store.getters.getClientFinanceApplicationLiabilities);\n this.isReadOnly = this.$store.getters.getIsReadOnly;\n this.monthlyRepaymentItems = this.liabilities.monthlyRepayments ? this.liabilities.monthlyRepayments : new Array();\n this.monthlyExpenseItems = this.liabilities.monthlyExpenses ? this.liabilities.monthlyExpenses : new Array();\n this.loadRequiredMonthlyExpenseCategories();\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.liabilities);\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.routerName = this.$route.params.routerDisplayName;\n }\n\n loadRequiredMonthlyExpenseCategories(){\n if(!this.monthlyExpenseItems.some(me => me.category == MonthlyExpenseTypes.GeneralLivingExpenses)){\n this.onAddNewMonthlyExpenseCategory(MonthlyExpenseTypes.GeneralLivingExpenses, true);\n }\n var addressDetails : AddressModel = this.$store.getters.getClientFinanceApplicationAddressDetails;\n \n // // if required categories don't exist, add them into MonthlyExpense grid\n if(!this.monthlyExpenseItems.some(me => me.category == MonthlyExpenseTypes.RentOrBoard) && addressDetails\n && (addressDetails.addressLines.length > 0 && (addressDetails.addressLines.some(ad => ad.clientAddressType == ClientAddressTypes.Rent)\n || addressDetails.addressLines.some(ad => ad.clientAddressType == ClientAddressTypes.Board)))){\n this.onAddNewMonthlyExpenseCategory(MonthlyExpenseTypes.RentOrBoard, true);\n }\n // // if required categories exist but those have been added before adding the dependencies, update isRequired property of those categories\n else if(this.monthlyExpenseItems.some(me => me.category == MonthlyExpenseTypes.RentOrBoard)\n && !this.monthlyExpenseItems.some(me => me.category == MonthlyExpenseTypes.RentOrBoard && me.isRequired) && addressDetails\n && (addressDetails.addressLines.length > 0 && (addressDetails.addressLines.some(ad => ad.clientAddressType == ClientAddressTypes.Rent)\n || addressDetails.addressLines.some(ad => ad.clientAddressType == ClientAddressTypes.Board)))){\n var index = this.monthlyExpenseItems.findIndex(me => me.category == MonthlyExpenseTypes.RentOrBoard)\n this.monthlyExpenseItems[index].isRequired = true;\n }\n // // if required categories exist but the dependencies have been removed after that, update isRequired property of those categories\n else if (this.monthlyExpenseItems.some(me => me.category == MonthlyExpenseTypes.RentOrBoard && me.isRequired) && addressDetails\n && (addressDetails.addressLines.length > 0 && (addressDetails.addressLines.some(ad => ad.clientAddressType != ClientAddressTypes.Rent)\n && addressDetails.addressLines.some(ad => ad.clientAddressType != ClientAddressTypes.Board)))){\n this.monthlyExpenseItems.forEach(me => {\n if(me.category == MonthlyExpenseTypes.RentOrBoard){\n me.isRequired = false;\n }\n });\n }\n }\n\n onAddNewMonthlyExpenseCategory(category, isRequired = false){\n let monthlyExpenseItem: MonthlyExpenseItem = {\n category: category,\n currencyAmount: null,\n note: \"\",\n isRequired: isRequired,\n rowNumber: null \n }\n\n this.monthlyExpenseItems.push(monthlyExpenseItem);\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number){\n if(this.isClient){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Liabilities)){\n editedSteps.push(ClientFinanceApplicationStates.Liabilities);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.getLiabilityDetails();\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected || this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationLiabilities',this.liabilities);\n return true;\n } \n if(this.validateOnSave()){\n this.$store.dispatch('updateClientFinanceApplicationLiabilities',this.liabilities);\n if(this.$store.getters.getClientFinanceApplicationStatus <= ClientFinanceApplicationStates.ChangeInCircumstances){\n this.$store.dispatch('updateClientFinanceApplicationStatus',nextStep+1);\n }\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.onValidateStep(ClientFinanceApplicationStates.Liabilities, []);\n this.onNavigate(nextStep, this.applicationId);\n return true;\n });\n }else{\n this.onValidateStep(ClientFinanceApplicationStates.Liabilities, []);\n return false;\n }\n }else{\n this.onNavigate(nextStep, this.applicationId);\n return true;\n }\n \n }\n \n updateModelOnSave(){\n if(this.validateOnSave()){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.Liabilities)){\n editedSteps.push(ClientFinanceApplicationStates.Liabilities);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n this.getLiabilityDetails();\n if(this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Rejected && this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationLiabilities',this.liabilities);\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(response => {\n var documentList = []\n this.onValidateStep(ClientFinanceApplicationStates.Liabilities, documentList);\n });\n }\n }\n }\n\n validateOnSave(){\n var isValid = true;\n if(!(this.$refs.monthlyRepayments as MonthlyRepayments).isValidMonthlyRepayments()){\n isValid = false; \n }\n else if(!(this.$refs.monthlyExpenses as MonthlyExpenses).isValidMonthlyExpenses()){\n isValid = false; \n }\n \n return isValid;\n }\n\n getLiabilityDetails(){\n this.liabilities.monthlyRepayments = (this.$refs.monthlyRepayments as MonthlyRepayments).getMonthlyRepayments().slice();\n this.liabilities.monthlyExpenses = (this.$refs.monthlyExpenses as MonthlyExpenses).getMonthlyExpenses().slice();\n }\n\n onCustomDocumentEvent(){\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n this.onValidateStep(ClientFinanceApplicationStates.Liabilities, documentList);\n }\n\n validateLiablilitiesStep(){\n return (this.$refs.monthlyRepayments as MonthlyRepayments).validateStep() && (this.$refs.monthlyExpenses as MonthlyExpenses).validateStep();\n }\n\n onNavigate(step: number, applicationId:number){\n var requestedRouterName = this.routeNames[step];\n if(requestedRouterName != this.routerName){\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:applicationId.toString(), routerDisplayName:requestedRouterName}}); \n }\n }\n \n @Emit('onValidateStep') onValidateStep(applicationStep:ClientFinanceApplicationStates, documentList:any[]) {\n\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Liabilities.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Liabilities.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./Liabilities.vue?vue&type=template&id=36de0418&scoped=true\"\nimport script from \"./Liabilities.vue?vue&type=script&lang=ts\"\nexport * from \"./Liabilities.vue?vue&type=script&lang=ts\"\nimport style0 from \"./Liabilities.vue?vue&type=style&index=0&id=36de0418&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36de0418\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ml-2 mt-4\"},[_c('CFAAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"stepName\":'Motor Vehicle & Financed Amount'}}),_c('b-form',[_c('b-row',[_c('b-col',{attrs:{\"xl\":\"3\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval.$error },attrs:{\"label\":\"Amount Seeking Pre-Approval\",\"label-for\":\"amountSeekingPreApproval\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval == null || _vm.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval.length == 0)},attrs:{\"id\":\"amountSeekingPreApproval\",\"type\":\"text\",\"placeholder\":\"Amount Seeking Pre-Approval\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount, \"amountSeekingPreApproval\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval\"}})],1),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Amount Seeking Pre-Approval is required.\\n \")]):_vm._e(),(_vm.$v.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval.$dirty && !_vm.$v.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST.$error },attrs:{\"label\":\"Vehicle Cost Including GST\",\"label-for\":\"costVehicleIncludingGST\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST == null || _vm.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST.length == 0)},attrs:{\"id\":\"costVehicleIncludingGST\",\"type\":\"text\",\"placeholder\":\"Enter Vehicle Cost Including GST\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount, \"costVehicleIncludingGST\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST\"}})],1),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle cost including GST is required.\\n \")]):_vm._e(),(_vm.$v.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST.$dirty && !_vm.$v.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid amount.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Type of sale\",\"label-for\":\"saleType\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': _vm.motorVehicleDetailsAndFinancedAmount.saleType == null },attrs:{\"id\":\"saleType\",\"plain\":true,\"options\":_vm.saleTypes,\"disabled\":_vm.isReadOnly},on:{\"change\":_vm.onChangeSalesType},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.saleType),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount, \"saleType\", $$v)},expression:\"motorVehicleDetailsAndFinancedAmount.saleType\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\",\"disabled\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])])],2),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.saleType.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type of sale is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"New/Used\",\"label-for\":\"conditionSelect\"}},[_c('b-form-select',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.condition == null) },attrs:{\"id\":\"conditionSelect\",\"plain\":true,\"options\":_vm.vehicleConditionTypes,\"disabled\":_vm.isReadOnly},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.condition),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"condition\", $$v)},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.condition\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"-- Please select an option --\")])])],2),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.condition.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Condition is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make.$error },attrs:{\"label\":\"Make\",\"label-for\":\"make\"}},[_c('vue-bootstrap-typeahead',{ref:\"refmaketypeahead\",class:{ 'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make == null || _vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make.length == 0), 'textInput':true },attrs:{\"placeholder\":\"Enter Make\",\"id\":\"make\",\"disabled\":_vm.isReadOnly,\"data\":_vm.allVehicleMakes,\"minMatchingChars\":1,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"make\", $$v)},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Make is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model.$error },attrs:{\"label\":\"Model\",\"label-for\":\"model\"}},[_c('vue-bootstrap-typeahead',{ref:\"refmodeltypeahead\",class:{ 'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model == null || _vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model.length == 0), 'textInput':true },attrs:{\"placeholder\":\"Enter Model\",\"id\":\"model\",\"disabled\":_vm.isReadOnly,\"minMatchingChars\":1,\"data\":_vm.allVehicleModels,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model.$touch();}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"model\", $$v)},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Model is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.variant.$error },attrs:{\"label\":\"Variant\",\"label-for\":\"variant\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.variant == null || _vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.variant.length == 0)},attrs:{\"id\":\"variant\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Variant\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.variant.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.variant),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"variant\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.variant\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.variant.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Variant is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.yearDateTime.$error },attrs:{\"label\":\"Year\",\"label-for\":\"year\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.yearDateTime == null || _vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.yearDateTime.length == 0) },attrs:{\"use-utc\":true,\"id\":'year',\"format\":'yyyy',\"input-class\":'form-control textInput',\"disabled\":_vm.isReadOnly,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":!_vm.isReadOnly,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"wrapper-class\":'textInput',\"placeholder\":'Enter Year',\"minimum-view\":'year'},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.yearDateTime),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"yearDateTime\", $$v)},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.yearDateTime\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.yearDateTime.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Year is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Plate Number\",\"label-for\":\"platenumber\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"platenumber\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Plate Number\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.plateNumber.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.plateNumber),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"plateNumber\", $$v)},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.plateNumber\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.vehicleIDNumber.$error },attrs:{\"label\":\"Vehicle Identification Number\",\"label-for\":\"idnumber\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"idnumber\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"maxlength\":'17',\"placeholder\":\"Enter Identification Number\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.vehicleIDNumber.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.vehicleIDNumber),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"vehicleIDNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.vehicleIDNumber\"}}),(_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.vehicleIDNumber.$dirty && !_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.vehicleIDNumber.isValidID)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n ID Number should only contain numbers or numbers with uppercase characters excluding letters I, O and Q.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Engine Number\",\"label-for\":\"enginenumber\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"enginenumber\",\"maxlength\":'50',\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Engine Number\"},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.engineNumber),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"engineNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.engineNumber\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"termOfLease\",class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease.$error },attrs:{\"label\":\"Term of Lease (years)\",\"label-for\":\"termOfLease\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease == null || _vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease.length == 0)},attrs:{\"id\":\"termOfLease\",\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Term of Lease\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"termOfLease\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Term of Lease is required.\\n \")]):_vm._e(),(_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease.$dirty && !_vm.$v.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Term of Lease should be a number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Replacement / Additional Vehicle\",\"label-for\":\"replacementOrAdditionalVehicle\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"replacementOrAdditionalVehicle\",\"maxlength\":'50',\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Replacement / Additional Vehicle\"},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.replacementOrAdditionalVehicle),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails, \"replacementOrAdditionalVehicle\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.replacementOrAdditionalVehicle\"}})],1)],1)],1)],1),(_vm.onShowSellerDetails)?_c('b-col',{attrs:{\"xl\":\"3\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('label',{attrs:{\"label-for\":\"sellerDetails\"}},[_c('b',[_vm._v(\"Seller Details\")])]),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Name\",\"label-for\":\"name\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': !_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.name || _vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.name.length == 0},attrs:{\"id\":\"name\",\"type\":\"text\",\"placeholder\":\"Name\",\"disabled\":_vm.isReadOnly},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.name),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"name\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.name\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.name.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Contact Person\",\"label-for\":\"contactPerson\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': !_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactPerson || _vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactPerson.length == 0},attrs:{\"id\":\"contactPerson\",\"type\":\"text\",\"placeholder\":\"Contact Person\",\"disabled\":_vm.isReadOnly},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactPerson),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"contactPerson\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.contactPerson\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactPerson.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Contact Person is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"contactNumber\",class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber.$error },attrs:{\"label\":\"Contact Number\",\"label-for\":\"contactNumber\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': !_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber || _vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber.length == 0},attrs:{\"id\":\"contactNumber\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Contact Number\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"contactNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Contact Number is required.\\n \")]):_vm._e(),(_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber.$dirty && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"email\",class:{ 'form-group--error': _vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"email\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"email\",\"type\":\"email\",\"placeholder\":\"Enter Email Address\",\"disabled\":_vm.isReadOnly},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.email.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.email),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.email\"}}),(_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.email.$dirty && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.email.email )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Not a valid email address.\\n \")]):_vm._e()],1)],1)],1),(!_vm.isReadOnly)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('label',[_vm._v(\"Address\")]),_c('AutoCompleteAddressSearch',{attrs:{\"searchFieldClass\":_vm.searchFieldClass()},on:{\"onSearchAddress\":_vm.onSearchAddress}})],1),_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('hr',{staticClass:\"address-search-section ml-0\"})])],1):_vm._e(),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Address Line1\",\"label-for\":\"addressLine1\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine1.$error),'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine1.length == 0)},attrs:{\"id\":\"addressLine1\",\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"placeholder\":\"Enter Address Line1\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine1.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine1),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"addressLine1\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine1\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine1.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Address Line1 is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Address Line2\",\"label-for\":\"addressLine2\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",attrs:{\"id\":\"addressLine2\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Address Line2\"},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine2),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"addressLine2\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine2\"}})],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Suburb\",\"label-for\":\"ra_suburb\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.suburb.$error),'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.suburb.length == 0)},attrs:{\"id\":\"suburb\",\"disabled\":_vm.isReadOnly,\"type\":\"text\",\"placeholder\":\"Enter Suburb\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.suburb.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.suburb),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"suburb\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.suburb\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.suburb.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Suburb is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"State\",\"label-for\":\"state\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{ 'form-group--error': (_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId.$error),'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId == 0)},attrs:{\"id\":\"state\",\"plain\":true,\"disabled\":_vm.isReadOnly,\"options\":_vm.addressStates,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"stateId\", $$v)},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId\"}},[(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n State is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Postcode\",\"label-for\":\"postcode\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'form-group--error': (_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode.$error),'requiredField': (_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode == null || _vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode.length == 0)},attrs:{\"id\":\"postcode\",\"type\":\"text\",\"disabled\":_vm.isReadOnly,\"maxlength\":'4',\"placeholder\":\"Enter Postcode\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode.$touch()}},model:{value:(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode),callback:function ($$v) {_vm.$set(_vm.motorVehicleDetailsAndFinancedAmount.sellerDetails, \"postcode\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode\"}}),(_vm.validateRequiredField && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Postcode is required.\\n \")]):_vm._e(),(_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode.$dirty && !_vm.$v.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Postcode should be a number.\\n \")]):_vm._e()],1)],1)],1)],1):_vm._e(),_c('b-col',{attrs:{\"xl\":\"6\",\"lg\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('b-card',{staticClass:\"inner-card\"},[_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please note the following:\")]),_c('ul',[_c('li',[_vm._v(\" A dealer invoice or contract of sale, must contain the dealership address, contract numbers and ABN \")]),_c('li',[_vm._v(\" It is likely you will need to supply proof of comprehensive car insurance with the financier listed as the interested party \")])]),(_vm.docRequiredText && _vm.validateRequiredField)?_c('p',{staticStyle:{\"color\":\"red\"}},[_vm._v(_vm._s(_vm.docRequiredText)+\" \")]):_vm._e(),_c('DragAndDropControlApplication',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.clientFinanceApplication,\"relatedID\":_vm.applicationId,\"isAcknowledgeEnabled\":false,\"relatedStep\":_vm.stepNo,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":!_vm.isReadOnly,\"index\":1,\"modalMode\":false},on:{\"documentChangedEvent\":_vm.onCustomDocumentEvent,\"onLoadDocumentList\":_vm.validateMotorVehicleDetailsAndFinancedAmountStep}})],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Prop, Vue} from 'vue-property-decorator';\nimport { MotorVehicleDetailsAndFinancedAmountModel } from '@/models/clientFinanceApplication.model';\nimport { validationMixin } from 'vuelidate';\nimport { required, minValue, email, numeric, maxLength} from 'vuelidate/lib/validators';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { ClientApplicationFileTypes } from '@/shared/enums/clientApplicationFileTypes.enum';\nimport lookupService from '@/shared/services/lookupService';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\nimport { SaleTypes } from '@/shared/enums/saleTypes.enum';\nimport DragAndDropControlApplication from '@/shared/components/dragAndDropControl/DragAndDropControlApplication.vue';\nimport apiService from '@/shared/services/apiService';\nimport AutoCompleteAddressSearch from '@/shared/components/address/AutoCompleteAddressSearch.vue'\nimport { AutoCompleteAddress } from '@/models/autoCompleteAddress.model';\nimport fieldValidationService from '@/shared/services/fieldValidationService';\nimport ApexConstants from '@/shared/constants';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport CFAAuditHistory from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFAAuditHistory.vue';\n\n@Component({\n components:{\n Modal,\n DragAndDropControlApplication,\n AutoCompleteAddressSearch,\n CFAAuditHistory\n },\n mixins:[validationMixin],\n validations:\n {\n motorVehicleDetailsAndFinancedAmount:\n {\n amountSeekingPreApproval:\n {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n costVehicleIncludingGST:\n {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n saleType : {\n minValue:minValue(1),\n required\n },\n sellerDetails : {\n name: {\n required\n },\n contactPerson: {\n required\n },\n contactNumber: {\n required,\n numeric\n },\n email: {\n email,\n required\n },\n addressLine1:{\n required\n },\n suburb:{\n required\n },\n stateId:{\n minValue:minValue(1),\n required\n },\n postcode:{\n maxLength:maxLength(4),\n required,\n numeric\n },\n },\n motorVehicleDetails:{\n condition:{\n required\n },\n make:{\n required\n },\n model:{\n required \n },\n variant:{\n required \n },\n bodyType:{},\n yearDateTime:{\n required,\n },\n vehicleIDNumber:\n {\n isValidID : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^[A-Z0-9]+$/.test(value) && /[0-9]+/.test(value) && !/(i|o|q)+/.test(value.toLowerCase())\n }\n },\n plateNumber:{\n isValidPlateNumber : value => {\n return !(/\\s/.test(value))\n }\n },\n engineNumber: {\n },\n termOfLease: {\n required,\n numeric\n },\n },\n }\n }\n})\nexport default class MotorVehicleDetailsAndFinancedAmount extends Vue{\n @Prop() isClient: boolean;\n @Prop() routeNames:string[];\n\n motorVehicleDetailsAndFinancedAmount:MotorVehicleDetailsAndFinancedAmountModel = new MotorVehicleDetailsAndFinancedAmountModel()\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n allVehicleModels:any = [];\n allVehicleMakes:any = [];\n allVehicleMakesAndModels:any = [];\n stepNo:number = ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount;\n dirtyValidatorRefNo:number = 0;\n applicationInfoDirtyValidatorRefNo:number = 0;\n clientId:number = 0;\n applicationId:number = 0;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n taxInvoiceFileType:ClientApplicationFileTypes = ClientApplicationFileTypes.TaxInvoice;\n docRequiredText:string = '';\n currentIndex:number = 0;\n addressStates:any = [];\n vehicleConditionTypes:any = [];\n validateRequiredField:boolean = false;\n saleTypes:any = [];\n routerName:string = \"\";\n onShowSellerDetails:boolean = true;\n isReadOnly:boolean = false;\n isAdmin:boolean = false;\n\n mounted(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount)){\n this.validateRequiredField = true;\n }\n if (this.motorVehicleDetailsAndFinancedAmount && (this.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make || this.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model)){\n (this.$refs['refmaketypeahead'] as any).inputValue = this.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.make;\n (this.$refs['refmodeltypeahead'] as any).inputValue = this.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.model;\n if(this.isReadOnly && (this.$refs['refmodeltypeahead'] as any) != undefined && (this.$refs['refmaketypeahead'] as any) != undefined){\n (this.$refs['refmaketypeahead'] as any).$refs.input.disabled = true;\n (this.$refs['refmodeltypeahead'] as any).$refs.input.disabled = true;\n }\n }\n }\n \n created(){\n this.motorVehicleDetailsAndFinancedAmount = Object.assign({},this.$store.getters.getClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount);\n this.isReadOnly = this.$store.getters.getIsReadOnly;\n if(this.motorVehicleDetailsAndFinancedAmount.saleType == SaleTypes.Refinance){\n this.onShowSellerDetails = false;\n }\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.motorVehicleDetailsAndFinancedAmount);\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;;\n this.routerName = this.$route.params.routerDisplayName;\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n this.loadStates();\n this.loadVehicleConditionTypes();\n this.loadAllVehicleMakesAndModels();\n this.loadSaleTypes();\n }\n\n loadStates(){\n lookupService.GetAddressStatesList().then(data =>{\n this.addressStates = data;\n });\n }\n\n loadVehicleConditionTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleConditionTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleConditionTypes = data;\n }); \n } \n\n onChangeSalesType(){\n if(this.motorVehicleDetailsAndFinancedAmount.saleType == SaleTypes.Refinance){\n this.onShowSellerDetails = false;\n } else {\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.name = \"\";\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactPerson = \"\";\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber = \"\",\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.email = \"\",\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.id = 0,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.relatedID = 0,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.relatedTable = 0,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine1 = \"\",\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine2 = \"\",\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.suburb = \"\",\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode = null,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId = 0,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.country = ApexConstants.DEFAULT_COUNTRY,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.latitude = 0,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.longitude = 0,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.concurrencyKey = null,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressType = 0,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressTypeText = \"\",\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.createdBy = \"\",\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.createdDate = null,\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.updatedBy = \"\",\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.updatedDate = null\n this.onShowSellerDetails = true;\n }\n }\n\n loadAllVehicleMakesAndModels()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Vehicle','VehicleMakesAndModels').then(response=>{\n if(response.data){\n this.allVehicleMakesAndModels = response.data;\n this.allVehicleMakes = this.allVehicleMakesAndModels.map((value,index,array) => {\n return value.make;\n });\n } \n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadSaleTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetSaleTypesList().then(data => \n {\n this.saleTypes = data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onSearchAddress(address: AutoCompleteAddress){\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine1 = address.addressLine1;\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.addressLine2 = address.addressLine2;\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode = address.postcode;\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.stateId = address.stateId;\n this.motorVehicleDetailsAndFinancedAmount.sellerDetails.suburb = address.suburb;\n }\n\n searchFieldClass(){\n return 'textInput_250';\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number):boolean{\n if(this.isClient){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount)){\n editedSteps.push(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected || this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount',this.motorVehicleDetailsAndFinancedAmount);\n return true;\n }\n if(this.validateOnSave()){\n this.$store.dispatch('updateClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount',this.motorVehicleDetailsAndFinancedAmount);\n if(this.$store.getters.getClientFinanceApplicationStatus <= ClientFinanceApplicationStates.ChangeInCircumstances){\n this.$store.dispatch('updateClientFinanceApplicationStatus',nextStep+1);\n }\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.onValidateStep(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount, documentList);\n this.onNavigate(nextStep, this.applicationId);\n return true;\n });\n }else{\n this.onValidateStep(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount, documentList);\n return false;\n }\n }else{\n this.onNavigate(nextStep, this.applicationId);\n return true;\n }\n \n }\n\n validateOnSave(){\n var isValid = true;\n if(!fieldValidationService.isDecimal(this.motorVehicleDetailsAndFinancedAmount.amountSeekingPreApproval)){\n isValid = false; \n }\n else if(!fieldValidationService.isDecimal(this.motorVehicleDetailsAndFinancedAmount.costVehicleIncludingGST)){\n isValid = false; \n }\n else if(!fieldValidationService.isValidVehicleIDNumber(this.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.vehicleIDNumber)){\n isValid = false; \n }\n else if(!fieldValidationService.isValidOrNullNumber(this.motorVehicleDetailsAndFinancedAmount.motorVehicleDetails.termOfLease)){\n isValid = false; \n }\n else if(this.onShowSellerDetails && !fieldValidationService.isValidOrNullNumber(this.motorVehicleDetailsAndFinancedAmount.sellerDetails.contactNumber)){\n isValid = false; \n }\n else if(this.onShowSellerDetails && !fieldValidationService.isValidOrNullEmail(this.motorVehicleDetailsAndFinancedAmount.sellerDetails.email)){\n isValid = false; \n }\n else if(this.onShowSellerDetails && !fieldValidationService.isValidOrNullNumber(this.motorVehicleDetailsAndFinancedAmount.sellerDetails.postcode)){\n isValid = false; \n }\n \n return isValid;\n }\n\n updateModelOnSave(){\n if(this.validateOnSave()){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount)){\n editedSteps.push(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n if(this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Rejected && this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount',this.motorVehicleDetailsAndFinancedAmount);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(response => {\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n this.onValidateStep(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount, documentList);\n });\n }\n }\n }\n\n onCustomDocumentEvent(){\n //this.onValidateDocumentList();\n var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n this.onValidateStep(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount, documentList);\n }\n\n validateMotorVehicleDetailsAndFinancedAmountStep(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps && editedSteps.includes(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount)){\n this.validateRequiredField = true;\n this.onCustomDocumentEvent();\n }\n }\n \n // onValidateDocumentList(){\n // var documentList = (this.$refs.dragDropControl as DragAndDropControlApplication).getDocumentList();\n // if(documentList.filter(doc => doc.fileType == ClientApplicationFileTypes.TaxInvoice).length == 0){\n // this.docRequiredText = 'Invoice/Tax Invoice is required.';\n // }else{\n // this.docRequiredText = '';\n // }\n // return this.docRequiredText == ''\n // }\n\n onNavigate(step: number, applicationId:number){\n var requestedRouterName = this.routeNames[step];\n if(requestedRouterName != this.routerName){\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:applicationId.toString(), routerDisplayName:requestedRouterName}}); \n }\n }\n\n @Emit('onValidateStep') onValidateStep(applicationStep:ClientFinanceApplicationStates, documentList:any[]) {\n\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleDetailsAndFinancedAmount.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleDetailsAndFinancedAmount.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleDetailsAndFinancedAmount.vue?vue&type=template&id=71bb806a&scoped=true\"\nimport script from \"./MotorVehicleDetailsAndFinancedAmount.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleDetailsAndFinancedAmount.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehicleDetailsAndFinancedAmount.vue?vue&type=style&index=0&id=71bb806a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"71bb806a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ml-2 mt-4\"},[_c('b-row',[_c('b-col',{attrs:{\"xl\":\"12\",\"lg\":\"12\"}},[_c('CFAAuditHistory',{attrs:{\"stepNo\":_vm.stepNo,\"stepName\":'Change in Circumstances'}}),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('div',[_vm._v(\"\\n Are you aware of any factors that may influence the approval of this application? Such as, any foreseeable changes to your circumstances that could impact on your financial situation, for example: retirement plans, seasonal employment, additional liabilities, changes to your income, changes under your other loan arrangements, expecting a child ?\\n \")])])],1),_c('b-row',{staticClass:\"mt-4 mb-4\"},[_c('b-col',[(!this.$store.getters.getIsReadOnly)?_c('b-form-group',{attrs:{\"label\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar ariaDescribedby = ref.ariaDescribedby;\nreturn [_c('b-form-radio',{attrs:{\"inline\":true,\"aria-describedby\":ariaDescribedby,\"name\":\"plain-inline\",\"value\":true},on:{\"change\":_vm.onChangeAgreementOption},model:{value:(_vm.changeInCircumstance.changeInCircumstancesAgreement),callback:function ($$v) {_vm.$set(_vm.changeInCircumstance, \"changeInCircumstancesAgreement\", $$v)},expression:\"changeInCircumstance.changeInCircumstancesAgreement\"}},[_vm._v(\"Yes \")]),_c('b-form-radio',{attrs:{\"inline\":true,\"aria-describedby\":ariaDescribedby,\"name\":\"plain-inline\",\"value\":false},on:{\"change\":_vm.onChangeAgreementOption},model:{value:(_vm.changeInCircumstance.changeInCircumstancesAgreement),callback:function ($$v) {_vm.$set(_vm.changeInCircumstance, \"changeInCircumstancesAgreement\", $$v)},expression:\"changeInCircumstance.changeInCircumstancesAgreement\"}},[_vm._v(\"No\")])]}}],null,false,204853108)}):_vm._e(),(this.$store.getters.getIsReadOnly)?_c('b-form-group',{attrs:{\"label\":\"\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar ariaDescribedby = ref.ariaDescribedby;\nreturn [_c('b-form-radio',{attrs:{\"disabled\":\"\",\"inline\":true,\"aria-describedby\":ariaDescribedby,\"name\":\"plain-inline\",\"value\":true},model:{value:(_vm.changeInCircumstance.changeInCircumstancesAgreement),callback:function ($$v) {_vm.$set(_vm.changeInCircumstance, \"changeInCircumstancesAgreement\", $$v)},expression:\"changeInCircumstance.changeInCircumstancesAgreement\"}},[_vm._v(\"Yes \")]),_c('b-form-radio',{attrs:{\"disabled\":\"\",\"inline\":true,\"aria-describedby\":ariaDescribedby,\"name\":\"plain-inline\",\"value\":false},model:{value:(_vm.changeInCircumstance.changeInCircumstancesAgreement),callback:function ($$v) {_vm.$set(_vm.changeInCircumstance, \"changeInCircumstancesAgreement\", $$v)},expression:\"changeInCircumstance.changeInCircumstancesAgreement\"}},[_vm._v(\"No\")])]}}],null,false,2456272436)}):_vm._e()],1)],1),(_vm.changeInCircumstance.changeInCircumstancesAgreement != null && _vm.changeInCircumstance.changeInCircumstancesAgreement == true)?_c('b-row',{staticClass:\"mt-4 mb-4\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"6\",\"xl\":\"6\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.changeInCircumstance.changeInCirumstanceNote),expression:\"changeInCircumstance.changeInCirumstanceNote\"}],staticClass:\"textInput grid-textInput form-control\",attrs:{\"id\":\"changeInCircumstanceNote\",\"type\":\"text\",\"disabled\":this.$store.getters.getIsReadOnly,\"placeholder\":\"Enter Note\",\"rows\":2},domProps:{\"value\":(_vm.changeInCircumstance.changeInCirumstanceNote)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.changeInCircumstance, \"changeInCirumstanceNote\", $event.target.value)}}})])],1):_vm._e(),_c('b-row',{staticClass:\"pb-2\"},[_c('b-col',{attrs:{\"sm\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"creditGuideDownloadAndReadComplete\",\"disabled\":this.$store.getters.getIsReadOnly},model:{value:(_vm.changeInCircumstance.creditGuideDownloadAndReadComplete),callback:function ($$v) {_vm.$set(_vm.changeInCircumstance, \"creditGuideDownloadAndReadComplete\", $$v)},expression:\"changeInCircumstance.creditGuideDownloadAndReadComplete\"}},[_vm._v(\" \\n I have downloaded and read the Credit Guide.\\n \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit,Prop } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { ChangeInCircumstancesModel } from '@/models/clientFinanceApplication.model';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport CFAAuditHistory from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/CFAAuditHistory.vue';\n\n@Component({\n components:{\n CFAAuditHistory\n },\n\n mixins:[validationMixin],\n validations:\n {\n \n }\n})\nexport default class ChangeInCircumstances extends Vue{\n @Prop() isClient: boolean;\n @Prop() routeNames:string[];\n\n clientFinanceApplication:RelatedTables = RelatedTables.ClientFinanceApplication;\n stepNo:number = ClientFinanceApplicationStates.ChangeInCircumstances;\n changeInCircumstance:ChangeInCircumstancesModel = {\n changeInCircumstancesAgreement:null,\n creditGuideDownloadAndReadComplete:false,\n changeInCirumstanceNote:\"\"\n };\n dirtyValidatorRefNo:number = 0;\n checkValidationMessages:boolean = false;\n clientId:number = 0;\n applicationId:number = 0;\n routerName:string = \"\";\n isAdmin:boolean = false;\n\n created(){\n this.changeInCircumstance = Object.assign({},this.$store.getters.getClientFinanceApplicationChangeInCircumstance);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.changeInCircumstance);\n this.checkValidationMessages = false;\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0;\n this.routerName = this.$route.params.routerDisplayName;\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n }\n\n onNavigate(step: number, applicationId:number){\n var requestedRouterName = this.routeNames[step];\n if(requestedRouterName != this.routerName){\n this.$router.push({name:'Edit Client Finance Application',params:{clientId:this.clientId.toString(),id:applicationId.toString(), routerDisplayName:requestedRouterName}}); \n }\n }\n\n updateModel(saveOnUpdate:boolean, nextStep:number){\n if(this.isClient){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.ChangeInCircumstances)){\n editedSteps.push(ClientFinanceApplicationStates.ChangeInCircumstances);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected || this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationChangeInCircumstance',this.changeInCircumstance);\n return true;\n } \n this.$store.dispatch('updateClientFinanceApplicationChangeInCircumstance',this.changeInCircumstance);\n if(this.$store.getters.getClientFinanceApplicationStatus <= ClientFinanceApplicationStates.ChangeInCircumstances){\n this.$store.dispatch('updateClientFinanceApplicationStatus',nextStep+1);\n }\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:false}).then(res => {\n this.onValidateStep(ClientFinanceApplicationStates.ChangeInCircumstances);\n this.onNavigate(nextStep, this.applicationId);\n return true;\n });\n }else{\n this.onNavigate(nextStep, this.applicationId);\n return true;\n }\n }\n\n getChangeInCircumstanceData(){\n return this.changeInCircumstance;\n }\n\n updateModelOnSave(){\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.ChangeInCircumstances)){\n editedSteps.push(ClientFinanceApplicationStates.ChangeInCircumstances);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n }\n if(this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Rejected && this.$store.getters.getClientFinanceApplicationStatus != ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationChangeInCircumstance',this.changeInCircumstance);\n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',false);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(response => {\n this.onValidateStep(ClientFinanceApplicationStates.ChangeInCircumstances);\n });\n }\n }\n\n onChangeAgreementOption(){\n this.changeInCircumstance.changeInCirumstanceNote = \"\";\n }\n\n\n @Emit('onValidateStep') onValidateStep(applicationStep:ClientFinanceApplicationStates) {\n\n }\n\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeInCircumstances.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangeInCircumstances.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ChangeInCircumstances.vue?vue&type=template&id=21023712&scoped=true\"\nimport script from \"./ChangeInCircumstances.vue?vue&type=script&lang=ts\"\nexport * from \"./ChangeInCircumstances.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"21023712\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"pt-4\"},[_c('DataTable',{ref:\"annatureAuditLogsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No Annature audit logs to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport {AnnatureAuditLogsFilterParams} from '@/models/tableFilterParams.model';\nimport AppSettings from '@/app.config';\nimport moment from \"moment\";\n\n@Component({\n components: {\n DataTable\n }\n})\nexport default class AnnatureAuditLogs extends Vue{\n @Prop() relatedTable:number;\n @Prop() relatedIdList:number[];\n items:any[] = [];\n showEmptyBanner:boolean = false;\n fields = [\n {key: 'eventDateTime',label:'Event Date', class:'width_25 text-left', sortable:true,\n formatter: (value, key, item) => {\n return moment.utc(item.eventDateTime).local().format(\"DD MMM YYYY HH:mm:ss\");\n }\n },\n {key: 'description', class:'text-left' }\n ]; \n customTemplateList:Array = [];\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"eventDateTime\";\n sortDesc:boolean = true;\n totalRows:number = 0;\n\n created()\n { \n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"eventDateTime\",SortDesc:true,SearchByString: '',RelatedId: 0, RelatedIdList: this.relatedIdList, RelatedTable: this.relatedTable, Status: 0});\n }\n \n refreshGrid(tableFilterParams:AnnatureAuditLogsFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"AnnatureAuditLogs\",\"AnnatureAuditHistory\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto == null ? [] : response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onSortingChange(ctx:any)\n {\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: 0, RelatedIdList: this.relatedIdList, RelatedTable: this.relatedTable, Status: 0,});\n }\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number)\n {\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: 0, RelatedIdList: this.relatedIdList, RelatedTable: this.relatedTable, Status :0});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnnatureAuditLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AnnatureAuditLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AnnatureAuditLogs.vue?vue&type=template&id=da26f9e4\"\nimport script from \"./AnnatureAuditLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./AnnatureAuditLogs.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showClientFinanceApplicationAuditLogsModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"clientFinanceApplicationAuditLogsModal\",\"maxWidth\":\"800px\",\"maxHeight\":\"780px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap modal-title\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Application Audit Logs\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"clientFinanceApplicationAuditLogsCancelBtn\"},on:{\"click\":_vm.onCloseModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ClientFinanceApplicationAuditLogs',{staticClass:\"modal-body-text\",attrs:{\"applicationId\":_vm.applicationId}})],1)]):_vm._e(),(_vm.spanMode)?_c('span',{staticClass:\"float-right ml-2 mr-2 cfa-audit-button spanModeClass\",attrs:{\"title\":\"Show Application Audit Logs\"},on:{\"click\":function($event){_vm.showClientFinanceApplicationAuditLogsModal = true}}},[_c('i',{staticClass:\"fas fa-history fa\",attrs:{\"aria-hidden\":\"true\"}})]):_c('b-btn',{staticClass:\"ml-3 action-btn primary\",attrs:{\"title\":\"Show Application Audit Logs\"},on:{\"click\":_vm.viewClientFinanceApplicationAuditLogs}},[_c('i',{staticClass:\"fas fa-history cfa-audit-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',[_c('DataTable',{ref:\"clientFinanceApplicationAuditLogsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No audit logs to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop} from \"vue-property-decorator\";\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport moment from 'moment';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport AppSettings from '@/app.config'\n\n@Component({\n components: {\n DataTable\n }\n})\nexport default class ClientFinanceApplicationAuditLogs extends Vue{\n @Prop() applicationId:number;\n items:any[] = [];\n showEmptyBanner:boolean = false;\n fields = [\n {key: 'date',label:'Date', class:'width_25 text-left', sortable:true, \n formatter: (value, key, item) => {\n return moment(item.date).format(\"DD MMM YYYY HH:mm:ss\");\n }, \n },\n {key: 'description', class:'text-left' }\n ]; \n customTemplateList:Array = [];\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"date\";\n sortDesc:boolean = true;\n totalRows:number = 0;\n\n created()\n {\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString: '',RelatedId: this.applicationId,Status: 0});\n }\n \n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"ClientFinanceApplication\",\"ClientFinanceApplicationAuditLogs\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onSortingChange(ctx:any)\n {\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: this.applicationId, Status: 0});\n }\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number)\n {\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: this.applicationId, Status :0});\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationAuditLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationAuditLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientFinanceApplicationAuditLogs.vue?vue&type=template&id=6f3a32e4\"\nimport script from \"./ClientFinanceApplicationAuditLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientFinanceApplicationAuditLogs.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport ClientFinanceApplicationAuditLogs from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogs.vue';\n\n@Component(\n {\n components: {\n Modal,\n ClientFinanceApplicationAuditLogs\n }\n }\n)\nexport default class ClientFinanceApplicationAuditLogsActionButton extends Vue{\n @Prop() applicationId:any;\n @Prop() spanMode:any;\n hideFooter:boolean = true;\n showClientFinanceApplicationAuditLogsModal:boolean = false;\n\n onCloseModal()\n {\n this.showClientFinanceApplicationAuditLogsModal = false;\n }\n\n viewClientFinanceApplicationAuditLogs(){\n this.showClientFinanceApplicationAuditLogsModal = true;\n }\n}\n","import mod from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationAuditLogsActionButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationAuditLogsActionButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientFinanceApplicationAuditLogsActionButton.vue?vue&type=template&id=424e10d0&scoped=true\"\nimport script from \"./ClientFinanceApplicationAuditLogsActionButton.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientFinanceApplicationAuditLogsActionButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientFinanceApplicationAuditLogsActionButton.vue?vue&type=style&index=0&id=424e10d0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"424e10d0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"ml-4 mt-2 mr-4\"},[_c('DataTable',{ref:\"cfaNotesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"selectable\":false,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No notes found.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport AppSettings from '@/app.config';\nimport { NotesTableFilterParams } from '@/models/tableFilterParams.model';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport moment from 'moment';\n\n@Component({\n components:{\n DataTable,\n },\n})\nexport default class ClientFinanceApplicationNotes extends Vue{\n @Prop() relatedId:any;\n \n @Watch('relatedId')\n onRelatedIdChanged(val: any, oldVal: any)\n {\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",\n RelatedId:this.relatedId,Status:0, RelatedTable:RelatedTables.ClientFinanceApplication}); \n }\n \n items:any = [];\n fields = [\n {key: 'createdDate', sortable:'true', label: \"Date\", class:'width_10',\n formatter: (value, key, item) => {\n return moment(item.createdDate).format(\"DD MMM YYYY\");\n }, \n },\n {key: 'noteText',label:'Note',class:'width_30'},\n {key: 'createdByName',label:\"Created By\", class:'width_20'}, \n ];\n \n totalRows:number = 0;\n perPage:number = AppSettings.reducedLedgerGridSize;\n sortBy:string = \"createdDate\";\n sortDesc:boolean = true;\n showEmptyBanner:boolean = false;\n \n created(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",\n RelatedId:this.relatedId,Status:0, RelatedTable:RelatedTables.ClientFinanceApplication}); \n }\n\n refreshGrid(notesTableFilterParams:NotesTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Utility\",\"FilteredNotes\",notesTableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onSortingChange(ctx:any){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",\n RelatedId:this.relatedId,Status:0, RelatedTable:RelatedTables.ClientFinanceApplication});\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",\n RelatedId:this.relatedId,Status:0, RelatedTable:RelatedTables.ClientFinanceApplication});\n }\n\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationNotes.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationNotes.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientFinanceApplicationNotes.vue?vue&type=template&id=7db7d0f2&scoped=true\"\nimport script from \"./ClientFinanceApplicationNotes.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientFinanceApplicationNotes.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7db7d0f2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport apiService from '@/shared/services/apiService'\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport Wizard from '@/shared/components/wizard/Wizard.vue';\nimport WizardTab from '@/shared/components/wizard/WizardTab.vue';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { ClientFinanceApplication, LiabilityDependencyModel } from '@/models/clientFinanceApplication.model'; \nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport lookupService from '@/shared/services/lookupService';\nimport InvoiceList from '@/components/admin/invoices/InvoiceList.vue';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport { validationMixin } from 'vuelidate';\nimport { required } from 'vuelidate/lib/validators';\nimport { ClientFinanceApplicationQueryActionType, ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\nimport DocumentRepository from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/DocumentRepository.vue';\nimport PersonalDetails from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/PersonalDetails.vue';\nimport AddressDetails from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/AddressDetails.vue';\nimport EmploymentDetails from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/EmploymentDetails.vue';\nimport Income from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/Income.vue';\nimport Assets from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/Assets.vue';\nimport Liabilities from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/Liabilities.vue';\nimport MotorVehicleDetailsAndFinancedAmount from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/MotorVehicleDetailsAndFinancedAmount.vue';\nimport ChangeInCircumstances from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/ChangeInCircumstances.vue';\nimport BlobContainerNames from '@/shared/blobContainerNames';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport ApexConstants from '@/shared/constants';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport clientFinanceApplicationValidationService from '@/shared/services/clientFinanceApplicationValidationService';\nimport { ClientAddressTypes } from '@/shared/enums/clientAddressTypes.enum';\nimport AnnatureAuditLogs from '@/shared/components/auditHistory/AnnatureAuditLogs.vue';\nimport ClientFinanceApplicationAuditLogsActionButton from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/auditHistory/ClientFinanceApplicationAuditLogsActionButton.vue';\nimport ClientFinanceApplicationNotes from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationNotes.vue';\nimport Filtrations from '@/shared/filtrations';\n\n@Component(\n { \n mixins:[validationMixin],\n components: {\n Wizard,\n WizardTab,\n Notes,\n DocumentUploader,\n Modal,\n InvoiceList,\n PersonalDetails,\n AddressDetails,\n EmploymentDetails,\n Income,\n Assets,\n Liabilities,\n MotorVehicleDetailsAndFinancedAmount,\n ChangeInCircumstances,\n AnnatureAuditLogs,\n ClientFinanceApplicationAuditLogsActionButton,\n ClientFinanceApplicationNotes,\n DocumentRepository\n },\n validations:{\n applicationActionModel:{\n reason:{\n required\n },\n date:{\n required \n },\n },\n queryNoteText:{\n required\n },\n withdrawNoteText: {\n required,\n },\n rejectNoteText:{\n required,\n }\n\n }\n }\n)\nexport default class ClientFinanceApplicationWizard extends Vue{\n clientId:number = 0;\n isClient:boolean = false;\n isAdmin:boolean = false;\n applicationId:number = 0;\n selectedTabRouteName:string = 'personalDetails';\n dirtyValidationRefNumbers:number[] =[0,0,0,0,0,0,0,0];\n routeNames:string[] = ['personalDetails', 'addressDetails', 'employmentDetails', 'incomeDetails', 'assetsDetails', 'liabilitiesDetails', 'motorVehicleDetailsAndFinancedAmount', 'changeInCircumstances'];\n stepNames:string[] = [\"Personal Details\", \"Address Details\", 'Employment', 'Income', 'Assets', 'Liabilities', 'Motor Vehicle & Financed Amount', 'Change in Circumstances'];\n relatedTable:RelatedTables = RelatedTables.ClientFinanceApplication;\n showWizard:boolean = false;\n showDirtyNavigationConfirmation:boolean = false;\n clientName:string = \"\";\n selectedStep:string = \"Personal Details\";\n disableSave:boolean = false;\n personalDetailsStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.PersonalDetails;\n addressStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Address;\n employmentStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Employment;\n incomeStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Income;\n assetsStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Assets;\n liabilitiesStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Liabilities;\n motorVehicleDetailsAndFinancedAmountStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount;\n changeInCircumstancesStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.ChangeInCircumstances;\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\n rejectedStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Rejected;\n convertedStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Converted;\n withdrawnStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.Withdrawn;\n awaitingSignatureStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.AwaitingSignature;\n awaitingReviewStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.AwaitingReview;\n readyForSubmissionStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.ReadyForSubmission;\n awaitingFinancierApprovalStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.AwaitingFinancierApproval;\n financierApprovedStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.FinancierApproved;\n informationQueriedStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.InformationQueried;\n documentQueriedStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.DocumentQueried;\n\n currentTab:any = null;\n totalTabs:number = 8;\n showFinanceApplicationActionModal:boolean = false;\n actionText:string = \"\";\n applicationActionDirtyValidationNo:number = 0;\n todayDate:any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n hideFooter:boolean = true;\n isAllowedToApprove:boolean = false;\n isAllowedToQuery:boolean = false;\n isAllowedToReject:boolean = false;\n isAllowedToWithdraw:boolean = false;\n isAllowedToConvert:boolean = false;\n isAllowedToFinancierApprove:boolean = false;\n isAllowedToSubmitForBank:boolean = false;\n queryNoteText: string = \"\";\n withdrawNoteText: string = \"\";\n rejectNoteText: string = \"\";\n showQueryCFANoteModal: boolean = false;\n showWithdrawCFANoteModal:boolean = false;\n showRejectCFANoteModal:boolean = false;\n showDocumentRepositoryModal:boolean = false;\n submitBtnText: string = \"Submit\";\n isReadOnly: boolean = false;\n clientFinanceApplication: ClientApplicationTypes = ClientApplicationTypes.ClientFinance;\n ClientFinanceApplicationQueryActionType: ClientFinanceApplicationQueryActionType = ClientFinanceApplicationQueryActionType.Information;\n queryActionTypeInformation = ClientFinanceApplicationQueryActionType.Information;\n queryActionTypeDocument = ClientFinanceApplicationQueryActionType.Document;\n\n initialObject: ClientFinanceApplication = {\n id:0,\n clientId:0,\n arn:'',\n editedSteps:[],\n status:ClientFinanceApplicationStates.PersonalDetails,\n isSubmit:false,\n isActive:false,\n isReadOnly:false,\n creditGuideDownloadedDate:null,\n personalDetails: {\n email:\"\",\n homePhone:\"\",\n mobilePhone:\"\",\n workPhone:\"\",\n maritalStatus:0,\n dependantsAge:\"\",\n driversLicenseNumber: undefined,\n licenseIssuingState:0,\n licenseIssuingDetails:\"\",\n driversLicenseType:0,\n residencyStatus:0,\n residencyStatusDetails:\"\",\n documentList:[],\n },\n liabilities: {\n monthlyRepayments: [],\n monthlyExpenses: [],\n documentList: [],\n maxMonthlyExpensesRowNumber: 0,\n maxMonthlyRepaymentsRowNumber: 0\n },\n concurrencyKey:\"\",\n addressDetails: {\n addressLines:[]\n },\n employment: {\n documentList:[],\n employmentLines:[],\n },\n assets:{\n maxRowNumber:0,\n assetItems:[],\n documentList:[]\n },\n income:{\n grossAnnualIncome:\"\",\n monthlyNetIncome:\"\",\n spousalGrossAnnualIncome:\"\",\n spousalMonthlyNetIncome:\"\",\n investmentPropertyIncome:\"\",\n superannuationIncome:\"\",\n governmentBenefitIncome:\"\",\n investmentIncome:\"\",\n otherIncome:\"\",\n otherIncomeDetails:\"\",\n documentList:[]\n },\n motorVehicleDetailsAndFinancedAmount: {\n amountSeekingPreApproval: null,\n costVehicleIncludingGST: null,\n saleType: null,\n sellerDetails: {\n name: \"\",\n contactPerson: \"\",\n contactNumber: \"\",\n email: \"\",\n id: 0,\n relatedID: 0,\n relatedTable: 0,\n addressLine1: \"\",\n addressLine2: \"\",\n suburb: \"\",\n postcode: null,\n stateId: 0,\n country: ApexConstants.DEFAULT_COUNTRY,\n latitude: 0,\n longitude: 0,\n concurrencyKey: null,\n addressType: 0,\n addressTypeText: \"\",\n createdBy: \"\",\n createdDate: null,\n updatedBy: \"\",\n updatedDate: null\n },\n motorVehicleDetails: {\n termOfLease: null,\n replacementOrAdditionalVehicle: \"\",\n id:0,\n mvrn:0,\n make:\"\",\n model:\"\",\n year:0,\n yearDateTime:\"\",\n plateNumber:\"\",\n vehicleIDNumber:\"\",\n engineNumber:\"\",\n regoRenewalDate:\"\",\n insuranceRenewalDate:\"\",\n clientid:0,\n concurrencyKey:\"\",\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:new Date(),\n lastUpdatedDate:new Date(),\n isImageChanged:false,\n imageInfo:null,\n administrationFeeStartDate:\"\",\n administrationFeeEndDate:\"\",\n administrationFeeAmount:\"\",\n administrationFeeChargeFrequency:\"\",\n administrationFeeAmountWithFrequency:\"\",\n isAdministrationFeeAmountOverridden:false,\n variant:\"\",\n condition:null,\n bodyType:null,\n transmission:null,\n fuelType:null,\n colour:null,\n isCreatedByFinanceApplication:false,\n isImageUploadedByApplication:false,\n status:0,\n isPossibleToInactiveVehicle:null,\n } ,\n documentList:[], \n },\n changeInCircumstances:{\n changeInCircumstancesAgreement:null,\n creditGuideDownloadAndReadComplete:false,\n changeInCirumstanceNote:\"\",\n },\n createdByName:\"\",\n createdDate:new Date(),\n lastUpdateByName:\"\",\n lastUpdatedDate:new Date(),\n dirtyValidationRefNos : [0,0,0,0,0,0,0,0],\n };\n \n mandatoryFieldsValidation = {\n personalDetails : true,\n addressDetails : true,\n employment: true,\n income: true,\n assets: true,\n liabilities: true,\n motorVehicleDetailsAndFinancedAmount: true,\n changeInCircumstances: true,\n }\n\n onShowAnnatureAuditLogs:boolean = false;\n\n created(){\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n this.relatedTable = RelatedTables.ClientFinanceApplication;\n this.clientId = +this.$route.params.clientId ? +this.$route.params.clientId : 0;\n this.applicationId = +this.$route.params.id ? +this.$route.params.id : 0; \n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n if((this.applicationId == 0) && (this.selectedTabRouteName != this.routeNames[0])){\n this.$router.push({name:'Edit Client Finance Application',params:{id:this.applicationId.toString(),clientId:this.clientId.toString(),routerDisplayName:this.routeNames[0]}})\n }\n this.loadData();\n this.loadClientNameByClientID();\n } \n\n destroyed(){\n this.$store.dispatch('updateClientFinanceApplication',Object.assign({},this.initialObject));\n this.$store.dispatch('updateDocuments', []);\n }\n\n loadData(){\n if(this.applicationId>0){ \n this.loadApplication();\n }\n else{\n this.$store.dispatch('updateClientFinanceApplicationClientId',this.clientId);\n this.showWizard = true;\n }\n }\n\n loadApplication()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.applicationId}\n apiService.sendGetRequest('ClientFinanceApplication','ClientFinanceApplication',params).then(response=>{\n this.$store.dispatch('updateClientFinanceApplication',response.data);\n this.isReadOnly = this.$store.getters.getIsReadOnly;\n this.onValidateClientFinanceApplication(response.data);\n this.isAllowedToApprove = (response.data.status == ClientFinanceApplicationStates.AwaitingReview);\n this.isAllowedToQuery = (response.data.status == ClientFinanceApplicationStates.AwaitingReview || response.data.status == ClientFinanceApplicationStates.AwaitingFinancierApproval);\n this.isAllowedToWithdraw = response.data.status == ClientFinanceApplicationStates.AwaitingFinancierApproval || response.data.status == ClientFinanceApplicationStates.AwaitingReview;\n this.isAllowedToSubmitForBank = response.data.status == ClientFinanceApplicationStates.ReadyForSubmission;\n this.isAllowedToFinancierApprove = response.data.status == ClientFinanceApplicationStates.AwaitingFinancierApproval;\n this.isAllowedToConvert = response.data.status == ClientFinanceApplicationStates.FinancierApproved;\n if((response.data.status == ClientFinanceApplicationStates.InformationQueried || response.data.status == ClientFinanceApplicationStates.DocumentQueried) && this.isClient){\n this.submitBtnText= \"Resubmit\"\n }\n this.showWizard = true;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onValidateClientFinanceApplication(applicationData){\n var editedSteps = applicationData.editedSteps;\n if(editedSteps){\n if(editedSteps.includes(ClientFinanceApplicationStates.PersonalDetails)){\n this.mandatoryFieldsValidation.personalDetails = clientFinanceApplicationValidationService.isValidPersonalDetails(applicationData.personalDetails);\n } \n if(editedSteps.includes(ClientFinanceApplicationStates.Address)){\n this.mandatoryFieldsValidation.addressDetails = clientFinanceApplicationValidationService.isValidAddressDetails(applicationData.addressDetails);\n }\n if(editedSteps.includes(ClientFinanceApplicationStates.Employment)){\n this.mandatoryFieldsValidation.employment = clientFinanceApplicationValidationService.isValidEmploymentDetails(applicationData.employment);\n }\n if(editedSteps.includes(ClientFinanceApplicationStates.Assets)){\n this.mandatoryFieldsValidation.assets = clientFinanceApplicationValidationService.isValidAssetDetails(applicationData.assets);\n }\n if(editedSteps.includes(ClientFinanceApplicationStates.Income)){\n this.mandatoryFieldsValidation.income = clientFinanceApplicationValidationService.isValidIncomeDetails(applicationData.income);\n }\n if(editedSteps.includes(ClientFinanceApplicationStates.Liabilities)){\n var addressDetails = applicationData.addressDetails;\n var isRentOrBoard = ((addressDetails.currentAddress && (addressDetails.currentAddress.clientAddressType == ClientAddressTypes.Rent\n || addressDetails.currentAddress.clientAddressType == ClientAddressTypes.Board))\n || (addressDetails.previousAddress && (addressDetails.previousAddress.clientAddressType == ClientAddressTypes.Rent\n || addressDetails.previousAddress.clientAddressType == ClientAddressTypes.Board)));\n var liabilityDependency:LiabilityDependencyModel = {\n isRentOrBoard: isRentOrBoard\n };\n this.mandatoryFieldsValidation.liabilities = clientFinanceApplicationValidationService.isValidLiabilityDetails(applicationData.liabilities, liabilityDependency);\n }\n if(editedSteps.includes(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount)){\n this.mandatoryFieldsValidation.motorVehicleDetailsAndFinancedAmount = clientFinanceApplicationValidationService.isValidMotorVehicleDetailsAndFinancedAmountDetails(applicationData.motorVehicleDetailsAndFinancedAmount);\n }\n if(editedSteps.includes(ClientFinanceApplicationStates.ChangeInCircumstances)){\n this.mandatoryFieldsValidation.changeInCircumstances = clientFinanceApplicationValidationService.isValidChangeInCircumstance(applicationData.changeInCircumstances);\n }\n }\n }\n\n onDisableSubmitButton(){\n var appData = this.$store.getters.getClientFinanceApplication;\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if(editedSteps.includes(ClientFinanceApplicationStates.PersonalDetails) && editedSteps.includes(ClientFinanceApplicationStates.Address) &&\n editedSteps.includes(ClientFinanceApplicationStates.Employment) && editedSteps.includes(ClientFinanceApplicationStates.Income) &&\n editedSteps.includes(ClientFinanceApplicationStates.Assets) && editedSteps.includes(ClientFinanceApplicationStates.Liabilities) &&\n editedSteps.includes(ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount) && editedSteps.includes(ClientFinanceApplicationStates.ChangeInCircumstances)){\n var addressDetails = appData.addressDetails;\n var isRentOrBoard = ((addressDetails.currentAddress && (addressDetails.currentAddress.clientAddressType == ClientAddressTypes.Rent\n || addressDetails.currentAddress.clientAddressType == ClientAddressTypes.Board))\n || (addressDetails.previousAddress && (addressDetails.previousAddress.clientAddressType == ClientAddressTypes.Rent\n || addressDetails.previousAddress.clientAddressType == ClientAddressTypes.Board)));\n var liabilityDependency:LiabilityDependencyModel = {\n isRentOrBoard: isRentOrBoard\n };\n \n if(!clientFinanceApplicationValidationService.isValidPersonalDetails(appData.personalDetails) \n || !clientFinanceApplicationValidationService.isValidAddressDetails(appData.addressDetails)\n || !clientFinanceApplicationValidationService.isValidEmploymentDetails(appData.employment)\n || !clientFinanceApplicationValidationService.isValidAssetDetails(appData.assets)\n || !clientFinanceApplicationValidationService.isValidIncomeDetails(appData.income)\n || !clientFinanceApplicationValidationService.isValidLiabilityDetails(appData.liabilities, liabilityDependency)\n || !clientFinanceApplicationValidationService.isValidMotorVehicleDetailsAndFinancedAmountDetails(appData.motorVehicleDetailsAndFinancedAmount)\n || !clientFinanceApplicationValidationService.isValidChangeInCircumstance(appData.changeInCircumstances)) {\n return true;\n } else {\n return false;\n }\n } else {\n return true;\n }\n }\n\n loadClientNameByClientID()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.clientId}\n apiService.sendGetRequest('Client','ClientName',params).then(response=>{ \n this.clientName = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadLeaseTypes()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetLeaseTypesList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.$store.dispatch('updateFinanceApplicationLeaseTypesList',data)\n });\n }\n\n onIdUpdated(id:number){\n this.clientId = id;\n }\n\n personalTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[0] = refNo;\n }\n \n isPersonalTabDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]);\n }\n\n addressTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n }\n\n bankTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[2] = refNo;\n }\n\n routerNavigateBack(){\n var isDirty = false;\n var dirtyValidatorRefNos = this.$store.getters.getClientFinanceApplicationDirtyValidationRefNos;\n dirtyValidatorRefNos.forEach(num =>{\n if(dirtyValidatorService.isModelDirty(num)){\n isDirty = true;\n }\n })\n if(isDirty){\n this.showDirtyNavigationConfirmation = true;\n }\n else{\n if(this.isClient){\n this.$router.push({name:'Dashboard'});\n }else{\n var queryData = {};\n if(Object.keys(this.$route.query).length > 0){\n let applicationFilter = this.$route.query[Filtrations.APPLICATION_FILTER];\n let applicationStatus = this.$route.query[Filtrations.APPLICATION_STATUS] ? this.$route.query[Filtrations.APPLICATION_STATUS] : null;\n let applicationShowInactive = this.$route.query[Filtrations.APPLICATION_SHOW_INACTIVE] ? this.$route.query[Filtrations.APPLICATION_SHOW_INACTIVE] : false;\n if (applicationFilter) {\n queryData[Filtrations.APPLICATION_FILTER] = applicationFilter;\n }\n if(applicationStatus != null) {\n queryData[Filtrations.APPLICATION_STATUS] = applicationStatus;\n }\n if(applicationShowInactive) {\n queryData[Filtrations.APPLICATION_SHOW_INACTIVE] = applicationShowInactive;\n }\n }\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'applicationsList'}, query : queryData});\n } \n }\n }\n\n onConvertToNonFinanceApplication(){ \n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Application','ConvertToNonFinance', { financeApplicationId: this.$store.getters.getFinanceApplicationID }).then(response=>{\n if(response.data){\n if(response.data.isSuccess){\n this.loadApplication();\n this.totalTabs = 6;\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n dirtyValidatorRefNoSet(refNo,index){\n this.dirtyValidationRefNumbers[index] = refNo;\n }\n\n\n onTabChanged(selectedStep:any){\n this.currentTab = selectedStep;\n this.selectedStep = selectedStep.name;\n }\n\n onCurrentTabSelected(selectedStep:any){\n this.totalTabs = 8\n this.currentTab = selectedStep;\n }\n\n get backDisabled(){\n return this.currentTab && this.currentTab.index == 0;\n }\n\n get nextDisabled(){\n return this.currentTab && this.currentTab.index == 7;\n }\n\n get clientFinanceApplicationIsSubmit(){\n return this.$store.getters.getClientFinanceApplicationIsSubmit;\n }\n saveCurrentStep(){\n this.currentTab.$slots.default[0].componentInstance.updateModel()\n }\n\n\n goForward(){\n (this.$refs.clientFinanceApplicationWizard as Wizard).changeTabByIndex(this.currentTab.index+1);\n }\n\n goBack(){\n (this.$refs.clientFinanceApplicationWizard as Wizard).changeTabByIndex(this.currentTab.index-1);\n }\n\n onSaveWizard(){\n (this.$refs.clientFinanceApplicationWizard as Wizard).onSave(); \n }\n\n onCompleteBtnClicked(){\n (this.$refs.clientFinanceApplicationWizard as Wizard).onCompleteBtnClicked(ClientApplicationTypes.Finance);\n }\n\n onCustomButtonClicked(){\n (this.$refs.clientFinanceApplicationWizard as Wizard).onCustomButtonClicked();\n }\n\n onValidatePersonalDetails(applicationStep:ClientFinanceApplicationStates, documentList:any[]){\n var personalDetails = this.$store.getters.getClientFinanceApplicationPersonalDetails;\n personalDetails.documentList = documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.PersonalDetails);\n this.mandatoryFieldsValidation.personalDetails = clientFinanceApplicationValidationService.isValidPersonalDetails(personalDetails);\n }\n\n onValidateEmployment(applicationStep:ClientFinanceApplicationStates, documentList:any[]){\n var employmentDetails = this.$store.getters.getClientFinanceApplicationEmploymentDetails;\n employmentDetails.documentList = documentList;\n this.mandatoryFieldsValidation.employment = clientFinanceApplicationValidationService.isValidEmploymentDetails(employmentDetails);\n }\n\n onValidateIncome(applicationStep:ClientFinanceApplicationStates, documentList:any[]){\n var incomeDetails = this.$store.getters.getClientFinanceApplicationIncome;\n incomeDetails.documentList = documentList;\n this.mandatoryFieldsValidation.income = clientFinanceApplicationValidationService.isValidIncomeDetails(incomeDetails);\n }\n\n onValidateAddressDetails(applicationStep:ClientFinanceApplicationStates){\n var addressDetails = this.$store.getters.getClientFinanceApplicationAddressDetails;\n this.mandatoryFieldsValidation.addressDetails = clientFinanceApplicationValidationService.isValidAddressDetails(addressDetails);\n }\n\n onValidateAssets(applicationStep:ClientFinanceApplicationStates,documentList:any[]){\n var assets = this.$store.getters.getClientFinanceApplicationAssets;\n assets.documentList = documentList ? documentList : [];\n this.mandatoryFieldsValidation.assets = clientFinanceApplicationValidationService.isValidAssetDetails(assets);\n }\n\n onValidateLiabilityDetails(applicationStep:ClientFinanceApplicationStates, documentList:any[]){\n var liabilityDetails = this.$store.getters.getClientFinanceApplicationLiabilities;\n liabilityDetails.documentList = documentList ? documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.Liabilities) : [];\n var addressDetails = this.$store.getters.getClientFinanceApplicationAddressDetails;\n var isRentOrBoard = ((addressDetails.currentAddress && (addressDetails.currentAddress.clientAddressType == ClientAddressTypes.Rent\n || addressDetails.currentAddress.clientAddressType == ClientAddressTypes.Board))\n || (addressDetails.previousAddress && (addressDetails.previousAddress.clientAddressType == ClientAddressTypes.Rent\n || addressDetails.previousAddress.clientAddressType == ClientAddressTypes.Board)));\n var liabilityDependency:LiabilityDependencyModel = {\n isRentOrBoard: isRentOrBoard\n };\n this.mandatoryFieldsValidation.liabilities = clientFinanceApplicationValidationService.isValidLiabilityDetails(liabilityDetails, liabilityDependency);\n }\n\n onValidateMotorVehicleDetailsAndFinancedAmountDetails(applicationStep:ClientFinanceApplicationStates, documentList:any[]){\n var motorVehicleDetailsAndFinancedAmountDetails = this.$store.getters.getClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount;\n motorVehicleDetailsAndFinancedAmountDetails.documentList = documentList ? documentList.filter(obj => obj.clientFinanceApplicationState && obj.clientFinanceApplicationState == ClientFinanceApplicationStates.MotorVehicleDetailsAndFinancedAmount) : [];\n this.mandatoryFieldsValidation.motorVehicleDetailsAndFinancedAmount = clientFinanceApplicationValidationService.isValidMotorVehicleDetailsAndFinancedAmountDetails(motorVehicleDetailsAndFinancedAmountDetails);\n }\n\n onValidateChangeInCircumstances(applicationStep:ClientFinanceApplicationStates) {\n var changeInCircumstances = this.$store.getters.getClientFinanceApplicationChangeInCircumstance;\n this.mandatoryFieldsValidation.changeInCircumstances = clientFinanceApplicationValidationService.isValidChangeInCircumstance(changeInCircumstances);\n }\n\n isApplicationActionModelDirty(){\n return dirtyValidatorService.isModelDirty(this.applicationActionDirtyValidationNo);\n }\n\n downloadCreditGuide(){\n var params = { blobContainerName:BlobContainerNames.TENANT_DOCUMENTS_CONTAINER_NAME, fileName:'credit_guide.docx' }\n apiService.sendGetRequest(\"Utility\",\"DownloadEncodedDocument\",params).then(response => \n {\n if(response.data)\n { this.$store.dispatch('updateClientFinanceApplicationCreditGuideDownloadedDate', new Date());\n if(this.applicationId > 0){\n this.onUpdateCreditGuideDownloadedDate();\n }\n fileViewerService.DownloadDocument(response.data,\"credit_guide\",\".docx\",true);\n\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onUpdateCreditGuideDownloadedDate(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n applicationId:this.applicationId,\n creditGuideDownloadedDate: new Date(),\n concurrencyKey: this.$store.getters.getClientFinanceApplicationConcurrencyKey\n }\n apiService.sendPutRequest('ClientFinanceApplication','UpdateCreditGuideDownloadedDate',params).then(response=>{\n if (response.data.isSuccess){\n this.$store.dispatch('updateClientFinanceApplicationConcurrencyKey',response.data.concurrencyKey);\n this.$store.dispatch('storeIsBusyValue',false);\n } else {\n this.$store.dispatch('storeIsBusyValue',false);\n }\n });\n }\n\n onSubmitCFA(){\n this.$store.dispatch('storeIsBusyValue',true);\n var changeInCircumstance = (this.$refs.changeInCircumstanceStep as ChangeInCircumstances).getChangeInCircumstanceData();\n var editedSteps = this.$store.getters.getClientFinanceApplicationEditedSteps;\n if((editedSteps && editedSteps.length == 0) || !editedSteps.includes(ClientFinanceApplicationStates.ChangeInCircumstances)){\n editedSteps.push(ClientFinanceApplicationStates.ChangeInCircumstances);\n this.$store.dispatch('updateClientFinanceApplicationEditedSteps', editedSteps);\n this.$store.dispatch('updateClientFinanceApplicationChangeInCircumstance',changeInCircumstance);\n }\n if(this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Rejected || this.$store.getters.getClientFinanceApplicationStatus == ClientFinanceApplicationStates.Withdrawn){\n this.$store.dispatch('updateClientFinanceApplicationChangeInCircumstance',changeInCircumstance);\n return true;\n } \n this.$store.dispatch('updateClientFinanceApplicationIsSubmit',true);\n this.$store.dispatch('saveClientFinanceApplication',{clientId:this.clientId,isSaveMode:true}).then(res => {\n this.$store.dispatch('storeIsBusyValue',false);\n this.loadApplication(); \n });\n }\n onApproveCFA(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('ClientFinanceApplication','ApproveClientFinanceApplication',this.applicationId).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'summary'}});\n });\n \n }\n\n queryCFA(queryActionType : ClientFinanceApplicationQueryActionType){\n this.$v.queryNoteText.$reset();\n this.ClientFinanceApplicationQueryActionType = queryActionType;\n this.queryNoteText = \"\";\n this.showQueryCFANoteModal=true;\n }\n\n withdrawCFA(){\n this.$v.withdrawNoteText.$reset();\n this.withdrawNoteText = \"\";\n this.showWithdrawCFANoteModal = true;\n }\n \n rejectCFA(){\n this.$v.rejectNoteText.$reset();\n this.rejectNoteText = \"\";\n this.showRejectCFANoteModal = true;\n }\n\n onRejectCFA(){\n if(this.$v.rejectNoteText.$invalid)\n {\n this.$v.rejectNoteText.$touch();\n }\n else\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params={\n applicationId: this.applicationId,\n rejectNoteText: this.rejectNoteText,\n }\n apiService.sendPutRequest('ClientFinanceApplication','RejectClientFinanceApplication',params).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'summary'}});\n });\n }\n }\n\n onQueryCFA(){\n if(this.$v.queryNoteText.$invalid)\n {\n this.$v.queryNoteText.$touch();\n }\n else\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params={\n applicationId: this.applicationId,\n queryNoteText: this.queryNoteText,\n queryActionType: this.ClientFinanceApplicationQueryActionType,\n }\n apiService.sendPostRequest('ClientFinanceApplication','QueryClientFinanceApplication',params).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'summary'}});\n });\n }\n }\n\n onWithdrawCFA(){\n if(this.$v.withdrawNoteText.$invalid)\n {\n this.$v.withdrawNoteText.$touch();\n }\n else\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params={\n applicationId: this.applicationId,\n withdrawNoteText: this.withdrawNoteText\n }\n apiService.sendPostRequest('ClientFinanceApplication','WithdrawClientFinanceApplication',params).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'summary'}});\n });\n }\n }\n\n onBankSubmitCFA(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('ClientFinanceApplication','BankSubmitClientFinanceApplication',this.applicationId).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'summary'}});\n });\n }\n\n onConvertCFA(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('ClientFinanceApplication','ConvertClientFinanceApplication',this.applicationId).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.$router.push({ name: 'Edit Finance Application', params: { id: response.data.id,routerDisplayName:\"initialDetails\",clientId:this.clientId.toString()}});\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error', \n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onFinancierApprove(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('ClientFinanceApplication','FinancierApproveClientFinanceApplication',this.applicationId).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'summary'}});\n });\n }\n\n onCloseAnnatureAuditLogsModal(){\n this.onShowAnnatureAuditLogs = false;\n }\n\n onCloseDocumentRepository(){\n this.showDocumentRepositoryModal = false;\n }\n}\n","export enum BankStatementTransactionStatus\r\n{\r\n Posted = 1,\r\n Unposted = 2\r\n}","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationWizard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientFinanceApplicationWizard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ClientFinanceApplicationWizard.vue?vue&type=template&id=64892724&scoped=true\"\nimport script from \"./ClientFinanceApplicationWizard.vue?vue&type=script&lang=ts\"\nexport * from \"./ClientFinanceApplicationWizard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ClientFinanceApplicationWizard.vue?vue&type=style&index=0&id=64892724&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"64892724\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-2\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n Bank Reconciliation and Bank Files \\n \")]),_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Bank Rec and Upload Bank File\"}},[_c('Tab',{attrs:{\"name\":\"Bank Transactions\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"bankTransactions\"}},[_c('BankTransactions')],1),_c('Tab',{attrs:{\"name\":\"Bank Balances\",\"index\":1,\"routerDisplayName\":\"bankBalances\"}},[_c('BankBalances')],1),_c('Tab',{attrs:{\"name\":\"Bank Reconciliation\",\"index\":2,\"routerDisplayName\":\"bankReconciliation\"}},[_c('BankReconciliation',{on:{\"dirtyValidatorNoSet\":_vm.bankRecTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Bank Files\",\"index\":3,\"routerDisplayName\":\"bankFile\"}},[_c('BankFileUpload',{attrs:{\"isUploadBankFileView\":_vm.isUploadBankFileView},on:{\"dirtyValidatorNoSet\":_vm.uploadBankFileTabDirtySet}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showSelectLedgerModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectLedgerModalId\",\"maxWidth\":\"98%\",\"maxHeight\":\"100%\",\"hideFooter\":_vm.hideLedgerModalFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Ledger\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectLedgerCancelBtn\"},on:{\"click\":_vm.onClosePopup}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"ledger-select-modal-body\"},[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search pl-0\",attrs:{\"sm\":\"12\",\"md\":\"4\",\"lg\":\"8\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput ledger-filter selectListHeight\",attrs:{\"id\":\"ledgerTypeSelectList\",\"plain\":true,\"options\":_vm.ledgerTypesList,\"required\":\"\"},on:{\"change\":_vm.onLedgerTypeChanged},model:{value:(_vm.selectedLedgerType),callback:function ($$v) {_vm.selectedLedgerType=$$v},expression:\"selectedLedgerType\"}},[(_vm.selectedLedgerType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\",\"disabled\":\"\"},domProps:{\"value\":0}},[_vm._v(\" -- Please select a ledger type --\")])]):_vm._e()],2)],1),_c('b-col',{staticClass:\"pb-2 pl-0 pr-0\",attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"4\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"pl-1 total-text text-nowrap float-right\"},[_c('b',[_vm._v(\"Date : \")]),_vm._v(_vm._s(_vm.getTransferTransactionDateText()))])]),_c('b-col',{staticClass:\"float-right\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"pl-1 total-text text-nowrap float-right\"},[_c('b',[_vm._v(\"Reference : \")]),_vm._v(_vm._s(_vm.transactionToTransfer.reference))])]),_c('b-col',{staticClass:\"float-right\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"pl-1 total-text text-nowrap float-right\"},[_c('b',[_vm._v(\"Amount : \")]),_c('ApexCurrency',{attrs:{\"value\":_vm.transactionToTransfer.amount}}),_vm._v(_vm._s(_vm.getTransactionDirectionText))],1)])],1)],1)],1),_c('b-card',[(_vm.selectedLedgerType == 0)?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n No ledger type is selected.\\n \")])])],2):_vm._e(),(_vm.showLedgerWithCheckBox)?_c('LedgerSelectList',{attrs:{\"relatedTable\":_vm.ledgerRelatedTable,\"relatedID\":_vm.ledgerRelatedId,\"companyAccountId\":_vm.selectedCompanyBankAccountId,\"transactionDirection\":_vm.transactionToTransfer.transactionDirection},on:{\"itemChecked\":_vm.onLedgerTransactionChecked}}):(_vm.showVehicleLedgerSelectList)?_c('VehicleLedgerSelectList',{ref:\"vehicleLedgerSelectList\",attrs:{\"vehicleIdList\":_vm.selectedVehicleLedgerIdList,\"bankStatementTransaction\":_vm.transactionToTransfer},on:{\"onAllocateLedger\":_vm.onMatchTransactionsToVehicleLedgers,\"onCancelLedger\":_vm.onCancelVehicleLedgerSelectList}}):_c('div',[(_vm.selectedLedgerType == _vm.motorVehicleRelatedTable)?_c('MotorVehicleAndClientDetailsList',{attrs:{\"relatedTable\":_vm.bankStatementTransactionRelatedTable,\"relatedID\":_vm.transferTransactionId},on:{\"onAllocateLedgerSelectedForCreateAndMatch\":_vm.onAllocateLedgerCreateAndMatch,\"onAllocateLedgerSelectedForCreateNewTransaction\":_vm.onAllocateLedgerCreateNewTransaction}}):_vm._e(),(_vm.selectedLedgerType == _vm.companyRelatedTable)?_c('BankAccounts',{attrs:{\"relatedID\":_vm.companyId,\"filterBankAccountType\":\"0\",\"relatedTable\":_vm.companyRelatedTable,\"modalMode\":true},on:{\"onSelectBankAccount\":_vm.onCompanyBankAccountSelected}}):_vm._e()],1)],1)],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"MatchTransaction_CancelButton\"},on:{\"click\":_vm.onCancelLedgerSelectList}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right ml-2 primary\",attrs:{\"size\":\"md\",\"id\":\"MatchTransaction_CreateNewTranasctionButton\"},on:{\"click\":_vm.createNewTransaction}},[_vm._v(\"\\n Create New Transaction\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":_vm.transactionToTransfer.amount != _vm.checkedTransactionSum,\"id\":\"MatchTransaction_MatchTransactionsButton\"},on:{\"click\":_vm.matchTransactions}},[_vm._v(\"\\n Match Transactions\\n \")])],1)]):_vm._e(),(_vm.showCreateNewTransactionDefaultInputsModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"createNewTransactionInputConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Create New Trasactions For Selected Ledger(s)\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Category\",\"label-for\":\"categorySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"categorySelect\",\"plain\":true,\"options\":_vm.categories},model:{value:(_vm.newTransactionSelectedCategory),callback:function ($$v) {_vm.newTransactionSelectedCategory=$$v},expression:\"newTransactionSelectedCategory\"}},[((!_vm.newTransactionSelectedCategory || _vm.newTransactionSelectedCategory.category == 0))?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":{type:0, category:0}}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Description\",\"label-for\":\"description\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",attrs:{\"id\":\"description\",\"type\":\"text\",\"placeholder\":\"Enter Description\"},model:{value:(_vm.newTransactionDescription),callback:function ($$v) {_vm.newTransactionDescription=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"newTransactionDescription\"}})],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"gstInclusiveCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":\"gstInclusiveCheckbox\"},model:{value:(_vm.newTransactionGSTInclusive),callback:function ($$v) {_vm.newTransactionGSTInclusive=$$v},expression:\"newTransactionGSTInclusive\"}},[_c('span',[_vm._v(\" GST Inclusive \")])])],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"createNewTransactionInputConf_CancelButton\"},on:{\"click\":_vm.onCancelCreateNewTransactionInputModal}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"createNewTransactionInputConf_OkButton\"},on:{\"click\":_vm.onOkayCreateNewTransactionInputModal}},[_vm._v(\"\\n Continue\\n \")])],1)]):_vm._e(),(_vm.showTransactionTransferConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"transferTransactionConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Transfer Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to manually transfer credit/debit amount to selected ledger?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransactionConf_CancelButton\"},on:{\"click\":_vm.cancelTransferTransactionConfirmation}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"transferTransactionConf_OkButton\"},on:{\"click\":_vm.onConfirmTransferTransaction}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showBasRefundPaymentConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"basRefundPaymentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Transfer Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Is that a BAS Refund/Payment ?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransactionConf_CancelButton\"},on:{\"click\":_vm.okayToTransferTransaction}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"transferTransactionConf_OkButton\"},on:{\"click\":_vm.okayToBasRefundPaymentTransaction}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showTransactionTransferModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"transferTransactionModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Transfer Transaction\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',[_c('b-container',[_c('b-row',[_c('b-col',[_c('b-form',[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Category\",\"label-for\":\"categorySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (!_vm.transferTransactionCategory || _vm.transferTransactionCategory.category == 0)},attrs:{\"id\":\"categorySelect\",\"plain\":true,\"options\":_vm.categories,\"required\":\"\"},model:{value:(_vm.transferTransactionCategory),callback:function ($$v) {_vm.transferTransactionCategory=$$v},expression:\"transferTransactionCategory\"}},[(_vm.transferTransactionCategory || _vm.transferTransactionCategory.category == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":{type:0, category:0}}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1)],1)],1)],1)],1)],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransaction_CancelButton\"},on:{\"click\":_vm.cancelTransferTransaction}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":!_vm.transferTransactionCategory || _vm.transferTransactionCategory.category == 0,\"id\":\"transferTransaction_OkButton\"},on:{\"click\":_vm.onTransferTransaction}},[_vm._v(\"\\n Transfer\\n \")])],1)]):_vm._e(),(_vm.showCancelVehcileLedgerMatchConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelLedgerMatchConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.showVehicleLedgerSelectList ? \"Are you sure you want to cancel the selected/added transactions?\" :\n _vm.showVehicleLedgerListForCreateNewTransaction ? \"Are you sure you want to cancel the added transactions?\" : \"\")+\" \\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelLedgerMatchConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelVehcileLedgerMatchConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelLedgerMatchConf_OkButton\"},on:{\"click\":_vm.onOkCancelLedger}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showMatchTransferConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"matchTransactionConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \\n \"+_vm._s(_vm.showVehicleLedgerSelectList ? \"Match Transaction(s) Confirmation\" : \n _vm.showVehicleLedgerListForCreateNewTransaction ? \"Create Transaction(s) Confirmation\" : \"\")+\" \\n \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.showVehicleLedgerSelectList ? \"Are you sure you want to match with the selected transaction(s)?\" : \n _vm.showVehicleLedgerListForCreateNewTransaction ? \"Are you sure you want to create the transaction(s)?\" : \"\")+\" \\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransactionConf_CancelButton\"},on:{\"click\":function($event){_vm.showMatchTransferConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"transferTransactionConf_OkButton\"},on:{\"click\":_vm.okayToMatchTransactions}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showMatchedTransactionInfoModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"matchedTransactionInfo\",\"hideFooter\":_vm.hideFooter,\"maxWidth\":\"1000px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Transaction Details\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectLedgerCancelBtn\"},on:{\"click\":_vm.onHideTransactionDetailsModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.matchedVehicleDetails && _vm.matchedVehicleDetails.length > 0)?_c('GroupedDataTable',{ref:\"matchedVehicleDetailsTbl\",attrs:{\"items\":_vm.matchedVehicleDetails,\"fields\":_vm.vehicleFields,\"frontHeaderActionSlots\":_vm.frontHeaderActionSlots,\"customTemplates\":_vm.transactionDetailsCustomTemplates},scopedSlots:_vm._u([{key:\"actions\",fn:function(slotProps){return [_c('div',[_c('span',{staticClass:\"ml-2 cursor-pointer\",attrs:{\"title\":\"View Ledger\"},on:{\"click\":function($event){return _vm.navigateToLedger(slotProps.data)}}},[_c('i',{staticClass:\"fas fa-dollar-sign go-to-ledger-button\",attrs:{\"aria-hidden\":\"true\"}})])])]}},{key:\"amountText\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.data.amount}})]}}],null,false,2945278610)}):_vm._e(),(_vm.matchedAccountDetails && _vm.matchedAccountDetails.length > 0)?_c('DataTable',{ref:\"matchedAccountDetailsTbl\",attrs:{\"items\":_vm.matchedAccountDetails,\"fields\":_vm.accountFields,\"totalRows\":_vm.accountGridTotalRows,\"perPage\":_vm.perPage,\"customTemplates\":_vm.transactionDetailsCustomTemplates}}):_vm._e()],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransactionConf_CancelButton\"},on:{\"click\":_vm.cancelTransferTransactionConfirmation}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"transferTransactionConf_OkButton\"},on:{\"click\":_vm.okayToTransferTransaction}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"commonFilterRef\",staticClass:\"responsive-search\",attrs:{\"idAppend\":'reference',\"placeHolder\":\"Description or Reference\"},on:{\"onOkayToFilter\":_vm.filterGridByRefAndDescription}})],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"amountFilterRef\",staticClass:\"responsive-search\",attrs:{\"minCharCountToFilter\":\"0\",\"idAppend\":'amount',\"placeHolder\":\"Amount\",\"iconClass\":\"fas fa-dollar-sign\"},on:{\"onOkayToFilter\":_vm.filterGridByAmount}})],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 select-bankfile \",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput status-filter selectListHeight\",attrs:{\"id\":\"bankFileSelect\",\"plain\":true,\"options\":_vm.bankStatementInfoFileSelectList,\"required\":\"\"},on:{\"input\":_vm.onBankFileChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.bankInfoId),callback:function ($$v) {_vm.bankInfoId=$$v},expression:\"bankInfoId\"}},[(_vm.bankInfoId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Select a bank file --\")])]):_vm._e()],2)],1),_c('b-col',{staticClass:\"pl-0 pb-2 select-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"1\",\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput status-filter selectListHeight\",attrs:{\"id\":\"transactionStatus\",\"plain\":true,\"options\":_vm.transactionStatusList,\"required\":\"\"},on:{\"input\":_vm.onStatusChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.selectedStatus),callback:function ($$v) {_vm.selectedStatus=$$v},expression:\"selectedStatus\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"All\")])])],2)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('DataTable',{ref:\"transactionsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"customHeaderTemplates\":_vm.customHeaderTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"responsiveBreakPoint\":\"md\",\"emptyBanner\":\"No transactions to display.\",\"customTemplateSlots\":['credit', 'debit']},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent},scopedSlots:_vm._u([{key:\"credit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getCreditValue(slotProps.item.transactionDirection, slotProps.item.amount),\"defaultReturnValue\":'-'}})]}},{key:\"debit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getDebitValue(slotProps.item.transactionDirection, slotProps.item.amount),\"defaultReturnValue\":'-'}})]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showUnmatchTransactionConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"UnmatchTransactionConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unmatch Transaction\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to unmatch the transaction?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"UnmatchTransactionConf_CancelButton\"},on:{\"click\":function($event){_vm.showUnmatchTransactionConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"UnmatchTransactionConf_OkButton\"},on:{\"click\":_vm.unmatchTransaction}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-row',{staticClass:\"d-flex float-right mr-1\"},[(_vm.item.bankTransactionStatus == _vm.postedStatus)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"View matched transaction\"},on:{\"click\":_vm.viewMatchedTransaction}},[_c('i',{staticClass:\"fas fa-eye transfer-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.bankTransactionStatus == _vm.postedStatus)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Unmatch Transaction\"},on:{\"click\":function($event){_vm.showUnmatchTransactionConfirmation = true}}},[_c('i',{staticClass:\"fas fa-undo unmatch-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),_c('Notes',{staticClass:\"ml-2\",attrs:{\"relatedTable\":_vm.bankStatementTransactionRelatedTable,\"relatedID\":_vm.item.id,\"isReadOnly\":false,\"modalTitle\":\"Bank Reconciliation Record Notes\",\"buttonType\":_vm.gridButtonType,\"useStore\":false,\"colorToIndicateAvailability\":true,\"externalNotesCount\":_vm.item.notesCount}}),_c('DocumentUploader',{staticClass:\"ml-2\",attrs:{\"relatedTable\":_vm.bankStatementTransactionRelatedTable,\"relatedID\":_vm.item.id,\"addToolTip\":\"Add Documents\",\"modalTitle\":\"Bank Reconciliation Record Documents\",\"buttonType\":_vm.gridButtonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'.pdf,image/*',\"colorToIndicateAvailability\":true,\"externalDocumentCount\":_vm.item.documentsCount}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport {BankStatementTransactionStatus} from '@/shared/enums/bankStatementTransactionStatus.enum';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\n\n@Component(\n {\n components: {\n Modal,\n Notes,\n DocumentUploader\n } \n }\n)\nexport default class BankRecActionButtons extends Vue{\n @Prop() item:any\n showUnmatchTransactionConfirmation = false;\n unpostedStatus:BankStatementTransactionStatus = BankStatementTransactionStatus.Unposted;\n postedStatus:BankStatementTransactionStatus = BankStatementTransactionStatus.Posted;\n gridButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.GridButton;\n bankStatementTransactionRelatedTable:RelatedTables = RelatedTables.BankStatementTransaction;\n\n unmatchTransaction(){\n this.showUnmatchTransactionConfirmation = false;\n this.onCustomEvent(this.item.id,DataTableActionTypes.Unmatch); \n }\n\n transferTransaction(){\n this.onCustomEvent(this.item,DataTableActionTypes.Transfer); \n }\n\n viewMatchedTransaction(){\n this.onCustomEvent(this.item.id,DataTableActionTypes.View)\n }\n\n @Emit('customEvent') onCustomEvent(data:any,type:DataTableActionTypes){\n }\n \n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankRecActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankRecActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankRecActionButtons.vue?vue&type=template&id=bd27eed4&scoped=true\"\nimport script from \"./BankRecActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./BankRecActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankRecActionButtons.vue?vue&type=style&index=0&id=bd27eed4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bd27eed4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"filter-top-row\"},[_c('b-col',{staticClass:\"search px-0\",attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"search px-0\",attrs:{\"sm\":\"12\",\"md\":\"4\",\"lg\":\"5\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox fuel-checkbox\",attrs:{\"id\":\"showFuelCardBrands\"},on:{\"input\":_vm.onShowFuelCardBrands},model:{value:(_vm.showFuelCardBrands),callback:function ($$v) {_vm.showFuelCardBrands=$$v},expression:\"showFuelCardBrands\"}},[_c('span',[_vm._v(\"Fuel Transaction\")])]),(_vm.showFuelCardBrands)?_c('b-form-select',{staticClass:\"textInput indentedTextInput fuel-filter selectListHeight\",attrs:{\"id\":\"fuelCardBrandSelect pull-left\",\"plain\":true,\"options\":_vm.fuelCardBrandList,\"required\":\"\"},on:{\"input\":_vm.onFuelCardBrandChanged},model:{value:(_vm.selectedFuelCardBrand),callback:function ($$v) {_vm.selectedFuelCardBrand=$$v},expression:\"selectedFuelCardBrand\"}},[(_vm.selectedFuelCardBrand == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"value\":\"0\",\"disabled\":\"\",\"selected\":\"\"}},[_vm._v(\"--Please select--\")])]):_vm._e()],2):_vm._e(),_c('b-button',{staticClass:\"ml-3 pull-left status-filter-reset-button cursor-pointer\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"text-right pr-0\",attrs:{\"sm\":\"12\",\"md\":\"5\",\"lg\":\"5\"}},[_c('Notes',{staticClass:\"float-right ml-2\",attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.relatedID,\"isReadOnly\":false,\"modalTitle\":\"Bank Reconciliation Notes\",\"buttonType\":_vm.buttonType,\"useStore\":false}}),_c('DocumentUploader',{staticClass:\"float-right\",attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.relatedID,\"modalTitle\":\"Bank Reconciliation Documents\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'*'}}),_c('b-btn',{staticClass:\"float-right primary ml-2\",attrs:{\"size\":\"md\",\"id\":\"onAllocateLedgerCreateBtn\",\"disabled\":!_vm.vehicleLedgerIdList || _vm.vehicleLedgerIdList.length == 0},on:{\"click\":function($event){return _vm.onAllocateLedgerSelectedForCreateAndMatch(_vm.vehicleLedgerIdList, _vm.isAllItemsChecked, _vm.selectedFuelCardBrand, _vm.filter, _vm.showFuelCardBrands, _vm.isCreateOnly = false);}}},[_vm._v(\"\\n Create/Match (\"+_vm._s(_vm.isAllItemsChecked ? _vm.totalRows : _vm.vehicleLedgerIdList.length)+\")\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"onAllocateLedgerCreateMatchBtn\",\"disabled\":!_vm.vehicleLedgerIdList || _vm.vehicleLedgerIdList.length == 0},on:{\"click\":function($event){return _vm.onAllocateLedgerSelectedForCreateAndMatch(_vm.vehicleLedgerIdList, _vm.isAllItemsChecked, _vm.selectedFuelCardBrand, _vm.filter, _vm.showFuelCardBrands, _vm.isCreateOnly = true);}}},[_vm._v(\"\\n Create (\"+_vm._s(_vm.isAllItemsChecked ? _vm.totalRows : _vm.vehicleLedgerIdList.length)+\")\\n \")])],1)],1),_c('DataTable',{ref:\"vehiclesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"customHeaderTemplates\":_vm.customHeaderTemplateList,\"modalMode\":true,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No vehicle details to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-form-group',[_c('b-form-checkbox',{staticClass:\"ml-1\",attrs:{\"checked\":_vm.isChecked,\"id\":'markTransactionChkBox_' + _vm.item.id,\"disabled\":_vm.item.isInvalid || _vm.item.disabled},on:{\"change\":_vm.onClick},model:{value:(_vm.isChecked),callback:function ($$v) {_vm.isChecked=$$v},expression:\"isChecked\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\nexport default class SelectRecordCheckBox extends Vue{\n @Prop() item:any;\n isChecked:boolean = false;\n \n created()\n {\n if(this.item && this.item.isChecked)\n {\n this.isChecked = true;\n }\n else{\n this.isChecked = false;\n }\n }\n\n @Watch('item.isChecked')\n onIsCheckedChanged(val: any, oldVal: any)\n {\n this.isChecked = false\n this.$nextTick(()=>{\n if(this.isChecked != val) \n this.isChecked = val;\n }); \n }\n\n onClick(){\n this.$nextTick(()=>{\n this.onChange({isChecked:this.isChecked,item:this.item},DataTableActionTypes.ItemChecked);\n }); \n }\n\n @Emit('customEvent') onChange(data:any,type:DataTableActionTypes){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectRecordCheckBox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectRecordCheckBox.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SelectRecordCheckBox.vue?vue&type=template&id=2d4b793c&scoped=true\"\nimport script from \"./SelectRecordCheckBox.vue?vue&type=script&lang=ts\"\nexport * from \"./SelectRecordCheckBox.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SelectRecordCheckBox.vue?vue&type=style&index=0&id=2d4b793c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2d4b793c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-form-group',[_c('b-form-checkbox',{staticClass:\"ml-1\",attrs:{\"checked\":_vm.isChecked},on:{\"change\":_vm.onClick},model:{value:(_vm.isChecked),callback:function ($$v) {_vm.isChecked=$$v},expression:\"isChecked\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\nexport default class SelectAllRecordsCheckBox extends Vue{\n isChecked:boolean = false;\n @Prop() data:any;\n\n @Watch('data.item')\n onItemChanged(val: any, oldVal: any)\n {\n this.isChecked = false;\n this.$nextTick(()=>{\n if(this.isChecked != val)\n this.isChecked = val;\n }); \n }\n\n mounted(){\n this.$nextTick(()=>{\n this.isChecked = this.data.item;\n }); \n }\n\n onClick(){\n this.$nextTick(()=>{\n this.onChange({isChecked:this.isChecked},DataTableActionTypes.AllItemChecked);\n }); \n }\n\n @Emit('customEvent') onChange(data:any,type:DataTableActionTypes){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectAllRecordsCheckBox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectAllRecordsCheckBox.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SelectAllRecordsCheckBox.vue?vue&type=template&id=999f3e4e&scoped=true\"\nimport script from \"./SelectAllRecordsCheckBox.vue?vue&type=script&lang=ts\"\nexport * from \"./SelectAllRecordsCheckBox.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SelectAllRecordsCheckBox.vue?vue&type=style&index=0&id=999f3e4e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"999f3e4e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport {TableHeaderTemplate, TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport MotorVehicleListActionButtons from './MotorVehicleListActionButtons.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport {VehicleAndClientDetailsMultiSelectFilterParams} from '@/models/tableFilterParams.model';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport SelectRecordCheckBox from '@/shared/components/selectRecord/SelectRecordCheckBox.vue';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport lookupService from '@/shared/services/lookupService';\nimport SelectAllRecordCheckBox from '@/shared/components/selectRecord/SelectAllRecordsCheckBox.vue'; \n\n@Component\n(\n {\n components: {\n DataTable,\n MotorVehicleListActionButtons,\n FilterTextInput,\n Notes,\n DocumentUploader,\n }\n }\n)\nexport default class MotorVehicleAndClientDetailsList extends Vue{\n @Prop() relatedTable:number;\n @Prop() relatedID:number;\n\n items:any = [];\n showEmptyBanner:boolean = false;\n fields = [\n {key: 'isChecked', label:'', class:'width_5 text-center'},\n {key: 'mvrn',label:'MVRN', class:'width_15', sortable:true},\n {key: 'make',label: 'Vehicle', class:'width_25', \n formatter : (value, key, item) => {\n return item.year + ' ' + item.make + ' ' + item.model\n }\n },\n {key: 'plateNumber',class:'width_15', sortable:true},\n {key: 'firstName', label: 'Client', class:'width_20', sortable:true,\n formatter : (value, key, item) => {\n return item.firstName + ' ' + item.lastName\n }\n },\n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n\n checkedItems : any = {\n item:false\n }\n customTemplateList:Array = [\n {slot:\"isChecked\",customTemplate:SelectRecordCheckBox},\n {slot:\"actions\",customTemplate:MotorVehicleListActionButtons}]\n customHeaderTemplateList:Array = [{slot:\"isChecked\", customTemplate:SelectAllRecordCheckBox, data:this.checkedItems}];\n totalRows:number =0;\n perPage:number = AppSettings.reducedGridSize;\n sortBy:string = \"plateNumber\";\n filter:string = \"\";\n sortDesc:boolean = false;\n vehicleLedgerIdList:Array = [];\n vehicleItemList:any[] = [];\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\n fuelCardBrandList:any[] = [];\n selectedFuelCardBrand:number = 0;\n showFuelCardBrands:boolean = false;\n isAllItemsChecked:boolean = false;\n isCreateOnly:boolean = true;\n resetButtonDisabled:boolean = true;\n\n created(){\n this.loadFualCardBrandList();\n }\n\n loadFualCardBrandList(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetFuelCardBrandTypeList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.fuelCardBrandList=data;\n });\n }\n\n mounted(){\n this.refreshGrid({\n FromIndex:0,\n Count:this.perPage,\n SortBy:this.sortBy,\n SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,\n Status:0,\n SelectedFuelCardBrand:this.selectedFuelCardBrand});\n }\n\n refreshGrid(tableFilterParams:VehicleAndClientDetailsMultiSelectFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Vehicle\",\"VehicleAndClientDetailsList\",tableFilterParams).then(response =>{\n var records = response.data.resultDto;\n for (let index = 0; index < records.length; index++) {\n records[index].isChecked = false;\n records[index].disabled = false;\n var isChecked = this.vehicleLedgerIdList.includes(records[index].id);\n records[index].isChecked = this.isAllItemsChecked ? true : isChecked;\n }\n this.items = records;\n if(this.isAllItemsChecked){\n this.$nextTick(()=>{\n this.onCustomDataTableEvent({isChecked:true},DataTableActionTypes.AllItemChecked);\n }); \n }\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({\n FromIndex:fromIndex,\n Count:this.perPage,\n SortBy:this.sortBy,\n SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,\n Status:null,\n SelectedFuelCardBrand:this.selectedFuelCardBrand});\n }\n\n resetFilterParams(){\n this.filter = '';\n this.showFuelCardBrands = false;\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.refreshGrid({\n FromIndex:0,\n Count:this.perPage,\n SortBy:this.sortBy,\n SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,\n Status:null,\n SelectedFuelCardBrand:this.selectedFuelCardBrand});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n if(ctx.sortBy == \"mvrn\"){\n this.sortBy = \"mVRN\";\n }\n else{\n this.sortBy = ctx.sortBy;\n } \n this.refreshGrid({\n FromIndex:0,\n Count:this.perPage,\n SortBy:this.sortBy,\n SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,\n Status:null,\n SelectedFuelCardBrand:this.selectedFuelCardBrand});\n }\n }\n\n filterGrid(filterString:string){\n this.resetTable();\n this.filter = filterString;\n this.resetButtonDisabled = false;\n this.refreshGrid({\n FromIndex:0,\n Count:this.perPage,\n SortBy:this.sortBy,\n SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,\n Status:null,\n SelectedFuelCardBrand:this.selectedFuelCardBrand});\n }\n\n onFuelCardBrandChanged(){\n this.resetTable();\n this.refreshGrid({\n FromIndex:0,\n Count:this.perPage,\n SortBy:this.sortBy,\n SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,\n Status:null,\n SelectedFuelCardBrand:this.selectedFuelCardBrand});\n }\n\n onShowFuelCardBrands(){\n this.resetButtonDisabled = !this.showFuelCardBrands && this.filter == \"\";\n if(this.showFuelCardBrands == false){\n this.selectedFuelCardBrand = 0;\n }\n if(this.showFuelCardBrands == false || (this.showFuelCardBrands == true && this.selectedFuelCardBrand > 0)){\n this.resetTable();\n this.refreshGrid({\n FromIndex:0,\n Count:this.perPage,\n SortBy:this.sortBy,\n SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,\n Status:null,\n SelectedFuelCardBrand:this.selectedFuelCardBrand});\n }\n }\n\n resetTable(){\n (this.$refs.vehiclesTable as DataTable).reset();\n }\n\n onCustomDataTableEvent(value:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.vehiclesTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.vehiclesTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.ItemChecked){\n this.isAllItemsChecked = false;\n if(value && value.isChecked)\n {\n if(!this.vehicleLedgerIdList.includes(value.item.id)) \n { \n value.item.isChecked = value.isChecked;\n this.vehicleLedgerIdList.push(value.item.id);\n this.vehicleItemList.push(value.item);\n }\n }\n if(value && !value.isChecked)\n { \n this.checkedItems.item = false;\n value.item.isChecked = value.isChecked;\n var index = this.vehicleLedgerIdList.indexOf(value.item.id);\n this.vehicleLedgerIdList.splice(index, 1);\n this.vehicleItemList.splice(index, 1)\n }\n }\n if(type == DataTableActionTypes.AllItemChecked){\n this.vehicleLedgerIdList = [];\n this.vehicleItemList = [];\n if(value && value.isChecked) {\n this.isAllItemsChecked = true;\n this.items.forEach(item =>{\n if(!item.isInvalid) {\n item.isChecked = true;\n item.disabled = true;\n this.vehicleLedgerIdList.push(item.id)\n this.vehicleItemList.push(item);\n }\n })\n this.checkedItems.item = true;\n }\n if(value && !value.isChecked) {\n this.isAllItemsChecked = false;\n this.items.forEach(item =>{\n if(!item.isInvalid) {\n item.isChecked = false;\n item.disabled = false;\n this.vehicleLedgerIdList = [];\n this.vehicleItemList = [];\n }\n })\n this.checkedItems.item = false;\n }\n }\n }\n\n @Emit('onAllocateLedgerSelectedForCreateAndMatch') onAllocateLedgerSelectedForCreateAndMatch(vehicleIdList:any, isAllItemsChecked:boolean, fuelCardBrand:number, filter:string, \n showFuelCardBrands:boolean, isCreateOnly:boolean){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleAndClientDetailsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleAndClientDetailsList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleAndClientDetailsList.vue?vue&type=template&id=38db792b\"\nimport script from \"./MotorVehicleAndClientDetailsList.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleAndClientDetailsList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehicleAndClientDetailsList.vue?vue&type=style&index=0&id=38db792b&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-btn',{staticClass:\"ml-2 cursor-pointer\",attrs:{\"title\":\"View Ledger\"},on:{\"click\":_vm.navigateToLedger}},[_c('i',{staticClass:\"fas fa-dollar-sign go-to-ledger-button\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\n\n@Component\nexport default class NavigateToLedgerActionButton extends Vue{\n @Prop() item:any\n @Prop() modalMode:any;\n\n navigateToLedger(){\n if(this.item.type == RelatedTables.Vehicle){\n let routeData = this.$router.resolve({name:'Edit Vehicle', params:{ vehicleID: this.item.id,topRouteDisplayName:'vehicles', routerDisplayName:'ledger'}});\n window.open(routeData.href, '_blank');\n }\n else if(this.item.type == RelatedTables.Company){\n let routeData = this.$router.resolve({name:'Company Details', params:{routerDisplayName:'ledger'}});\n window.open(routeData.href, '_blank');\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToLedgerActionButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToLedgerActionButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToLedgerActionButton.vue?vue&type=template&id=37912fa6&scoped=true\"\nimport script from \"./NavigateToLedgerActionButton.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToLedgerActionButton.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NavigateToLedgerActionButton.vue?vue&type=style&index=0&id=37912fa6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"37912fa6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search pl-0\",attrs:{\"sm\":\"12\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pb-2 pl-0\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),(_vm.relatedTable == _vm.companyRelatedTable)?_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput account-filter selectListHeight\",attrs:{\"id\":\"companyBankAccounSelectList\",\"plain\":true,\"options\":_vm.companyBankAccounts,\"required\":\"\"},on:{\"input\":_vm.onCompanyBankAccountChanged},model:{value:(_vm.selectedCompanyBankAccount),callback:function ($$v) {_vm.selectedCompanyBankAccount=$$v},expression:\"selectedCompanyBankAccount\"}})],1):_vm._e()],1),_c('div',[_c('DataTable',{ref:\"ledgerTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"customHeaderTemplates\":_vm.customHeaderTemplateList,\"showEmptyBanner\":\"false\",\"emptyBanner\":\"No ledger details to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport AppSettings from '@/app.config'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport {TableTemplate, TableHeaderTemplate} from '@/models/tableCustomTemplate.model';\nimport {LedgerTableFilterParams} from '@/models/tableFilterParams.model';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport moment from 'moment'\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport lookupService from '@/shared/services/lookupService'\nimport ReferenceCustomHeader from '@/shared/components/customTableHeaders/ReferenceCustomHeader.vue';\nimport SelectRecordCheckBox from '@/shared/components/selectRecord/SelectRecordCheckBox.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n@Component(\n {\n components: {\n DataTable,\n FilterTextInput,\n ReferenceCustomHeader\n }\n }\n)\nexport default class LedgerSelectList extends Vue{\n @Prop() relatedID:number;\n @Prop() relatedTable:RelatedTables;\n @Prop() companyAccountId:number;\n @Prop() transactionDirection:number;\n items:any = [];\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n fields = [\n {\n key: 'checkBox',\n label:'', \n class:'width_5 text-center' \n },\n {key: 'processedDate',class:'width_15',\n formatter: (value, key, item) => {\n if(moment(item.processedDate).isValid()){\n return moment(item.displayProcessedDate).format(\"DD MMM YYYY\")\n }\n return '-'\n }\n },\n {key: 'date',class:'width_10',\n formatter: (value, key, item) => {\n return moment(item.displayDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'description'},\n {key: 'reference',class:'width_20'},\n {key: 'amount',class:'width_10 text-right'} \n ];\n totalRows:number = 0;\n perPage:number = AppSettings.reducedLedgerGridSize;\n sortBy:string = \"date\";\n filter:string = \"\";\n sortDesc:boolean = true;\n customTemplateList:Array = [\n {slot:\"checkBox\",customTemplate:SelectRecordCheckBox},\n {slot:\"amount\",customTemplate:ApexCurrency}\n ];\n customHeaderTemplateList:Array = [\n {slot:\"reference\",customTemplate:ReferenceCustomHeader,data:{title:\"Reference on statement.\"}}\n ];\n showEmptyBanner:boolean = false;\n fromDate:any = null;\n toDate:any = null;\n availableBalance:number = 0;\n currentBalance:number = 0;\n disabledFromDates:any ={};\n disabledToDates:any ={};\n companyBankAccounts:any[] = [{text:'All Bank Accounts', value:0}];\n selectedCompanyBankAccount:number = 0;\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n\n @Watch('relatedID')\n onRelatedIDChanged(val: any, oldVal: any)\n {\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:true, CompanyBankAccountId:this.selectedCompanyBankAccount,\n TransactionDirection:this.transactionDirection, TransactionStatus:1,ExpenseClaimCategoryList:null,\n OtherCategoryList:null,IncludeNullTransactionCategories:false, NovationId:0}); \n }\n created(){\n if(this.companyAccountId > 0){\n this.selectedCompanyBankAccount = this.companyAccountId;\n }\n if(this.relatedTable == this.companyRelatedTable){\n this.loadCompanyBankAccountList();\n }\n if(this.relatedID > 0){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:true, CompanyBankAccountId:this.selectedCompanyBankAccount,\n TransactionDirection:this.transactionDirection, TransactionStatus:1,ExpenseClaimCategoryList:null,\n OtherCategoryList:null,IncludeNullTransactionCategories:false, NovationId:0});\n }\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:false, \n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:this.transactionDirection,\n TransactionStatus:1,ExpenseClaimCategoryList:null,OtherCategoryList:null,\n IncludeNullTransactionCategories:false, NovationId:0});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:false,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:this.transactionDirection,\n TransactionStatus:1,ExpenseClaimCategoryList:null,OtherCategoryList:null,\n IncludeNullTransactionCategories:false, NovationId:0});\n }\n }\n\n refreshGrid(tableFilterParams:LedgerTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"UnmatchedLedgerRecordsList\",tableFilterParams).then(response =>{\n this.availableBalance = response.data.availableBalance;\n this.currentBalance = response.data.currentBalance;\n this.items = response.data.filterResults.resultDto;\n this.totalRows = response.data.filterResults.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n refreshAndReset(id:number){\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:this.fromDate,ToDate:this.toDate,RelatedTable:this.relatedTable,\n CalculateRunningBalance:false, CompanyBankAccountId:this.selectedCompanyBankAccount,\n TransactionDirection:this.transactionDirection, TransactionStatus:1,ExpenseClaimCategoryList:null,\n OtherCategoryList:null,IncludeNullTransactionCategories:false,NovationId:0});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n\n filterGrid(filterString:string){\n this.resetTable();\n this.filter = filterString;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:false,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:this.transactionDirection,\n TransactionStatus:1,ExpenseClaimCategoryList:null,OtherCategoryList:null,\n IncludeNullTransactionCategories:false,NovationId:0});\n }\n\n resetTable(){\n (this.$refs.ledgerTable as DataTable).reset(true);\n }\n\n dateChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:false,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:this.transactionDirection,\n TransactionStatus:1,ExpenseClaimCategoryList:null,OtherCategoryList:null,\n IncludeNullTransactionCategories:false,NovationId:0});\n }\n\n fromDateChanged(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n this.dateChanged();\n }\n\n toDateChanged(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n this.dateChanged();\n }\n\n onCompanyBankAccountChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.relatedID,\n Status:null,FromDate:from,ToDate:to,RelatedTable:this.relatedTable,CalculateRunningBalance:false,\n CompanyBankAccountId:this.selectedCompanyBankAccount, TransactionDirection:this.transactionDirection, \n TransactionStatus:1,ExpenseClaimCategoryList:null,OtherCategoryList:null,\n IncludeNullTransactionCategories:false,NovationId:0});\n }\n\n loadCompanyBankAccountList()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetCompanyBankAccountsList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.companyBankAccounts = this.companyBankAccounts.concat(data);\n });\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ItemChecked){\n this.itemChecked(data);\n }\n }\n\n @Emit('itemChecked') itemChecked(data:any){\n\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LedgerSelectList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LedgerSelectList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LedgerSelectList.vue?vue&type=template&id=759dcdd4&scoped=true\"\nimport script from \"./LedgerSelectList.vue?vue&type=script&lang=ts\"\nexport * from \"./LedgerSelectList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LedgerSelectList.vue?vue&type=style&index=0&id=759dcdd4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"759dcdd4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',[_c('b-col',{staticClass:\"search px-0 ml-3\",attrs:{\"sm\":\"12\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',[_c('b-button',{staticClass:\"pull-left status-filter-reset-button cursor-pointer\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{attrs:{\"sm\":\"8\"}},[_c('div',{staticClass:\"text-info float-right\"},[_c('i',{staticClass:\"fas fa-info-circle mr-1\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"Select existing or create new transactions to match and reconcile \")])])],1),_c('b-table-simple',{attrs:{\"hover\":\"\",\"small\":\"\",\"caption-top\":\"\",\"responsive\":\"xl\"}},[_c('b-thead',[_c('b-tr',_vm._l((_vm.fields),function(field,index){return _c('b-th',{key:field.key + index,class:field.class},[_c('div',[_vm._v(\"\\n \"+_vm._s(field.label)+\"\\n \")])])}),1)],1),_c('b-tbody',_vm._l((_vm.items),function(item,index){return _c('b-tr',{key:(item.isHeader? 'header_' : 'data_') + index},[(item.isHeader)?_c('b-th',{staticClass:\"groupHeaderClass\",attrs:{\"colspan\":_vm.fields.length}},[_c('b-row',[_c('b-col',[_c('div',[_vm._v(_vm._s(item.vehicleName))])]),_c('b-col',[_c('span',{staticClass:\"cursor-pointer float-right\",attrs:{\"title\":\"Add Transaction\"},on:{\"click\":function($event){return _vm.addNewTransaction(item.vehicleId)}}},[_c('i',{staticClass:\"fas fa-plus primary-text fa-lg mr-2\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1):(!item.isFooter)?_vm._l((_vm.fields),function(field){return _c('b-td',{key:field.key,class:field.class + ' align-middle'},[(field.key == 'isChecked')?_c('div',[_c('b-form-checkbox',{staticClass:\"ml-1\",attrs:{\"id\":'markTransactionChkBox_' + index},on:{\"input\":function($event){return _vm.onCheckLedgerItem(item, index)}},model:{value:(item.isChecked),callback:function ($$v) {_vm.$set(item, \"isChecked\", $$v)},expression:\"item.isChecked\"}})],1):(item.id > 0 && field.key == 'relatedEntity')?_c('div',[_c('label',[_vm._v(_vm._s(item.selectedRelatedEntityText))])]):(item.id == 0)?_c('div',[(field.key == 'processedDate' && !_vm.isCreateOnly)?_c('label',[_vm._v(_vm._s(_vm._f(\"ApexDateFormat\")(item.processedDate)))]):_vm._e(),(field.key == 'date' && !_vm.isCreateOnly)?_c('label',[_vm._v(_vm._s(_vm._f(\"ApexDateFormat\")(item.date)))]):_vm._e(),(field.key == 'relatedEntity')?_c('b-row',{key:'relatedEntityKey_' + index},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',[(item.showRelatedEntityWarning)?_c('b-input-group-prepend',{attrs:{\"title\":\"This related entity has been already ended.\"}},[_c('b-input-group-text',[_c('span',[_c('i',{staticClass:\"fas fa-exclamation-triangle\"})])])],1):_vm._e(),_c('b-form-select',{key:'relatedEntitySelectKey_' + item.itemIndex,class:{'requiredField': (item.amount && item.selectedRelatedEntityId == 0)},attrs:{\"id\":'relatedEntitySelectId_' + item.itemIndex,\"plain\":true,\"options\":item.relatedEntityGroupedList},on:{\"change\":function($event){return _vm.changeRelatedEntity(item)}},model:{value:(item.selectedRelatedEntityId),callback:function ($$v) {_vm.$set(item, \"selectedRelatedEntityId\", $$v)},expression:\"item.selectedRelatedEntityId\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Select Related Entity --\")])])],2)],1)],1)],1):_vm._e(),(field.key == 'description')?_c('b-form-input',{class:{ 'textInput':true, 'indentedTextInput':true, 'requiredField': (!item.description || item.description.length == 0) },attrs:{\"id\":'_description' + index,\"type\":\"text\",\"placeholder\":\"Description\"},model:{value:(item.description),callback:function ($$v) {_vm.$set(item, \"description\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"item.description\"}}):_vm._e(),(field.key == 'reference' && !_vm.isCreateOnly)?_c('label',[_vm._v(_vm._s(item.reference))]):_vm._e(),(field.key == 'plateNumber')?_c('label',[_vm._v(_vm._s(item.plateNumber))]):_vm._e(),(field.key == 'categoryDisplayText')?_c('b-form-select',{key:'categorySelectKey_' + item.itemIndex,staticClass:\"textInput selectListHeight\",class:{ 'textInput':true, 'requiredField': (!item.categoryMapping || item.categoryMapping.category == 0) },attrs:{\"id\":'categorySelectId_' + item.itemIndex,\"plain\":true,\"options\":_vm.CategoryList},model:{value:(item.categoryMapping),callback:function ($$v) {_vm.$set(item, \"categoryMapping\", $$v)},expression:\"item.categoryMapping\"}},[(!item.categoryMapping || item.categoryMapping.category == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":{category:0,type:0}}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2):_vm._e(),(field.key == 'amount')?_c('b-form-group',{staticClass:\"mb-0\"},[_c('b-input-group',{staticClass:\"tx-amount\",attrs:{\"prepend\":\"$\"}},[(field.key == 'amount')?_c('b-form-input',{class:{ 'textInput':true, 'indentedTextInput':true, 'requiredField': (!item.amount || item.amount.length == 0) },attrs:{\"id\":'_amount' + index,\"type\":\"text\",\"placeholder\":\"Amount\"},on:{\"input\":function($event){_vm.onAmountChange(item); _vm.$v.items.$each[index].amount.$touch()}},model:{value:(item.amount),callback:function ($$v) {_vm.$set(item, \"amount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"item.amount\"}}):_vm._e()],1),(_vm.$v.items.$each[index].amount.$dirty && !_vm.$v.items.$each[index].amount.isDecimal)?_c('div',{staticClass:\"text-danger text-left\"},[_vm._v(\"\\n Amount is invalid.\\n \")]):_vm._e()],1):_vm._e(),(item.fuelCardNumbers != null && item.fuelCardNumbers.length > 0 && field.key == 'cardNumber')?_c('div',[_c('ul',_vm._l((item.fuelCardNumbers),function(card,index){return _c('li',{key:'fuelCardKey_' + card.value + index},[_vm._v(_vm._s(card.text))])}),0)]):_vm._e(),_c('span',{attrs:{\"title\":\"GST Inclusive\"}},[(field.key == 'gstAmount')?_c('b-form-checkbox',{staticClass:\"pull-right\",attrs:{\"id\":'_gstAmount' + index},model:{value:(item.gstInclusive),callback:function ($$v) {_vm.$set(item, \"gstInclusive\", $$v)},expression:\"item.gstInclusive\"}}):_vm._e()],1)],1):(item[field.key] != null)?_c('div',[(field.key == 'amount' || field.key == 'gstAmount' || field.key == 'totalAmount')?_c('div',[_c('ApexCurrency',{attrs:{\"value\":item[field.key]}})],1):(field.formatter)?_c('div',[_vm._v(\"\\n \"+_vm._s(field.formatter(item[field.key], field.key, item))+\"\\n \")]):_c('div',[_vm._v(\"\\n \"+_vm._s(item[field.key])+\"\\n \")])]):_vm._e()])}):_vm._e()],2)}),1)],1),(_vm.totalRows > _vm.perPage)?_c('b-row',{staticClass:\"paginator-row\"},[_c('nav',{staticClass:\"pull-right\"},[_c('b-row',[_c('b-col',[_c('b-pagination',{staticClass:\"paginationColor\",attrs:{\"total-rows\":_vm.totalRows,\"per-page\":_vm.perPage,\"prev-text\":\"Prev\",\"next-text\":\"Next\",\"hide-goto-end-buttons\":\"\",\"align\":'right'},on:{\"change\":function($event){return _vm.paginationChanged($event)}},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1)],1)],1),_c('span',{staticClass:\"pull-left\"},[_vm._v(\"Showing \"+_vm._s(_vm.fromIndex)+\" to \"+_vm._s(_vm.toIndex)+\" of \"+_vm._s(_vm.totalRows)+\" entries\")])]):_vm._e(),_c('b-row',[_c('b-col',{staticClass:\"text-center\",attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('b-btn',{staticClass:\"text-center primary\",attrs:{\"size\":\"md\",\"disabled\":_vm.RemainingAmountToAllocate != 0 || !_vm.hasValidNewTransactions(0),\"id\":\"btnAllocate\"},on:{\"click\":_vm.onAllocate}},[_vm._v(\"\\n Allocate\\n \")]),_c('b-btn',{staticClass:\"text-center ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"btnCancel\"},on:{\"click\":_vm.onCancelLedger}},[_vm._v(\"\\n Cancel\\n \")])],1)],1),_c('b-row',[_c('b-col',{staticClass:\"text-center mt-2\",attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_vm._v(\"\\n Remaining to Allocate: \"),_c('ApexCurrency',{attrs:{\"value\":_vm.RemainingAmountToAllocate}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport { validationMixin } from 'vuelidate';\nimport moment from 'moment';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport lookupService from '@/shared/services/lookupService';\nimport ReferenceCustomHeader from '@/shared/components/customTableHeaders/ReferenceCustomHeader.vue';\nimport { VehicleLedgerTransactionFilterParams } from '@/models/tableFilterParams.model';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport AppSettings from '@/app.config';\nimport { TransactionCategoryTypes } from '@/shared/enums/transaction.enum';\nimport { ExpenseCategories } from '@/shared/enums/expenseClaims.enum';\n\n@Component({\n mixins:[validationMixin],\n components: {\n DataTable,\n ReferenceCustomHeader,\n FilterTextInput\n }, validations:\n {\n items:\n {\n $each: {\n amount: {\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n }\n }\n }\n })\n\nexport default class VehicleLedgerSelectList extends Vue{\n @Prop() vehicleIdList:any;\n @Prop() bankStatementTransaction:any;\n @Prop() isAllItemsChecked:boolean;\n @Prop() selectedFuelCardBrand:number;\n @Prop() filterString:any;\n @Prop() isCreateOnly:any;\n @Prop() defaultCategory:any;\n @Prop() defaultDescription:string;\n @Prop() defaultGSTInclusive:boolean;\n perPage:number = AppSettings.defaultGridSize;\n totalRows:number = 0;\n currentPage = 1;\n items:any = [];\n todayDate: any = new Date();\n sortBy:string = 'plateNumber';\n sortDesc: boolean = false;\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n fields = [\n {key: 'isChecked', label:'', class:'width_5 text-center', formatter: (value, key, item) => {}},\n {key: 'relatedEntity',class:'width_25', label:'Related Entity'},\n {key: 'description',class:'width_15', label:'Description'},\n {key: 'categoryDisplayText',class:'width_15', label:'Category'},\n {key: 'amount',class:'width_15 text-right', label:'Amount'},\n {key: 'gstAmount',class:'width_5 text-right', label:'GST'}\n ];\n availableBalance:number = 0;\n currentBalance:number = 0;\n categories:any[] = [];\n vehicleLedgerIdList:any[] = [];\n checkedLedgerItemIdList:any = [];\n checkedLedgerItemList:any = [];\n initialItemList:any = [];\n fuelCategory:ExpenseCategories = ExpenseCategories.Fuel;\n expenseTransactionCategoryType: TransactionCategoryTypes = TransactionCategoryTypes.Expense;\n secondFilterString: any = \"\";\n resetButtonDisabled: boolean = true;\n\n get todayDateInUTC()\n {\n return this.todayDateUTC;\n }\n\n get headerItems():[]{\n if(this.items && this.items.length > 0)\n return this.items.filter(obj => obj.isHeader == true);\n return [];\n }\n\n get CategoryList():any[]{\n if(this.categories && this.categories.length > 0)\n return this.categories;\n return [];\n }\n\n get RemainingAmountToAllocate():number{\n if(this.items && this.items.length > 0){\n var totalChecked = 0;\n this.checkedLedgerItemList.filter(obj => obj.isChecked == true).forEach(item => {\n if(item.id > 0){\n totalChecked = totalChecked + (isNaN(parseFloat(item.totalAmount)) || parseFloat(item.totalAmount) < 0 ? 0 : parseFloat(item.totalAmount));\n }else{\n totalChecked = totalChecked + (isNaN(parseFloat(item.amount)) || parseFloat(item.amount) < 0 ? 0 : parseFloat(item.amount));\n }\n });\n return parseFloat((this.bankStatementTransaction.amount - totalChecked).toFixed(4));\n }\n return this.bankStatementTransaction.amount;\n }\n\n get hasValidNewRecords():boolean{\n if(this.items && this.items.length > 0){\n this.items.filter(obj => obj.id == 0)\n }\n return true;\n }\n\n\n @Watch('vehicleIdList')\n onRelatedIDChanged(val: any, oldVal: any)\n {\n this.refreshGrid({\n FromIndex: 0,\n Count:this.perPage,\n SortBy:null,\n SortDesc:this.sortDesc,\n RelatedId:0,\n Status:null,\n IsAllVehiclesChecked:this.isAllItemsChecked,\n SearchByString: \"\",\n SearchBySecondString: \"\",\n SelectedFuelCardBrand: 0,\n TransactionDirection:this.bankStatementTransaction.transactionDirection,\n VehicleIdList: this.isAllItemsChecked? []: this.vehicleIdList,\n IsCreateOnly:this.isCreateOnly\n }); \n }\n\n created(){\n if(this.isAllItemsChecked){\n this.refreshGrid({\n FromIndex:0, \n Count:this.perPage, \n SortBy:null, \n SortDesc:this.sortDesc, \n SearchByString: this.filterString.length>2 ? this.filterString : \"\",\n SearchBySecondString: this.secondFilterString.length > 2 ? this.secondFilterString : \"\",\n RelatedId:0,\n Status:null, \n IsAllVehiclesChecked:this.isAllItemsChecked,\n SelectedFuelCardBrand:this.selectedFuelCardBrand,\n TransactionDirection:this.bankStatementTransaction.transactionDirection,\n VehicleIdList:[],\n IsCreateOnly:this.isCreateOnly\n });\n }\n if(this.vehicleIdList.length > 0 && !this.isAllItemsChecked){\n this.vehicleLedgerIdList = this.vehicleIdList;\n this.refreshGrid({\n FromIndex:0, \n Count:this.perPage, \n SortBy:null, \n SortDesc:this.sortDesc, \n SearchByString: \"\",\n SearchBySecondString: \"\", \n RelatedId:0, \n Status:null, \n IsAllVehiclesChecked:false, \n SelectedFuelCardBrand: 0,\n TransactionDirection:this.bankStatementTransaction.transactionDirection,\n VehicleIdList: this.vehicleIdList,\n IsCreateOnly:this.isCreateOnly\n });\n }\n this.loadCategories();\n\n if(this.isCreateOnly){\n if(this.defaultCategory.category == this.fuelCategory && this.defaultCategory.type == this.expenseTransactionCategoryType){\n this.fields.splice(2,0,{key: 'cardNumber',class:'width_10 text-left', label:'Card Number'});\n }\n this.fields.splice(2,0,{key: 'plateNumber',class:'width_10 text-left', label:'Plate Number'});\n }else{\n this.fields.splice(1, 0, {key: 'processedDate',class:'width_10',label:'Processed Date',\n formatter: (value, key, item) => {\n if(moment(item.processedDate).isValid()){\n return moment(item.displayProcessedDate).format(\"DD MMM YYYY\")\n }\n return '-'\n }}\n );\n this.fields.splice(2, 0, {key: 'date',class:'width_10',label:'Date',\n formatter: (value, key, item) => {\n return moment(item.displayDate).format(\"DD MMM YYYY\")\n }}\n );\n this.fields.splice(5, 0, {key: 'reference',class:'width_15', label:'Reference'});\n this.fields.splice(9, 0, {key: 'totalAmount',class:'width_15 text-right', label:'Total'});\n }\n } \n\n loadCategories(){\n lookupService.GetExpenseAndOtherCategoriesList().then(data => {\n this.categories = data;\n });\n }\n\n resetFilterParams(){\n this.secondFilterString = '';\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.currentPage = 1;\n this.refreshGrid({\n FromIndex: 0, \n Count:this.perPage, \n SortBy:null, \n SortDesc:this.sortDesc, \n RelatedId:0, \n Status:null, \n IsAllVehiclesChecked:this.isAllItemsChecked,\n SearchByString: this.filterString.length > 2 ? this.filterString : \"\",\n SearchBySecondString: this.secondFilterString.length > 2 ? this.secondFilterString : \"\",\n SelectedFuelCardBrand:this.selectedFuelCardBrand,\n TransactionDirection:this.bankStatementTransaction.transactionDirection,\n VehicleIdList: this.isAllItemsChecked? []: this.vehicleIdList,\n IsCreateOnly:this.isCreateOnly\n });\n }\n\n refreshGrid(tableFilterParams : VehicleLedgerTransactionFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"UnmatchedVehicleLedgerRecordsList\",tableFilterParams).then(response =>{\n if(response.data.transactionResults && response.data.transactionResults.length > 0){\n var itemList = response.data;\n this.items = itemList.transactionResults;\n this.initialItemList = Object.assign([],itemList.transactionResults);\n this.initialItemList.forEach(item => {\n if(item.id > 0 ){\n item.itemIndex = item.vehicleId + \"_tx_\" + item.id;\n if(this.checkedLedgerItemList && this.checkedLedgerItemList.length > 0){\n var transaction = this.checkedLedgerItemList.find(f => f.id == item.id && !item.isFooter && !item.isHeader);\n if(transaction != null){\n item.isChecked = true;\n }\n }\n }\n\n else if(item.isFooter){\n var newTransactionList = this.checkedLedgerItemList.filter(f => f.id == 0 && f.vehicleId == item.vehicleId);\n if(newTransactionList != null && newTransactionList.length > 0){\n this.items.splice(this.items.indexOf(item), 0, ...newTransactionList);\n }else{\n this.addNewTransaction(item.vehicleId);\n }\n }\n });\n }else{\n this.items = [];\n this.initialItemList = [];\n }\n this.totalRows = itemList.totalRows;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n filterGrid(filterString:string){\n this.secondFilterString = filterString;\n this.resetButtonDisabled = false;\n this.refreshGrid({\n FromIndex: 0, \n Count:this.perPage, \n SortBy:null, \n SortDesc:this.sortDesc, \n RelatedId:0, \n Status:null, \n IsAllVehiclesChecked:this.isAllItemsChecked,\n SearchByString: this.filterString.length > 2 ? this.filterString : \"\",\n SearchBySecondString: this.secondFilterString.length > 2 ? this.secondFilterString : \"\",\n SelectedFuelCardBrand:this.selectedFuelCardBrand,\n TransactionDirection:this.bankStatementTransaction.transactionDirection,\n VehicleIdList: this.isAllItemsChecked? []: this.vehicleIdList,\n IsCreateOnly:this.isCreateOnly\n });\n }\n\n onCheckLedgerItem(item:any, index:any){\n if(item.isChecked){\n if(!this.checkedLedgerItemIdList.includes(item.itemIndex)){\n item.isChecked = true;\n this.checkedLedgerItemIdList.push(item.itemIndex);\n this.checkedLedgerItemList.push(item);\n }else{\n item.isChecked = true;\n }\n }else{\n item.isChecked = false;\n }\n }\n\n addNewTransaction(vehicleId:number){\n\n var index = this.items.findIndex(i => i.vehicleId == vehicleId && i.isFooter && !i.isHeader);\n var vehicleGroupList = this.items.filter(i => i.vehicleId == vehicleId && !i.isFooter && !i.isHeader);\n var groupId = 1;\n if(vehicleGroupList && vehicleGroupList.length > 0){\n groupId = vehicleGroupList.length + 1;\n }\n var headerItem = this.items.find(f => f.vehicleId == vehicleId && f.isHeader);\n\n var isValidItems = this.hasValidNewTransactions(vehicleId);\n if(!isValidItems){\n this.$notify({\n group: 'modalGrowlNotification',\n title:'Invalid trasaction record.',\n type: 'error',\n duration: 5000\n });\n return;\n }\n var relatedEntities = this.getRelatedEntitiesFromGroupedList(headerItem.relatedEntityGroupedList);\n var newTransaction = {\n id:0,\n isChecked:false,\n isHeader:false,\n isFooter:false,\n gstInclusive:this.defaultGSTInclusive,\n plateNumber:headerItem.plateNumber,\n fuelCardNumbers: headerItem.fuelCardNumbers != null && headerItem.fuelCardNumbers.length > 0 ? headerItem.fuelCardNumbers : null,\n date:this.bankStatementTransaction.date,\n description:this.defaultDescription,\n processedDate:this.todayDate,\n reference:this.bankStatementTransaction.reference,\n vehicleId:headerItem.vehicleId,\n categoryMapping: {type:this.defaultCategory.type, category:this.defaultCategory.category},\n itemIndex : vehicleId + \"_\" + groupId,\n itemPageNumber : this.currentPage,\n relatedEntityGroupedList: headerItem.relatedEntityGroupedList,\n selectedRelatedEntityId: relatedEntities.length == 1 && relatedEntities[0].value == headerItem.currentRelatedEntity ? headerItem.currentRelatedEntity : 0,\n showRelatedEntityWarning: false,\n relatedEntityList: relatedEntities,\n };\n this.items.splice(index, 0, newTransaction);\n }\n\n getRelatedEntitiesFromGroupedList(groupedRelatedEntities){\n var relatedEntityList = [];\n groupedRelatedEntities.forEach(group => {\n if (group.options && group.options.length > 0){\n relatedEntityList.push(...group.options);\n }\n });\n return relatedEntityList;\n }\n\n changeRelatedEntity(item){\n this.$nextTick(()=> {\n var selectedRelatedEntity = item.relatedEntityList.filter(i => i.value == item.selectedRelatedEntityId)[0];\n if (selectedRelatedEntity && selectedRelatedEntity.endDate != null && moment(selectedRelatedEntity.endDate).toDate() < this.todayDateUTC){\n item.showRelatedEntityWarning = true;\n } else {\n item.showRelatedEntityWarning = false;\n }\n })\n }\n\n hasValidNewTransactions(vehicleId:number):boolean{\n var isValidItems = true;\n var newItems = this.items.filter(obj => obj.id == 0 && obj.isChecked == true && (vehicleId == 0 || obj.vehicleId == vehicleId) && obj.isHeader == false && obj.isFooter == false);\n for (let i = 0; i < newItems.length; i++) {\n isValidItems = this.validateNewTrasactionRecord(newItems[i]);\n if(!isValidItems) \n break;\n }\n return isValidItems;\n }\n\n validateNewTrasactionRecord(item:any):boolean{\n if(fieldValidations.isValidDate(item.date) && \n fieldValidations.isValidDate(item.processedDate) &&\n fieldValidations.isValidDecimal(item.amount) &&\n fieldValidations.isValidText(item.reference) &&\n fieldValidations.isValidText(item.description) &&\n item.categoryMapping.category > 0 &&\n item.selectedRelatedEntityId > 0)\n {\n return true;\n } \n return false;\n }\n\n onAmountChange(item){\n if(!isNaN(parseFloat(item.amount)) && parseFloat(item.amount) < 0){\n item.amount = \"\";\n }\n\n if(item.amount && item.amount != \"\" && !isNaN(parseFloat(item.amount)) && parseFloat(item.amount) > 0){\n if(!this.checkedLedgerItemIdList.includes(item.itemIndex)){\n item.isChecked = true;\n this.checkedLedgerItemIdList.push(item.itemIndex);\n this.checkedLedgerItemList.push(item);\n }else{\n item.isChecked = true;\n }\n }else {\n item.isChecked = false;\n }\n }\n\n onAllocate(){\n this.onAllocateLedger(this.checkedLedgerItemList.filter(obj => obj.isChecked == true));\n }\n\n isPageDirty(){\n if(this.items.filter(obj => obj.isChecked == true || (obj.isHeader == false && obj.isFooter == false && obj.id == 0)).length > 0)\n {\n return true;\n }\n return false;\n }\n\n onCancelLedger(){\n this.cancelLedger(this.isPageDirty());\n }\n\n paginationChanged(page:number){\n this.currentPage = page;\n this.onPageChange(this.fromIndex-1);\n }\n\n onPageChange(fromIndex:number){\n this.refreshGrid({\n FromIndex: fromIndex, \n Count:this.perPage, \n SortBy:null, \n SortDesc:this.sortDesc, \n RelatedId:0, \n Status:null, \n IsAllVehiclesChecked:this.isAllItemsChecked,\n SearchByString: this.filterString.length > 2 ? this.filterString : \"\",\n SearchBySecondString: this.secondFilterString.length > 2 ? this.secondFilterString : \"\",\n SelectedFuelCardBrand:this.selectedFuelCardBrand,\n TransactionDirection:this.bankStatementTransaction.transactionDirection,\n VehicleIdList: this.isAllItemsChecked? []: this.vehicleIdList,\n IsCreateOnly:this.isCreateOnly\n });\n }\n\n\n get fromIndex(){\n return this.totalRows > 0 ? (this.currentPage -1)*this.perPage + 1 : 0;\n }\n\n get toIndex(){\n return (this.currentPage*this.perPage)>=this.totalRows ? this.totalRows : this.currentPage*this.perPage;\n }\n\n @Emit('onAllocateLedger') onAllocateLedger(items:any[]){\n }\n @Emit('onCancelLedger') cancelLedger(isDirty:boolean){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLedgerSelectList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLedgerSelectList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleLedgerSelectList.vue?vue&type=template&id=33dfcdcc&scoped=true\"\nimport script from \"./VehicleLedgerSelectList.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleLedgerSelectList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleLedgerSelectList.vue?vue&type=style&index=0&id=33dfcdcc&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"33dfcdcc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[((_vm.items.length == 0) && (_vm.showEmptyBanner))?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.emptyBanner)+\"\\n \")])])],2):_vm._e(),((_vm.items.length > 0) || (!_vm.showEmptyBanner))?_c('div',[_c('b-table-simple',{attrs:{\"hover\":\"\",\"small\":\"\",\"caption-top\":\"\",\"responsive\":\"\"}},[_c('b-thead',[_c('b-tr',_vm._l((_vm.fields),function(field){return _c('b-th',{key:field.key,class:field.class},[(field.useCustomHeader)?_c('div',[_vm._t('header_'+field.key)],2):_c('div',[_vm._v(\"\\n \"+_vm._s(field.label)+\"\\n \")])])}),1)],1),_c('b-tbody',_vm._l((_vm.items),function(item,index){return _c('b-tr',{key:(item.isHeader? 'header' : 'data') + index},[(item.isHeader)?_c('b-th',{staticClass:\"groupHeaderClass\",attrs:{\"colspan\":_vm.fields.length}},[(_vm.frontHeaderActionSlots && _vm.frontHeaderActionSlots.length > 0)?_c('div',{class:_vm.groupHeaderClass,attrs:{\"variant\":\"primary\"}},[_vm._l((_vm.frontHeaderActionSlots),function(actionSlot){return _c('div',{key:actionSlot},[_vm._t(actionSlot,null,{\"data\":item})],2)}),(_vm.showHeaderTemplate)?_c('div',[_vm._t(\"headerSlot\",null,{\"data\":item})],2):_c('div',{staticClass:\"float-left\"},[_vm._v(_vm._s(item.headerName))])],2):(_vm.showHeaderTemplate)?_c('div',[_vm._t(\"headerSlot\",null,{\"data\":item})],2):_c('div',{staticClass:\"float-left\"},[_vm._v(_vm._s(item.headerName))])]):_vm._l((_vm.fields),function(field){return _c('b-td',{key:field.key,class:field.class},[(item[field.key])?_c('div',[(field.formatter)?_c('div',[_vm._v(\"\\n \"+_vm._s(field.formatter(item[field.key], field.key, item))+\"\\n \")]):_c('div',[_vm._v(\"\\n \"+_vm._s(item[field.key]))])]):_vm._t(field.key,null,{\"data\":item})],2)})],2)}),1)],1),(_vm.totalRows > _vm.maxPageSize && !_vm.hidePaginator)?_c('b-row',{staticClass:\"paginator-row\"},[_c('nav',{staticClass:\"pull-right\"},[_c('b-row',[_c('b-col',[(_vm.showPerPageResizer)?_c('b-form-select',{staticClass:\"per-page-select\",attrs:{\"id\":\"paginationPageResizer\",\"plain\":true,\"options\":_vm.pageSizesList},on:{\"input\":_vm.perPageSizeChanged},model:{value:(_vm.perPageSize),callback:function ($$v) {_vm.perPageSize=$$v},expression:\"perPageSize\"}}):_vm._e()],1),_c('b-col',[_c('b-pagination',{class:_vm.paginationColor,attrs:{\"total-rows\":_vm.totalRows,\"per-page\":_vm.perPageSize,\"prev-text\":\"Prev\",\"next-text\":\"Next\",\"hide-goto-end-buttons\":\"\",\"align\":'right'},on:{\"change\":function($event){return _vm.paginationChanged($event)}},model:{value:(_vm.currentPage),callback:function ($$v) {_vm.currentPage=$$v},expression:\"currentPage\"}})],1)],1)],1),_c('span',{staticClass:\"pull-left\"},[_vm._v(\"Showing \"+_vm._s(_vm.fromIndex)+\" to \"+_vm._s(_vm.toIndex)+\" of \"+_vm._s(_vm.totalRows)+\" entries\")])]):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n@Component\nexport default class DataTable extends Vue{\n @Prop() items:any;\n @Prop() fields:any;\n @Prop() emptyBanner:any;\n @Prop() showEmptyBanner:any;\n @Prop() modalMode:any;\n @Prop() frontHeaderActionSlots:any;\n @Prop() showHeaderTemplate:any;\n @Prop({default: true}) hidePaginator:boolean;\n @Prop() paginationColor:any;\n @Prop({default: false}) showPerPageResizer:boolean;\n @Prop({default: 0}) totalRows:number;\n @Prop({default: 0}) perPage:number;\n @Prop({default: 'd-flex'}) groupHeaderClass:any;\n pageSizesList:any[] = [{label: 'Per Page', options: [{text: '10', value: 10},{text: '20', value: 20}, {text: '50', value: 50}, {text: '100', value: 100}]} ];\n perPageSize:number = 0;\n maxPageSize:number = 0;\n currentPage:number = 1;\n\n created(){\n this.perPageSize = this.perPage;\n this.maxPageSize = this.perPage;\n }\n mounted(){\n }\n\n get fromIndex(){\n return this.totalRows > 0?(this.currentPage -1)*this.perPageSize + 1:0;\n }\n\n get toIndex(){\n return (this.currentPage*this.perPageSize)>=this.totalRows? this.totalRows:this.currentPage*this.perPageSize;\n }\n\n paginationChanged(page:number){\n this.currentPage = page;\n this.onPageChange(this.fromIndex-1, this.perPageSize);\n }\n\n perPageSizeChanged(){\n this.currentPage = 1;\n this.onPageChange(this.fromIndex - 1, this.perPageSize);\n }\n\n resetPaginator(){\n this.currentPage = 1;\n }\n\n @Emit('onPageChange') onPageChange(fromIndex:number, perPageSize:number){\n }\n\n @Emit('customEvent') customEvent(data:any,type:DataTableActionTypes){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupedDataTable.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupedDataTable.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./GroupedDataTable.vue?vue&type=template&id=06f2e5d3&scoped=true\"\nimport script from \"./GroupedDataTable.vue?vue&type=script&lang=ts\"\nexport * from \"./GroupedDataTable.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GroupedDataTable.vue?vue&type=style&index=0&id=06f2e5d3&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"06f2e5d3\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableTemplate, TableHeaderTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport moment from 'moment'\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport {TransactionTableFilterParams} from '@/models/tableFilterParams.model';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport {TransactionDirection, TransactionCategoryTypes} from '@/shared/enums/transaction.enum'\nimport BankRecActionButtons from './BankRecActionButtons.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport MotorVehicleAndClientDetailsList from '@/components/admin/motorVehicleManagement/MotorVehicleAndClientDetailsList.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport lookupService from '../../../shared/services/lookupService';\nimport BankAccounts from '@/components/admin/bankAccount/BankAccounts.vue'\nimport {BankStatementTransactionStatus} from '@/shared/enums/bankStatementTransactionStatus.enum';\nimport NavigateToLedgerActionButton from './NavigateToLedgerActionButton.vue';\nimport ReferenceCustomHeader from '@/shared/components/customTableHeaders/ReferenceCustomHeader.vue';\nimport LedgerSelectList from '../finance/LedgerSelectList.vue';\nimport VehicleLedgerSelectList from '@/components/admin/finance/VehicleLedgerSelectList.vue';\nimport GroupedDataTable from '@/shared/components/dataTable/GroupedDataTable.vue';\nimport { OtherCategories } from '@/shared/enums/otherCategoryTypes.enum';\n\n@Component\n(\n {\n components: {\n DataTable,\n GroupedDataTable,\n FilterTextInput,\n MotorVehicleAndClientDetailsList,\n VehicleLedgerSelectList,\n Modal,\n BankAccounts,\n LedgerSelectList\n }\n }\n)\nexport default class BankReconciliation extends Vue{\n items:any = [];\n fields = [\n {key: 'date',class:'width_8',sortable:'true',\n formatter: (value, key, item) => {\n return item.displayDate;\n }\n },\n {key: 'reference',sortable:'true',class:'width_11'},\n {key: 'credit',class:'width_8 text-right'},\n {key: 'debit',class:'width_8 text-right'} \n ];\n dirtyValidatorRefNo:number = 0;\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"date\";\n commonFilter:string = \"\";\n amountFilter:string = \"\";\n sortDesc:boolean = true;\n fromIndex:number = 0;\n customTemplateList:Array = []\n customHeaderTemplateList:Array = [{slot:\"reference\",customTemplate:ReferenceCustomHeader,data:{title:\"Reference on bank statement.\"}}];\n showEmptyBanner:boolean = false;\n fromDate:any = null;\n toDate:any = null;\n disabledFromDates:any ={};\n disabledToDates:any ={};\n transactionStatusList = [{text:'Posted',value:1},{text:'Unposted',value:2}]\n selectedStatus:number = 0;\n ledgerTypesList = [{text:'Motor Vehicle',value:RelatedTables.Vehicle},{text:'Company Bank Account',value:RelatedTables.Company}] \n selectedLedgerId:number = 0;\n selectedVehicleLedgerIdList:any = [];\n selectedVehicleLedgerItemList:any = [];\n bankInfoId:number = 0;\n bankStatementInfoFileSelectList:any[] = [];\n actionCol:any = {key: 'actions',label:\"\",class:'text-right width_7'};\n actionColTemplate = {slot:\"actions\", customTemplate:BankRecActionButtons};\n hideFooter:boolean = true;\n showSelectLedgerModal:boolean = false;\n companyId:number = 0;\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n motorVehicleRelatedTable:RelatedTables = RelatedTables.Vehicle;\n selectedLedgerType:number = this.motorVehicleRelatedTable;\n showTransactionTransferConfirmation:boolean = false;\n unpostedStatus:BankStatementTransactionStatus = BankStatementTransactionStatus.Unposted;\n postedStatus:BankStatementTransactionStatus = BankStatementTransactionStatus.Posted;\n transferTransactionId:number = 0;\n matchedVehicleDetails:any = [];\n matchedAccountDetails:any = [];\n vehicleFields = [\n {key: 'reference',label:'Reference',class:'width_35'},\n {key: 'description',label:'Description'},\n {key: 'amountText',label:'Amount',class:'width_10 text-right'},\n {key: 'actions',label:\"\",class:'text-center width_5'} \n ];\n accountFields = [\n {key: 'accountName', class:'width_30'},\n {key: 'companyName',class:'width_25'},\n {key: 'reference',class:'width_30'},\n {key: 'amount',class:'width_10 text-right'},\n {key: 'actions',label:\"\",class:'text-right width_5'} \n ];\n vehicleGridTotalRows:number = 0;\n accountGridTotalRows:number = 0;\n showMatchedTransactionInfoModal:boolean = false;\n showVehicleDetailsGrid:boolean = false;\n showAccountDetailsGrid:boolean = false;\n transactionDetailsCustomTemplates:Array = [{slot:\"actions\",customTemplate:NavigateToLedgerActionButton}]\n transactionToTransfer:any = null;\n ledgerRelatedTable:number = 0;\n ledgerRelatedId:number = 0;\n selectedCompanyBankAccountId:number = 0;\n showLedgerWithCheckBox:boolean = false;\n showVehicleLedgerSelectList:boolean = false;\n showBasRefundPaymentConfirmation:boolean = false;\n showVehicleLedgerListForCreateNewTransaction:boolean = false;\n checkedTransactionsList:any[] = [];\n checkedTransactionSum:number = 0;\n showMatchTransferConfirmation:boolean = false;\n hideLedgerModalFooter:boolean = true;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n categories:any[] = [];\n categoryTypes:any[] = [];\n showTransactionTransferModal:boolean = false;\n transferTransactionCategory:any = {type:0, category:0};\n frontHeaderActionSlots:any[] = [\"\"];\n showCancelVehcileLedgerMatchConfirmation:boolean = false;\n selectedVehicleLedgerItems:any[] = [];\n showClosePopup:boolean = false;\n bankStatementTransactionRelatedTable:RelatedTables = RelatedTables.BankStatementTransaction;\n showCreateNewTransactionDefaultInputsModal:boolean = false;\n newTransactionSelectedCategory:any = {type:0, category:0};\n newTransactionDescription:string = \"\";\n newTransactionGSTInclusive:boolean = true;\n resetButtonDisabled:boolean = true;\n\n created(){\n this.bankInfoId = +this.$route.query.bankInfoId?+this.$route.query.bankInfoId:0;\n this.selectedStatus = this.bankInfoId > 0 ? 0 : 2;\n this.getBankSatementInfoFileList();\n lookupService.GetCompanyId().then(res => {\n this.companyId = res;\n })\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:this.fromDate,ToDate:this.toDate});\n this.loadSelectLists();\n lookupService.GetExpenseAndOtherCategoriesList().then(data => {\n this.categories = data;\n });\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.fromIndex = fromIndex;\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n }\n\n refreshGrid(tableFilterParams:TransactionTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n if(this.sortBy == \"bsbNumber\"){\n tableFilterParams.SortBy = \"BSBNumber\";\n }\n apiService.sendGetRequest(\"Finance\",\"BankStatementTransactionsList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.manageActionColumn();\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n refreshAndReset(id:number){\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:this.fromDate,ToDate:this.toDate});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n\n filterGridByRefAndDescription(filterString:string){\n this.resetTable();\n this.commonFilter = filterString;\n this.resetButtonDisabled = false;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n filterGridByAmount(filterString:string){\n this.resetTable();\n this.amountFilter = filterString;\n this.resetButtonDisabled = false;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n resetTable(){\n (this.$refs.transactionsTable as DataTable).reset(true);\n }\n\n get getTransactionDirectionText(){\n return (this.transactionToTransfer.transactionDirection == TransactionDirection.Credit)?'(CR)':'(DR)';\n }\n\n getCreditValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Credit ? amount : null;\n }\n\n getDebitValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Debit ? amount : null;\n }\n\n dateChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.resetButtonDisabled = false; \n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n fromDateChanged(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n this.dateChanged();\n }\n\n toDateChanged(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n this.dateChanged();\n }\n\n onStatusChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n onChangeResetButton()\n {\n this.resetTable();\n this.resetButtonDisabled = false;\n }\n\n onBankFileChanged(){\n if(this.bankInfoId > 0){\n this.$router.push({name:'Bank Rec and Upload Bank File', query:{bankInfoId:this.bankInfoId.toString()}});\n }\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n getBankSatementInfoFileList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"BankStatementInfoFileSelectList\",{}).then(response =>{\n this.bankStatementInfoFileSelectList = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n resetFilters(){\n this.commonFilter = \"\";\n this.amountFilter = \"\";\n this.fromDate = null\n this.toDate = null;\n this.selectedStatus = 2;\n this.bankInfoId = 0;\n this.fromIndex = 0;\n this.disabledFromDates = {};\n this.disabledToDates = {};\n this.resetButtonDisabled = true;\n (this.$refs.commonFilterRef as FilterTextInput).resetFilterString();\n (this.$refs.amountFilterRef as FilterTextInput).resetFilterString();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:null,ToDate:null});\n }\n\n manageActionColumn(){\n var hideActionColumn = true;\n var actionColIndex = this.getColIndex(\"actions\")\n for(var i = 0; i < this.items.length; i++){\n if((this.items[i].bankTransactionStatus == this.unpostedStatus) || (this.items[i].bankTransactionStatus == this.postedStatus)){\n if(actionColIndex == -1){\n this.fields.push(this.actionCol);\n this.customTemplateList.push(this.actionColTemplate);\n }\n hideActionColumn = false;\n break;\n }\n }\n if(hideActionColumn && actionColIndex > -1){\n this.fields.splice(actionColIndex,1);\n this.customTemplateList.pop();\n }\n }\n\n getColIndex(key:string){\n for(var i = 0; i < this.fields.length; i++){\n if(this.fields[i].key == key){\n return i;\n }\n }\n return -1;\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.Unmatch){\n this.onUnmatchTransaction(data);\n }\n\n if(type == DataTableActionTypes.Transfer){\n this.transferTransactionId = data.id;\n this.transactionToTransfer = data;\n this.showSelectLedgerModal = true;\n }\n\n if(type == DataTableActionTypes.View){\n this.loadMatchedTransactionDetails(data)\n }\n }\n\n onUnmatchTransaction(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequestWithQueryParams(\"Finance\",\"BankStatementTransaction\",{id:id}).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n )\n }\n\n onCompanyBankAccountSelected(id:number){\n this.selectedLedgerId = id;\n this.ledgerRelatedId = this.companyId;\n this.ledgerRelatedTable = RelatedTables.Company;\n this.selectedCompanyBankAccountId = id;\n this.showLedgerWithCheckBox = true;\n this.hideLedgerModalFooter = false;\n }\n\n onAllocateLedgerCreateAndMatch(vehicleIdList:any)\n {\n this.selectedVehicleLedgerIdList = vehicleIdList;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = true;\n this.hideLedgerModalFooter = true;\n }\n\n onAllocateLedgerCreateNewTransaction(vehicleItemList:any)\n {\n this.selectedVehicleLedgerItemList = vehicleItemList;\n this.newTransactionSelectedCategory = {type:0, category:0};\n this.newTransactionDescription = \"\";\n this.newTransactionGSTInclusive = true;\n this.showCreateNewTransactionDefaultInputsModal = true;\n }\n\n onOkayCreateNewTransactionInputModal(){\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerListForCreateNewTransaction = true;\n this.hideLedgerModalFooter = true;\n this.showCreateNewTransactionDefaultInputsModal = false;\n }\n\n onCancelCreateNewTransactionInputModal(){\n this.showCreateNewTransactionDefaultInputsModal = false;\n }\n\n cancelTransferTransactionConfirmation(){\n this.showTransactionTransferConfirmation = false;\n this.transferTransactionCategory = {type:0, category:0};\n }\n\n okayToTransferTransaction(){\n this.showTransactionTransferConfirmation = false;\n this.showBasRefundPaymentConfirmation = false;\n this.transferTransaction();\n }\n\n onConfirmTransferTransaction() {\n this.showTransactionTransferConfirmation = false;\n this.showBasRefundPaymentConfirmation = true;\n }\n\n okayToBasRefundPaymentTransaction() {\n this.showBasRefundPaymentConfirmation = false;\n this.transferTransactionCategory.type = TransactionCategoryTypes.Other;\n this.transferTransactionCategory.category = OtherCategories.BasRefundPayment;\n this.transferTransaction();\n }\n\n transferTransaction(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n relatedTable : this.selectedLedgerType,\n relatedId : (this.selectedLedgerType == this.motorVehicleRelatedTable) ? this.selectedLedgerId : 0,\n companyBankAccountId: (this.selectedLedgerType == this.companyRelatedTable) ? this.selectedLedgerId : 0,\n bankStatementTransactionId : this.transferTransactionId,\n categoryMapping:this.transferTransactionCategory\n }\n apiService.sendPostRequest(\"Finance\",\"TransferTransaction\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.selectedLedgerId = 0;\n this.selectedLedgerType = this.motorVehicleRelatedTable; \n this.transferTransactionId = 0;\n this.showSelectLedgerModal = false;\n this.transactionToTransfer = null; \n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.showVehicleLedgerListForCreateNewTransaction = false;\n this.ledgerRelatedTable = 0;\n this.ledgerRelatedId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true; \n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.transferTransactionCategory = {type:0, category:0}; \n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n )\n }\n\n okayToMatchTransactions(){\n this.showMatchTransferConfirmation = false;\n if(this.selectedLedgerType == this.motorVehicleRelatedTable){\n this.matchTransactionsToVehicleLedgers();\n }else{\n this.matchCompanyLedgerTransactions();\n }\n }\n\n matchCompanyLedgerTransactions(){\n \n var matchedTransactionIdList = this.checkedTransactionsList.map((value,index,array) => {\n return value.id;\n });\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n relatedTable : this.selectedLedgerType,\n relatedId : (this.selectedLedgerType == this.motorVehicleRelatedTable) ? this.selectedLedgerId : 0,\n companyBankAccountId: (this.selectedLedgerType == this.companyRelatedTable) ? this.selectedLedgerId : 0,\n bankStatementTransactionId : this.transferTransactionId,\n matchedTransactions: matchedTransactionIdList\n }\n apiService.sendPostRequest(\"Finance\",\"MatchTransactions\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.selectedLedgerId = 0;\n this.transferTransactionId = 0;\n this.showSelectLedgerModal = false;\n this.transactionToTransfer = null; \n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.showVehicleLedgerListForCreateNewTransaction = false;\n this.ledgerRelatedTable = 0;\n this.ledgerRelatedId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true; \n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n )\n }\n\n onMatchTransactionsToVehicleLedgers(items:any){\n this.selectedVehicleLedgerItems = items;\n this.showMatchTransferConfirmation = true;\n }\n\n matchTransactionsToVehicleLedgers(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n bankStatementTransactionId:this.transferTransactionId,\n matchedTransactions:this.selectedVehicleLedgerItems\n } \n apiService.sendPostRequest(\"Finance\",\"MatchVehicleLedgerTransactions\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.selectedLedgerId = 0;\n this.selectedLedgerType = this.motorVehicleRelatedTable; \n this.transferTransactionId = 0;\n this.showSelectLedgerModal = false;\n this.transactionToTransfer = null; \n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.showVehicleLedgerListForCreateNewTransaction = false;\n this.ledgerRelatedTable = 0;\n this.ledgerRelatedId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true; \n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.transferTransactionCategory = {type:0, category:0}; \n this.selectedVehicleLedgerItems = [];\n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:this.bankInfoId,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n \n onHideTransactionDetailsModal(){\n this.matchedVehicleDetails = [];\n this.matchedAccountDetails = [];\n this.vehicleGridTotalRows = 0;\n this.accountGridTotalRows = 0;\n this.showMatchedTransactionInfoModal = false;\n this.showVehicleDetailsGrid = false;\n this.showAccountDetailsGrid = false;\n }\n\n loadMatchedTransactionDetails(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"MatchedTransactionDetails\",{id:id}).then(response =>{\n this.matchedVehicleDetails = response.data.item1;\n this.matchedAccountDetails = response.data.item2;\n this.vehicleGridTotalRows = 1;\n this.accountGridTotalRows = 1;\n this.showMatchedTransactionInfoModal = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onOkCancelLedger(){\n this.showCancelVehcileLedgerMatchConfirmation = false;\n if(this.showClosePopup){\n this.closeSelectLedger();\n }else{\n this.onCancelLedgerSelectList();\n }\n this.showClosePopup = false;\n }\n \n onClosePopup(){\n if((this.showVehicleLedgerSelectList == true &&\n (this.$refs.vehicleLedgerSelectList as VehicleLedgerSelectList).isPageDirty())){\n this.showCancelVehcileLedgerMatchConfirmation = true;\n this.showClosePopup = true;\n return;\n }\n this.closeSelectLedger();\n }\n\n closeSelectLedger(){\n this.selectedLedgerId = 0;\n this.selectedLedgerType = this.motorVehicleRelatedTable; \n this.showSelectLedgerModal = false;\n this.transactionToTransfer = null;\n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.showVehicleLedgerListForCreateNewTransaction = false;\n this.ledgerRelatedTable = 0;\n this.ledgerRelatedId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true;\n }\n\n onCancelVehicleLedgerSelectList(isDirty:boolean){\n if(isDirty){\n this.showCancelVehcileLedgerMatchConfirmation = true;\n this.showClosePopup = false;\n }\n else{\n this.onCancelLedgerSelectList();\n }\n \n }\n\n onCancelLedgerSelectList(){\n this.selectedLedgerId = 0;\n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.showVehicleLedgerListForCreateNewTransaction = false;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true;\n }\n\n getTransferTransactionDateText(){\n return moment(this.transactionToTransfer.date).format(\"DD MMM YYYY\")\n }\n\n createNewTransaction(){\n if(this.selectedLedgerType == this.companyRelatedTable){\n this.onTransferTransaction();\n } else {\n this.showTransactionTransferModal = true;\n }\n }\n\n matchTransactions(){\n this.showMatchTransferConfirmation = true;\n }\n\n onLedgerTransactionChecked(data:any){\n if(data.isChecked){\n this.checkedTransactionsList.push({id:data.item.id, amount:data.item.amount})\n this.checkedTransactionSum = this.checkedTransactionSum + data.amount;\n }\n else{\n var index = 0;\n for(var i = 0; this.checkedTransactionsList.length; i++){\n if(this.checkedTransactionsList[i].id == data.item.id){\n this.checkedTransactionSum = this.checkedTransactionSum - data.item.amount;\n this.checkedTransactionsList.splice(i,1);\n break\n }\n }\n }\n }\n\n onLedgerTypeChanged()\n {\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.showVehicleLedgerListForCreateNewTransaction = false;\n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.selectedLedgerId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.ledgerRelatedId = 0;\n this.hideLedgerModalFooter = true;\n }\n\n loadSelectLists(){\n lookupService.GetTransactionCategoryTypesList().then(data => {\n this.categoryTypes = data;\n })\n }\n\n cancelTransferTransaction(){\n this.showTransactionTransferModal = false;\n this.transferTransactionCategory = {type:0, category:0};\n }\n\n onTransferTransaction(){\n this.showTransactionTransferConfirmation = true;\n this.showTransactionTransferModal = false;\n }\n\n navigateToLedger(item){\n if(item.type == RelatedTables.Vehicle){\n let routeData = this.$router.resolve({name:'Edit Vehicle', params:{ vehicleID: item.id,topRouteDisplayName:'vehicles', routerDisplayName:'ledger'}});\n window.open(routeData.href, '_blank');\n }\n else if(item.type == RelatedTables.Company){\n let routeData = this.$router.resolve({name:'Company Details', params:{routerDisplayName:'ledger'}});\n window.open(routeData.href, '_blank');\n }\n }\n\n}\n","export enum BankStatementInfoFileStatus\r\n{\r\n Scheduled = 1,\r\n Processed = 2,\r\n Failed = 3\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankReconciliation.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankReconciliation.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankReconciliation.vue?vue&type=template&id=97acbf5a&scoped=true\"\nimport script from \"./BankReconciliation.vue?vue&type=script&lang=ts\"\nexport * from \"./BankReconciliation.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankReconciliation.vue?vue&type=style&index=0&id=97acbf5a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"97acbf5a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelUploadConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelUploadConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelUploadConf_OkButton\"},on:{\"click\":_vm.closeCancelConfirmation}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showUploadPanel)?_c('div',[_c('b-col',{attrs:{\"lg\":\"4\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Date\",\"label-for\":\"bankFileUploadDate\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"id\":'date',\"required\":\"\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},model:{value:(_vm.uploadBankFile.date),callback:function ($$v) {_vm.$set(_vm.uploadBankFile, \"date\", $$v)},expression:\"uploadBankFile.date\"}})],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Bank Account\",\"label-for\":\"bankAccountSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"bankAccountSelect\",\"plain\":true,\"options\":_vm.bankAccounts,\"required\":\"\"},model:{value:(_vm.uploadBankFile.bankAccountId),callback:function ($$v) {_vm.$set(_vm.uploadBankFile, \"bankAccountId\", $$v)},expression:\"uploadBankFile.bankAccountId\"}},[(!_vm.uploadBankFile.bankAccountId || _vm.uploadBankFile.bankAccountId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Type\",\"label-for\":\"documentType\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"documentType\",\"plain\":true,\"options\":_vm.uploadBankFile.documentType,\"required\":\"\"},model:{value:(_vm.selectedDocType),callback:function ($$v) {_vm.selectedDocType=$$v},expression:\"selectedDocType\"}},[(_vm.selectedDocType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),_c('b-row',[_c('b-col',[_c('FileUploader',{ref:\"docUploader\",attrs:{\"label\":\"\",\"modalMode\":false,\"imgUri\":'',\"accept\":_vm.acceptedFileTypes,\"fontSize\":10,\"showErrorMessage\":_vm.duplicateFileExists,\"errorMessage\":\"Bank file with the given name has already been uploaded.\"},on:{\"onFileChanged\":_vm.onDocumentSelected}})],1)],1),_c('b-row',{staticClass:\" pb-3\"},[_c('b-col',[_c('div',[_c('b-button',{staticClass:\"primary mr-1\",attrs:{\"disabled\":_vm.isOkayToDisable},on:{\"click\":_vm.onSaveDocument}},[_vm._v(\" Upload \")]),_c('b-button',{staticClass:\"ml-1\",on:{\"click\":function($event){return _vm.onCancelSave()}}},[_vm._v(\"Cancel\")])],1)])],1)],1)],1):_vm._e(),(!_vm.showUploadPanel)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-2\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"title\":\"Upload new bank file\"},on:{\"click\":_vm.showUploadBankFilePanel}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Upload new bank file\\n \")])],1)],1):_vm._e(),(!_vm.showUploadPanel)?_c('b-col',[_c('b-row',[_c('b-col',[_c('DataTable',{ref:\"bankFilesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No bank files to display.\",\"select-mode\":'single',\"selectable\":true,\"customTemplateSlots\":['currentBalance', 'availableBalance']},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent},scopedSlots:_vm._u([{key:\"currentBalance\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.currentBalance,\"defaultReturnValue\":'-'}})]}},{key:\"availableBalance\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.availableBalance,\"defaultReturnValue\":'-'}})]}}],null,false,4228939913)})],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteBankFileConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteBankFileConf\"},on:{\"ok\":_vm.deleteRecord}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Bank File\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the bank file?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteFileConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteBankFileConfirmationModal=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteFileConf_OkButton\"},on:{\"click\":_vm.deleteRecord}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('span',[_vm._v(_vm._s(_vm.statusText)+\" \"),(_vm.item.status == _vm.failedStatus)?_c('i',{staticClass:\"fas fa-exclamation-circle text-danger\",attrs:{\"aria-hidden\":\"true\",\"title\":_vm.item.failureReason}}):_vm._e()]),(_vm.item.status == _vm.failedStatus)?_c('span',{staticClass:\"ml-2\",attrs:{\"title\":\"Delete Bank File\"},on:{\"click\":function($event){_vm.showDeleteBankFileConfirmationModal = true}}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport moment from 'moment'\nimport {BankStatementInfoFileStatus} from '@/shared/enums/bankStatementInfoFileStatus.enum'\nimport lookupService from '@/shared/services/lookupService';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component(\n {\n components: {\n Modal\n }\n }\n)\nexport default class BankFileStatusText extends Vue{\n @Prop() item:any;\n statusList:any[] = [];\n statusText:string = \"\";\n failedStatus:BankStatementInfoFileStatus = BankStatementInfoFileStatus.Failed;\n showDeleteBankFileConfirmationModal:boolean = false;\n\n mounted(){\n this.getStatus();\n }\n \n getTitle()\n {\n return (this.item.status == this.failedStatus) ? this.item.failureReason:'';\n }\n\n getStatus()\n {\n lookupService.GetBankStatementInfoStatusList().then(result =>{\n this.statusList = result;\n this.statusList.forEach(element => {\n if(element.value == this.item.status){\n this.statusText = element.text;\n }\n });\n });\n }\n\n deleteRecord(){\n this.showDeleteBankFileConfirmationModal = false;\n this.onDeleteRecord(this.item.id, DataTableActionTypes.Delete);\n }\n\n @Emit('customEvent') onDeleteRecord(id:number,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankFileStatusText.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankFileStatusText.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankFileStatusText.vue?vue&type=template&id=ffa0c3be&scoped=true\"\nimport script from \"./BankFileStatusText.vue?vue&type=script&lang=ts\"\nexport * from \"./BankFileStatusText.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankFileStatusText.vue?vue&type=style&index=0&id=ffa0c3be&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ffa0c3be\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport moment from 'moment';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport {BankAccountTypes} from '@/shared/enums/bankAccountTypes.enum';\nimport FileUploader from '@/shared/components/fileUploader/FileUploader.vue';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport {BankFile} from '@/models/bankFile.model';\nimport blobService from '@/shared/services/azureBlobStorageService';\nimport { BlobContainerType } from '@/shared/enums/blobContainerTypes.enum';\nimport {BankStatementInfoFileStatus} from '@/shared/enums/bankStatementInfoFileStatus.enum'\nimport BankFileStatusText from './BankFileStatusText.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\n\n@Component\n(\n {\n components: {\n DataTable,\n FileUploader,\n Modal,\n BankFileStatusText\n }\n }\n)\nexport default class BankFileUpload extends Vue{\n @Prop() isUploadBankFileView:boolean;\n items:any = [];\n dirtyValidatorRefNo:number = 0;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n processedStatus:BankStatementInfoFileStatus = BankStatementInfoFileStatus.Processed;\n fields = [\n {key: 'date', label:'File Date', class:'width_10',sortable:'true',\n formatter: (value, key, item) => {\n return moment(item.date).format(\"ddd, D MMM YY\")\n }\n },\n {key: 'fileName', label:'File Name',sortable:'true',class:'width_10'},\n {key: 'currentBalance',class:'width_10 text-right'},\n {key: 'availableBalance', label: 'Balance', class:'width_10 text-right'},\n {key: 'fileType', label:'Type', sortable:'true',class:'width_10',\n formatter: (value, key, item) => {\n return this.getFileTypeName(item.fileType);\n }\n },\n {key: 'uploadedBy',sortable:'true',class:'width_10'},\n {key: 'uploadedDateTime', label:'Uploaded Date', sortable:'true',class:'width_10',\n formatter: (value, key, item) => {\n return moment(item.uploadedDateTime).format(\"DD MMM YYYY HH:mm:ss\")\n }\n },\n {key: 'status',sortable:'true',class:'width_10'} \n ];\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"date\";\n sortDesc:boolean = true;\n customTemplateList:Array = [\n {slot:\"status\",customTemplate:BankFileStatusText}\n ]\n showEmptyBanner:boolean = false;\n docTypes:any[] = [];\n selectedDocType:number = 0;\n acceptedFileTypes:string = \"\";\n date:any = \"\";\n docChanged:boolean = false;\n selectedFile:any;\n fileName:string = \"\";\n showCancelConfirmation:boolean = false;\n bankAccounts:any[] = [];\n duplicateFileExists:boolean = false;\n selectedBankAccountId:number = 0;\n showUploadPanel:boolean = false;\n fromIndex:number = 0;\n uploadBankFile:BankFile = {\n docChanged : false,\n documentType : [],\n bankAccountId:0,\n date:\"\"\n }\n \n created(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:\"test\",RelatedId:0,Status:0});\n this.getBankAccounts();\n this.loadDocTypes();\n this.loadAcceptedFileTypes();\n if(this.isUploadBankFileView){\n this.showUploadBankFilePanel()\n }\n }\n\n showUploadBankFilePanel(){\n this.getBankAccountsIntoSelectList();\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.uploadBankFile);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.showUploadPanel = true;\n }\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.fromIndex = 0;\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",RelatedId:0,Status:0});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",RelatedId:0,Status:0});\n }\n }\n\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.$nextTick(()=>{\n this.items = [];\n apiService.sendGetRequest(\"Finance\",\"BankStatementInfoList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }) \n }\n\n refreshAndReset(id:number){\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:\"\",RelatedId:0,Status:0});\n }\n\n resetTable(){\n (this.$refs.bankFilesTable as DataTable).reset(true);\n }\n\n onSaveDocument(){\n this.$store.dispatch('storeIsBusyValue',true);\n blobService.getsasAndGuid(BlobContainerType.Private).then(response => {\n var docSas = response.data;\n blobService.uploadFile(docSas,this.selectedFile).then( response =>{\n var docParams = {\n fileName:this.selectedFile.name,\n fileType: this.selectedDocType,\n guid: docSas.blobGuid,\n fileExtension: this.getFileExtension(this.selectedFile.name),\n uri: docSas.blobUri,\n relatedTable:RelatedTables.BankStatementInfo,\n relatedId:0,\n locked:false,\n date:this.uploadBankFile.date,\n bankAccountId:this.uploadBankFile.bankAccountId\n };\n apiService.sendPutRequest('Finance','BankStatementFileInfo',docParams).then( response2 => {\n if(response2.data.isSuccess){\n (this.$refs.docUploader as FileUploader).resetUploder();\n this.uploadBankFile.docChanged = false;\n this.selectedFile = null;\n this.selectedDocType = this.uploadBankFile.documentType[0].value;\n this.uploadBankFile.bankAccountId = 0;\n this.uploadBankFile.date = \"\";\n this.showUploadPanel = false;\n this.$notify({\n group: 'growlNotification',\n title: response2.data.message,\n type: 'success',\n duration: 5000\n });\n this.items = [];\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",RelatedId:0,Status:0});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response2.data.message,\n type: 'success',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }) \n })\n }\n\n onCancelSave(){\n if(this.uploadBankFile.docChanged || this.selectedDocType != this.uploadBankFile.documentType[0].value || (fieldValidations.isValidDate(this.uploadBankFile.date))){\n this.showCancelConfirmation = true;\n }\n else{\n this.selectedFile = null;\n this.uploadBankFile.docChanged = false;\n this.selectedDocType = this.uploadBankFile.documentType[0].value;\n this.showCancelConfirmation = false;\n this.fileName = \"\";\n this.uploadBankFile.date = \"\";\n (this.$refs.docUploader as FileUploader).resetUploder();\n this.showUploadPanel = false;\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n }\n }\n\n closeCancelConfirmation(){\n this.uploadBankFile.docChanged = false;\n this.selectedDocType = this.uploadBankFile.documentType[0].value;\n this.showCancelConfirmation = false;\n this.uploadBankFile.date = \"\";\n this.fileName = \"\";\n this.duplicateFileExists = false;\n (this.$refs.docUploader as FileUploader).resetUploder();\n this.showUploadPanel = false;\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n }\n\n onDocumentSelected(file){\n if(file != null){\n this.selectedFile = file;\n this.fileName = this.selectedFile.name;\n this.uploadBankFile.docChanged = true;\n this.checkForDuplicate();\n }\n else{\n this.uploadBankFile.docChanged = false;\n this.selectedFile = file;\n this.duplicateFileExists = false;\n }\n }\n\n getFileExtension(fileName:string){\n var wordList = fileName.split(\".\");\n return wordList[wordList.length-1];\n }\n\n getBankAccountsIntoSelectList(){\n if(this.bankAccounts.length == 1){\n this.uploadBankFile.bankAccountId = this.bankAccounts[0].value;\n }\n }\n\n getBankAccounts(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"BankAccount\",\"BankAccountsSelectList\",{relatedTable:RelatedTables.Company, relatedId:0}).then(response =>{\n this.bankAccounts = response.data.filter(obj => obj.disabled == false && obj.type == BankAccountTypes.LeaseTransactions);\n if(this.bankAccounts.length == 1){\n this.uploadBankFile.bankAccountId = this.bankAccounts[0].value;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n loadDocTypes()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {relatedTable:RelatedTables.BankStatementInfo};\n apiService.sendGetRequest('Utility','DocTypes',params).then( response=>{\n this.uploadBankFile.documentType = response.data; \n this.selectedDocType = this.uploadBankFile.documentType[0].value; \n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadAcceptedFileTypes()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Utility','AllowedBankFileTypes',{}).then( response=>{\n this.acceptedFileTypes = response.data; \n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n \n checkForDuplicate()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {fileName: this.fileName};\n apiService.sendGetRequest('Finance','DuplicateBankStatementFile',params).then( response=>{\n this.duplicateFileExists = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n getFileTypeName(id:number)\n {\n var name = \"\";\n this.uploadBankFile.documentType.forEach(element => {\n if(element.value == id){\n name = element.text;\n }\n });\n return name;\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.Delete){\n this.deleteBankFile(data);\n }\n else if(data.status == this.processedStatus && type == DataTableActionTypes.RowSelect){ \n this.$router.push({ name: 'Bank Rec and Upload Bank File', params: {routerDisplayName: 'bankReconciliation'}, query: { bankInfoId: data.id}});\n }\n else\n { \n (this.$refs.bankFilesTable as DataTable).setLastCustomAction(type);\n (this.$refs.bankFilesTable as DataTable).resetLastCustomAction();\n }\n }\n\n deleteBankFile(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"Finance\",\"BankFile\",{id:id}).then(response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",RelatedId:0,Status:0});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n get isOkayToDisable(){\n return (!this.uploadBankFile.docChanged) || (this.uploadBankFile.documentType <= 0) || (!fieldValidations.isValidDate(this.uploadBankFile.date) || this.duplicateFileExists);\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankFileUpload.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankFileUpload.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankFileUpload.vue?vue&type=template&id=3cc5dcf2\"\nimport script from \"./BankFileUpload.vue?vue&type=script&lang=ts\"\nexport * from \"./BankFileUpload.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankFileUpload.vue?vue&type=style&index=0&id=3cc5dcf2&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',[_c('b-col',[_c('DataTable',{ref:\"historicalBankBalancesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No historical bank balances to display.\",\"select-mode\":'single',\"selectable\":false,\"customTemplateSlots\":['ledgerBalance', 'fundsHold', 'availableBalance']},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange},scopedSlots:_vm._u([{key:\"ledgerBalance\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.ledgerBalance,\"defaultReturnValue\":'-'}})]}},{key:\"fundsHold\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.fundsHold,\"defaultReturnValue\":'-'}})]}},{key:\"availableBalance\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.availableBalance,\"defaultReturnValue\":'-'}})]}}])})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\n\n@Component\n(\n {\n components: {\n DataTable\n }\n }\n)\nexport default class BankBalances extends Vue{\n items:any = [];\n fields = [\n {key: 'date', label:'Date', class:'width_10',sortable:'true',\n formatter: (value, key, item) => {\n return item.dateDisplayText\n }\n },\n {key: 'accountNumber', label:'Account Number',sortable:'true',class:'width_10'},\n {key: 'ledgerBalance',class:'width_10 text-right'},\n {key: 'fundsHold', label:'Funds Hold',class:'width_10 text-right'},\n {key: 'availableBalance', label: 'Balance', class:'width_10 text-right'} \n ];\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"date\";\n sortDesc:boolean = true;\n showEmptyBanner:boolean = false;\n fromIndex:number = 0;\n \n created(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:\"\",RelatedId:0,Status:0});\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.fromIndex = 0;\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",RelatedId:0,Status:0});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",RelatedId:0,Status:0});\n }\n }\n\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.$nextTick(()=>{\n this.items = [];\n apiService.sendGetRequest(\"Finance\",\"BankBalances\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }) \n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankBalances.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankBalances.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankBalances.vue?vue&type=template&id=3173a752\"\nimport script from \"./BankBalances.vue?vue&type=script&lang=ts\"\nexport * from \"./BankBalances.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showSelectLedgerModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectLedgerModalId\",\"maxWidth\":\"90%\",\"maxHeight\":\"100%\",\"hideFooter\":_vm.hideLedgerModalFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Ledger\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectLedgerCancelBtn\"},on:{\"click\":_vm.onClosePopup}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"ledger-select-modal-body\"},[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search pl-0 pb-2\",attrs:{\"sm\":\"12\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput ledger-filter selectListHeight\",attrs:{\"id\":\"ledgerTypeSelectList\",\"plain\":true,\"options\":_vm.ledgerTypesList,\"required\":\"\"},on:{\"change\":_vm.onLedgerTypeChanged},model:{value:(_vm.selectedLedgerType),callback:function ($$v) {_vm.selectedLedgerType=$$v},expression:\"selectedLedgerType\"}},[(_vm.selectedLedgerType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"selected\":\"\",\"disabled\":\"\"},domProps:{\"value\":0}},[_vm._v(\" -- Please select a ledger type --\")])]):_vm._e()],2)],1),_c('b-col',{staticClass:\"pb-2 pl-0 pr-0\"},[_c('b-row',[_c('b-col',{staticClass:\"float-right\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"pl-1 total-text text-nowrap float-right\"},[_c('b',[_vm._v(\"Amount : \")]),_c('ApexCurrency',{attrs:{\"value\":_vm.transactionToTransfer.amount}}),_vm._v(_vm._s(_vm.getTransactionDirectionText))],1),_c('span',{staticClass:\"pl-1 total-text text-nowrap float-right\"},[_c('b',[_vm._v(\"Reference : \")]),_vm._v(_vm._s(_vm.transactionToTransfer.reference))]),_c('span',{staticClass:\"pl-1 total-text text-nowrap float-right\"},[_c('b',[_vm._v(\"Date : \")]),_vm._v(_vm._s(_vm.getTransferTransactionDateText()))])])],1)],1)],1),_c('b-card',[(_vm.selectedLedgerType == 0)?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n No ledger type is selected.\\n \")])])],2):_vm._e(),(_vm.showLedgerWithCheckBox)?_c('LedgerSelectList',{attrs:{\"relatedTable\":_vm.ledgerRelatedTable,\"relatedID\":_vm.ledgerRelatedId,\"companyAccountId\":_vm.selectedCompanyBankAccountId,\"transactionDirection\":_vm.transactionToTransfer.transactionDirection},on:{\"itemChecked\":_vm.onLedgerTransactionChecked}}):(_vm.showVehicleLedgerSelectList)?_c('VehicleLedgerSelectList',{ref:\"vehicleLedgerSelectList\",attrs:{\"vehicleIdList\":_vm.selectedVehicleLedgerIdList,\"isCreateOnly\":_vm.isCreateOnly,\"bankStatementTransaction\":_vm.transactionToTransfer,\"isAllItemsChecked\":_vm.isAllItemsChecked,\"filterString\":_vm.selectedFilterString,\"selectedFuelCardBrand\":_vm.selectedFuelBrand,\"defaultCategory\":_vm.newTransactionSelectedCategory,\"defaultDescription\":_vm.newTransactionDescription,\"defaultGSTInclusive\":_vm.newTransactionGSTInclusive},on:{\"onAllocateLedger\":_vm.onMatchTransactionsToVehicleLedgers,\"onCancelLedger\":_vm.onCancelVehicleLedgerSelectList}}):_c('div',[(_vm.selectedLedgerType == _vm.motorVehicleRelatedTable)?_c('MotorVehicleAndClientDetailsList',{attrs:{\"relatedTable\":_vm.bankStatementTransactionRelatedTable,\"relatedID\":_vm.transferTransactionId},on:{\"onAllocateLedgerSelectedForCreateAndMatch\":_vm.onAllocateLedgerCreateAndMatch}}):_vm._e(),(_vm.selectedLedgerType == _vm.companyRelatedTable)?_c('BankAccounts',{attrs:{\"relatedID\":_vm.companyId,\"filterBankAccountType\":\"0\",\"relatedTable\":_vm.companyRelatedTable,\"modalMode\":true},on:{\"onSelectBankAccount\":_vm.onCompanyBankAccountSelected}}):_vm._e()],1)],1)],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"MatchTransaction_CancelButton\"},on:{\"click\":_vm.onCancelLedgerSelectList}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right ml-2 primary\",attrs:{\"size\":\"md\",\"id\":\"MatchTransaction_CreateNewTranasctionButton\"},on:{\"click\":_vm.createNewTransaction}},[_vm._v(\"\\n Create New Transaction\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":_vm.transactionToTransfer.amount != _vm.checkedTransactionSum,\"id\":\"MatchTransaction_MatchTransactionsButton\"},on:{\"click\":_vm.matchTransactions}},[_vm._v(\"\\n Match Transactions\\n \")])],1)]):_vm._e(),(_vm.showCreateNewTransactionDefaultInputsModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"createNewTransactionInputConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Create New Trasactions For Selected Ledger(s)\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Category\",\"label-for\":\"categorySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField' : (_vm.newTransactionSelectedCategory == 0) },attrs:{\"id\":\"categorySelect\",\"plain\":true,\"options\":_vm.categories,\"required\":\"\"},on:{\"change\":_vm.onNewTransactionCategoryChanged},model:{value:(_vm.newTransactionSelectedCategory),callback:function ($$v) {_vm.newTransactionSelectedCategory=$$v},expression:\"newTransactionSelectedCategory\"}},[((_vm.newTransactionSelectedCategory.category == 0))?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":{type:0, category:0}}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.newTransactionDescription.$error },attrs:{\"label\":\"Description\",\"label-for\":\"description\"}},[_c('b-form-input',{staticClass:\"textInput indentedTextInput\",class:{ 'requiredField': (_vm.newTransactionDescription == 0) },attrs:{\"id\":\"description\",\"type\":\"text\",\"required\":\"\",\"placeholder\":\"Enter Description\"},on:{\"input\":function($event){return _vm.$v.newTransactionDescription.$touch()}},model:{value:(_vm.newTransactionDescription),callback:function ($$v) {_vm.newTransactionDescription=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"newTransactionDescription\"}}),(_vm.$v.newTransactionDescription.$dirty && !_vm.$v.newTransactionDescription.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Description is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"gstInclusiveCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":\"gstInclusiveCheckbox\"},model:{value:(_vm.newTransactionGSTInclusive),callback:function ($$v) {_vm.newTransactionGSTInclusive=$$v},expression:\"newTransactionGSTInclusive\"}},[_c('span',[_vm._v(\" GST Inclusive \")])])],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"createNewTransactionInputConf_CancelButton\"},on:{\"click\":_vm.onCancelCreateNewTransactionInputModal}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":(_vm.$v.newTransactionDescription.$invalid) || !_vm.isCategorySelected,\"id\":\"createNewTransactionInputConf_OkButton\"},on:{\"click\":_vm.onOkayCreateNewTransactionInputModal}},[_vm._v(\"\\n Continue\\n \")])],1)]):_vm._e(),(_vm.showTransactionTransferConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"transferTransactionConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Transfer Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to manually transfer credit/debit amount to selected ledger?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransactionConf_CancelButton\"},on:{\"click\":_vm.cancelTransferTransactionConfirmation}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"transferTransactionConf_OkButton\"},on:{\"click\":_vm.onConfirmTransferTransaction}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showBasRefundPaymentConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"basRefundPaymentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Transfer Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Is that a BAS Refund/Payment ?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransactionConf_CancelButton\"},on:{\"click\":_vm.okayToTransferTransaction}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"transferTransactionConf_OkButton\"},on:{\"click\":_vm.okayToBasRefundPaymentTransaction}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showTransactionTransferModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"transferTransactionModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Transfer Transaction\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',[_c('b-container',[_c('b-row',[_c('b-col',[_c('b-form',[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Category\",\"label-for\":\"categorySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (!_vm.transferTransactionCategory || _vm.transferTransactionCategory.category == 0)},attrs:{\"id\":\"categorySelect\",\"plain\":true,\"options\":_vm.categories,\"required\":\"\"},model:{value:(_vm.transferTransactionCategory),callback:function ($$v) {_vm.transferTransactionCategory=$$v},expression:\"transferTransactionCategory\"}},[(_vm.transferTransactionCategory || _vm.transferTransactionCategory.category == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":{type:0, category:0}}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1)],1)],1)],1)],1)],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransaction_CancelButton\"},on:{\"click\":_vm.cancelTransferTransaction}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":!_vm.transferTransactionCategory || _vm.transferTransactionCategory.category == 0,\"id\":\"transferTransaction_OkButton\"},on:{\"click\":_vm.onTransferTransaction}},[_vm._v(\"\\n Transfer\\n \")])],1)]):_vm._e(),(_vm.showCancelVehcileLedgerMatchConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelLedgerMatchConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n \"+_vm._s(!_vm.isCreateOnly ? \"Are you sure you want to cancel the selected/added transactions?\" : \"Are you sure you want to cancel the added transactions?\")+\" \\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelLedgerMatchConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelVehcileLedgerMatchConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelLedgerMatchConf_OkButton\"},on:{\"click\":_vm.onOkCancelLedger}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showMatchTransferConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"matchTransactionConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \\n \"+_vm._s(!_vm.isCreateOnly ? \"Match Transaction(s) Confirmation\" : \"Create Transaction(s) Confirmation\")+\" \\n \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n \"+_vm._s(!_vm.isCreateOnly ? \"Are you sure you want to match with the selected transaction(s)?\" : \"Are you sure you want to create the transaction(s)?\")+\" \\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransactionConf_CancelButton\"},on:{\"click\":function($event){_vm.showMatchTransferConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"transferTransactionConf_OkButton\"},on:{\"click\":_vm.okayToMatchTransactions}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showMatchedTransactionInfoModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"matchedTransactionInfo\",\"hideFooter\":_vm.hideFooter,\"maxWidth\":\"1000px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Transaction Details\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectLedgerCancelBtn\"},on:{\"click\":_vm.onHideTransactionDetailsModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.matchedVehicleDetails && _vm.matchedVehicleDetails.length > 0)?_c('GroupedDataTable',{ref:\"matchedVehicleDetailsTbl\",attrs:{\"items\":_vm.matchedVehicleDetails,\"fields\":_vm.vehicleFields,\"frontHeaderActionSlots\":_vm.frontHeaderActionSlots,\"customTemplates\":_vm.transactionDetailsCustomTemplates},scopedSlots:_vm._u([{key:\"actions\",fn:function(slotProps){return [(slotProps.data.relatedEntityId != null)?_c('div',[_c('span',{staticClass:\"ml-2 cursor-pointer\",attrs:{\"title\":\"View Ledger\"},on:{\"click\":function($event){return _vm.navigateToLedger(slotProps.data)}}},[_c('i',{staticClass:\"fas fa-dollar-sign go-to-ledger-button\",attrs:{\"aria-hidden\":\"true\"}})])]):_vm._e()]}},{key:\"amountText\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.data.amount}})]}}],null,false,251265481)}):_vm._e(),(_vm.matchedAccountDetails && _vm.matchedAccountDetails.length > 0)?_c('DataTable',{ref:\"matchedAccountDetailsTbl\",attrs:{\"items\":_vm.matchedAccountDetails,\"fields\":_vm.accountFields,\"totalRows\":_vm.accountGridTotalRows,\"perPage\":_vm.perPage,\"customTemplates\":_vm.transactionDetailsCustomTemplates}}):_vm._e()],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"transferTransactionConf_CancelButton\"},on:{\"click\":_vm.cancelTransferTransactionConfirmation}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"transferTransactionConf_OkButton\"},on:{\"click\":_vm.okayToTransferTransaction}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showSyncWithBankModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"syncWithBankModal\",\"minHeight\":\"450px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Sync with Bank\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',[_c('b-form',[_c('b-form-group',{attrs:{\"label\":\"From\",\"label-for\":\"fromDate\"}},[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.syncWithBankInfo.toDate],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From Date',\"disabledDates\":_vm.syncWithBankInfo.disabledFromDates},on:{\"input\":_vm.syncWithBankDateChanged},model:{value:(_vm.syncWithBankInfo.fromDate),callback:function ($$v) {_vm.$set(_vm.syncWithBankInfo, \"fromDate\", $$v)},expression:\"syncWithBankInfo.fromDate\"}})],1),_c('b-form-group',{attrs:{\"label\":\"To\",\"label-for\":\"toDate\"}},[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDate],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To Date',\"disabledDates\":_vm.syncWithBankInfo.disabledToDates},on:{\"input\":_vm.syncWithBankDateChanged},model:{value:(_vm.syncWithBankInfo.toDate),callback:function ($$v) {_vm.$set(_vm.syncWithBankInfo, \"toDate\", $$v)},expression:\"syncWithBankInfo.toDate\"}})],1)],1),(_vm.bankSyncDaysInvalid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid days: The difference between From Date and To Date should not be greater than 2 days.\\n \")]):_vm._e()],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"syncWithBank_CancelButton\"},on:{\"click\":function($event){_vm.showSyncWithBankModal = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":_vm.bankSyncDaysInvalid,\"id\":\"syncWithBank_SyncButton\"},on:{\"click\":_vm.onClickSync}},[_vm._v(\"\\n Sync\\n \")])],1)]):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"commonFilterRef\",staticClass:\"responsive-search\",attrs:{\"idAppend\":'reference',\"placeHolder\":\"Description or Reference\"},on:{\"onOkayToFilter\":_vm.filterGridByRefAndDescription}})],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"amountFilterRef\",staticClass:\"responsive-search\",attrs:{\"minCharCountToFilter\":\"0\",\"idAppend\":'amount',\"placeHolder\":\"Amount\",\"iconClass\":\"fas fa-dollar-sign\"},on:{\"onOkayToFilter\":_vm.filterGridByAmount}})],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 select-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"1\",\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput status-filter selectListHeight\",attrs:{\"id\":\"transactionStatus\",\"plain\":true,\"options\":_vm.transactionStatusList,\"required\":\"\"},on:{\"input\":_vm.onStatusChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.selectedStatus),callback:function ($$v) {_vm.selectedStatus=$$v},expression:\"selectedStatus\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All\")])])],2)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"title\":\"Sync bank balances and transactions.\"},on:{\"click\":_vm.onClickSyncWithBank}},[_vm._v(\"\\n Sync with Bank\\n \")])],1)],1),_c('DataTable',{ref:\"transactionsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"customHeaderTemplates\":_vm.customHeaderTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"responsiveBreakPoint\":\"md\",\"emptyBanner\":\"No bank transactions to display.\",\"customTemplateSlots\":['credit', 'debit']},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent},scopedSlots:_vm._u([{key:\"credit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getCreditValue(slotProps.item.transactionDirection, slotProps.item.amount),\"defaultReturnValue\":'-'}})]}},{key:\"debit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getDebitValue(slotProps.item.transactionDirection, slotProps.item.amount),\"defaultReturnValue\":'-'}})]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showUnmatchTransactionConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"UnmatchTransactionConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unmatch Transaction\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to unmatch the transaction?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"UnmatchTransactionConf_CancelButton\"},on:{\"click\":function($event){_vm.showUnmatchTransactionConfirmation=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"UnmatchTransactionConf_OkButton\"},on:{\"click\":_vm.unmatchTransaction}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-row',{staticClass:\"d-flex float-right mr-1\"},[(_vm.item.bankTransactionStatus == _vm.unpostedStatus)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Reconcile\"},on:{\"click\":_vm.transferTransaction}},[_c('i',{staticClass:\"fas fa-arrow-right transfer-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.bankTransactionStatus == _vm.postedStatus)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"View matched transaction\"},on:{\"click\":_vm.viewMatchedTransaction}},[_c('i',{staticClass:\"fas fa-eye transfer-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.bankTransactionStatus == _vm.postedStatus)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Unmatch Transaction\"},on:{\"click\":function($event){_vm.showUnmatchTransactionConfirmation = true}}},[_c('i',{staticClass:\"fas fa-undo unmatch-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),_c('Notes',{staticClass:\"ml-2\",attrs:{\"relatedTable\":_vm.bankTransactionRelatedTable,\"relatedID\":_vm.item.id,\"isReadOnly\":false,\"modalTitle\":\"Bank Transactions Record Notes\",\"buttonType\":_vm.gridButtonType,\"useStore\":false,\"colorToIndicateAvailability\":true,\"externalNotesCount\":_vm.item.notesCount}}),_c('DocumentUploader',{staticClass:\"ml-2\",attrs:{\"relatedTable\":_vm.bankTransactionRelatedTable,\"relatedID\":_vm.item.id,\"addToolTip\":\"Add Documents\",\"modalTitle\":\"Bank Transactions Record Documents\",\"buttonType\":_vm.gridButtonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'.pdf,image/*',\"colorToIndicateAvailability\":true,\"externalDocumentCount\":_vm.item.documentsCount}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport {BankStatementTransactionStatus} from '@/shared/enums/bankStatementTransactionStatus.enum';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\n\n@Component(\n {\n components: {\n Modal,\n Notes,\n DocumentUploader\n } \n }\n)\nexport default class BankTransactionActionButtons extends Vue{\n @Prop() item:any\n showUnmatchTransactionConfirmation = false;\n unpostedStatus:BankStatementTransactionStatus = BankStatementTransactionStatus.Unposted;\n postedStatus:BankStatementTransactionStatus = BankStatementTransactionStatus.Posted;\n gridButtonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.GridButton;\n bankTransactionRelatedTable:RelatedTables = RelatedTables.BankTransaction;\n\n unmatchTransaction(){\n this.showUnmatchTransactionConfirmation = false;\n this.onCustomEvent(this.item.id,DataTableActionTypes.Unmatch); \n }\n\n transferTransaction(){\n this.onCustomEvent(this.item,DataTableActionTypes.Transfer); \n }\n\n viewMatchedTransaction(){\n this.onCustomEvent(this.item.id,DataTableActionTypes.View)\n }\n\n @Emit('customEvent') onCustomEvent(data:any,type:DataTableActionTypes){\n }\n \n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankTransactionActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankTransactionActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankTransactionActionButtons.vue?vue&type=template&id=0e514fb2&scoped=true\"\nimport script from \"./BankTransactionActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./BankTransactionActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankTransactionActionButtons.vue?vue&type=style&index=0&id=0e514fb2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0e514fb2\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableTemplate, TableHeaderTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport moment from 'moment'\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport {TransactionTableFilterParams} from '@/models/tableFilterParams.model';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport {TransactionDirection, TransactionCategoryTypes} from '@/shared/enums/transaction.enum'\nimport BankTransactionActionButtons from './BankTransactionActionButtons.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport MotorVehicleAndClientDetailsList from '@/components/admin/motorVehicleManagement/MotorVehicleAndClientDetailsList.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport lookupService from '../../../shared/services/lookupService';\nimport BankAccounts from '@/components/admin/bankAccount/BankAccounts.vue'\nimport {BankStatementTransactionStatus} from '@/shared/enums/bankStatementTransactionStatus.enum';\nimport NavigateToLedgerActionButton from './NavigateToLedgerActionButton.vue';\nimport ReferenceCustomHeader from '@/shared/components/customTableHeaders/ReferenceCustomHeader.vue';\nimport LedgerSelectList from '../finance/LedgerSelectList.vue';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport VehicleLedgerSelectList from '@/components/admin/finance/VehicleLedgerSelectList.vue';\nimport GroupedDataTable from '@/shared/components/dataTable/GroupedDataTable.vue';\nimport { OtherCategories } from '@/shared/enums/otherCategoryTypes.enum';\nimport { required } from 'vuelidate/lib/validators'\nimport { validationMixin } from 'vuelidate';\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n@Component\n(\n { \n mixins:[validationMixin],\n components: {\n DataTable,\n GroupedDataTable,\n FilterTextInput,\n MotorVehicleAndClientDetailsList,\n VehicleLedgerSelectList,\n Modal,\n BankAccounts,\n LedgerSelectList\n },\n validations:{\n newTransactionDescription:{\n required\n },\n newTransactionSelectedCategory:{\n required\n }\n }\n }\n)\nexport default class BankTransactions extends Vue{\n items:any = [];\n fields = [\n {key: 'date',class:'width_8',sortable:'true',\n formatter: (value, key, item) => {\n return item.displayDate;\n }\n },\n {key: 'reference',sortable:'true',class:'width_11'},\n {key: 'credit',class:'width_8 text-right'},\n {key: 'debit',class:'width_8 text-right'} \n ];\n dirtyValidationRefNo:number = 0;\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"date\";\n commonFilter:string = \"\";\n amountFilter:string = \"\";\n sortDesc:boolean = true;\n fromIndex:number = 0;\n customTemplateList:Array = []\n customHeaderTemplateList:Array = [{slot:\"reference\",customTemplate:ReferenceCustomHeader,data:{title:\"Reference on bank statement.\"}}];\n showEmptyBanner:boolean = false;\n fromDate:any = null;\n toDate:any = null;\n disabledFromDates:any ={};\n disabledToDates:any ={};\n transactionStatusList = [{text:'Posted',value:1},{text:'Unposted',value:2}]\n selectedStatus:number = 2;\n ledgerTypesList = [{text:'Motor Vehicle',value:RelatedTables.Vehicle},{text:'Company Bank Account',value:RelatedTables.Company}] \n selectedLedgerId:number = 0;\n selectedVehicleLedgerIdList:any = [];\n selectedVehicleLedgerItemList:any = [];\n actionCol:any = {key: 'actions',label:\"\",class:'text-right width_7'};\n actionColTemplate = {slot:\"actions\", customTemplate:BankTransactionActionButtons};\n hideFooter:boolean = true;\n showSelectLedgerModal:boolean = false;\n companyId:number = 0;\n companyRelatedTable:RelatedTables = RelatedTables.Company;\n motorVehicleRelatedTable:RelatedTables = RelatedTables.Vehicle;\n selectedLedgerType:number = this.motorVehicleRelatedTable;\n showTransactionTransferConfirmation:boolean = false;\n unpostedStatus:BankStatementTransactionStatus = BankStatementTransactionStatus.Unposted;\n postedStatus:BankStatementTransactionStatus = BankStatementTransactionStatus.Posted;\n transferTransactionId:number = 0;\n matchedVehicleDetails:any = [];\n matchedAccountDetails:any = [];\n vehicleFields = [\n {key: 'reference',label:'Reference',class:'width_35'},\n {key: 'description',label:'Description'},\n {key: 'amountText',label:'Amount',class:'width_10 text-right'},\n {key: 'actions',label:\"\",class:'text-center width_5'} \n ];\n accountFields = [\n {key: 'accountName', class:'width_30'},\n {key: 'companyName',class:'width_25'},\n {key: 'reference',class:'width_30'},\n {key: 'amount',class:'width_10 text-right'},\n {key: 'actions',label:\"\",class:'text-right width_5'} \n ];\n vehicleGridTotalRows:number = 0;\n accountGridTotalRows:number = 0;\n showMatchedTransactionInfoModal:boolean = false;\n showVehicleDetailsGrid:boolean = false;\n showAccountDetailsGrid:boolean = false;\n transactionDetailsCustomTemplates:Array = [{slot:\"actions\",customTemplate:NavigateToLedgerActionButton},\n {slot:\"amount\",customTemplate:ApexCurrency}]\n transactionToTransfer:any = null;\n ledgerRelatedTable:number = 0;\n ledgerRelatedId:number = 0;\n selectedCompanyBankAccountId:number = 0;\n showLedgerWithCheckBox:boolean = false;\n showVehicleLedgerSelectList:boolean = false;\n showBasRefundPaymentConfirmation:boolean = false;\n checkedTransactionsList:any[] = [];\n checkedTransactionSum:number = 0;\n showMatchTransferConfirmation:boolean = false;\n hideLedgerModalFooter:boolean = true;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n categories:any[] = [];\n categoryTypes:any[] = [];\n showTransactionTransferModal:boolean = false;\n transferTransactionCategory:any = {type:0, category:0};\n frontHeaderActionSlots:any[] = [\"\"];\n showCancelVehcileLedgerMatchConfirmation:boolean = false;\n selectedVehicleLedgerItems:any[] = [];\n showClosePopup:boolean = false;\n bankStatementTransactionRelatedTable:RelatedTables = RelatedTables.BankTransaction;\n showCreateNewTransactionDefaultInputsModal:boolean = false;\n newTransactionSelectedCategory:any = {type:0, category:0};\n newTransactionDescription:string = \"\";\n newTransactionGSTInclusive:boolean = true;\n resetButtonDisabled:boolean = true;\n showSyncWithBankModal:boolean = false;\n syncWithBankInfo = {\n fromDate:null,\n toDate:null,\n disabledFromDates:{},\n disabledToDates:{}\n }\n bankSyncDaysInvalid: boolean = false;\n isCategorySelected: boolean = false;\n isAllItemsChecked:boolean = false;\n selectedFuelBrand:number = 0;\n selectedFilterString:any = \"\";\n isCreateOnly:boolean;\n\n created(){\n lookupService.GetCompanyId().then(res => {\n this.companyId = res;\n })\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:this.fromDate,ToDate:this.toDate});\n this.loadSelectLists();\n lookupService.GetExpenseAndOtherCategoriesList().then(data => {\n this.categories = data;\n });\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo);\n }\n\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.fromIndex = fromIndex;\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n }\n\n refreshGrid(tableFilterParams:TransactionTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n if(this.sortBy == \"bsbNumber\"){\n tableFilterParams.SortBy = \"BSBNumber\";\n }\n apiService.sendGetRequest(\"Finance\",\"BankTransactions\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n // action column is disabled until the related actions are fully implemented.\n this.manageActionColumn();\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n refreshAndReset(id:number){\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:this.fromDate,ToDate:this.toDate});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n\n filterGridByRefAndDescription(filterString:string){\n this.resetTable();\n this.commonFilter = filterString;\n this.resetButtonDisabled = false;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n filterGridByAmount(filterString:string){\n this.resetTable();\n this.amountFilter = filterString;\n this.resetButtonDisabled = false;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n resetTable(){\n (this.$refs.transactionsTable as DataTable).reset(true);\n }\n\n getCreditValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Credit ? amount : null;\n }\n\n getDebitValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Debit ? amount : null;\n }\n\n get getTransactionDirectionText(){\n return (this.transactionToTransfer.transactionDirection == TransactionDirection.Credit)?'(CR)':'(DR)';\n }\n\n dateChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.resetButtonDisabled = false; \n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n fromDateChanged(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n this.dateChanged();\n }\n\n toDateChanged(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n this.dateChanged();\n }\n\n onStatusChanged(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n\n onChangeResetButton()\n {\n this.resetTable();\n this.resetButtonDisabled = false;\n }\n\n resetFilters(){\n this.commonFilter = \"\";\n this.amountFilter = \"\";\n this.fromDate = null\n this.toDate = null;\n this.selectedStatus = 2;\n this.fromIndex = 0;\n this.disabledFromDates = {};\n this.disabledToDates = {};\n this.resetButtonDisabled = true;\n (this.$refs.commonFilterRef as FilterTextInput).resetFilterString();\n (this.$refs.amountFilterRef as FilterTextInput).resetFilterString();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:null,ToDate:null});\n }\n\n manageActionColumn(){\n var hideActionColumn = true;\n var actionColIndex = this.getColIndex(\"actions\")\n for(var i = 0; i < this.items.length; i++){\n if((this.items[i].bankTransactionStatus == this.unpostedStatus) || (this.items[i].bankTransactionStatus == this.postedStatus)){\n if(actionColIndex == -1){\n this.fields.push(this.actionCol);\n this.customTemplateList.push(this.actionColTemplate);\n }\n hideActionColumn = false;\n break;\n }\n }\n if(hideActionColumn && actionColIndex > -1){\n this.fields.splice(actionColIndex,1);\n this.customTemplateList.pop();\n }\n }\n\n getColIndex(key:string){\n for(var i = 0; i < this.fields.length; i++){\n if(this.fields[i].key == key){\n return i;\n }\n }\n return -1;\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.Unmatch){\n this.onUnmatchTransaction(data);\n }\n\n if(type == DataTableActionTypes.Transfer){\n this.transferTransactionId = data.id;\n this.transactionToTransfer = data;\n this.showSelectLedgerModal = true;\n }\n\n if(type == DataTableActionTypes.View){\n this.loadMatchedTransactionDetails(data)\n }\n }\n\n onUnmatchTransaction(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequestWithQueryParams(\"Finance\",\"UnmatchBankTransaction\",{id:id}).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n )\n }\n\n onCompanyBankAccountSelected(id:number){\n this.selectedLedgerId = id;\n this.ledgerRelatedId = this.companyId;\n this.ledgerRelatedTable = RelatedTables.Company;\n this.selectedCompanyBankAccountId = id;\n this.showLedgerWithCheckBox = true;\n this.hideLedgerModalFooter = false;\n }\n\n onAllocateLedgerCreateAndMatch(vehicleIdList:any, isAllItemsChecked:boolean, fuelCardBrand:number, filter:string, showFuelCardBrands:boolean, isCreateOnly:boolean)\n { \n this.isCreateOnly = isCreateOnly;\n this.selectedVehicleLedgerIdList = vehicleIdList;\n this.selectedFilterString = isAllItemsChecked ? filter : \"\";\n this.selectedFuelBrand = isAllItemsChecked ? fuelCardBrand : 0;\n this.isAllItemsChecked = isAllItemsChecked;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = !isCreateOnly;\n this.hideLedgerModalFooter = true;\n if(showFuelCardBrands){\n this.newTransactionSelectedCategory = {type:1, category:1};\n this.isCategorySelected = true;\n }else{\n this.newTransactionSelectedCategory = {type:0, category:0};\n }\n this.newTransactionDescription = \"\";\n this.newTransactionGSTInclusive = true;\n this.$v.newTransactionDescription.$reset();\n this.showCreateNewTransactionDefaultInputsModal = isCreateOnly ? true : false;\n }\n\n onOkayCreateNewTransactionInputModal(){\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = true;\n this.hideLedgerModalFooter = true;\n this.showCreateNewTransactionDefaultInputsModal = false;\n this.isCategorySelected = false;\n }\n\n onCancelCreateNewTransactionInputModal(){\n this.isCategorySelected = false;\n this.showCreateNewTransactionDefaultInputsModal = false;\n\n }\n\n cancelTransferTransactionConfirmation(){\n this.showTransactionTransferConfirmation = false;\n this.transferTransactionCategory = {type:0, category:0};\n }\n\n okayToTransferTransaction(){\n this.showTransactionTransferConfirmation = false;\n this.showBasRefundPaymentConfirmation = false;\n this.transferTransaction();\n }\n\n onConfirmTransferTransaction() {\n this.showTransactionTransferConfirmation = false;\n this.showBasRefundPaymentConfirmation = true;\n }\n\n okayToBasRefundPaymentTransaction() {\n this.showBasRefundPaymentConfirmation = false;\n this.transferTransactionCategory.type = TransactionCategoryTypes.Other;\n this.transferTransactionCategory.category = OtherCategories.BasRefundPayment;\n this.transferTransaction();\n }\n\n onNewTransactionCategoryChanged() {\n this.isCategorySelected = this.newTransactionSelectedCategory.category > 0 ? true : false;\n }\n\n transferTransaction(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n relatedTable : this.selectedLedgerType,\n relatedId : (this.selectedLedgerType == this.motorVehicleRelatedTable) ? this.selectedLedgerId : 0,\n companyBankAccountId: (this.selectedLedgerType == this.companyRelatedTable) ? this.selectedLedgerId : 0,\n bankStatementTransactionId : this.transferTransactionId,\n categoryMapping:this.transferTransactionCategory\n }\n apiService.sendPostRequest(\"Finance\",\"TransferBankTransaction\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.selectedLedgerId = 0;\n this.selectedLedgerType = this.motorVehicleRelatedTable; \n this.transferTransactionId = 0;\n this.showSelectLedgerModal = false;\n this.transactionToTransfer = null; \n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.ledgerRelatedTable = 0;\n this.ledgerRelatedId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true; \n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.transferTransactionCategory = {type:0, category:0}; \n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n )\n }\n\n okayToMatchTransactions(){\n this.showMatchTransferConfirmation = false;\n if(this.selectedLedgerType == this.motorVehicleRelatedTable){\n this.matchTransactionsToVehicleLedgers();\n }else{\n this.matchCompanyLedgerTransactions();\n }\n }\n\n matchCompanyLedgerTransactions(){\n \n var matchedTransactionIdList = this.checkedTransactionsList.map((value,index,array) => {\n return value.id;\n });\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n relatedTable : this.selectedLedgerType,\n relatedId : (this.selectedLedgerType == this.motorVehicleRelatedTable) ? this.selectedLedgerId : 0,\n companyBankAccountId: (this.selectedLedgerType == this.companyRelatedTable) ? this.selectedLedgerId : 0,\n bankStatementTransactionId : this.transferTransactionId,\n matchedTransactions: matchedTransactionIdList\n }\n apiService.sendPostRequest(\"Finance\",\"MatchBankTransactions\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.selectedLedgerId = 0;\n this.transferTransactionId = 0;\n this.showSelectLedgerModal = false;\n this.transactionToTransfer = null; \n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.ledgerRelatedTable = 0;\n this.ledgerRelatedId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true; \n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n )\n }\n\n onMatchTransactionsToVehicleLedgers(items:any){\n this.selectedVehicleLedgerItems = items;\n this.showMatchTransferConfirmation = true;\n }\n\n matchTransactionsToVehicleLedgers(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n bankStatementTransactionId:this.transferTransactionId,\n matchedTransactions:this.selectedVehicleLedgerItems\n } \n apiService.sendPostRequest(\"Finance\",\"MatchVehicleLedgerBankTransactions\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.selectedLedgerId = 0;\n this.selectedLedgerType = this.motorVehicleRelatedTable; \n this.transferTransactionId = 0;\n this.showSelectLedgerModal = false;\n this.transactionToTransfer = null; \n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.ledgerRelatedTable = 0;\n this.ledgerRelatedId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true; \n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n this.transferTransactionCategory = {type:0, category:0}; \n this.selectedVehicleLedgerItems = [];\n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.commonFilter.length>2?this.commonFilter:\"\",SearchByString2:this.amountFilter.length>2?this.amountFilter:\"\",RelatedId:0,Status:this.selectedStatus,FromDate:from,ToDate:to});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n \n onHideTransactionDetailsModal(){\n this.matchedVehicleDetails = [];\n this.matchedAccountDetails = [];\n this.vehicleGridTotalRows = 0;\n this.accountGridTotalRows = 0;\n this.showMatchedTransactionInfoModal = false;\n this.showVehicleDetailsGrid = false;\n this.showAccountDetailsGrid = false;\n }\n\n loadMatchedTransactionDetails(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n // TODO: Refactor both API and Web to use an object instead of a tuple as item1, item2 etc.\n apiService.sendGetRequest(\"Finance\",\"MatchedBankTransactionDetails\",{id:id}).then(response =>{\n this.matchedVehicleDetails = response.data.item1;\n this.matchedAccountDetails = response.data.item2;\n this.vehicleGridTotalRows = 1;\n this.accountGridTotalRows = 1;\n this.showMatchedTransactionInfoModal = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onOkCancelLedger(){\n this.showCancelVehcileLedgerMatchConfirmation = false;\n if(this.showClosePopup){\n this.closeSelectLedger();\n }else{\n this.onCancelLedgerSelectList();\n }\n this.showClosePopup = false;\n }\n \n onClosePopup(){\n if((this.showVehicleLedgerSelectList == true &&\n (this.$refs.vehicleLedgerSelectList as VehicleLedgerSelectList).isPageDirty())){\n this.showCancelVehcileLedgerMatchConfirmation = true;\n this.showClosePopup = true;\n return;\n }\n this.closeSelectLedger();\n }\n\n closeSelectLedger(){\n this.selectedLedgerId = 0;\n this.selectedLedgerType = this.motorVehicleRelatedTable; \n this.showSelectLedgerModal = false;\n this.transactionToTransfer = null;\n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.ledgerRelatedTable = 0;\n this.ledgerRelatedId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true;\n }\n\n onCancelVehicleLedgerSelectList(isDirty:boolean){\n if(isDirty){\n this.showCancelVehcileLedgerMatchConfirmation = true;\n this.showClosePopup = false;\n }\n else{\n this.onCancelLedgerSelectList();\n }\n \n }\n\n onCancelLedgerSelectList(){\n this.selectedLedgerId = 0;\n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.selectedCompanyBankAccountId = 0;\n this.hideLedgerModalFooter = true;\n }\n\n getTransferTransactionDateText(){\n return moment(this.transactionToTransfer.date).format(\"DD MMM YYYY\")\n }\n\n createNewTransaction(){\n if(this.selectedLedgerType == this.companyRelatedTable){\n this.onTransferTransaction();\n } else {\n this.showTransactionTransferModal = true;\n }\n }\n\n getTransactionCategoryText(){\n var category = this.categories.filter(f => f.category == this.newTransactionSelectedCategory.category && f.type == this.newTransactionSelectedCategory.type);\n return category && category.length > 0 ? category[0].text : \"\"\n }\n\n matchTransactions(){\n this.showMatchTransferConfirmation = true;\n }\n\n onLedgerTransactionChecked(data:any){\n if(data.isChecked){\n this.checkedTransactionsList.push({id:data.item.id, amount:data.item.amount})\n this.checkedTransactionSum = this.checkedTransactionSum + data.amount;\n }\n else{\n var index = 0;\n for(var i = 0; this.checkedTransactionsList.length; i++){\n if(this.checkedTransactionsList[i].id == data.item.id){\n this.checkedTransactionSum = this.checkedTransactionSum - data.item.amount;\n this.checkedTransactionsList.splice(i,1);\n break\n }\n }\n }\n }\n\n onLedgerTypeChanged()\n {\n this.showLedgerWithCheckBox = false;\n this.showVehicleLedgerSelectList = false;\n this.checkedTransactionsList = [];\n this.checkedTransactionSum = 0;\n this.selectedLedgerId = 0;\n this.selectedCompanyBankAccountId = 0;\n this.ledgerRelatedId = 0;\n this.hideLedgerModalFooter = true;\n }\n\n loadSelectLists(){\n lookupService.GetTransactionCategoryTypesList().then(data => {\n this.categoryTypes = data;\n })\n }\n\n cancelTransferTransaction(){\n this.showTransactionTransferModal = false;\n this.transferTransactionCategory = {type:0, category:0};\n }\n\n onTransferTransaction(){\n this.showTransactionTransferConfirmation = true;\n this.showTransactionTransferModal = false;\n }\n\n navigateToLedger(item){\n if (item.type == RelatedTables.Vehicle && item.relatedEntityId != null){\n // Setting to local storage since Vuex can't preserve the state across tabs\n localStorage.setItem(\"relatedEntityId\", item.relatedEntityId);\n localStorage.setItem(\"transactionReference\", item.reference);\n localStorage.setItem(\"fromDate\", item.transactionDisplayDate);\n let route = this.$router.resolve(\n {\n name:'Edit Novation',\n params:{ novationID: item.relatedEntityId,topRouteDisplayName:'relatedentitytypes', routerDisplayName:'ledger'}\n });\n window.open(route.href,'_blank');\n }\n else if(item.type == RelatedTables.Company){\n let routeData = this.$router.resolve({name:'Company Details', params:{routerDisplayName:'ledger'}});\n window.open(routeData.href, '_blank');\n }\n }\n\n onClickSyncWithBank(){\n this.syncWithBankInfo.toDate = this.todayDate;\n this.syncWithBankInfo.fromDate = moment(this.syncWithBankInfo.toDate).add(-2, \"day\").toDate();\n this.syncWithBankInfo.disabledFromDates = { from:this.syncWithBankInfo.toDate};\n this.syncWithBankInfo.disabledToDates = { from: this.todayDate};\n this.showSyncWithBankModal = true;\n }\n\n onClickSync(){\n this.showSyncWithBankModal = false;\n this.$store.dispatch('storeIsBusyValue',true);\n\n apiService.sendPostRequest(\"Finance\",\"RefreshTransactionsAndBalancesFromBank\",\n { fromDate: this.syncWithBankInfo.fromDate, toDate: this.syncWithBankInfo.toDate }).then(response =>{\n this.$store.dispatch('storeIsBusyValue',false);\n \n if(response.data.isSuccess) {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n isSyncWithBankDatesValid(){\n return fieldValidations.isValidDate(this.syncWithBankInfo.fromDate) && fieldValidations.isValidDate(this.syncWithBankInfo.toDate); \n }\n\n syncWithBankDateChanged(){\n if(fieldValidations.isValidDate(this.syncWithBankInfo.fromDate) &&\n fieldValidations.isValidDate(this.syncWithBankInfo.toDate)){\n\n if(this.syncWithBankInfo.toDate <= this.syncWithBankInfo.fromDate){\n this.syncWithBankInfo.fromDate = moment(this.syncWithBankInfo.toDate).add(-1, \"day\").toDate()\n }\n\n var diffDays = moment(this.syncWithBankInfo.toDate).diff(moment(this.syncWithBankInfo.fromDate), 'days');\n\n this.bankSyncDaysInvalid = diffDays > 2;\n }\n else{\n this.bankSyncDaysInvalid = true;\n }\n\n this.syncWithBankInfo.disabledFromDates = { from:this.syncWithBankInfo.toDate}; \n }\n}\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankTransactions.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankTransactions.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankTransactions.vue?vue&type=template&id=875b0ee6&scoped=true\"\nimport script from \"./BankTransactions.vue?vue&type=script&lang=ts\"\nexport * from \"./BankTransactions.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankTransactions.vue?vue&type=style&index=0&id=875b0ee6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"875b0ee6\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport BankReconciliation from '@/components/admin/bankReconciliation/BankReconciliation.vue';\nimport BankFileUpload from '@/components/admin/bankReconciliation/BankFileUpload.vue';\nimport BankBalances from '@/components/admin/bankReconciliation/BankBalances.vue';\nimport BankTransactions from '@/components/admin/bankReconciliation/BankTransactions.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n BankReconciliation,\n Modal,\n BankFileUpload,\n BankBalances,\n BankTransactions\n }\n }\n)\nexport default class BankRecAndUploadBankFile extends Vue{\n selectedTabRouteName:string = \"\";\n dirtyValidationConfirmation:boolean = false;\n dirtyValidationRefNumbers:number[] =[0,0];\n isUploadBankFileView:boolean = false;\n created()\n {\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n if(this.$route.query.uploadBankFile){\n this.isUploadBankFileView = true;\n }\n\n }\n bankRecTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[0] = refNo;\n }\n\n uploadBankFileTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankRecAndUploadBankFile.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankRecAndUploadBankFile.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BankRecAndUploadBankFile.vue?vue&type=template&id=2bbb7b26&scoped=true\"\nimport script from \"./BankRecAndUploadBankFile.vue?vue&type=script&lang=ts\"\nexport * from \"./BankRecAndUploadBankFile.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BankRecAndUploadBankFile.vue?vue&type=style&index=0&id=2bbb7b26&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2bbb7b26\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.modalMode)?_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Financiers\")])]):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 search\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterTextInput()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),(!_vm.modalMode)?_c('b-col',{staticClass:\"pr-0\",attrs:{\"sm\":\"5\",\"md\":\"6\"}},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.isAddButtonDisabled,\"title\":_vm.isAddButtonDisabled?'Please perform a search prior to adding a new record':'Add new financier'},on:{\"click\":function($event){return _vm.navigateToAddEmployer()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Financier\\n \")])],1):_vm._e()],1),_c('DataTable',{ref:\"financierTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"modalMode\":_vm.modalMode,\"selectable\":!_vm.modalMode,\"emptyBanner\":\"No financier details to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteFinancierConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteFinancierConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Financier\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the financier?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteFinancierConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteFinancierConf_OkButton\"},on:{\"click\":_vm.deleteFinancier}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.modalMode && !_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Financier\"},on:{\"click\":_vm.onDeleteFinancierClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_c('span',{staticClass:\"ml-2 cursor-pointer select-financier\",attrs:{\"title\":\"View Financier\"},on:{\"click\":_vm.navigateToFinancier}},[_c('i',{staticClass:\"fas fa-external-link-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class FinancierListActionButtons extends Vue{\n @Prop() item:any\n @Prop() modalMode:any;\n showDeleteFinancierConfirmationModal = false;\n isStandardUser: false;\n \n created(){\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n\n onDeleteFinancierClick()\n {\n this.showDeleteFinancierConfirmationModal = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n \n onCloseDelete()\n {\n this.showDeleteFinancierConfirmationModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n deleteFinancier(){\n \n this.showDeleteFinancierConfirmationModal = false;\n this.item.isActive = false;\n this.onAction(this.item,DataTableActionTypes.Delete) \n }\n \n navigateToFinancier(){\n let routeData = this.$router.resolve({ name: 'Edit Financier', params: { id: this.item.id, routerDisplayName:'details'}});\n window.open(routeData.href, '_blank');\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FinancierListActionButtons.vue?vue&type=template&id=bf6fb4f8&scoped=true\"\nimport script from \"./FinancierListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./FinancierListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FinancierListActionButtons.vue?vue&type=style&index=0&id=bf6fb4f8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"bf6fb4f8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.modalMode)?_c('span',[_vm._v(_vm._s(_vm.item.name))]):_c('span',{staticClass:\"primary-text cursor-pointer\",attrs:{\"id\":'selectFinancierLink_' + _vm.item.id},on:{\"click\":_vm.selectFinancier}},[_vm._v(_vm._s(this.item.name))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit} from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\nexport default class EditFinancierLink extends Vue{\n @Prop() item:any;\n @Prop() modalMode:any;\n\n selectFinancier(){\n this.onSelectFinancier(this.item, DataTableActionTypes.Select)\n }\n\n @Emit('customEvent') onSelectFinancier(id:number,type:DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditFinancierLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditFinancierLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditFinancierLink.vue?vue&type=template&id=79dd6730&scoped=true\"\nimport script from \"./EditFinancierLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditFinancierLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"79dd6730\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport FinancierListActionButtons from './FinancierListActionButtons.vue'\nimport EditFinancierLink from './EditFinancierLink.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport lookupService from '@/shared/services/lookupService';\nimport Filtrations from '@/shared/filtrations';\n\n@Component\n(\n {\n components: {\n DataTable,\n FinancierListActionButtons,\n EditFinancierLink,\n FilterTextInput\n }\n }\n)\nexport default class FinancierList extends Vue{\n @Prop() modalMode:any;\n items:any = [];\n fields = [\n {key: 'name',sortable:'true'},\n {key: 'abn',label:'ABN',sortable:'true',class:'width_20'},\n {key: 'workPhone',label:'Work Phone',sortable:'true',class:'width_15'},\n {key: 'email',sortable:'true',class:'width_15'},\n {key: 'actions',label:'',class:'text-center width_10'} \n ];\n customTemplateList:Array = [\n {slot:\"name\",customTemplate:EditFinancierLink},\n {slot:\"actions\",customTemplate:FinancierListActionButtons}\n ]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"name\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = false;\n isAddButtonDisabled:boolean = true;\n resetButtonDisabled:boolean = true;\n\n mounted(){\n if(Object.keys(this.$route.query).length > 0){\n this.validateAndAssignQueryParams();\n }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n if(sortBy == \"abn\"){\n sortBy = sortBy.toUpperCase();\n }\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n onSortingChange(ctx:any){\n var sortBy = ctx.sortBy;\n if(sortBy == \"abn\"){\n sortBy = sortBy.toUpperCase();\n }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Financier\",\"FinancierList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.isAddButtonDisabled = this.isAddButtonDisabled && !(this.filter && this.filter.length>2) && this.totalRows>AppSettings.defaultGridSize;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n resetFilterTextInput() {\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n navigateToAddEmployer(){\n this.$router.push({name:'Add Financier', params:{routerDisplayName:'details'}});\n }\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.financierTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.financierTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.refreshAndReset(data.id);\n }\n if(type == DataTableActionTypes.Select){\n this.onSelectFinancier(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onViewFinancier(data);\n }\n }\n @Emit('onSelectFinancier') onSelectFinancier(data:any){\n }\n onViewFinancier(data:any){ \n var queryData = {};\n if (this.filter != \"\") {\n queryData[Filtrations.FINANCIER_FILTER] = this.filter;\n }\n this.$router.push({ name: 'Edit Financier', params: { id: data.id, routerDisplayName: 'personal' }, query: queryData });\n }\n refreshAndReset(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"Financier\",\"Financier\",{id:id}).then(\n response =>{\n\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n lookupService.GetFinanciersList(true).then(data => \n {\n this.$store.dispatch('updateFinancierTypesList',data); \n }); \n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n }); \n } \n this.$store.dispatch('storeIsBusyValue',false); \n (this.$refs.financierTable as DataTable).resetLastCustomAction(); \n }) \n }\n filterGrid(filterText:string){\n this.filter = filterText;\n this.resetButtonDisabled = false;\n this.updateURL()\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:filterText,RelatedId:0,Status:0});\n }\n resetTable(){\n this.sortBy = \"name\";\n (this.$refs.financierTable as DataTable).reset();\n }\n\n validateAndAssignQueryParams(){\n let financierFilter = this.$route.query[Filtrations.FINANCIER_FILTER];\n this.filter = financierFilter ? String(financierFilter) : \"\";\n this.resetButtonDisabled = this.filter == \"\";\n this.$nextTick(()=>{\n (this.$refs.filterTextInput as FilterTextInput).filter = financierFilter ? String(financierFilter) : \"\"\n });\n } \n \n updateURL(){\n let qp = new URLSearchParams();\n if(this.filter != \"\") {\n qp.set(Filtrations.FINANCIER_FILTER, this.filter);\n }\n history.replaceState(null, null, \"?\"+qp.toString());\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FinancierList.vue?vue&type=template&id=7022c2db\"\nimport script from \"./FinancierList.vue?vue&type=script&lang=ts\"\nexport * from \"./FinancierList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FinancierList.vue?vue&type=style&index=0&id=7022c2db&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelFinancierDetailsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unsaved Changes\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelFinancierDetailsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelFinancierDetailsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n Financier Details \"+_vm._s((_vm.financierID>0)?('- ' + _vm.financierName):'')+\"\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Financiers\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Edit Financier\"}},[_c('Tab',{attrs:{\"name\":\"Details\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"details\"}},[_c('AddEditFinancier',{attrs:{\"financierID\":_vm.financierID},on:{\"onIdUpdated\":_vm.onIdUpdated,\"dirtyValidatorNoSet\":_vm.detailsTabDirtySet,\"onEmitName\":_vm.onBusinessNameUpdated}})],1),_c('Tab',{attrs:{\"name\":\"Addresses\",\"index\":1,\"disabled\":_vm.financierID==0,\"routerDisplayName\":\"addresses\"}},[_c('Addresses',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.financierID},on:{\"dirtyValidatorNoSet\":_vm.addressTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Bank Accounts\",\"index\":2,\"disabled\":_vm.financierID==0,\"routerDisplayName\":\"bankAccounts\"}},[_c('BankAccounts',{attrs:{\"modalMode\":false,\"filterBankAccountType\":\"0\",\"relatedID\":_vm.financierID,\"relatedTable\":_vm.relatedTable,\"bankRequired\":false},on:{\"dirtyValidatorNoSet\":_vm.bankTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"BPay Accounts\",\"index\":3,\"disabled\":_vm.financierID==0,\"routerDisplayName\":\"bpayAccounts\"}},[_c('BPayAccounts',{attrs:{\"modalMode\":false,\"relatedID\":_vm.financierID,\"relatedTable\":_vm.relatedTable},on:{\"dirtyValidatorNoSet\":_vm.bPayAccountTabDirtySet}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditFinancierConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to reset the fields?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditFinancierConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditFinancierConf_OkButton\"},on:{\"click\":function($event){return _vm.onOkayToCancel()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"8\",\"lg\":\"8\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.financier.name.$error },attrs:{\"label\":\"Name\",\"label-for\":\"name\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.financier.name.length == 0) },attrs:{\"id\":\"name\",\"type\":\"text\",\"placeholder\":\"Enter Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.financier.name.$touch()}},model:{value:(_vm.financier.name),callback:function ($$v) {_vm.$set(_vm.financier, \"name\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"financier.name\"}}),(_vm.$v.financier.name.$dirty && !_vm.$v.financier.name.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.financier.abn.$error },attrs:{\"label\":\"ABN\",\"label-for\":\"abn\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.financier.abn.length == 0) },attrs:{\"id\":\"abn\",\"type\":\"text\",\"placeholder\":\"Enter ABN\",\"required\":\"\",\"maxlength\":'11'},on:{\"input\":function($event){_vm.$v.financier.abn.$touch();_vm.validateABN();}},model:{value:(_vm.financier.abn),callback:function ($$v) {_vm.$set(_vm.financier, \"abn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"financier.abn\"}}),(_vm.$v.financier.abn.$dirty && !_vm.$v.financier.abn.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n ABN is required.\\n \")]):_vm._e(),(_vm.isInvalidABN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.invalidABNMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.financier.workPhone.$error },attrs:{\"label\":\"Work Phone\",\"label-for\":\"workPhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"workPhone\",\"type\":\"text\",\"placeholder\":\"Enter Work Phone\"},on:{\"input\":function($event){return _vm.$v.financier.workPhone.$touch()}},model:{value:(_vm.financier.workPhone),callback:function ($$v) {_vm.$set(_vm.financier, \"workPhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"financier.workPhone\"}}),(_vm.$v.financier.workPhone.$dirty && !_vm.$v.financier.workPhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid work phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.financier.mobilePhone.$error },attrs:{\"label\":\"Mobile Phone\",\"label-for\":\"mobilePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"mobilePhone\",\"type\":\"text\",\"placeholder\":\"Enter Mobile Phone\"},on:{\"input\":function($event){return _vm.$v.financier.mobilePhone.$touch()}},model:{value:(_vm.financier.mobilePhone),callback:function ($$v) {_vm.$set(_vm.financier, \"mobilePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"financier.mobilePhone\"}}),(_vm.$v.financier.mobilePhone.$dirty && !_vm.$v.financier.mobilePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid mobile phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.financier.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"email\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"email\",\"type\":\"text\",\"placeholder\":\"Enter Email\"},on:{\"input\":function($event){return _vm.$v.financier.email.$touch();}},model:{value:(_vm.financier.email),callback:function ($$v) {_vm.$set(_vm.financier, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"financier.email\"}}),(_vm.$v.financier.email.$dirty && !_vm.$v.financier.email.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid email address.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.validationUrl.$error },attrs:{\"label\":\"Website Url\",\"label-for\":\"websiteUrl\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"websiteUrl\",\"type\":\"text\",\"placeholder\":\"Enter Website Url\"},on:{\"input\":function($event){return _vm.$v.validationUrl.$touch();}},model:{value:(_vm.financier.websiteUrl),callback:function ($$v) {_vm.$set(_vm.financier, \"websiteUrl\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"financier.websiteUrl\"}}),(_vm.$v.validationUrl.$dirty && !_vm.$v.validationUrl.url)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid url.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.financier.reFinanceAmountLimit.$error },attrs:{\"label\":\"Re-finance available to Residual Amount Above (incl. GST)\",\"label-for\":\"reFinanceAmountLimit\"}},[_c('b-input-group',{class:{ 'requiredField':(_vm.financier.reFinanceAmountLimit.length==0)},attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"reFinanceAmountLimit\",\"type\":\"text\",\"placeholder\":\" Enter Re-finance available to Residual Amount Above\"},on:{\"input\":function($event){return _vm.$v.financier.reFinanceAmountLimit.$touch();}},model:{value:(_vm.financier.reFinanceAmountLimit),callback:function ($$v) {_vm.$set(_vm.financier, \"reFinanceAmountLimit\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"financier.reFinanceAmountLimit\"}})],1),(_vm.$v.financier.reFinanceAmountLimit.$dirty && !_vm.$v.financier.reFinanceAmountLimit.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Amount is required.\\n \")]):_vm._e(),(_vm.$v.financier.reFinanceAmountLimit.$dirty && !_vm.$v.financier.reFinanceAmountLimit.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid amount.\\n \")]):_vm._e()],1)],1)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-row',{staticClass:\"mt-4\"},[_c('b-col',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.isModelInValid() || !_vm.isModelDirty()}},[_vm._v(\" \"+_vm._s(_vm.buttonType))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":!_vm.isModelDirty()},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1),(_vm.financierID>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('span',[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.financier.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.financier.createdDate))+\")\")])]),_vm._v(\"\\n     \\n \"),_c('span',[_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.financier.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.financier.lastUpdatedDate))+\")\")])])]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport {Financier} from '@/models/financier.model';\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required,numeric,email,url} from 'vuelidate/lib/validators';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { warn } from 'vue-class-component/lib/util';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport customValidationService from '@/shared/services/customValidationService'\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport lookupService from '@/shared/services/lookupService';\r\n\r\n@Component({\r\n mixins:[validationMixin],\r\n components: {\r\n Modal\r\n },\r\n validations:{\r\n financier:{\r\n name:{\r\n required\r\n },\r\n abn:{\r\n required,\r\n numeric \r\n },\r\n workPhone:{\r\n numeric\r\n },\r\n mobilePhone:{\r\n numeric\r\n },\r\n email:{\r\n email\r\n },\r\n reFinanceAmountLimit:{\r\n required,\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n }\r\n },\r\n validationUrl:{\r\n url\r\n }\r\n },\r\n computed:{\r\n validationUrl: function() {\r\n return fieldValidations.validateUrl(this.financier.websiteUrl);\r\n }\r\n }\r\n})\r\nexport default class AddEditFinancier extends Vue{\r\n @Prop() financierID:number;\r\n financier:Financier = {name:\"\",abn:\"\",id:0,isActive:true,concurrencyKey:\"\",createdByName:\"\",createdDate:\"\",lastUpadteByName:\"\",lastUpdatedDate:\"\",workPhone:\"\",mobilePhone:\"\",email:\"\",websiteUrl:\"\",reFinanceAmountLimit:\"\"};\r\n initialFinancier :Financier = Object.assign({},this.financier);\r\n dirtyValidatorRefNo:number = 0;\r\n dirtyValidationConfirmation:boolean = false;\r\n actionType:string = \"\";\r\n buttonType:string = \"\";\r\n isInvalidABN:boolean = false;\r\n invalidABNMessage:string = \"\";\r\n invalidACNMessage:string = \"\";\r\n created(){\r\n if(this.financierID>0){\r\n this.actionType = \"Edit\"\r\n this.buttonType = \"Update\"\r\n this.loadFinancierDetails();\r\n }\r\n else{\r\n this.actionType = \"Add\"\r\n this.buttonType = \"Add\"\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.financier);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n }\r\n onSubmit(){\r\n if(this.financierID>0){\r\n this.updateExistingFinancier();\r\n }\r\n else{\r\n this.addNewFinancier();\r\n }\r\n }\r\n addNewFinancier(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {\r\n abn:this.financier.abn,\r\n name:this.financier.name,\r\n workPhone:this.financier.workPhone,\r\n mobilePhone:this.financier.mobilePhone,\r\n email:this.financier.email,\r\n websiteUrl:this.financier.websiteUrl,\r\n reFinanceAmountLimit:this.financier.reFinanceAmountLimit\r\n }\r\n apiService.sendPutRequest('Financier','Financier',params).then(response=>{\r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n lookupService.GetFinanciersList(true).then(data => \r\n {\r\n this.$store.dispatch('updateFinancierTypesList',data);\r\n });\r\n this.$router.push({name:'Edit Financier',params:{id:response.data.id,routerDisplayName:'details'}});\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n }\r\n updateExistingFinancier(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Financier','Financier',this.financier).then(data=>{\r\n var response = data.data;\r\n if(response.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n this.onEmitName(this.financier.name);\r\n this.financier.concurrencyKey = response.concurrencyKey;\r\n this.financier.lastUpadteByName = response.updatedByName;\r\n this.financier.lastUpdatedDate = response.lastUpdatedDate;\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$v.financier.$reset();\r\n lookupService.GetFinanciersList(true).then(data => \r\n {\r\n this.$store.dispatch('updateFinancierTypesList',data);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n else{\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n });\r\n }\r\n loadFinancierDetails(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id:this.financierID}\r\n apiService.sendGetRequest('Financier','Financier',params).then(response=>{\r\n if(response.data){\r\n this.financier = response.data;\r\n this.initialFinancier = Object.assign({},this.financier);\r\n }\r\n this.$nextTick(() => {\r\n this.isInvalidABN = false;\r\n this.invalidACNMessage = \"\";\r\n this.invalidABNMessage = \"\";\r\n })\r\n \r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.financier);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n \r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n\r\n isModelInValid(){\r\n return this.$v.financier.$invalid || this.$v.validationUrl.$invalid || this.isInvalidABN;\r\n }\r\n\r\n validateABN(){\r\n var result = customValidationService.validateABN(this.financier.abn);\r\n this.isInvalidABN = result.isValid;\r\n this.invalidABNMessage = result.validationMessage;\r\n }\r\n\r\n onCancel()\r\n {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n }\r\n onOkayToCancel(){\r\n this.financier = Object.assign({},this.initialFinancier);\r\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(0,this.financier);\r\n this.$nextTick(()=>{this.$v.financier.$reset()})\r\n this.dirtyValidationConfirmation = false;\r\n }\r\n get invalidUrlMessage(){\r\n return fieldValidations.invalidURLErrorMsg(this.financier.websiteUrl);\r\n }\r\n @Emit('onIdUpdated') onIdUpdated(id:number){\r\n }\r\n\r\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\r\n }\r\n\r\n @Emit('onEmitName') onEmitName(financierName:string){ \r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFinancier.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFinancier.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditFinancier.vue?vue&type=template&id=1262f56a&scoped=true\"\nimport script from \"./AddEditFinancier.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditFinancier.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditFinancier.vue?vue&type=style&index=0&id=1262f56a&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1262f56a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport { Component, Prop, Emit } from 'vue-property-decorator';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\r\nimport Tab from '@/shared/components/tabs/Tab.vue';\r\nimport Addresses from '@/components/admin/address/Addresses.vue';\r\nimport AddEditFinancier from '@/components/admin/financierManagement/AddEditFinancier.vue';\r\nimport apiService from '@/shared/services/apiService';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport BankAccounts from '@/components/admin/bankAccount/BankAccounts.vue';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport BPayAccounts from '@/components/admin/bpayAccount/BPayAccounts.vue';\r\nimport Filtrations from '@/shared/filtrations';\r\n\r\n@Component(\r\n {\r\n components: {\r\n Tabs,\r\n Tab, \r\n AddEditFinancier,\r\n Addresses, \r\n BankAccounts,\r\n BPayAccounts,\r\n Modal\r\n }\r\n }\r\n)\r\nexport default class FinancierDetails extends Vue{\r\n financierID:number = 0;\r\n financierName:string = \"\";\r\n dirtyValidationRefNumbers:number[] =[0,0,0,0];\r\n selectedTabRouteName:string = \"details\";\r\n relatedTable:RelatedTables = RelatedTables.Financier;\r\n dirtyValidationConfirmation:boolean = false;\r\n\r\n created()\r\n {\r\n this.financierID = this.$route.params.id? +this.$route.params.id : 0;\r\n if(this.financierID > 0)\r\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\r\n this.loadFinancierName();\r\n }\r\n loadFinancierName()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id:this.financierID}\r\n apiService.sendGetRequest('Financier','FinancierName',params).then(response=>{ \r\n this.financierName = response.data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n routerNavigateBack()\r\n {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]) || \r\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[1]) ||\r\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[2]) ||\r\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[3])\r\n ){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n else{\r\n this.navigateBack();\r\n }\r\n }\r\n navigateBack(){\r\n var queryData = {};\r\n if(Object.keys(this.$route.query).length > 0){\r\n let financierFilter = this.$route.query[Filtrations.FINANCIER_FILTER];\r\n if (financierFilter) {\r\n queryData[Filtrations.FINANCIER_FILTER] = financierFilter;\r\n }\r\n }\r\n this.$router.push({ name: 'Financiers', query: queryData });\r\n }\r\n detailsTabDirtySet(refNo:number)\r\n {\r\n this.dirtyValidationRefNumbers[0] = refNo;\r\n }\r\n addressTabDirtySet(refNo:number)\r\n {\r\n this.dirtyValidationRefNumbers[1] = refNo;\r\n }\r\n bankTabDirtySet(refNo:number){\r\n this.dirtyValidationRefNumbers[2] = refNo;\r\n }\r\n bPayAccountTabDirtySet(refNo:number)\r\n {\r\n this.dirtyValidationRefNumbers[3] = refNo;\r\n }\r\n onBusinessNameUpdated(name:string)\r\n {\r\n this.financierName = name;\r\n }\r\n onIdUpdated(id:number)\r\n {\r\n this.financierID = id;\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FinancierDetails.vue?vue&type=template&id=ca09d410&scoped=true\"\nimport script from \"./FinancierDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./FinancierDetails.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ca09d410\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.modalMode)?_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Suppliers\")])]):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search pl-0\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterTextInput()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),(!_vm.modalMode)?_c('b-col',{staticClass:\"pr-0\",attrs:{\"sm\":\"5\",\"md\":\"6\"}},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.isAddButtonDisabled,\"title\":_vm.isAddButtonDisabled?'Please perform a search prior to adding a new record':'Add new supplier'},on:{\"click\":function($event){return _vm.navigateToAddSupplier()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Supplier\\n \")])],1):_vm._e()],1),_c('DataTable',{ref:\"supplierTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"selectable\":!_vm.modalMode,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"modalMode\":_vm.modalMode,\"emptyBanner\":\"No supplier details to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteSupplierConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteSupplierConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Supplier\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the supplier?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteSupplierConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteSupplierConfOkButton\"},on:{\"click\":_vm.deleteSupplier}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.modalMode && !_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Supplier\"},on:{\"click\":_vm.onDeleteSupplierClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_c('span',{staticClass:\"ml-2 cursor-pointer select-supplier\",attrs:{\"title\":\"View Supplier\"},on:{\"click\":_vm.navigateToSupplier}},[_c('i',{staticClass:\"fas fa-external-link-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n@Component({\n components: {\n Modal\n }\n})\nexport default class SupplierListActionButtons extends Vue{\n @Prop() item:any\n @Prop() modalMode:any;\n showDeleteSupplierConfirmationModal = false;\n isStandardUser: false;\n \n created()\n {\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n\n onCloseDelete()\n {\n this.showDeleteSupplierConfirmationModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n deleteSupplier(){\n this.showDeleteSupplierConfirmationModal = false;\n this.item.isActive = false;\n this.onAction(this.item,DataTableActionTypes.Delete)\n }\n onDeleteSupplierClick()\n {\n this.showDeleteSupplierConfirmationModal = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n @Emit('customEvent') onDeleteSupplier(item:any,type:DataTableActionTypes){\n }\n\n navigateToSupplier(){\n let routeData = this.$router.resolve({ name: 'Edit Supplier', params: { id: this.item.id, routerDisplayName:'details'}});\n window.open(routeData.href, '_blank');\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SupplierListActionButtons.vue?vue&type=template&id=a38fd096&scoped=true\"\nimport script from \"./SupplierListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./SupplierListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SupplierListActionButtons.vue?vue&type=style&index=0&id=a38fd096&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a38fd096\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.modalMode)?_c('span',[_vm._v(_vm._s(this.item.name))]):_c('span',{staticClass:\"primary-text cursor-pointer\",attrs:{\"id\":'selectSupplierLink_' + _vm.item.id},on:{\"click\":_vm.selectSupplier}},[_vm._v(_vm._s(this.item.name))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\nexport default class EditSupplierLink extends Vue{\n @Prop() item:any;\n @Prop() modalMode:any;\n\n selectSupplier(){\n this.onSelectSupplier(this.item,DataTableActionTypes.Select)\n }\n @Emit('customEvent') onSelectSupplier(item:any,type:DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditSupplierLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditSupplierLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditSupplierLink.vue?vue&type=template&id=3de1604e&scoped=true\"\nimport script from \"./EditSupplierLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditSupplierLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3de1604e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport SupplierListActionButtons from './SupplierListActionButtons.vue'\nimport EditSupplierLink from './EditSupplierLink.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Filtrations from '@/shared/filtrations';\n\n@Component\n(\n {\n components: {\n DataTable,\n SupplierListActionButtons,\n EditSupplierLink,\n FilterTextInput\n }\n }\n)\nexport default class SupplierList extends Vue{\n @Prop() modalMode:any;\n items:any = [];\n fields = [\n {key: 'name',sortable:'true',class:'width_30'},\n {key: 'abn',label:'ABN',sortable:'true',class:'width_15'},\n {key: 'acn',label:'ACN',sortable:'true',class:'width_15'},\n {key: 'email',label:'Email',sortable:'true'},\n {key: 'actions',label:'',class:'text-center width_10'} \n ];\n customTemplateList:Array = [\n {slot:\"name\",customTemplate:EditSupplierLink},\n {slot:\"actions\",customTemplate:SupplierListActionButtons}\n ]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"name\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = false;\n isAddButtonDisabled:boolean = true;\n resetButtonDisabled:boolean = true;\n\n mounted(){\n if(Object.keys(this.$route.query).length > 0){\n this.validateAndAssignQueryParams();\n }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n if(sortBy == \"abn\" || sortBy == \"acn\"){\n sortBy = sortBy.toUpperCase();\n }\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n\n onSortingChange(ctx:any){\n var sortBy = ctx.sortBy;\n if(sortBy == \"abn\" || sortBy == \"acn\"){\n sortBy = sortBy.toUpperCase();\n }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n }\n\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Supplier\",\"SupplierList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.isAddButtonDisabled = this.isAddButtonDisabled && !(this.filter && this.filter.length>2) && this.totalRows>AppSettings.defaultGridSize;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n resetFilterTextInput() {\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n \n }\n\n navigateToAddSupplier(){\n this.$router.push({name:'Add Supplier', params:{routerDisplayName:'details'}});\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.supplierTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.supplierTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.refreshAndReset(data);\n }\n if(type == DataTableActionTypes.Select){\n this.onSelectSupplier(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onViewSupplier(data);\n }\n }\n onViewSupplier(data:any){\n var queryData = {};\n if (this.filter != \"\") {\n queryData[Filtrations.SUPPLIER_FILTER] = this.filter;\n }\n this.$router.push( { name: 'Edit Supplier', params: { id: data.id, routerDisplayName: 'details' }, query: queryData });\n }\n @Emit('onSelectSupplier') onSelectSupplier(data:any){\n }\n\n refreshAndReset(item:any){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"Supplier\",\"Supplier\",item).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Supplier successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:0});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.supplierTable as DataTable).resetLastCustomAction();\n })\n }\n\n filterGrid(filterText:string){\n this.filter = filterText;\n this.resetButtonDisabled = false;\n this.updateURL()\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:filterText,RelatedId:0,Status:0});\n }\n\n resetTable(){\n this.sortBy = \"name\";\n (this.$refs.supplierTable as DataTable).reset();\n }\n\n validateAndAssignQueryParams(){\n let supplierFilter = this.$route.query[Filtrations.SUPPLIER_FILTER];\n this.filter = supplierFilter ? String(supplierFilter) : \"\";\n this.resetButtonDisabled = this.filter == \"\";\n this.$nextTick(()=>{\n (this.$refs.filterTextInput as FilterTextInput).filter = supplierFilter ? String(supplierFilter) : \"\"\n });\n } \n \n updateURL(){\n let qp = new URLSearchParams();\n if(this.filter != \"\") {\n qp.set(Filtrations.SUPPLIER_FILTER, this.filter);\n }\n history.replaceState(null, null, \"?\" + qp.toString());\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SupplierList.vue?vue&type=template&id=f23b7d9a\"\nimport script from \"./SupplierList.vue?vue&type=script&lang=ts\"\nexport * from \"./SupplierList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SupplierList.vue?vue&type=style&index=0&id=f23b7d9a&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelSupplierDetialsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Unsaved Changes\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelSupplierDetialsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelSupplierDetialsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.IsProfileMode? 'My Profile': 'Supplier Details' + ((_vm.supplierID>0)?('- ' + _vm.supplierName):''))+\"\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Suppliers\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":_vm.routeName}},[_c('Tab',{attrs:{\"name\":\"Details\",\"selected\":true,\"disabled\":_vm.supplierID==0 && this.$store.getters.getIsValidSupplier && !this.$store.getters.getIsRelatedEntityFailedToCreate,\"index\":0,\"routerDisplayName\":\"details\"}},[_c('AddEditSupplier',{attrs:{\"supplierID\":_vm.supplierID,\"IsProfileMode\":_vm.IsProfileMode},on:{\"onIdUpdated\":_vm.onIdUpdated,\"dirtyValidatorNoSet\":_vm.detailsTabDirtySet,\"onEmitName\":_vm.onNameUpdated}})],1),_c('Tab',{attrs:{\"name\":\"Addresses\",\"index\":1,\"disabled\":_vm.supplierID==0 && (!this.$store.getters.getIsValidSupplier || this.$store.getters.getIsRelatedEntityFailedToCreate),\"routerDisplayName\":\"addresses\"}},[_c('Addresses',{attrs:{\"useStore\":_vm.supplierID==0,\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.supplierID},on:{\"dirtyValidatorNoSet\":_vm.addressTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Bank Accounts\",\"index\":2,\"disabled\":_vm.supplierID==0,\"routerDisplayName\":\"bankAccounts\"}},[_c('BankAccounts',{attrs:{\"isReadOnlyMode\":_vm.IsProfileMode,\"filterBankAccountType\":\"0\",\"modalMode\":false,\"relatedID\":_vm.supplierID,\"relatedTable\":_vm.relatedTable,\"bankRequired\":false},on:{\"dirtyValidatorNoSet\":_vm.bankTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"BPay Accounts\",\"index\":3,\"disabled\":_vm.supplierID==0,\"routerDisplayName\":\"bpayAccounts\"}},[_c('BPayAccounts',{attrs:{\"isReadOnlyMode\":_vm.IsProfileMode,\"modalMode\":false,\"relatedID\":_vm.supplierID,\"relatedTable\":_vm.relatedTable},on:{\"dirtyValidatorNoSet\":_vm.bPayAccountTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":_vm.IsProfileMode?'Security':'Portal Access',\"index\":4,\"disabled\":_vm.supplierID==0,\"routerDisplayName\":_vm.IsProfileMode? 'security':'portalAccess'}},[_c('PortalAccess',{attrs:{\"userRole\":_vm.supplierRole,\"IsProfileMode\":_vm.IsProfileMode},on:{\"dirtyValidatorNoSet\":_vm.portalAccessTabDirtySet}})],1),_c('b-row',{staticClass:\"float-right mr-1\",attrs:{\"slot\":\"tabs-buttons\"},slot:\"tabs-buttons\"},[_c('Notes',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.supplierID,\"addToolTip\":\"Please save the supplier to add notes\",\"isReadOnly\":false,\"modalTitle\":\"Supplier Notes\",\"buttonType\":_vm.buttonType,\"useStore\":false}}),_c('DocumentUploader',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.supplierID,\"addToolTip\":\"Please save the supplier to add documents\",\"modalTitle\":\"Supplier Documents\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'*'}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditSupplierConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to reset the fields?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditSupplierConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditSupplierConf_OkButton\"},on:{\"click\":function($event){return _vm.onOkayToCancel()}}},[_vm._v(\" \\n OK\\n \")])],1)]):_vm._e(),_c('div',[_c('b-container',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"6\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.supplier.name.$error },attrs:{\"label\":\"Name\",\"label-for\":\"name\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.supplier.name.length == 0) },attrs:{\"id\":\"name\",\"type\":\"text\",\"placeholder\":\"Enter Name\",\"required\":\"\",\"disabled\":_vm.IsProfileMode,\"maxlength\":'150'},on:{\"input\":function($event){return _vm.$v.supplier.name.$touch()}},model:{value:(_vm.supplier.name),callback:function ($$v) {_vm.$set(_vm.supplier, \"name\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.name\"}}),(_vm.$v.supplier.name.$dirty && !_vm.$v.supplier.name.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Primary Person's FirstName\",\"label-for\":\"primaryPersonFirstName\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"primaryPersonFirstName\",\"type\":\"text\",\"placeholder\":\"Enter Primary Person's FirstName\",\"maxlength\":'150'},model:{value:(_vm.supplier.primaryPersonFirstName),callback:function ($$v) {_vm.$set(_vm.supplier, \"primaryPersonFirstName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.primaryPersonFirstName\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Primary Person's LastName\",\"label-for\":\"primaryPersonLastName\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"primaryPersonLastName\",\"type\":\"text\",\"placeholder\":\"Enter Primary Person's LastName\",\"maxlength\":'150'},model:{value:(_vm.supplier.primaryPersonLastName),callback:function ($$v) {_vm.$set(_vm.supplier, \"primaryPersonLastName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.primaryPersonLastName\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.supplier.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"email\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"email\",\"type\":\"text\",\"placeholder\":\"Enter Email\"},on:{\"input\":function($event){return _vm.$v.supplier.email.$touch();}},model:{value:(_vm.supplier.email),callback:function ($$v) {_vm.$set(_vm.supplier, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.email\"}}),(_vm.$v.supplier.email.$dirty && !_vm.$v.supplier.email.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid email address.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.supplier.homePhone.$error },attrs:{\"label\":\"Home Phone\",\"label-for\":\"homePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"homePhone\",\"type\":\"text\",\"placeholder\":\"Enter Home Phone\"},on:{\"input\":function($event){return _vm.$v.supplier.homePhone.$touch()}},model:{value:(_vm.supplier.homePhone),callback:function ($$v) {_vm.$set(_vm.supplier, \"homePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.homePhone\"}}),(_vm.$v.supplier.homePhone.$dirty && !_vm.$v.supplier.homePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid home phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.supplier.workPhone.$error },attrs:{\"label\":\"Work Phone\",\"label-for\":\"workPhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"workPhone\",\"type\":\"text\",\"placeholder\":\"Enter Work Phone\"},on:{\"input\":function($event){return _vm.$v.supplier.workPhone.$touch()}},model:{value:(_vm.supplier.workPhone),callback:function ($$v) {_vm.$set(_vm.supplier, \"workPhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.workPhone\"}}),(_vm.$v.supplier.workPhone.$dirty && !_vm.$v.supplier.workPhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid work phone number.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.supplier.mobilePhone.$error },attrs:{\"label\":\"Mobile Phone\",\"label-for\":\"mobilePhone\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"mobilePhone\",\"type\":\"text\",\"placeholder\":\"Enter Mobile Phone\"},on:{\"input\":function($event){return _vm.$v.supplier.mobilePhone.$touch()}},model:{value:(_vm.supplier.mobilePhone),callback:function ($$v) {_vm.$set(_vm.supplier, \"mobilePhone\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.mobilePhone\"}}),(_vm.$v.supplier.mobilePhone.$dirty && !_vm.$v.supplier.mobilePhone.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid mobile phone number.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"lg\":\"6\",\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.supplier.abn.$error },attrs:{\"label\":\"ABN\",\"label-for\":\"abn\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"abn\",\"type\":\"text\",\"placeholder\":\"Enter ABN\",\"maxlength\":'11'},on:{\"input\":function($event){_vm.$v.supplier.abn.$touch();_vm.validateABN();}},model:{value:(_vm.supplier.abn),callback:function ($$v) {_vm.$set(_vm.supplier, \"abn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.abn\"}}),(_vm.isInvalidABN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.invalidABNMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.supplier.acn.$error },attrs:{\"label\":\"ACN\",\"label-for\":\"acn\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"acn\",\"type\":\"text\",\"placeholder\":\"Enter ACN\",\"maxlength\":'9'},on:{\"input\":function($event){_vm.$v.supplier.acn.$touch();_vm.validateACN();}},model:{value:(_vm.supplier.acn),callback:function ($$v) {_vm.$set(_vm.supplier, \"acn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.acn\"}}),(_vm.isInvalidACN)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.invalidACNMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.validationUrl.$error },attrs:{\"label\":\"Website Url\",\"label-for\":\"websiteUrl\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"websiteUrl\",\"type\":\"text\",\"placeholder\":\"Enter Website Url\"},on:{\"input\":function($event){return _vm.$v.validationUrl.$touch();}},model:{value:(_vm.supplier.webSiteURL),callback:function ($$v) {_vm.$set(_vm.supplier, \"webSiteURL\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"supplier.webSiteURL\"}}),(_vm.$v.validationUrl.$dirty && !_vm.$v.validationUrl.url)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid url.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"8\",\"md\":\"10\",\"sm\":\"12\"}},[(_vm.supplierTags.length > 0)?_c('b-form-group',{attrs:{\"label\":\"Categories\",\"label-for\":\"tagSelect\"}},[_c('multiselect',{ref:\"multiselect\",staticClass:\"textInput supplier-tags\",class:{'requiredFieldMultiselect': _vm.supplier.tags == ''},attrs:{\"id\":\"tagSelect\",\"options\":_vm.supplierTags.map(function (type) { return type.value; }),\"custom-label\":function (opt) { return _vm.supplierTags.find(function (x) { return x.value == opt; }).text; },\"multiple\":\"\",\"required\":\"\",\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"Please select Categories\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"taggable\":false,\"preselect-first\":false},on:{\"input\":function($event){return _vm.$v.supplier.tags.$touch();}},model:{value:(_vm.supplier.tags),callback:function ($$v) {_vm.$set(_vm.supplier, \"tags\", $$v)},expression:\"supplier.tags\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No Category found.\")])],2),(_vm.$v.supplier.tags.$dirty && !_vm.$v.supplier.tags.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n At least one Category is required.\\n \")]):_vm._e()],1):_vm._e()],1)],1)],1)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-row',{staticClass:\"mt-4\"},[_c('b-col',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.isModelInValid() || !_vm.isModelDirty()}},[_vm._v(\" \"+_vm._s(_vm.buttonType))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"disabled\":!_vm.isModelDirty()},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1),(_vm.supplierID>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('span',[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.supplier.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.supplier.createdDate))+\")\")])]),_vm._v(\"\\n     \\n \"),_c('span',[_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.supplier.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.supplier.lastUpdatedDate))+\")\")])])]):_vm._e()],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {Supplier} from '@/models/supplier.model';\nimport { validationMixin } from 'vuelidate';\nimport { required,numeric,email,maxLength, url} from 'vuelidate/lib/validators';\nimport apiService from '@/shared/services/apiService';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport customValidationService from '@/shared/services/customValidationService'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport lookupService from '@/shared/services/lookupService';\nimport { ExpenseCategories } from '@/shared/enums/expenseClaims.enum';\nimport { AddressAndRelatedEntity } from '@/models/AddressAndRelatedEntity.model';\n\n@Component({\n mixins:[validationMixin],\n components: {\n Modal\n },\n validations:{\n supplier:{\n name:{\n required,\n maxLength: maxLength(150)\n },\n abn:{\n numeric \n },\n acn:{\n numeric\n },\n homePhone:\n {\n numeric\n },\n workPhone:\n {\n numeric\n },\n mobilePhone:\n {\n numeric\n },\n email:\n {\n email\n },\n tags:\n {\n required,\n },\n },\n validationUrl:{\n url\n }\n },\n computed:\n {\n validationUrl: function() {\n return fieldValidations.validateUrl(this.supplier.webSiteURL);\n }\n }\n})\nexport default class AddEditSupplier extends Vue{\n @Prop() supplierID:number; \n @Prop() IsProfileMode:any; \n supplier:Supplier = {\n name:\"\",\n primaryPersonFirstName:\"\",\n primaryPersonLastName:\"\",\n abn:\"\",\n acn:\"\",\n mobilePhone:\"\",\n workPhone:\"\",\n homePhone:\"\",\n email:\"\",\n webSiteURL:\"\",\n id:0,\n isActive:true,\n tags:\"\",\n concurrencyKey:\"\",\n createdByName:\"\",\n createdDate:\"\",\n lastUpadteByName:\"\",\n lastUpdatedDate:\"\"}; \n initialSupplier:Supplier = Object.assign({},this.supplier);\n dirtyValidatorRefNo:number = 0;\n dirtyValidationConfirmation:boolean = false;\n actionType:string = \"\";\n buttonType:string = \"\";\n isInvalidABN:boolean = false;\n invalidABNMessage:string = \"\";\n isInvalidACN:boolean = false;\n invalidACNMessage:string = \"\";\n supplierTags:any = [];\n initialSupplierAndAdressObject:AddressAndRelatedEntity = {\n address: { \n id:0,\n relatedID:0,\n relatedTable:0,\n addressLine1:\"\",\n addressLine2:\"\",\n suburb:\"\",\n postcode:\"\",\n stateId:0,\n country:\"\",\n latitude:0,\n longitude:0,\n concurrencyKey:\"\",\n addressType:0,\n addressTypeText:\"\",\n createdBy:\"\",\n createdDate:\"\",\n updatedBy:\"\",\n updatedDate:\"\"\n },\n copyAddress:false,\n isRelatedEntityFailedToCreate:false,\n supplier: {\n id:0,\n name:\"\",\n primaryPersonFirstName:\"\",\n primaryPersonLastName:\"\",\n abn:\"\",\n acn:\"\",\n mobilePhone:\"\",\n workPhone:\"\",\n homePhone:\"\",\n email:\"\",\n webSiteURL:\"\",\n isActive:true,\n tags:\"\",\n concurrencyKey:\"\",\n createdByName:\"\",\n createdDate:\"\",\n lastUpadteByName:\"\",\n lastUpdatedDate:\"\"\n }\n }\n\n created(){\n this.loadSupplierTags();\n if(this.supplierID>0){\n this.actionType = \"Edit\"\n this.buttonType = \"Update\"\n this.loadSupplierDetails();\n }\n else{\n this.actionType = \"Add\"\n this.buttonType = \"Navigate to Addresses\"\n if(this.$store.getters.getIsRelatedEntityFailedToCreate && this.$store.getters.getIsValidSupplier){\n this.supplier = Object.assign({}, this.$store.getters.getSupplierDetails)\n }else{\n this.$store.dispatch('resetRelatedEntityAddressDetails',Object.assign({},this.initialSupplierAndAdressObject.address));\n this.$store.dispatch('resetSupplierDetails',Object.assign({},this.initialSupplierAndAdressObject.supplier));\n }\n this.supplier = Object.assign({},this.$store.getters.getSupplierDetails);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.supplier);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n }\n\n onSubmit(){\n if(this.supplierID>0){\n this.updateExistingSupplier();\n }\n else{\n this.addNewSupplier();\n }\n }\n\n addNewSupplier(){\n var params = {\n name:this.supplier.name,\n abn:this.supplier.abn,\n acn:this.supplier.acn,\n homePhone:this.supplier.homePhone,\n workPhone: this.supplier.workPhone,\n mobilePhone:this.supplier.mobilePhone,\n email:this.supplier.email,\n primaryPersonFirstName: this.supplier.primaryPersonFirstName,\n primaryPersonLastName: this.supplier.primaryPersonLastName,\n webSiteURL:this.supplier.webSiteURL,\n tags: this.supplier.tags,\n }\n this.$store.dispatch('updateSupplierDetails',params);\n this.$router.push({name:'Add Supplier',params:{routerDisplayName:'addresses'}}); \n }\n\n updateExistingSupplier(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Supplier','Supplier',this.supplier).then(data=>{\n var response = data.data;\n if(response.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.message,\n type: 'success',\n duration: 5000\n });\n this.onEmitName(this.supplier.name);\n this.supplier.concurrencyKey = response.concurrencyKey;\n this.supplier.lastUpadteByName = response.updatedByName;\n this.supplier.lastUpdatedDate = response.lastUpdatedDate;\n this.initialSupplier = Object.assign({},this.supplier);\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.$v.supplier.$reset();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false); \n });\n }\n\n loadSupplierDetails(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.supplierID}\n apiService.sendGetRequest('Supplier','Supplier',params).then(response=>{\n if(response.data.item1.isSuccess){\n this.supplier = response.data.item2;\n this.initialSupplier = Object.assign({},this.supplier);\n }\n this.$nextTick(() => {\n this.isInvalidACN = false;\n this.isInvalidABN = false;\n this.invalidACNMessage = \"\";\n this.invalidABNMessage = \"\";\n })\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.supplier);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadSupplierTags(){\n return new Promise ((resolve,reject) => {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetExpenseClaimCategoryList().then(data => {\n this.supplierTags = data.filter(ex => ex.value != ExpenseCategories.Other);\n this.$store.dispatch('storeIsBusyValue',false);\n resolve(this.supplierTags);\n });\n });\n }\n\n isModelInValid(){\n return this.$v.supplier.$invalid || this.$v.validationUrl.$invalid || this.isInvalidABN || this.isInvalidACN;\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n validateABN(){\n var result = customValidationService.validateABN(this.supplier.abn);\n this.isInvalidABN = result.isValid;\n this.invalidABNMessage = result.validationMessage;\n }\n\n validateACN(){\n var result = customValidationService.validateACN(this.supplier.acn);\n this.isInvalidACN = result.isValid;\n this.invalidACNMessage = result.validationMessage;\n }\n\n onCancel()\n {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.dirtyValidationConfirmation = true;\n }\n }\n\n onOkayToCancel(){\n this.supplier = Object.assign({},this.initialSupplier);\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(0,this.supplier);\n this.$nextTick(()=>{this.$v.supplier.$reset()})\n this.dirtyValidationConfirmation = false;\n }\n\n destroyed(){\n this.$store.dispatch('updateIsRelatedEntityFailedToCreate',false);\n }\n \n @Emit('onIdUpdated') onIdUpdated(id:number){\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n }\n\n @Emit('onEmitName') onEmitName(supplierName:string){ \n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditSupplier.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditSupplier.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditSupplier.vue?vue&type=template&id=712b99e7&scoped=true\"\nimport script from \"./AddEditSupplier.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditSupplier.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditSupplier.vue?vue&type=style&index=0&id=712b99e7&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"712b99e7\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue'\r\nimport { Component, Prop} from 'vue-property-decorator';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\r\nimport Tab from '@/shared/components/tabs/Tab.vue';\r\nimport AddEditSupplier from './AddEditSupplier.vue';\r\nimport apiService from '@/shared/services/apiService';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport BankAccounts from '@/components/admin/bankAccount/BankAccounts.vue'\r\nimport Notes from '@/shared/components/notes/Notes.vue';\r\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\r\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\r\nimport BPayAccounts from '@/components/admin/bpayAccount/BPayAccounts.vue';\r\nimport Addresses from '@/components/admin/address/Addresses.vue';\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport PortalAccess from '@/components/admin/portalAccess/PortalAccess.vue';\r\nimport Filtrations from '@/shared/filtrations';\r\n\r\n@Component(\r\n {\r\n components: {\r\n Tabs,\r\n Tab,\r\n Addresses,\r\n AddEditSupplier,\r\n Modal,\r\n BankAccounts,\r\n Notes,\r\n DocumentUploader,\r\n BPayAccounts,\r\n PortalAccess\r\n }\r\n }\r\n)\r\nexport default class SupplierDetails extends Vue{\r\n\r\n @Prop() IsProfileMode:boolean;\r\n @Prop() SupplierIdProp:any;\r\n supplierID:number = 0;\r\n supplierName:string = \"\";\r\n dirtyValidationRefNumbers:number[] =[0,0,0];\r\n selectedTabRouteName:string = \"details\";\r\n relatedTable:RelatedTables = RelatedTables.Supplier;\r\n dirtyValidationConfirmation:boolean = false;\r\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\r\n supplierRole:number = UserRoles.Supplier;\r\n routeName:string = \"Edit Supplier\";\r\n\r\n created()\r\n {\r\n this.supplierID = this.IsProfileMode ? this.SupplierIdProp : this.$route.params.id? +this.$route.params.id : 0;\r\n this.routeName = this.IsProfileMode? \"My Profile\" : this.supplierID == 0 ? \"Add Supplier\" : \"Edit Supplier\";\r\n if(this.supplierID == 0 && this.$route.params.routerDisplayName == 'addresses' && this.$store.getters.getIsValidSupplier){\r\n this.selectedTabRouteName = this.$route.params.routerDisplayName\r\n }else if(this.supplierID == 0 && this.$route.params.routerDisplayName == 'addresses' && !this.$store.getters.getIsValidSupplier){\r\n this.$router.push({name:'Add Supplier',params:{routerDisplayName:'details'}});\r\n }\r\n if(this.supplierID > 0)\r\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\r\n this.loadSupplierName();\r\n }\r\n\r\n loadSupplierName()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id:this.supplierID}\r\n apiService.sendGetRequest('Supplier','SupplierName',params).then(response=>{ \r\n this.supplierName = response.data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n routerNavigateBack()\r\n {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]) || \r\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[1]) ||\r\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[2])){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n else{\r\n this.navigateBack();\r\n }\r\n }\r\n\r\n navigateBack(){\r\n var queryData = {};\r\n if(Object.keys(this.$route.query).length > 0){\r\n let supplierFilter = this.$route.query[Filtrations.SUPPLIER_FILTER];\r\n if (supplierFilter) {\r\n queryData[Filtrations.SUPPLIER_FILTER] = supplierFilter;\r\n }\r\n }\r\n this.$router.push({ name: 'Suppliers', query: queryData });\r\n }\r\n\r\n detailsTabDirtySet(refNo:number)\r\n {\r\n this.dirtyValidationRefNumbers[0] = refNo;\r\n }\r\n\r\n addressTabDirtySet(refNo:number)\r\n {\r\n this.dirtyValidationRefNumbers[1] = refNo;\r\n }\r\n\r\n bankTabDirtySet(refNo:number)\r\n {\r\n this.dirtyValidationRefNumbers[2] = refNo;\r\n }\r\n\r\n bPayAccountTabDirtySet(refNo:number)\r\n {\r\n this.dirtyValidationRefNumbers[3] = refNo;\r\n }\r\n\r\n portalAccessTabDirtySet(refNo:number){\r\n this.dirtyValidationRefNumbers[4] = refNo; \r\n }\r\n\r\n onNameUpdated(name:string)\r\n {\r\n this.supplierName = name;\r\n }\r\n\r\n onIdUpdated(id:number)\r\n {\r\n this.supplierID = id;\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SupplierDetails.vue?vue&type=template&id=3f49ff5d&scoped=true\"\nimport script from \"./SupplierDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./SupplierDetails.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3f49ff5d\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelVehicleLeaseDetailsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to cotntinue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelVehicleLeaseDetailsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelVehicleLeaseDetailsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.headerTitleText)+\" \"+_vm._s(this.vehicleName)+\"\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Vehicle Lease Types\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('TopTabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.topTabdirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTopTabRouteName,\"routeName\":\"Edit Lease\"}},[_c('TopTab',{attrs:{\"name\":\"Profile\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"profile\",\"routeUrl\":'/clients/editClient/' + _vm.clientID + '/profile/details'}}),_c('TopTab',{attrs:{\"name\":\"Vehicles\",\"index\":1,\"routerDisplayName\":\"vehicles\",\"routeUrl\":'/clients/editClient/' + _vm.clientID + '/vehicles'}}),_c('TopTab',{attrs:{\"name\":\"Lease Types\",\"index\":2,\"routerDisplayName\":\"leasetypes\",\"routeUrl\":'/vehicle/' + _vm.vehicleID + '/leasetypes'}},[_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Edit Lease\"}},[_c('Tab',{attrs:{\"name\":\"Details\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"details\"}},[_c('AddEditVehicleLease',{on:{\"dirtyValidatorNoSet\":_vm.detailsTabDirtySet,\"onLeaseTypeUpdated\":_vm.onVehicleLeaseTypeUpdated,\"onIdUpdated\":_vm.onIdUpdated,\"onVehicleIdUpdated\":_vm.onVehicleIdUpdated}})],1),(_vm.showScheduleAndReportTabs)?_c('Tab',{attrs:{\"name\":\"Schedule\",\"tabDetailsClass\":'schedule-max-height',\"disabled\":_vm.leaseID == 0,\"index\":1,\"routerDisplayName\":\"schedule\"}},[_c('LeasePaymentSchdule',{attrs:{\"leaseID\":_vm.leaseID},on:{\"dirtyValidatorNoSet\":_vm.scheduleTabDirtySet}})],1):_vm._e(),(_vm.showScheduleAndReportTabs)?_c('Tab',{attrs:{\"name\":\"Reports\",\"tabDetailsClass\":'schedule-max-height',\"index\":2,\"routerDisplayName\":\"reports\"}},[_c('LeaseReports',{attrs:{\"leaseId\":_vm.leaseID},on:{\"dirtyValidatorNoSet\":_vm.scheduleTabDirtySet}})],1):_vm._e(),_c('b-row',{staticClass:\"float-right mr-1\",attrs:{\"slot\":\"tabs-buttons\"},slot:\"tabs-buttons\"},[_c('Notes',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.leaseID,\"addToolTip\":\"Please save the lease to add notes\",\"isReadOnly\":false,\"modalTitle\":\"Lease Notes\",\"buttonType\":_vm.buttonType,\"useStore\":false}}),_c('DocumentUploader',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.leaseID,\"addToolTip\":\"Please save the lease to add documents\",\"modalTitle\":\"Lease Documents\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'*'}}),_c('ClientVehicleTreeViewButton',{attrs:{\"clientID\":_vm.clientID,\"clientName\":_vm.clientName,\"showNavigateToClientLink\":true}})],1)],1)],1),(_vm.leaseID > 0)?_c('TopTab',{attrs:{\"name\":\"Related Entity Types\",\"index\":3,\"routerDisplayName\":\"relatedentitytypes\"}},[_c('NovationsList',{attrs:{\"leaseID\":_vm.leaseID}})],1):_vm._e()],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteScheduleConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteScheduleConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Delete Record\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"Are you sure you want to delete the lease payment record(s)?\")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteScheduleConf_CancelButton\"},on:{\"click\":_vm.onCancelDelete}},[_vm._v(\"Cancel\")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteScheduleConf_OkButton\"},on:{\"click\":_vm.deleteScheduleRecord}},[_vm._v(\"OK\")])],1)]):_vm._e(),(_vm.openLeaseScheduleModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"Extend Lease Payment Schedule \")])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddLeaseSchedule',{attrs:{\"leaseType\":_vm.leaseType,\"leaseDueDate\":_vm.leaseDueDate,\"leasePaymentDate\":_vm.leasePaymentDate,\"leaseId\":_vm.leaseId,\"leaseScheduleItemCountProp\":_vm.leaseScheduleItemCountProp},on:{\"dirtyValidatorNoSet\":_vm.onDirtyRefNoChanged,\"onCloseModal\":_vm.onCloseModal,\"onLeaseScheduleCreate\":_vm.onLeaseScheduleCreate}})],1)]):_vm._e(),(_vm.items.length > 0)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[(_vm.selectedLeaseSchedulePaymentIdList.length > 0 || _vm.selectedManualPaymentIdList.length > 0)?_c('b-button',{staticClass:\"ml-2 mb-3 pull-right primary\",on:{\"click\":function($event){return _vm.onClickDeleteSchedules()}}},[_vm._v(\"Delete Lease Payment Record(s)\")]):_vm._e()],1)],1):_vm._e(),_c('ManualLeasePayments',{staticClass:\"mt-2 mb-5\",attrs:{\"leaseId\":_vm.leaseId,\"loadManualPayments\":_vm.loadManualPayments},on:{\"onSelectLeasePayment\":_vm.onSelectLeasePayment}}),_c('h2',[_vm._v(\"Scheduled Lease Payments\")]),(_vm.items.length == 0 && _vm.showEmptyBanner)?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n\\t\\t\\t\\t\\tNo payment schedule exists. Please navigate to Details tab and select the\\n\\t\\t\\t\\t\\t\"),_c('b',[_vm._v(\"Create Lease Payment Schedule\")]),_vm._v(\" button.\\n\\t\\t\\t\\t\")])])],2):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-4 pull-left\",attrs:{\"sm\":\"3\",\"md\":\"4\",\"lg\":\"3\",\"xl\":\"2\"}},[_c('ScheduledPaymentStatusSelectList',{ref:\"paymentScheduleStatusList\",on:{\"onScheduledPaymentStatusChanged\":_vm.onScheduledPaymentStatusChanged}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetSelectedScheduledPaymentStatusList()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),(_vm.items.length > 0)?_c('b-col',{staticClass:\"pr-0\"},[(_vm.isRecordAddEditDeleteAllowed)?_c('b-dropdown',{staticClass:\"customs-dropdown-btn pull-right\",attrs:{\"variant\":\"secondary\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_vm._v(\"Create Lease Payment\")]},proxy:true}],null,false,1410144911)},[_c('b-dropdown-item',{attrs:{\"href\":\"#\"},on:{\"click\":_vm.onAddLeasePaymentSchedule}},[_vm._v(\"Add Schedule\")]),_c('b-dropdown-item',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){_vm.openLeaseScheduleModal = true}}},[_vm._v(\"Extend Schedule\")])],1):_vm._e()],1):_vm._e(),_vm._v(\"\\n\\t\\t\\t  \\n\\t\\t\\t\"),(!_vm.isClient)?_c('LeasePaymentScheduleAuditLogs',{attrs:{\"leaseId\":_vm.leaseId}}):_vm._e(),(_vm.isClient)?_c('div',{staticClass:\"mt-3\"}):_vm._e()],1),(_vm.items.length > 0)?_c('b-table',{ref:\"scheduledLeasePaymentsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([{key:\"cell(rowNumber)\",fn:function(row){return [_c('label',[_vm._v(_vm._s(row.item.rowNumber == 0 ? '' : row.item.rowNumber))])]}},{key:\"cell(dueDate)\",fn:function(row){return [(!row.item.editMode)?_c('label',[_vm._v(_vm._s(_vm._f(\"ApexDateFormat\")(row.item.dueDate)))]):_vm._e(),(row.item.editMode)?_c('DatePicker',{attrs:{\"id\":'_dueDate' + row.index,\"highlighted\":{dates: [_vm.todayDateInUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Due Date'},model:{value:(row.item.dueDate),callback:function ($$v) {_vm.$set(row.item, \"dueDate\", $$v)},expression:\"row.item.dueDate\"}}):_vm._e()]}},(_vm.isItemSelectable)?{key:\"head(selected)\",fn:function(){return [_c('b-row',{staticClass:\"select-all\"},[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"selectedAllCheckbox\"}},[_c('b-form-checkbox',{on:{\"change\":_vm.onSelectAll},model:{value:(_vm.isSelectAll),callback:function ($$v) {_vm.isSelectAll=$$v},expression:\"isSelectAll\"}})],1)],1)],1)]},proxy:true}:null,{key:\"cell(selected)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"selected-column\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"selected-checkbox\"},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"selectedCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":'selectedCheckbox' + row.index,\"disabled\":_vm.items[row.index].isInvalid},on:{\"change\":_vm.onClick},model:{value:(_vm.items[row.index].isChecked),callback:function ($$v) {_vm.$set(_vm.items[row.index], \"isChecked\", $$v)},expression:\"items[row.index].isChecked\"}})],1)],1)])],1)]}},{key:\"cell(totalAmountPayable)\",fn:function(row){return [(!row.item.editMode)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.totalAmountPayable}})],1):_vm._e(),(row.item.editMode)?_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",attrs:{\"id\":'_totalAmount' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"placeholder\":\"Amount (GST inclusive)\"},model:{value:(row.item.totalAmountPayable),callback:function ($$v) {_vm.$set(row.item, \"totalAmountPayable\", $$v)},expression:\"row.item.totalAmountPayable\"}})],1):_vm._e()]}},{key:\"cell(amount)\",fn:function(row){return [(!row.item.editMode)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.amount}})],1):_vm._e()]}},{key:\"cell(gstAmount)\",fn:function(row){return [(!row.item.editMode)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.gstAmount}})],1):_vm._e()]}},{key:\"cell(processedDate)\",fn:function(row){return [_c('label',[_vm._v(_vm._s(_vm._f(\"ApexDateFormat\")(row.item.processedDate)))])]}},(_vm.isClient)?{key:\"cell(status)\",fn:function(row){return [((row.item.status == 'Matched' || row.item.status == 'Generated'))?_c('span',{staticClass:\"ml-1 status-color\",attrs:{\"title\":row.item.status}},[_c('i',{staticClass:\"fas fa-check-circle\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(row.item.status == 'New')?_c('span',{staticClass:\"ml-1 status-color\",attrs:{\"title\":row.item.status}},[_c('i',{staticClass:\"fa fa-spinner\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()]}}:null,{key:\"cell(actions)\",fn:function(row){return [(_vm.isRecordAddEditDeleteAllowed && row.item.transactionId == null && !row.item.editMode)?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Edit Schedule\"},on:{\"click\":function($event){return _vm.onEditRecord(row.item)}}},[_c('i',{staticClass:\"fas fa-edit cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.isRecordAddEditDeleteAllowed && row.item.editMode)?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Save Schedule\"},on:{\"click\":function($event){return _vm.onSaveRecord(row.item)}}},[_c('i',{staticClass:\"fas fa-save cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.isRecordAddEditDeleteAllowed && row.item.editMode)?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Cancel\"},on:{\"click\":function($event){return _vm.onCancelEditRecord(row.item)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()]}},{key:\"bottom-row\",fn:function(){return [(_vm.isRecordAddEditDeleteAllowed)?_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"3\"}},[_vm._v(\"Total\")]):_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Total\")]),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmount}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalGstAmount}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmountPayable}})],1),_c('b-td',{staticClass:\"color-header-column\",attrs:{\"colspan\":\"3\"}})]},proxy:true}],null,true)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showLeasePaymentAuditLogsModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"leasePaymentAuditLogsModal\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap modal-title\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Lease Payment Schedule Audit Logs\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"leasePaymentAuditLogsModal_CancelBtn\"},on:{\"click\":_vm.onCloseModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"pt-4\",staticStyle:{\"font-size\":\"11pt\"}},[_c('DataTable',{ref:\"expenseClaimLogsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No audit logs to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange}})],1)])]):_vm._e(),_c('b-btn',{staticClass:\"mb-3 pull-right primary\",attrs:{\"title\":\"Show Lease Payment Audit Logs\"},on:{\"click\":_vm.viewLeasePaymentAuditLogs}},[_c('i',{staticClass:\"fas fa-history edit-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum'; \nimport Modal from '@/shared/components/modal/Modal.vue';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport AppSettings from '@/app.config';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport moment from 'moment';\nimport apiService from '@/shared/services/apiService';\n\n@Component(\n {\n components: {\n DataTable,\n Modal \n }\n }\n)\nexport default class LeasePaymentScheduleAuditLogs extends Vue{\n @Prop() leaseId:number;\n items:any[] = [];\n showEmptyBanner:boolean = false;\n fields = [\n {key: 'createdOnUtc',label:'Date', class:'width_25 text-left', sortable:true, \n formatter: (value, key, item) => {\n return moment(item.createdOnUtc).format(\"DD MMM YYYY HH:mm:ss\");\n }, \n },\n {key: 'updatedBy', label:'Updated By', class:'width_25 text-left'},\n {key: 'description', class:'text-left' }\n ]; \n hideFooter:boolean = true;\n showLeasePaymentAuditLogsModal:boolean = false;\n customTemplateList:Array = [];\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"createdOnUtc\";\n sortDesc:boolean = true;\n totalRows:number = 0;\n onCloseModal()\n {\n this.showLeasePaymentAuditLogsModal = false;\n }\n\n viewLeasePaymentAuditLogs(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: this.leaseId, Status :0});\n this.showLeasePaymentAuditLogsModal = true;\n }\n\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Lease\",\"PaymentScheduleAuditLogs\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onSortingChange(ctx:any)\n {\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: this.leaseId, Status: 0});\n }\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number)\n {\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: this.leaseId, Status :0});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentScheduleAuditLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentScheduleAuditLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LeasePaymentScheduleAuditLogs.vue?vue&type=template&id=64f46967&scoped=true\"\nimport script from \"./LeasePaymentScheduleAuditLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./LeasePaymentScheduleAuditLogs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LeasePaymentScheduleAuditLogs.vue?vue&type=style&index=0&id=64f46967&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"64f46967\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.items && _vm.items.length > 0)?_c('div',[_c('h2',[_vm._v(\"Manual Lease Payments\")]),_c('b-table',{attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([(_vm.isItemSelectable)?{key:\"head(selected)\",fn:function(){return [_c('b-row',[_c('b-col',{staticClass:\"selected\",attrs:{\"cols\":\"4\"}},[_c('span',{staticClass:\"selectedAll-checkbox\"},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"selecteAllCheckbox\"}},[_c('b-form-checkbox',{on:{\"change\":_vm.onSelectAll},model:{value:(_vm.isSelectAll),callback:function ($$v) {_vm.isSelectAll=$$v},expression:\"isSelectAll\"}})],1)],1)])],1)]},proxy:true}:null,{key:\"cell(selected)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"selected\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"selected-checkbox\"},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"selectedCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"disabled\":_vm.items[row.index].isInvalid},on:{\"change\":_vm.onClick},model:{value:(_vm.items[row.index].isChecked),callback:function ($$v) {_vm.$set(_vm.items[row.index], \"isChecked\", $$v)},expression:\"items[row.index].isChecked\"}})],1)],1)])],1)]}},{key:\"bottom-row\",fn:function(){return [(_vm.isAllowedDeleteRecord)?_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"3\"}},[_vm._v(\"Total\")]):_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Total\")]),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmount}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalGstAmount}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmountPayable}})],1),_c('b-td',{staticClass:\"color-header-column\",attrs:{\"colspan\":\"3\"}})]},proxy:true}],null,true)})],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[((_vm.item.status == 'Matched' || _vm.item.status == 'Generated'))?_c('span',{staticClass:\"ml-1 status-color\",attrs:{\"title\":_vm.item.status}},[_c('i',{staticClass:\"fas fa-check-circle\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.status == 'New')?_c('span',{staticClass:\"ml-1 status-color\",attrs:{\"title\":_vm.item.status}},[_c('i',{staticClass:\"fa fa-spinner\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\r\nimport moment from 'moment' \r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\n\r\n @Component\r\n export default class LeasePaymentScheduleStatus extends Vue{\r\n @Prop() item:any;\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentScheduleStatus.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentScheduleStatus.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LeasePaymentScheduleStatus.vue?vue&type=template&id=fadff6bc&v-slot%3Acell(status)=row\"\nimport script from \"./LeasePaymentScheduleStatus.vue?vue&type=script&lang=ts\"\nexport * from \"./LeasePaymentScheduleStatus.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LeasePaymentScheduleStatus.vue?vue&type=style&index=0&id=fadff6bc&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\n import apiService from '@/shared/services/apiService';\n import DataTable from '@/shared/components/dataTable/DataTable.vue';\n import {TableTemplate} from '@/models/tableCustomTemplate.model';\n import { UserRoles } from \"@/shared/enums/userRoles.enum\";\n import LeaseSchedulePaymentStatus from './LeasePaymentScheduleStatus.vue'\n import Modal from \"@/shared/components/modal/Modal.vue\";\n import ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n \n @Component({\n components : {\n DataTable,\n Modal\n }\n })\n export default class ManualLeasePayments extends Vue{\n @Prop() leaseId:number;\n @Prop() loadManualPayments:boolean;\n showEmptyBanner:boolean = false;\n isShedulePayment:boolean = false\n items:any = [];\n fields:any[] = [\n { key:'rowNumber', label:'#',},\n { key: 'dueDateDisplayText', label: 'Due Date', class:'width_10 text-center'},\n { key: 'amount', label: 'Amount', class:'width_15 text-right'},\n { key: 'gstAmount', label: 'GST', class:'width_10 text-right'},\n { key: 'totalAmountPayable', label: 'Total', class:'width_20 text-right'},\n { key: 'processedDateDisplayText', label: 'Processed Date', class:'width_15 text-center'},\n { key: 'status', label: 'Status', class:'width_10 text-center' },\n ];\n customTemplateList:Array = [{slot: 'amount', customTemplate: ApexCurrency},\n {slot: 'gstAmount', customTemplate: ApexCurrency},\n {slot: 'totalAmountPayable', customTemplate: ApexCurrency}];\n isClient: boolean = false;\n isSelectAll:boolean = false;\n selectedLeasePaymentIdList : any [] = [];\n totalAmountPayable: number = 0;\n totalAmount:number = 0;\n totalGstAmount:number = 0;\n showDeletePaymentConfirmationModal: boolean = false;\n isAllowedToEditRecord: boolean = false;\n isAllowedDeleteRecord:boolean = false;\n\n created(){\n this.isAllowedToEditRecord = this.$store.getters.isAuthorized([\n UserRoles.TenantAdmin,\n UserRoles.SystemAdmin,\n ]);\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n this.isAllowedDeleteRecord = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\n if(this.isClient){\n this.customTemplateList.push({slot:\"status\", customTemplate: LeaseSchedulePaymentStatus})\n }\n if (this.isAllowedDeleteRecord){\n var selectedDataField = {key: 'selected', label:' ', class:'width_2 text-center'};\n this.fields.splice(0,0,selectedDataField);\n }\n\n this.loadManualPaymentList();\n }\n\n @Watch('loadManualPayments')\n onManualPaymentDeleted(val: any, oldVal: any){\n if(val == true){\n this.selectedLeasePaymentIdList = [];\n this.isSelectAll = false\n this.onSelectLeasePayment(this.selectedLeasePaymentIdList);\n this.loadManualPaymentList();\n } \n }\n\n loadManualPaymentList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"ManualPayments\",{leaseId: this.leaseId}).then(response =>{\n var records = response.data;\n this.showEmptyBanner = true;\n for (let index = 0; index < records.length; index++) {\n records[index].isChecked = false;\n records[index].isInvalid = (records[index].status == 'Generated') || (records[index].status == 'Matched') || (records[index].status == 'Pending');\n var isChecked = this.selectedLeasePaymentIdList.includes(records[index].transactionId);\n records[index].isChecked = isChecked;\n }\n this.items = records;\n this.items.forEach((item) => {\n this.totalAmountPayable += parseFloat(item.totalAmountPayable);\n this.totalGstAmount += parseFloat(item.gstAmount);\n this.totalAmount += parseFloat(item.amount);\n });\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n }) \n }\n\n onClickDeleteManualPayments(){\n this.showDeletePaymentConfirmationModal = true;\n }\n\n onCancelDelete(){\n this.showDeletePaymentConfirmationModal = false;\n }\n\n onSelectAll(){\n this.$nextTick(() => {\n this.selectedLeasePaymentIdList = [];\n this.items.forEach(item =>{\n if(this.isSelectAll && !item.isInvalid){\n item.isChecked = true;\n this.selectedLeasePaymentIdList.push(item.transactionId)\n }else{\n item.isChecked = false;\n }\n })\n this.onSelectLeasePayment(this.selectedLeasePaymentIdList);\n })\n }\n\n onClick(){\n this.$nextTick(()=>{\n if(this.isSelectAll){\n this.isSelectAll = false;\n }\n this.selectedLeasePaymentIdList = [];\n this.items.forEach(item =>{\n if(!item.isInValid && item.isChecked){\n this.selectedLeasePaymentIdList.push(item.transactionId)\n }\n })\n if(this.selectedLeasePaymentIdList.length == this.items.length){\n this.isSelectAll = !this.isSelectAll;\n }\n this.onSelectLeasePayment(this.selectedLeasePaymentIdList);\n }); \n }\n\n get isItemSelectable(){\n if(this.items != null && this.items.length > 0){\n for(var i =0; i< this.items.length;i++){\n if(!this.items[i].isInvalid){\n return true\n }\n }\n }\n return false;\n }\n\n \n @Emit('onSelectLeasePayment') onSelectLeasePayment(selectedLeasePaymentIdList : any[]){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManualLeasePayments.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManualLeasePayments.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ManualLeasePayments.vue?vue&type=template&id=04820b43\"\nimport script from \"./ManualLeasePayments.vue?vue&type=script&lang=ts\"\nexport * from \"./ManualLeasePayments.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ManualLeasePayments.vue?vue&type=style&index=0&id=04820b43&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"AddLeaseScheduleConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddLeaseScheduleConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddLeaseScheduleConf_OkButton\"},on:{\"click\":_vm.closeModal}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"12\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onFormSubmit.apply(null, arguments)}}},[_c('b-row',{staticClass:\"justify-space-between\"},[_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"leaseFormGroup\",class:{ 'form-group--error': _vm.$v.leaseSchedule.leasePaymentDueDate.$required },attrs:{\"label\":\"Last Due Date\",\"label-for\":\"dueDate\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.leaseSchedule.leasePaymentDueDate == null || _vm.leaseSchedule.leasePaymentDueDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":false,\"bootstrap-styling\":true,\"id\":'dueDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledLeasePaymentDueDates,\"disabled\":true},model:{value:(_vm.leaseDueDate),callback:function ($$v) {_vm.leaseDueDate=$$v},expression:\"leaseDueDate\"}}),(_vm.$v.leaseSchedule.leasePaymentDueDate.$dirty && !_vm.$v.leaseSchedule.leasePaymentDueDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease Payment Due Date is required.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"9\"}},[_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Monthly Lease Payment Due (DD)\",\"label-for\":\"monthlyLeasePaymentDueDateSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.leaseSchedule.monthlyLeasePaymentDueDate == null || _vm.leaseSchedule.monthlyLeasePaymentDueDate.length == 0) },attrs:{\"id\":\"monthlyLeasePaymentDueDateSelect\",\"plain\":true,\"options\":_vm.monthlyLeasePaymentDueDates},on:{\"change\":function($event){_vm.$v.leaseSchedule.monthlyLeasePaymentDueDate.$touch();_vm.changeFinalLeasePaymentDueDate()}},model:{value:(_vm.leaseSchedule.monthlyLeasePaymentDueDate),callback:function ($$v) {_vm.$set(_vm.leaseSchedule, \"monthlyLeasePaymentDueDate\", $$v)},expression:\"leaseSchedule.monthlyLeasePaymentDueDate\"}},[(_vm.leaseSchedule.monthlyLeasePaymentDueDate == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"Please select a date\")])]):_vm._e()],2),(_vm.$v.leaseSchedule.monthlyLeasePaymentDueDate.$dirty && !_vm.$v.leaseSchedule.monthlyLeasePaymentDueDate.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Monthly Lease Payment Due (DD) is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"9\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.leaseSchedule.finalLeasePaymentDueMonthComponent.$error || _vm.$v.leaseSchedule.finalLeasePaymentDueYearComponent.$error },attrs:{\"label\":\"Final Lease Payment Due (MM | YYYY)\",\"label-for\":\"finalLeasePaymentDue\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.leaseSchedule.finalLeasePaymentDueMonthComponent == null || _vm.leaseSchedule.finalLeasePaymentDueMonthComponent.length == 0) },attrs:{\"id\":\"finalLeasePaymentDueDateMonthSelect\",\"plain\":true,\"options\":_vm.finalLeasePaymentDueDates},on:{\"change\":function($event){_vm.$v.leaseSchedule.finalLeasePaymentDueMonthComponent.$touch();_vm.changeFinalLeasePaymentDueDate()}},model:{value:(_vm.leaseSchedule.finalLeasePaymentDueMonthComponent),callback:function ($$v) {_vm.$set(_vm.leaseSchedule, \"finalLeasePaymentDueMonthComponent\", $$v)},expression:\"leaseSchedule.finalLeasePaymentDueMonthComponent\"}},[(_vm.leaseSchedule.finalLeasePaymentDueMonthComponent == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"MM\")])]):_vm._e()],2)],1),(_vm.$v.leaseSchedule.finalLeasePaymentDueMonthComponent.$dirty && !_vm.$v.leaseSchedule.finalLeasePaymentDueMonthComponent.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Lease Payment Due (MM) is required.\\n \")]):_vm._e(),_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.leaseSchedule.finalLeasePaymentDueYearComponent == null || _vm.leaseSchedule.finalLeasePaymentDueYearComponent.length == 0) },attrs:{\"use-utc\":true,\"id\":'year',\"format\":'yyyy',\"input-class\":'form-control textInput',\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"disabledDates\":_vm.disabledFinalLeasePaymentDueDates,\"wrapper-class\":'textInput',\"placeholder\":'YYYY',\"minimum-view\":'year'},on:{\"input\":function($event){return _vm.changeFinalLeasePaymentDueDate()}},model:{value:(_vm.leaseSchedule.finalLeasePaymentDueYearComponent),callback:function ($$v) {_vm.$set(_vm.leaseSchedule, \"finalLeasePaymentDueYearComponent\", $$v)},expression:\"leaseSchedule.finalLeasePaymentDueYearComponent\"}})],1),(_vm.$v.leaseSchedule.finalLeasePaymentDueYearComponent.$dirty && !_vm.$v.leaseSchedule.finalLeasePaymentDueYearComponent.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Lease Payment Due (YYYY) is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1),_c('b-row',{staticClass:\"add-lease-payment-button\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{staticClass:\"mb-3 pull-left primary\",attrs:{\"disabled\":_vm.saveDisabled,\"hidden\":!_vm.showAddleasepaymentButton},on:{\"click\":_vm.onAddOneMoreItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Lease Payment\\n \")]),(_vm.showInvalidTermErrorMessage)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Lease Payment Due Date should be greater than or equal to Last Lease Payment Due Date\\n \")]):_vm._e()],1)],1),_c('b-row',{staticClass:\"table-row\"},[_c('b-col',{attrs:{\"size\":\"12\"}},[_c('b-table',{staticClass:\"lease-payment-schedule-table\",attrs:{\"selected\":\"\",\"items\":_vm.leaseSchedule.items,\"fields\":_vm.fields,\"no-border-collapse\":\"\",\"sticky-header\":\"290px\",\"striped\":\"\",\"responsive\":\"sm\"},scopedSlots:_vm._u([{key:\"cell(leasePaymentNumber)\",fn:function(row){return [_c('b-row',{class:{'gst-inclusive-amount-payment-number': !_vm.showLeasePayments}},[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.leaseSchedule.items.$each[row.index].leasePaymentNumber.$error},attrs:{\"label\":\"\",\"label-for\":\"leasePaymentNumber\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":'leasePaymentNumber' + row.index,\"plain\":true,\"options\":_vm.leaseSchedule.items[row.index].leasePaymentNumberSelectList,\"disabled\":(row.index + 1) < _vm.leaseSchedule.items.length || ((row.index + 1) == _vm.leaseSchedule.items.length && _vm.isMaxLeaseScheduleCountReached)},on:{\"change\":function($event){_vm.$v.leaseSchedule.items.$each[row.index].leasePaymentNumber.$touch()}},model:{value:(_vm.leaseSchedule.items[row.index].leasePaymentNumber),callback:function ($$v) {_vm.$set(_vm.leaseSchedule.items[row.index], \"leasePaymentNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"leaseSchedule.items[row.index].leasePaymentNumber\"}}),(!_vm.$v.leaseSchedule.items.$each[row.index].leasePaymentNumber.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease Payment Number is required.\\n \")]):_vm._e()],1)],1):_vm._e()],1)]}},{key:\"cell(leasePaymentAmount)\",fn:function(row){return [_c('b-row',{staticClass:\"schedule-amount-field\"},[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.leaseSchedule.items.$each[row.index].leasePaymentAmount.$error},attrs:{\"label\":\"\",\"label-for\":\"leasePaymentAmount\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.leaseSchedule.items[row.index].leasePaymentAmount == null) },attrs:{\"disabled\":false,\"id\":'leasePaymentAmount' + row.index,\"type\":\"text\"},on:{\"input\":function($event){_vm.$v.leaseSchedule.items.$each[row.index].leasePaymentAmount.$touch()}},model:{value:(_vm.leaseSchedule.items[row.index].leasePaymentAmount),callback:function ($$v) {_vm.$set(_vm.leaseSchedule.items[row.index], \"leasePaymentAmount\", $$v)},expression:\"leaseSchedule.items[row.index].leasePaymentAmount\"}})],1),(_vm.$v.leaseSchedule.items.$each[row.index].leasePaymentAmount.$dirty && !_vm.$v.leaseSchedule.items.$each[row.index].leasePaymentAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease Payment Amount is required.\\n \")]):_vm._e(),(!_vm.$v.leaseSchedule.items.$each[row.index].leasePaymentAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Lease Payment Amount\\n \")]):_vm._e()],1)],1):_vm._e()],1)]}},{key:\"cell(gstInclusiveAmount)\",fn:function(row){return [_c('b-row',{staticClass:\"schedule-amount-field\",class:{'gst-inclusive-amount': !_vm.showLeasePayments}},[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.leaseSchedule.items.$each[row.index].gstInclusiveAmount.$error},attrs:{\"label\":\"\",\"label-for\":\"gstInclusiveAmount\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.leaseSchedule.items[row.index].gstInclusiveAmount == null) },attrs:{\"disabled\":false,\"id\":'gstInclusiveAmount' + row.index,\"type\":\"text\"},on:{\"input\":function($event){_vm.$v.leaseSchedule.items.$each[row.index].gstInclusiveAmount.$touch()}},model:{value:(_vm.leaseSchedule.items[row.index].gstInclusiveAmount),callback:function ($$v) {_vm.$set(_vm.leaseSchedule.items[row.index], \"gstInclusiveAmount\", $$v)},expression:\"leaseSchedule.items[row.index].gstInclusiveAmount\"}})],1),(_vm.$v.leaseSchedule.items.$each[row.index].gstInclusiveAmount.$dirty && !_vm.$v.leaseSchedule.items.$each[row.index].gstInclusiveAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Amount (gst Inclusive) is required.\\n \")]):_vm._e(),(!_vm.$v.leaseSchedule.items.$each[row.index].gstInclusiveAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Amount (gst Inclusive)\\n \")]):_vm._e()],1)],1):_vm._e()],1)]}},(_vm.leaseSchedule.items.length > 1)?{key:\"cell()\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"schedule-delete-button\",attrs:{\"cols\":\"12\"}},[_c('span',{attrs:{\"title\":\"Delete Item\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"deleteIcon\"},on:{\"click\":function($event){return _vm.removeItem(row.index)}}},[_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"false\"}})])])],1)]}}:null],null,true)})],1)],1),_c('b-row',[_c('b-col',[_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.leaseSchedule.$invalid) || _vm.saveDisabled || _vm.disableCreateButton}},[_vm._v(\"\\n Create\\n \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { validationMixin } from 'vuelidate';\n import { required, minValue} from 'vuelidate/lib/validators';\n import { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n import Modal from '@/shared/components/modal/Modal.vue';\n import apiService from '@/shared/services/apiService';\n import dirtyValidatorService from '@/shared/services/dirtyValidatorService';\n import moment from 'moment';\n import { RelatedTables } from '@/shared/enums/relatedTables.enum';\n import { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\n import fieldValidations from '@/shared/services/fieldValidationService';\n import lookupService from '@/shared/services/lookupService';\n import {LeaseScheduleItem,LeaseSchedule} from '@/models/Lease.model';\n import { LeasePaymentScheduleModel } from \"@/models/leasePaymentSchedule.model\";\n\n @Component(\n {\n mixins:[validationMixin],\n components: {\n Modal\n },\n validations:{\n leaseSchedule:{\n leasePaymentDueDate: {\n required\n },\n leaseID: {\n required\n }, \n monthlyLeasePaymentDueDate:{\n required,\n minValue:minValue(1)\n }, \n finalLeasePaymentDueMonthComponent:{\n required,\n minValue:minValue(1)\n },\n finalLeasePaymentDueYearComponent:{\n required,\n minValue:minValue(1)\n },\n items: {\n isCountValid : items => {\n if (items.length > 0) return true;\n else return false;\n },\n required,\n $each: {\n leasePaymentNumber: {\n required\n },\n leasePaymentAmount: {\n required,\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n },\n gstInclusiveAmount: {\n required,\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\n }\n }\n }\n\n }\n }\n }\n }\n )\n export default class AddLeaseSchedule extends Vue{\n\n @Prop() leaseType: VehicleLeaseTypes;\n @Prop() leaseDueDate: Date;\n @Prop() leaseId: number;\n @Prop() leaseScheduleItemCountProp: number;\n @Prop() leasePaymentDate: number;\n\n leaseSchedule: LeaseSchedule = {\n leaseID:0,\n leasePaymentDueDate: null,\n monthlyLeasePaymentDueDate: null,\n finalLeasePaymentDueMonthComponent:null,\n finalLeasePaymentDueYearComponent:null,\n items: []\n }\n entity: string = '';\n fields = [\n {\n key: 'leasePaymentNumber',\n label: 'Lease #',\n class: 'column-leasePaymentNumber'\n },\n {\n key: 'gstInclusiveAmount',\n label: 'Amount (GST inclusive)',\n class: 'column-gstInclusiveAmount'\n },\n {\n label: ''\n }\n ];\n \n disabledLeasePaymentDueDates = {};\n disabledFinalLeasePaymentDueDates = {};\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n dirtyValidationConfirmation:boolean = false;\n dirtyValidatorRefNo:number = 0;\n saveDisabled = false;\n addDisabled: boolean = false;\n dateChanged: boolean = false;\n novationType: RelatedTables = null;\n monthlyLeasePaymentDueDates:number[] = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28];\n finalLeasePaymentDueDates:number[] = [];\n maxDayComponentValue = 28;\n showInvalidTermErrorMessage:boolean = false;\n showLeasePayments:boolean = true;\n leaseScheduleItemCount:number = 0;\n\n created(){\n this.leaseScheduleItemCount = this.leaseScheduleItemCountProp;\n this.showLeasePayments = this.leaseType == VehicleLeaseTypes.NovatedFullyMaintained\n if (!this.showLeasePayments){\n var filteredFields = this.fields.filter(x => {\n if (x.key == 'leasePaymentAmount'){\n return false;\n }else{\n return true;\n }\n });\n this.fields = filteredFields;\n }\n this.leaseSchedule.leaseID = this.leaseId;\n\n this.loadCalendarMonths();\n let leaseScheduleItem: LeaseScheduleItem = {\n leasePaymentNumber: this.leaseScheduleItemCount + 1,\n leasePaymentNumberSelectList:[this.leaseScheduleItemCount + 1,'*'],\n leasePaymentAmount: this.showLeasePayments ? null : 0,\n gstInclusiveAmount: null,\n }\n this.leaseScheduleItemCount += 1;\n this.leaseSchedule.items.push(leaseScheduleItem);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.leaseSchedule);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.updateExtendedLeaseDueDate();\n }\n\n loadCalendarMonths(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetCalendarMonths().then(data => {\n this.finalLeasePaymentDueDates = data;\n this.$store.dispatch('storeIsBusyValue',false);\n }); \n }\n\n onAddOneMoreItem() {\n let isRowDirty = false;\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n isRowDirty = true;\n }\n let nextLeasePaymentNumber = (this.leaseScheduleItemCount + 1).toString();\n let leasePaymentNumberSelectList = [(this.leaseScheduleItemCount + 1).toString(),'*'];\n if(this.leaseSchedule.items.length > 0){\n leasePaymentNumberSelectList = nextLeasePaymentNumber == this.getMaxTerm().toString() ? [nextLeasePaymentNumber] : [nextLeasePaymentNumber, '*'];\n }\n let leaseScheduleItem: LeaseScheduleItem = {\n leasePaymentNumber: nextLeasePaymentNumber,\n leasePaymentNumberSelectList: leasePaymentNumberSelectList,\n leasePaymentAmount: this.showLeasePayments ? null : 0,\n gstInclusiveAmount: null,\n }\n this.leaseScheduleItemCount += 1;\n this.leaseSchedule.items.push(leaseScheduleItem);\n if(!isRowDirty) {\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.leaseSchedule);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n }\n\n removeItem(index: number) {\n this.leaseSchedule.items.forEach((item, i, array) => { \n if (i > index) {\n this.leaseSchedule.items[i-1] = this.leaseSchedule.items[i];\n this.leaseSchedule.items[i-1].leasePaymentNumber = this.leaseSchedule.items[i].leasePaymentNumber === \"*\" ? \"*\" : (i + this.leaseScheduleItemCountProp).toString();\n this.leaseSchedule.items[i-1].leasePaymentNumberSelectList = [(i + this.leaseScheduleItemCountProp).toString(), \"*\"];\n }\n if(i === this.leaseSchedule.items.length - 1) array.splice(this.leaseSchedule.items.length -1, 1);\n });\n this.leaseScheduleItemCount -= 1;\n this.addDisabled = false;\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo) || this.dateChanged){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.closeModal();\n }\n }\n\n onFormSubmit() {\n this.createLeaseSchedule();\n this.saveDisabled = true;\n }\n\n createLeaseSchedule() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Lease','LeasePaymentSchedule', this.leaseSchedule).then(response => {\n let data = response.data;\n if(data.isSuccess){\n this.closeModal();\n this.onLeaseScheduleCreate();\n this.$notify({\n\t\t\t\t\t\t\tgroup: \"growlNotification\",\n\t\t\t\t\t\t\ttitle: response.data.message,\n\t\t\t\t\t\t\ttype: response.data.isWarning ? 'warn' : 'success',\n\t\t\t\t\t\t\tduration: response.data.isWarning? 10000 : 5000\n\t\t\t\t\t\t});\n } else {\n this.saveDisabled = false;\n if(data.isWarning){\n this.$notify({\n group: 'modalGrowlNotification',\n title: data.message,\n type: 'error',\n duration: 10000\n });\n } else {\n this.$notify({\n group: 'modalGrowlNotification',\n title: data.message,\n type: 'error',\n duration: 5000\n });\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n\n updateExtendedLeaseDueDate(){\n this.leaseSchedule.leasePaymentDueDate = moment(new Date(this.leaseDueDate)).toDate();\n this.changeLeasePaymentDate()\n }\n\n\n get showAddleasepaymentButton(){\n var maxTerms = this.getMaxTerm();\n if((this.leaseSchedule.items && this.leaseSchedule.items.length > 0) && (this.leaseSchedule.items.length == maxTerms || this.leaseSchedule.items[this.leaseSchedule.items.length -1].leasePaymentNumber == \"*\") ){\n return false;\n }else if(this.leaseSchedule.items.length == 0){\n return false;\n }else{\n return true;\n }\n } \n\n get isMaxLeaseScheduleCountReached(){\n return this.leaseSchedule.items.length == this.getMaxTerm();\n }\n\n getMaxTerm(){\n var maxTerms = 0;\n if(moment(this.leaseSchedule.leasePaymentDueDate).isValid() && moment(this.leaseSchedule.finalLeasePaymentDueYearComponent).isValid() && moment(this.leaseSchedule.finalLeasePaymentDueMonthComponent).isValid()){\n maxTerms = (this.leaseSchedule.finalLeasePaymentDueYearComponent.getFullYear() - this.leaseSchedule.leasePaymentDueDate.getFullYear()) * 12 + (this.leaseSchedule.finalLeasePaymentDueMonthComponent - (this.leaseSchedule.leasePaymentDueDate.getMonth()) -1);\n this.checkLeasePaymentListCountIsValid(maxTerms)\n }\n return maxTerms;\n }\n\n checkLeasePaymentListCountIsValid(maxTerms){\n if(maxTerms > 0){\n if (this.showInvalidTermErrorMessage){\n this.showInvalidTermErrorMessage = false;\n let leaseScheduleItem: LeaseScheduleItem = {\n leasePaymentNumber: (this.leaseScheduleItemCount + 1).toString(),\n leasePaymentNumberSelectList:[(this.leaseScheduleItemCount + 1).toString(),'*'],\n leasePaymentAmount: this.showLeasePayments ? null : 0,\n gstInclusiveAmount: null,\n }\n this.leaseSchedule.items.push(leaseScheduleItem);\n this.leaseScheduleItemCount += 1;\n }\n if (this.leaseSchedule.items.length > maxTerms){\n let amountToReduce = this.leaseScheduleItemCount - (this.leaseSchedule.items.length - maxTerms);\n this.leaseSchedule.items.splice(maxTerms, (this.leaseSchedule.items.length - maxTerms))\n if(amountToReduce > 0){\n this.leaseScheduleItemCount = amountToReduce;\n }\n }else{\n var leasePaymentNumber = (this.leaseScheduleItemCount).toString();\n this.leaseSchedule.items[this.leaseSchedule.items.length - 1].leasePaymentNumberSelectList = [leasePaymentNumber, '*'];\n }\n }else{\n this.showInvalidTermErrorMessage = true;\n this.leaseSchedule.items = [];\n this.leaseScheduleItemCount = this.leaseScheduleItemCountProp;\n }\n }\n\n changeLeasePaymentDate(){\n if(fieldValidations.isValidDate(this.leaseSchedule.leasePaymentDueDate)){\n if(this.leasePaymentDate && this.leasePaymentDate > 0){\n this.leaseSchedule.monthlyLeasePaymentDueDate = this.leasePaymentDate;\n }else{\n var dayComponent = this.leaseSchedule.leasePaymentDueDate.getDate();\n this.leaseSchedule.monthlyLeasePaymentDueDate = dayComponent <= this.maxDayComponentValue ? dayComponent : this.maxDayComponentValue;\n }\n var startDate = moment(this.leaseSchedule.leasePaymentDueDate).toDate();\n this.disabledFinalLeasePaymentDueDates = {to:startDate}; \n }\n }\n\n changeFinalLeasePaymentDueDate(){\n if(fieldValidations.isValidDate(this.leaseSchedule.finalLeasePaymentDueYearComponent) && fieldValidations.isValidNumber(this.leaseSchedule.finalLeasePaymentDueMonthComponent)\n && fieldValidations.isValidNumber(this.leaseSchedule.monthlyLeasePaymentDueDate)){\n let finalLeasePaymentDueYear = moment(this.leaseSchedule.finalLeasePaymentDueYearComponent).year();\n let startDate = moment(new Date(this.leaseSchedule.finalLeasePaymentDueMonthComponent + \"/\" + this.leaseSchedule.monthlyLeasePaymentDueDate + \"/\" + finalLeasePaymentDueYear)).add(1, \"day\").toDate();\n this.disabledLeasePaymentDueDates = {from:startDate};\n }else if (fieldValidations.isValidDate(this.leaseSchedule.finalLeasePaymentDueYearComponent)) {\n let finalLeasePaymentDueYear = moment(this.leaseSchedule.finalLeasePaymentDueYearComponent).add(1,\"year\").year();\n let startDate = (new Date(\"1/1/\"+ finalLeasePaymentDueYear));\n this.disabledLeasePaymentDueDates = {from:startDate};\n }\n }\n\n get disabledDeleteButton(){\n if(this.leaseSchedule.items && this.leaseSchedule.items.length == 1){\n return true;\n }\n return false;\n }\n\n get disableCreateButton(){\n if(this.leaseSchedule.items && this.leaseSchedule.items.length > 0 && (this.leaseSchedule.items[this.leaseSchedule.items.length -1].leasePaymentNumber != \"*\" && this.getMaxTerm() != this.leaseSchedule.items.length )){\n return true;\n }\n return false;\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n @Emit('onCloseModal') closeModal(){}\n @Emit('refreshLeaseGrid') refreshGrid(){}\n @Emit('onLeaseScheduleCreate') onLeaseScheduleCreate(){} \n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddLeaseSchedule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddLeaseSchedule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddLeaseSchedule.vue?vue&type=template&id=417b1abf&scoped=true\"\nimport script from \"./AddLeaseSchedule.vue?vue&type=script&lang=ts\"\nexport * from \"./AddLeaseSchedule.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddLeaseSchedule.vue?vue&type=style&index=0&id=417b1abf&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"417b1abf\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"scheduledPaymentStatusSelectList\"}},[_c('multiselect',{ref:\"multiselect\",staticClass:\"select-menu\",attrs:{\"id\":\"scheduledPaymentStatusSelect\",\"options\":_vm.scheduledPaymentStatusFilterList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onScheduledPaymentStatusChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(\"\\n \"+_vm._s(_vm.scheduledPaymentStatusFilterList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Status\" : \"Statuses\")+\"\\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedScheduledPaymentStatusList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedScheduledPaymentStatusFilterList),callback:function ($$v) {_vm.selectedScheduledPaymentStatusFilterList=$$v},expression:\"selectedScheduledPaymentStatusFilterList\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No status found.\")])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Vue, Component, Emit } from 'vue-property-decorator';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport { TransactionStatus } from '@/shared/enums/transaction.enum';\r\n\r\n@Component({})\r\n export default class ScheduledPaymentStatusSelectList extends Vue {\r\n isPanelOpen: boolean = false;\r\n selectedScheduledPaymentStatusFilterList: any[] = [];\r\n selectedScheduledPaymentStatusFilterIdList: any;\r\n scheduledPaymentStatusFilterList: any[] = [];\r\n initialScheduledPaymentStatusFilterSelectList: any[] = [];\r\n\r\n created() {\r\n this.loadScheduledPaymentFilterList();\r\n }\r\n\r\n mounted() {\r\n this.setInitialScheduledPaymentStatusSelectFilters();\r\n }\r\n\r\n loadScheduledPaymentFilterList(){\r\n this.$store.dispatch('storeIsBusyValue', true);\r\n lookupService.GetTransactionStatusList().then(data => {\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n this.scheduledPaymentStatusFilterList= data;\r\n this.selectedScheduledPaymentStatusFilterList = data.filter(obj => this.initialScheduledPaymentStatusFilterSelectList.includes(obj.value));\r\n this.selectedScheduledPaymentStatusFilterIdList = this.selectedScheduledPaymentStatusFilterList.map(status => status.value).toString();\r\n this.scheduledPaymentStatusChanged(this.selectedScheduledPaymentStatusFilterIdList , false);\r\n });\r\n }\r\n\r\n onScheduledPaymentStatusChanged() {\r\n this.isPanelOpen = false;\r\n this.selectedScheduledPaymentStatusFilterIdList = this.selectedScheduledPaymentStatusFilterList.map(status => status.value).toString();\r\n this.scheduledPaymentStatusChanged(this.selectedScheduledPaymentStatusFilterIdList, true);\r\n }\r\n\r\n removeSelectedScheduledPaymentStatusList() {\r\n this.selectedScheduledPaymentStatusFilterList = [];\r\n this.selectedScheduledPaymentStatusFilterIdList = [0];\r\n if (!this.isPanelOpen) {\r\n this.scheduledPaymentStatusChanged(this.selectedScheduledPaymentStatusFilterIdList , true);\r\n }\r\n }\r\n\r\n resetActiveFilter(){\r\n this.selectedScheduledPaymentStatusFilterList = this.scheduledPaymentStatusFilterList.filter(obj => this.initialScheduledPaymentStatusFilterSelectList.includes(obj.value));\r\n this.selectedScheduledPaymentStatusFilterIdList = this.selectedScheduledPaymentStatusFilterList.map(status => status.value).toString();\r\n this.scheduledPaymentStatusChanged(this.selectedScheduledPaymentStatusFilterIdList, false);\r\n }\r\n\r\n setInitialScheduledPaymentStatusSelectFilters(){\r\n this.initialScheduledPaymentStatusFilterSelectList.push(TransactionStatus.New,TransactionStatus.Generated, TransactionStatus.Matched)\r\n }\r\n\r\n @Emit('onScheduledPaymentStatusChanged') scheduledPaymentStatusChanged(statusFilter: any[], userChange: boolean) {}\r\n \r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentStatusSelectList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentStatusSelectList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ScheduledPaymentStatusSelectList.vue?vue&type=template&id=68594f8a&scoped=true\"\nimport script from \"./ScheduledPaymentStatusSelectList.vue?vue&type=script&lang=ts\"\nexport * from \"./ScheduledPaymentStatusSelectList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ScheduledPaymentStatusSelectList.vue?vue&type=style&index=0&id=68594f8a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68594f8a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Emit } from \"vue-property-decorator\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport moment from \"moment\";\r\nimport Modal from \"@/shared/components/modal/Modal.vue\";\r\nimport { LeasePaymentScheduleModel } from \"@/models/leasePaymentSchedule.model\";\r\nimport LeasePaymentScheduleAuditLogs from \"./LeasePaymentScheduleAuditLogs.vue\";\r\nimport fieldValidations from \"@/shared/services/fieldValidationService\";\r\nimport { UserRoles } from \"@/shared/enums/userRoles.enum\";\r\nimport ManualLeasePayments from \"./ManualLeasePayments.vue\";\r\nimport { TransactionStatus } from \"@/shared/enums/transaction.enum\";\r\nimport {SelectedPaymentModel} from '@/models/leasePaymentSchedule.model';\r\nimport AddLeaseSchedule from \"./AddLeaseSchedule.vue\";\r\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\r\nimport ScheduledPaymentStatusSelectList from \"../../client/vehicle/ScheduledPaymentStatusSelectList.vue\";\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t\tModal,\r\n\t\tLeasePaymentScheduleAuditLogs,\r\n\t\tManualLeasePayments,\r\n\t\tAddLeaseSchedule,\r\n\t\tScheduledPaymentStatusSelectList\r\n\t},\r\n})\r\nexport default class LeasePaymentSchdule extends Vue {\r\n\tleaseId: number = 0;\r\n\ttodayDate: any = new Date();\r\n\ttodayDateUTC: any = new Date(\r\n\t\tDate.UTC(\r\n\t\t\tthis.todayDate.getFullYear(),\r\n\t\t\tthis.todayDate.getMonth(),\r\n\t\t\tthis.todayDate.getDate(),\r\n\t\t\t0,\r\n\t\t\t0,\r\n\t\t\t0\r\n\t\t)\r\n\t);\r\n\tnewLeasePaymentSchedule: LeasePaymentScheduleModel = {\r\n\t\tid: 0,\r\n\t\trowNumber: 0,\r\n\t\tdueDate: \"\",\r\n\t\tamountPayable: \"\",\r\n\t\tgstInclusive:false,\r\n\t\tprocessedDate: \"\",\r\n\t\tleaseId: this.leaseId,\r\n\t\ttransactionId: 0,\r\n\t\tstatus: \"\",\r\n\t\tisActive: true,\r\n\t\teditMode: true,\r\n\t\tconcurrencyKey: \"\",\r\n\t};\r\n\r\n\titems: any[] = [];\r\n\tmanualPayments: any[] = [];\r\n\tfields: any[] = [\r\n\t\t{ key: \"rowNumber\", label: \"#\", class:'width_5 text-center'},\r\n\t\t{ key: \"dueDate\", label: \"Due Date\", class: \"width_15 text-center\"},\r\n\t\t{ key: \"amount\", label: \"Amount\", class: \"width_15 text-right\"},\r\n\t\t{ key : \"gstAmount\", label:\"GST\", class:\"width_10 text-right\"},\r\n\t\t{ key: \"totalAmountPayable\", label: \"Total\", class: \"width_20 text-right\"},\r\n\t\t{ key: \"processedDate\", label: \"Processed Date\",class: \"width_15 text-center\"},\r\n\t];\r\n\trecordToBeDeleted: any = {};\r\n\trecordToBeEdited: any = {};\r\n\tshowDeleteScheduleConfirmationModal: boolean = false;\r\n\ttotalAmountPayable: number = 0;\r\n\ttotalAmount:number = 0;\r\n\ttotalGstAmount:number = 0;\r\n\tisLeaseGstInclusive:boolean = false;\r\n\tisRecordEditable : boolean = false;\r\n\tisRecordAddEditDeleteAllowed:boolean = false;\r\n\tisAllowedDeleteRecord:boolean = false;\r\n\tisClient: boolean = false;\r\n\tselectedLeaseSchedulePaymentIdList:any[] = [];\r\n\tselectedManualPaymentIdList:any[] = [];\r\n\tisSelectAll:boolean = false;\r\n\tshowEmptyBanner:boolean = false;\r\n\tloadManualPayments:boolean = false;\r\n\topenLeaseScheduleModal: boolean = false;\r\n\tleaseDueDate :Date = null;\r\n\tleaseType: VehicleLeaseTypes = null;\r\n\tdirtyValidatorRefNo: number = 0;\r\n\tleaseScheduleItemCountProp: number = 0;\r\n\tleasePaymentDate: number = 0;\r\n\tresetButtonDisabled:boolean = true;\r\n\tselectedPaymentScheduleStatusFilterIdList: any;\r\n\tselectedScheduledPaymentStatusFilterList: any[] = [];\r\n\r\n\tget todayDateInUTC() {\r\n\t\treturn this.todayDateUTC;\r\n\t}\r\n\r\n\tcreated() {\r\n\t\tthis.leaseId = +this.$route.params.leaseID\r\n\t\t\t? +this.$route.params.leaseID\r\n\t\t\t: 0;\r\n\t\tthis.isRecordEditable = this.$store.getters.isAuthorized([\r\n\t\t\tUserRoles.TenantAdmin,\r\n\t\t\tUserRoles.SystemAdmin,\r\n\t\t]);\r\n\t\tthis.isRecordAddEditDeleteAllowed = this.$store.getters.isAuthorized([\r\n\t\t\tUserRoles.TenantAdmin,\r\n\t\t]);\r\n\t\tthis.isAllowedDeleteRecord = this.$store.getters.isAuthorized([\r\n\t\t\tUserRoles.StandardUser,\r\n\t\t]);\r\n\r\n\t\tthis.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n\t\tif (this.isClient || this.isAllowedDeleteRecord) {\r\n\t\t\tthis.fields.push({ key: \"status\", label: \"Status\", class: \"width_20 text-center\" })\r\n\t\t}\r\n\t\telse{\r\n\t\t\tthis.fields.push({ key: \"status\", label: \"Status\", class: \"width_10 text-center\" }) \r\n\t\t\tthis.fields.push({ key: \"actions\", label: \"\", class: \"width_15 text-right\" })\r\n\t\t}\r\n\t\t\r\n\t\tif (this.isRecordAddEditDeleteAllowed || this.isAllowedDeleteRecord){\r\n\t\t\tthis.fields.push()\r\n\t\t\tvar selectedDataField = {key: 'selected', label:' ', class:'width_2 text-center'};\r\n\t\t\tthis.fields.splice(0,0,selectedDataField);\r\n\t\t}\r\n\t}\r\n\r\n\tgetDate(date) {\r\n\t\treturn moment(date).format(\"dd MMM YYYY\");\r\n\t}\r\n\r\n\r\n\tloadLeasePaymentSchedule() {\r\n\t\tthis.$store.dispatch(\"storeIsBusyValue\", true);\r\n\t\tthis.showEmptyBanner = false;\r\n\t\tapiService.sendGetRequest(\"Lease\", \"PaymentSchedule\", { id: this.leaseId, selectedScheduledPaymentStatusFilterList: this.selectedPaymentScheduleStatusFilterIdList, isGetAllStatuses: false })\r\n\t\t\t.then((response) => {\r\n\t\t\t\tvar records = response.data.item1;\r\n\t\t\t\tthis.isLeaseGstInclusive = response.data.item2;\r\n\t\t\t\tthis.totalAmountPayable = 0;\r\n\t\t\t\tfor (let index = 0; index < records.length; index++) {\r\n\t\t\t\t\trecords[index].isChecked = false;\r\n\t\t\t\t\trecords[index].isInvalid = (records[index].transactionStatus == TransactionStatus.Generated) || (records[index].transactionStatus == TransactionStatus.Matched);\r\n\t\t\t\t\tvar isChecked = this.selectedLeaseSchedulePaymentIdList.includes(records[index].id);\r\n\t\t\t\t\trecords[index].isChecked = isChecked;\r\n\t\t\t\t}\r\n\t\t\t\tthis.items = records;\r\n\t\t\t\tthis.showEmptyBanner = true;\r\n\t\t\t\tthis.items.forEach((item) => {\r\n\t\t\t\t\tthis.totalAmountPayable += parseFloat(item.totalAmountPayable);\r\n\t\t\t\t\tthis.totalGstAmount += parseFloat(item.gstAmount);\r\n\t\t\t\t\tthis.totalAmount += parseFloat(item.amount);\r\n\t\t\t\t});\r\n\t\t\t\tif(this.items && this.items.length > 0){\r\n\t\t\t\t\tthis.leaseDueDate = this.items[this.items.length -1].dueDate;\r\n\t\t\t\t\tlet rowNumbers = this.items.map(m=> m.rowNumber);\r\n\t\t\t\t\tthis.leaseScheduleItemCountProp = Math.max(...rowNumbers);\r\n\t\t\t\t\tif(response.data.item3){\r\n\t\t\t\t\t\tthis.leasePaymentDate = response.data.item3;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tthis.$store.dispatch(\"storeIsBusyValue\", false);\r\n\t\t\t});\t\r\n\t}\r\n\r\n\tonScheduledPaymentStatusChanged(statusFilter:any[], userChange: boolean) {\r\n this.resetButtonDisabled = !userChange;\r\n this.selectedPaymentScheduleStatusFilterIdList = statusFilter;\r\n this.loadLeasePaymentSchedule();\r\n }\r\n\r\n resetSelectedScheduledPaymentStatusList() {\r\n this.resetButtonDisabled = true;\r\n (this.$refs.paymentScheduleStatusList as ScheduledPaymentStatusSelectList).resetActiveFilter();\r\n }\r\n\r\n\tonSaveRecord(item: any) {\r\n\t\tif (!this.isValidSchedule(item)) {\r\n\t\t\tthis.$notify({\r\n\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\ttitle: \"Invalid Schedule values.\",\r\n\t\t\t\ttype: \"error\",\r\n\t\t\t\tduration: 5000,\r\n\t\t\t});\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.$store.dispatch(\"storeIsBusyValue\", true);\r\n\t\tif (item.id == 0) {\r\n\t\t\tapiService\r\n\t\t\t\t.sendPutRequest(\"Lease\", \"PaymentSchedule\", item)\r\n\t\t\t\t.then((response) => {\r\n\t\t\t\t\tif (response.data.isSuccess) {\r\n\t\t\t\t\t\tthis.$notify({\r\n\t\t\t\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\t\t\t\ttitle: response.data.message,\r\n\t\t\t\t\t\t\ttype: response.data.isWarning ? 'warn' : 'success',\r\n\t\t\t\t\t\t\tduration: response.data.isWarning? 10000 : 5000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$notify({\r\n\t\t\t\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\t\t\t\ttitle: response.data.message,\r\n\t\t\t\t\t\t\ttype: \"error\",\r\n\t\t\t\t\t\t\tduration: 5000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.loadLeasePaymentSchedule();\r\n\t\t\t\t\tthis.$store.dispatch(\"storeIsBusyValue\", false);\r\n\t\t\t\t});\r\n\t\t} else {\r\n\t\t\tapiService\r\n\t\t\t\t.sendPostRequest(\"Lease\", \"PaymentSchedule\", item)\r\n\t\t\t\t.then((response) => {\r\n\t\t\t\t\tif (response.data.isSuccess) {\r\n\t\t\t\t\t\tthis.$notify({\r\n\t\t\t\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\t\t\t\ttitle: response.data.message,\r\n\t\t\t\t\t\t\ttype: response.data.isWarning ? 'warn' : 'success',\r\n\t\t\t\t\t\t\tduration: response.data.isWarning? 10000 : 5000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tthis.$notify({\r\n\t\t\t\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\t\t\t\ttitle: response.data.message,\r\n\t\t\t\t\t\t\ttype: \"error\",\r\n\t\t\t\t\t\t\tduration: 5000,\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.loadLeasePaymentSchedule();\r\n\t\t\t\t\tthis.$store.dispatch(\"storeIsBusyValue\", false);\r\n\t\t\t\t});\r\n\t\t}\r\n\t}\r\n\r\n\tonAddLeasePaymentSchedule() {\r\n\t\tif(this.isLeaseGstInclusive == true){\r\n\t\t\tthis.newLeasePaymentSchedule.gstInclusive = true;\r\n\t\t} \r\n\t\tvar newLeasePaymentSchedule = Object.assign(\r\n\t\t\t{},\r\n\t\t\tthis.newLeasePaymentSchedule\r\n\t\t);\r\n\t\tnewLeasePaymentSchedule.leaseId = this.leaseId;\r\n\t\tthis.items.splice(0, 0, newLeasePaymentSchedule);\r\n\t}\r\n\r\n\t\r\n\t onClick(){\r\n\t\tthis.$nextTick(()=>{\r\n\t\t\tif(this.isSelectAll){\r\n\t\t\t\tthis.isSelectAll = false;\r\n\t\t\t}\r\n\t\t\tthis.selectedLeaseSchedulePaymentIdList = [];\r\n\t\t\tthis.items.forEach(item =>{\r\n\t\t\t\tif(!item.isInValid && item.isChecked){\r\n\t\t\t\t\tthis.selectedLeaseSchedulePaymentIdList.push(item.id)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\tif(this.selectedLeaseSchedulePaymentIdList.length == this.items.length){\r\n this.isSelectAll = !this.isSelectAll;\r\n }\r\n\t\t}); \r\n\t}\r\n\t\r\n\tonEditRecord(item: any) {\r\n\t\tthis.recordToBeEdited = Object.assign({}, item);\r\n\t\titem.editMode = true;\r\n\t\tif (item.amountPayable != \"\") {\r\n\t\t\titem.amountPayable = (Math.round(item.amountPayable * 100) / 100).toFixed(2);\r\n\t\t}\r\n\t}\r\n\r\n\tonCancelEditRecord(item: any) {\r\n\t\tif (item.id == 0) {\r\n\t\t\tthis.items.shift();\r\n\t\t} else {\r\n\t\t\titem.amountPayable = this.recordToBeEdited.amountPayable;\r\n\t\t\titem.dueDate = this.recordToBeEdited.dueDate;\r\n\t\t\titem.editMode = false;\r\n\t\t}\r\n\t}\r\n\r\n\tonClickDeleteSchedules(){\r\n\t\tthis.showDeleteScheduleConfirmationModal = true;\r\n\t}\r\n\r\n\tonCancelDelete() {\r\n\t\tthis.showDeleteScheduleConfirmationModal = false;\r\n\t}\r\n\r\n\tonDirtyRefNoChanged(dirtyValidatorRefNo){\r\n this.dirtyValidatorRefNo = dirtyValidatorRefNo;\r\n }\r\n\r\n\tdeleteScheduleRecord() {\r\n\t\tthis.loadManualPayments = false;\r\n\t\tthis.showDeleteScheduleConfirmationModal = false;\r\n\t\tthis.$store.dispatch(\"storeIsBusyValue\", true);\r\n\t\tvar deletePaymentModel : SelectedPaymentModel={\r\n\t\t\t\tleaseId : this.leaseId,\r\n\t\t\t\tLeaseSchedulePaymentIdList: this.selectedLeaseSchedulePaymentIdList,\r\n\t\t\t\tManualPaymentIdList : this.selectedManualPaymentIdList\r\n\t\t}\r\n\t\tapiService\r\n\t\t\t.sendDeleteRequest(\"Lease\", \"DeleteLeasePayment\", deletePaymentModel)\r\n\t\t\t.then((response) => {\r\n\t\t\t\tif (response.data.isSuccess) {\r\n\t\t\t\t\tthis.$notify({\r\n\t\t\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\t\t\ttitle: response.data.message,\r\n\t\t\t\t\t\ttype: \"success\",\r\n\t\t\t\t\t\tduration: 5000,\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.$notify({\r\n\t\t\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\t\t\ttitle: response.data.message,\r\n\t\t\t\t\t\ttype: \"error\",\r\n\t\t\t\t\t\tduration: 5000,\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\tthis.loadLeasePaymentSchedule();\r\n\t\t\t\tthis.loadManualPayments = true;\r\n\t\t\t\tthis.$store.dispatch(\"storeIsBusyValue\", false);\r\n\t\t\t\tthis.selectedLeaseSchedulePaymentIdList = [];\r\n\t\t\t\tthis.isSelectAll = false;\r\n\t\t\t});\r\n\t}\r\n\r\n\tonLeaseScheduleCreate(){\r\n\t\tthis.loadLeasePaymentSchedule();\r\n\t}\r\n\r\n\tonSelectAll(){\r\n\t\tthis.$nextTick(() => {\r\n\t\tthis.selectedLeaseSchedulePaymentIdList = [];\r\n\t\tthis.items.forEach(item =>{\r\n\t\t\tif(this.isSelectAll && !item.isInvalid){\r\n\t\t\t\titem.isChecked = true;\r\n\t\t\t\tthis.selectedLeaseSchedulePaymentIdList.push(item.id)\r\n\t\t\t}else{\r\n\t\t\t\titem.isChecked = false;\r\n\t\t\t}\r\n\t\t})\r\n\t})\r\n}\r\n\r\n\tget isItemSelectable(){\r\n\t\tif(this.items != null && this.items.length > 0){\r\n\t\t\tfor(var i =0; i< this.items.length;i++){\r\n\t\t\t\tif(!this.items[i].isInvalid){\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\treturn false;\r\n\t}\r\n\r\n\tisValidSchedule(schedule: any) {\r\n\t\tif (\r\n\t\t\tfieldValidations.isValidDate(schedule.dueDate) &&\r\n\t\t\tfieldValidations.isValidDecimal(schedule.totalAmountPayable)\r\n\t\t) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\tonSelectLeasePayment(selectedLeasePaymentIdList:any[]){\r\n\t\tthis.selectedManualPaymentIdList = selectedLeasePaymentIdList;\r\n\t}\r\n\r\n\tonCloseModal() {\r\n this.openLeaseScheduleModal = false;\r\n }\r\n\r\n\t@Emit(\"dirtyValidatorNoSet\") dirtyValidatorNoSet(refNo: number) {}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentSchdule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeasePaymentSchdule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LeasePaymentSchdule.vue?vue&type=template&id=382cb806&scoped=true\"\nimport script from \"./LeasePaymentSchdule.vue?vue&type=script&lang=ts\"\nexport * from \"./LeasePaymentSchdule.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LeasePaymentSchdule.vue?vue&type=style&index=0&id=382cb806&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"382cb806\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[(_vm.addNewNovation)?_c('b-button',{staticClass:\"mb-3 pull-right primary\",on:{\"click\":_vm.onAddNovation}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Novation\\n \")]):_vm._e()],1)],1),(_vm.showMaxNovationReachedNote && !_vm.addNewNovation)?_c('SystemTextNotes',{attrs:{\"boldText\":\"Maximum number of novations reached.\"}}):_vm._e(),_c('DataTable',{ref:\"novationTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No novations to display.\",\"selectable\":true},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteNovationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"650px\",\"id\":\"DeleteNovationListConf\"},on:{\"ok\":_vm.deleteNovation}},[(_vm.isNovationDeletable)?_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Novation\")]):_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Novation Failed\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.isNovationDeletable)?_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the novation?\\n \")]):_c('b-row',[(_vm.errorsList.length > 0)?_c('b-col',_vm._l((_vm.errorsList),function(error,index){return _c('SystemTextErrors',{key:index,attrs:{\"text1\":error,\"isDecimalValue\":false}})}),1):_vm._e()],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteNovationListConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),(_vm.isNovationDeletable)?_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteNovationListConf_OkButton\"},on:{\"click\":_vm.deleteNovation}},[_vm._v(\"\\n Delete\\n \")]):_vm._e()],1)]):_vm._e(),(!_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Novation\"},on:{\"click\":_vm.onDeleteNovationClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport SystemTextErrors from '@/components/shared/SystemTextErrors.vue';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport { Component, Emit, Prop, Vue } from 'vue-property-decorator';\r\n\r\n@Component({\r\n components: {\r\n Modal,\r\n SystemTextErrors\r\n }\r\n})\r\nexport default class NovationListActionButtons extends Vue {\r\n @Prop() item: any\r\n showDeleteNovationConfirmation = false;\r\n isNovationDeletable: boolean = false;\r\n errorsList: any[];\r\n isStandardUser: false;\r\n \r\n created(){\r\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\r\n }\r\n \r\n onDeleteNovationClick() {\r\n this.getDeleteNovationValidations();\r\n }\r\n\r\n getDeleteNovationValidations() {\r\n this.$store.dispatch('storeIsBusyValue', true);\r\n apiService.sendGetRequest('Novation', 'ValidateNovation', { novationId: this.item.id }).then(\r\n response => {\r\n this.errorsList = response.data;\r\n this.isNovationDeletable = this.errorsList.length <= 0;\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n\r\n this.showDeleteNovationConfirmation = true;\r\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\r\n }\r\n );\r\n }\r\n\r\n deleteNovation() {\r\n this.showDeleteNovationConfirmation = false;\r\n this.item.isActive = false;\r\n this.onNovationDeleted(this.item, DataTableActionTypes.Delete);\r\n }\r\n\r\n onCloseDelete() {\r\n this.showDeleteNovationConfirmation = false;\r\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\r\n }\r\n\r\n @Emit('customEvent') onAction(_data: any, _type: DataTableActionTypes) {\r\n }\r\n\r\n @Emit('customEvent') onNovationDeleted(_item: any, _type: DataTableActionTypes) {\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationListActionButtons.vue?vue&type=template&id=b326840e&scoped=true\"\nimport script from \"./NovationListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NovationListActionButtons.vue?vue&type=style&index=0&id=b326840e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b326840e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue'\nimport apiService from '@/shared/services/apiService'\nimport {TableTemplate} from '@/models/tableCustomTemplate.model'\nimport NovationListActionButtons from './NovationListActionButtons.vue'\nimport moment from 'moment'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum'\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\n\n@Component(\n {\n components:{\n DataTable,\n SystemTextNotes\n }\n }\n)\nexport default class NovationsList extends Vue{\n @Prop() leaseID:any;\n vehicleID:number = 0; \n items:any = [];\n showEmptyBanner:boolean = true;\n showMaxNovationReachedNote:boolean = false;\n addNewNovation:boolean = false;\n employersList:any[] = [];\n clientList:any[] = [];\n fields = [\n {\n key: 'rern', \n class:'width_10',\n label: 'RERN',\n },\n {\n key: 'relatedTable', \n class:'width_20',\n label: 'Type',\n formatter: (value, key, item) => {\n return item.relatedTable == RelatedTables.Client ? RelatedTables[RelatedTables.Client] : item.relatedTable == RelatedTables.Employer ? RelatedTables[RelatedTables.Employer] : '';\n }\n },\n {\n key: 'startDate', \n class:'width_20',\n formatter: (value, key, item) => {\n return moment(item.startDate).format(\"DD MMM YYYY\");\n }\n },\n {\n key: 'endDate', \n class:'width_20',\n formatter: (value, key, item) => {\n return this.getEndDate(item.endDate);\n }\n },\n {\n key: 'entityName',\n formatter: (value, key, item) => {\n return this.getEntityName(item.relatedID, item.relatedTable);\n },\n class:'width_20'\n },\n {\n key: 'leaseStartingODO',\n class:'width_20 text-right'\n },\n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n customTemplateList:Array = [\n {slot:\"actions\",customTemplate:NovationListActionButtons}\n ]\n created(){\n this.vehicleID = this.vehicleID = +this.$route.params.vehicleID;\n this.loadEmployerSelectList();\n this.loadNovationsList();\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.novationTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.novationTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onNovationDeleted(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n this.$router.push({name:\"Edit Novation\",params:{leaseID:this.leaseID, novationID:data.id,topRouteDisplayName:'relatedentitytypes',routerDisplayName:\"details\"}})\n }\n }\n onNovationDeleted(item:any){\n this.$store.dispatch('storeIsBusyValue',true);\n item.isActive = false;\n apiService.sendPostRequest(\"Novation\",\"Novation\",item).then(\n response =>{\n if(response.data.item1.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Novation record successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n \n this.loadNovationsList();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.item1.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.novationTable as DataTable).resetLastCustomAction();\n }) \n }\n \n loadNovationsList(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n this.showMaxNovationReachedNote = false;\n apiService.sendGetRequest('Novation','LeaseNovations',{leaseID:this.leaseID}).then(\n response => {\n var leaseNovationList = response.data;\n this.items = leaseNovationList.novations;\n this.addNewNovation = leaseNovationList.addNewNovation;\n this.showEmptyBanner = true;\n this.showMaxNovationReachedNote = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n \n onAddNovation(){\n this.$router.push({name:\"Add Novation\",params:{leaseID:this.leaseID,routerDisplayName:\"details\"}})\n }\n \n loadEmployerSelectList(){\n apiService.sendGetRequest('Employer','EmployerSelectList',{}).then( response=>{\n this.employersList = response.data;\n })\n\n apiService.sendGetRequest('Client', 'ClientSelectList').then ( response => {\n this.clientList = response.data;\n });\n }\n\n getEntityName(id:number, type: RelatedTables){\n var name = \"\";\n if(type == RelatedTables.Client) {\n this.clientList.forEach(element => {\n if(element.value == id){\n name = element.text;\n }\n });\n } else if(type == RelatedTables.Employer){\n this.employersList.forEach(element => {\n if(element.value == id){\n name = element.text;\n }\n });\n }\n\n return name;\n }\n\n getEndDate(date){\n return date ? moment(date).format(\"DD MMM YYYY\"):\"\";\n }\n}\n","export enum LeaseReportTypes\r\n{\r\n LeasePaymentsReport = 1,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationsList.vue?vue&type=template&id=3ebe21d6&scoped=true\"\nimport script from \"./NovationsList.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationsList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NovationsList.vue?vue&type=style&index=0&id=3ebe21d6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ebe21d6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"mb-4\"},[_c('b-container',{class:_vm.isClient ? _vm.client_view : _vm.user_view},[_c('b-form',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"md\":\"8\",\"sm\":\"12\",\"lg\":\"4\"}},[_c('b-form-group',[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"novationReportSelect\",\"plain\":true,\"options\":_vm.leaseReportList,\"required\":\"\"},on:{\"change\":function($event){return _vm.onChangeReportType()}},model:{value:(_vm.leaseReportType),callback:function ($$v) {_vm.leaseReportType=$$v},expression:\"leaseReportType\"}},[((_vm.leaseReportType == 0))?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Select a Report --\")])]):_vm._e()],2)],1)],1)],1),(_vm.showLeasePaymentReportInfoText)?_c('b-col',{staticClass:\"pl-2\"},[_c('b-dropdown',{staticClass:\"mb-3 \",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":false}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.getLeasePaymentReport('pdf')}}},[_vm._v(\"PDF\")])],1)],1):_vm._e()],1)],1),(_vm.showLeasePaymentReportInfoText)?_c('b-row',[_c('b-col',[_vm._v(\"\\n Please select the 'Export As' button to generate the report.\\n \")])],1):_vm._e()],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport apiService from '@/shared/services/apiService'\r\nimport lookupService from '@/shared/services/lookupService'\r\nimport fileViewerService from '@/shared/services/fileViewerService';\r\nimport {LeaseReportTypes} from '@/shared/enums/leaseReportTypes.enum';\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\n\r\n@Component({\r\n components:{}\r\n})\r\n\r\nexport default class LeaseReports extends Vue\r\n{\r\n @Prop() leaseId: number;\r\n \r\n leaseReportList:any[]=[];\r\n leaseReportType:number = 0;\r\n showReport:boolean = false;\r\n showReportData:boolean = false;\r\n isClient:boolean = true;\r\n client_view = \"novation-report-client-view\"\r\n user_view = \"novation-report-user-view\"\r\n showLeasePaymentReportInfoText = false;\r\n\r\n created()\r\n {\r\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n this.loadLeaseReportSelectList();\r\n }\r\n\r\n loadLeaseReportSelectList(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetLeaseReportList().then(data => \r\n {\r\n this.leaseReportList = data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onChangeReportType(){\r\n this.showLeasePaymentReportInfoText = false;\r\n this.showReport = false;\r\n this.showReportData = false;\r\n if (this.leaseReportType == LeaseReportTypes.LeasePaymentsReport) {\r\n this.showLeasePaymentReportInfoText = true; \r\n }\r\n }\r\n\r\n getLeasePaymentReport(reportFormat) {\r\n let fileExtension = reportFormat == 'pdf' ? 'pdf' : 'doc';\r\n if(fileExtension == 'pdf'){ \r\n this.generateLeasePaymentReport()\r\n }\r\n }\r\n\r\n generateLeasePaymentReport()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Finance\",\"LeasePaymentReport\",{leaseId:this.leaseId}).then(\r\n response =>{\r\n if(response.data.isSuccess)\r\n {\r\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\"pdf\",false);\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeaseReports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LeaseReports.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LeaseReports.vue?vue&type=template&id=36468c1c&scoped=true\"\nimport script from \"./LeaseReports.vue?vue&type=script&lang=ts\"\nexport * from \"./LeaseReports.vue?vue&type=script&lang=ts\"\nimport style0 from \"./LeaseReports.vue?vue&type=style&index=0&id=36468c1c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"36468c1c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport TopTab from '@/shared/components/tabs/TopTab.vue';\nimport TopTabs from '@/shared/components/tabs/TopTabs.vue';\nimport AddEditVehicleLease from './AddEditVehicleLease.vue';\nimport LeasePaymentSchdule from './LeasePaymentSchdule.vue';\nimport apiService from '@/shared/services/apiService'\nimport NovationsList from '@/components/admin/novationManagement/NovationsList.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport ClientVehicleTreeViewButton from '@/components/admin/clientManagement/ClientVehicleTreeViewButton.vue'\nimport MotorVehicleList from '@/components/admin/motorVehicleManagement/MotorVehicleList.vue'\nimport VehicleLeaseList from '@/components/admin/vehicleLeaseManagement/VehicleLeaseList.vue';\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\nimport LeaseReports from './LeaseReports.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n TopTab,\n TopTabs,\n AddEditVehicleLease,\n NovationsList,\n Modal,\n Notes,\n DocumentUploader,\n LeasePaymentSchdule,\n ClientVehicleTreeViewButton,\n MotorVehicleList,\n VehicleLeaseList,\n LeaseReports\n }\n }\n)\nexport default class VehicleLeaseDetails extends Vue{\n vehicleID:number = 0;\n leaseID:number = 0;\n clientID:number = 0;\n selectedTabRouteName:string = \"Details\";\n selectedTopTabRouteName:string = \"LeaseTypes\";\n headerTitleText:string = \"Lease Details\";\n clientName:string = \"\";\n vehicleName:string = \"\";\n dirtyValidationRefNumbers:number[] =[0,0,0];\n topTabdirtyValidationRefNumbers:number[] = [0,0,0,0];\n dirtyValidationConfirmation:boolean = false;\n relatedTable:RelatedTables = RelatedTables.VehicleLease;\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\n vehicleLeaseType: VehicleLeaseTypes = null;\n showScheduleAndReportTabs:boolean = true;\n created()\n {\n this.vehicleID = +this.$route.params.vehicleID ? +this.$route.params.vehicleID : 0;\n this.leaseID = +this.$route.params.leaseID ? +this.$route.params.leaseID : 0;\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n this.selectedTopTabRouteName = this.$route.params.topRouteDisplayName ? this.$route.params.topRouteDisplayName : this.selectedTopTabRouteName;\n if(this.vehicleID > 0) {\n this.loadClientNameByVehicleID();\n }\n else {\n this.loadClientNameByLeaseID();\n }\n\n if(this.leaseID > 0) {\n this.loadLeaseType();\n }\n }\n\n loadClientNameByVehicleID()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.vehicleID}\n apiService.sendGetRequest('Vehicle','GetClient',params).then(response=>{\n this.headerTitleText = 'Lease Details - '+ response.data.clientName;\n this.clientName = response.data.clientName;\n this.vehicleName = response.data.make + ' ' + response.data.model;\n this.clientID = response.data.clientID;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadClientNameByLeaseID()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.leaseID}\n apiService.sendGetRequest('Lease','ClientAndVehicle',params).then(response=>{ \n this.headerTitleText = 'Lease Details - ' + response.data.clientName;\n this.clientName = response.data.clientName;\n this.vehicleName = response.data.make + ' ' + response.data.model;\n this.clientID = response.data.clientID;\n this.vehicleID = response.data.vehicleID;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadLeaseType(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('lease','LeaseType', {leaseID: this.leaseID}).then(res => {\n this.vehicleLeaseType = res.data;\n this.showScheduleAndReportTabs = this.vehicleLeaseType == VehicleLeaseTypes.NovatedFullyMaintained;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(err => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n detailsTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[0] = refNo;\n this.topTabdirtyValidationRefNumbers[2] = refNo;\n }\n\n scheduleTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[1] = refNo;\n this.topTabdirtyValidationRefNumbers[2] = refNo;\n }\n\n onIdUpdated(id:number){\n this.leaseID = id;\n }\n\n onVehicleIdUpdated(id:number){\n this.vehicleID = id;\n }\n\n onVehicleLeaseTypeUpdated(type: VehicleLeaseTypes){\n this.vehicleLeaseType = type;\n this.showScheduleAndReportTabs = this.vehicleLeaseType == VehicleLeaseTypes.NovatedFullyMaintained;\n }\n\n routerNavigateBack()\n {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0]) ||\n dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[1])){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.navigateBack();\n \n }\n }\n\n navigateBack(){\n dirtyValidatorService.clearChanges(this.dirtyValidationRefNumbers[0]);\n dirtyValidatorService.clearChanges(this.dirtyValidationRefNumbers[1]);\n if(this.leaseID > 0 && this.vehicleID == 0){\n var params = {id:this.leaseID}\n apiService.sendGetRequest('Lease','GetVehicleIdByLeaseId',params).then(response=>{ \n this.vehicleID = response.data;\n this.$router.push({name:'Edit Vehicle', params:{vehicleID:this.vehicleID.toString(),topRouteDisplayName:'leasetypes'}});\n });\n }\n else{\n this.$router.push({name:'Edit Vehicle', params:{vehicleID:this.vehicleID.toString(),topRouteDisplayName:'leasetypes'}});\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleLeaseDetails.vue?vue&type=template&id=fc68b1bc&scoped=true\"\nimport script from \"./VehicleLeaseDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleLeaseDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleLeaseDetails.vue?vue&type=style&index=0&id=fc68b1bc&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fc68b1bc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationServiceAgreementConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelServiceAgreementConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelServiceAgreementConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationServiceAgreementConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelServiceAgreementConf_OkButton\"},on:{\"click\":function($event){return _vm.closeServiceAgreementPopupWindow()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showCreateServiceAgreementConfirmation)?_c('Modal',{staticStyle:{\"z-index\":\"10000\"},attrs:{\"centered\":\"\",\"id\":\"showCreateServiceAgreementConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\" Are you sure you want to submit the Service Agreement ? \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showCreateServiceAgreementConf_CancelButton\"},on:{\"click\":function($event){_vm.showCreateServiceAgreementConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"showCreateServiceAgreementConf_CreateButton\"},on:{\"click\":function($event){return _vm.createServiceAgreement()}}},[_vm._v(\"\\n Submit\\n \")])],1)]):_vm._e(),(_vm.addExtraRecipientConfirmation)?_c('Modal',{staticStyle:{\"z-index\":\"9000\"},attrs:{\"centered\":\"\",\"id\":\"AddExtraRecipientConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to add an extra recipient ?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"AddExtraRecipientConf_CancelButton\"},on:{\"click\":function($event){_vm.addExtraRecipientConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"AddExtraRecipientConf_OkButton\"},on:{\"click\":function($event){return _vm.addExtraRecipient()}}},[_vm._v(\"\\n Add\\n \")])],1)]):_vm._e(),(_vm.onShowAnnatureAuditLogs)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"annatureAuditLogsModal\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap modal-title\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Annature Audit Logs\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"anntureAuditLogsCloseBtn\"},on:{\"click\":_vm.onCloseAnnatureAuditLogsModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AnnatureAuditLogs',{staticClass:\"modal-body-text\",attrs:{\"relatedIdList\":_vm.serviceAgreementIdList,\"relatedTable\":_vm.serviceAgreementRelatedTable}})],1)]):_vm._e(),(_vm.showServiceAgreementPopup)?_c('Modal',{staticStyle:{\"z-index\":\"1000\"},attrs:{\"centered\":\"\",\"id\":\"ShowServiceAgreementPopupConf\",\"minWidth\":'1000px'}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Service Agreement for Signature\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"showServiceAgreementPopupBody\"},[_c('b-row',[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('b-form-group',{ref:\"uploadDocument\",attrs:{\"label\":\"Upload Document\",\"label-for\":\"uploadDocument\"}},[_c('DragAndDropControl',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.serviceAgreementRelatedTable,\"relatedID\":_vm.serviceAgreement.id,\"isAcknowledgeEnabled\":false,\"defaultDocType\":_vm.defaultDocType,\"accept\":\".docx,.document\",\"uploaderEnabled\":!(_vm.serviceAgreement.id > 0),\"index\":_vm.serviceAgreement.id,\"modalMode\":false,\"isFileMandatory\":true},on:{\"documentChangedEvent\":_vm.onCustomDocumentEvent,\"OnDocumentsAdded\":_vm.onDocumentAdded}})],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{ref:\"emailSubject\",class:{ 'form-group--error': _vm.$v.serviceAgreement.emailSubject.$error },attrs:{\"label\":\"Email Subject\",\"label-for\":\"emailSubject\"}},[_c('b-form-input',{staticClass:\"form-control\",class:{'textInput':true, 'requiredField': (_vm.serviceAgreement.emailSubject.length == 0) },attrs:{\"id\":\"emailSubject\",\"placeholder\":'Enter email subject',\"disabled\":_vm.serviceAgreement.id > 0},on:{\"input\":function($event){return _vm.$v.serviceAgreement.emailSubject.$touch()}},model:{value:(_vm.serviceAgreement.emailSubject),callback:function ($$v) {_vm.$set(_vm.serviceAgreement, \"emailSubject\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"serviceAgreement.emailSubject\"}}),(_vm.$v.serviceAgreement.emailSubject.$dirty && !_vm.$v.serviceAgreement.emailSubject.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email Subject is required.\\n \")]):_vm._e()],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('label',[_vm._v(\"Add Recipient\")]),_vm._l((_vm.serviceAgreement.recipients),function(recipient){return _c('div',{key:_vm.serviceAgreement.id > 0 ? recipient.id : recipient.index},[_c('ServiceAgreementRecipient',{ref:'serviceAgreementRef' + recipient.index,refInFor:true,attrs:{\"initialRecipient\":recipient,\"signingOrder\":recipient.signingOrder,\"serviceAgreementRecipients\":_vm.serviceAgreementRecipients,\"signatoryEmailSelectList\":_vm.signatoryEmailSelectList,\"relatedEntityType\":_vm.relatedEntityType,\"serviceAgreementCurrentRecipientCount\":_vm.serviceAgreement.recipients.length},on:{\"updateRecipient\":_vm.updateRecipient,\"removeRecipient\":_vm.removeRecipient}})],1)})],2)],1)],1)],1),(_vm.serviceAgreement.id <= 0)?_c('b-row',[_c('b-btn',{staticClass:\"float-left ml-3 mb-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.showAddExtraRecipientConfirmationPopup()}}},[_vm._v(\"\\n Add Extra Recipient\\n \")])],1):_vm._e()],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ShowServiceAgreementPopupConf_CancelButton\"},on:{\"click\":function($event){return _vm.closeCreateServiceAgreementConfirmationPopup()}}},[_vm._v(\"\\n Cancel\\n \")]),(_vm.serviceAgreement.id <= 0)?_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"ShowServiceAgreementPopupConf_CreateButton\",\"disabled\":_vm.$v.serviceAgreement.$invalid || !_vm.isModelDirty()},on:{\"click\":function($event){return _vm.showCreateServiceAgreementConfirmationPopup()}}},[_vm._v(\"\\n Submit\\n \")]):_vm._e()],1)]):_vm._e(),(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelNovationDetailsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelNovationDetailsConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelNovationDetailsConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.headerTitleText)+\" \"+_vm._s(_vm.vehicleName)+\"\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Vehicle Lease\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('TopTabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.topTabDirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTopTabRouteName,\"routeName\":\"Edit Novation\"}},[_c('TopTab',{attrs:{\"name\":\"Profile\",\"selected\":true,\"index\":0,\"routeUrl\":'/clients/editClient/' + _vm.clientID + '/profile/personal',\"routerDisplayName\":\"profile\"}}),_c('TopTab',{attrs:{\"name\":\"Vehicles\",\"selected\":true,\"index\":1,\"routerDisplayName\":\"vehicles\",\"routeUrl\":'/clients/editClient/' + _vm.clientID + '/vehicles'}}),_c('TopTab',{attrs:{\"name\":\"Leases Types\",\"selected\":true,\"index\":2,\"routerDisplayName\":\"leasetypes\",\"routeUrl\":'/vehicle/' + _vm.vehicleID + '/leasetypes'}}),_c('TopTab',{attrs:{\"name\":\"Related Entity Types\",\"selected\":true,\"index\":3,\"routerDisplayName\":\"relatedentitytypes\",\"routeUrl\":'/vehicleLease/' + _vm.leaseID + '/relatedentitytypes'}},[_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Edit Novation\"}},[_c('Tab',{attrs:{\"name\":\"Details\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"details\"}},[_c('AddEditNovation',{attrs:{\"newServiceAgreementUploaded\":_vm.isReloadNovationDetails},on:{\"dirtyValidatorNoSet\":_vm.detailsTabDirtySet,\"onUploadNovationDocument\":_vm.onUploadNovationDocument,\"onIdUpdated\":_vm.onIdUpdated,\"onLeaseIdUpdated\":_vm.onLeaseIdUpdated}})],1),_c('Tab',{attrs:{\"name\":\"Ledger\",\"index\":1,\"disabled\":_vm.novationID==0,\"routerDisplayName\":\"ledger\",\"queryData\":_vm.queryParams}},[_c('Ledger',{attrs:{\"relatedTable\":_vm.vehicleRelatedTable,\"relatedID\":_vm.vehicleID,\"novationId\":_vm.novationID}})],1),_c('Tab',{attrs:{\"name\":\"Odometer Logs\",\"disabled\":_vm.novationID==0,\"index\":2,\"routerDisplayName\":\"odometerLogs\"}},[_c('OdometerLogs',{on:{\"dirtyValidatorNoSet\":_vm.odometerLogTabDirtySet,\"onIdUpdated\":_vm.onIdUpdated}})],1),_c('Tab',{attrs:{\"name\":\"FBT\",\"index\":3,\"disabled\":_vm.novationID==0,\"routerDisplayName\":\"fbt\"}},[_c('FBTDetails',{on:{\"dirtyValidatorNoSet\":_vm.exemptionsTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Invoices\",\"disabled\":_vm.novationID == 0,\"index\":4,\"routerDisplayName\":\"invoices\"}},[_c('VehicleLeaseInvoices',{attrs:{\"novationID\":_vm.novationID}})],1),_c('Tab',{attrs:{\"name\":\"Reports\",\"disabled\":_vm.novationID == 0,\"index\":5,\"routerDisplayName\":\"reports\",\"queryData\":_vm.queryParams}},[_c('NovationReports',{attrs:{\"novationID\":_vm.novationID,\"vehicleId\":_vm.vehicleID}})],1),_c('Tab',{attrs:{\"name\":\"Budget\",\"index\":6,\"disabled\":_vm.novationID == 0,\"routerDisplayName\":\"budget\"}},[_c('MotorVehicleBudget',{attrs:{\"vehicleId\":_vm.vehicleID,\"novationId\":_vm.novationID},on:{\"dirtyValidatorNoSet\":_vm.budgetTabDirtySet}})],1),_c('Tab',{attrs:{\"name\":\"Charges\",\"index\":7,\"disabled\":_vm.novationID == 0,\"routerDisplayName\":\"charges\"}},[_c('RelatedEntityAdminFeeChargeList',{attrs:{\"relatedEntityId\":_vm.novationID}})],1),_c('Tab',{attrs:{\"name\":\"Envelopes\",\"index\":8,\"disabled\":_vm.novationID === 0,\"routerDisplayName\":\"envelopes\",\"showBadge\":true,\"badgeText\":_vm.envelopeCount}},[_c('RelatedEntityEnvelopesList',{attrs:{\"relatedIdList\":_vm.serviceAgreementIdList,\"showAddEnvelope\":_vm.showAddServiceAgreementButton},on:{\"onAddEnvelope\":function($event){return _vm.showServiceAgreementPopupWindow()}}})],1),_c('b-row',{staticClass:\"float-right mr-1\",attrs:{\"slot\":\"tabs-buttons\"},slot:\"tabs-buttons\"},[(_vm.showAddServiceAgreementButton)?_c('b-button',{staticClass:\"pull-right primary ml-2\",attrs:{\"title\":\"Service Agreement\"},on:{\"click\":function($event){return _vm.showServiceAgreementPopupWindow()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),_c('Notes',{staticClass:\"ml-2\",attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.novationID,\"addToolTip\":\"Please save the novation to add notes\",\"isReadOnly\":false,\"modalTitle\":\"Novation Notes\",\"buttonType\":_vm.buttonType,\"useStore\":false}}),_c('DocumentUploader',{attrs:{\"relatedTable\":_vm.relatedTable,\"relatedID\":_vm.novationID,\"isFilterByRelatedId\":true,\"addToolTip\":\"Please save the novation to add documents\",\"modalTitle\":\"Novation Documents\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'*'},on:{\"onDocumentSaved\":_vm.onDocumentSaved,\"onDocumentDeletedWithFileTypeAndId\":_vm.onDocumentDeletedWithFileTypeAndId}}),_c('ClientVehicleTreeViewButton',{attrs:{\"clientID\":_vm.clientID,\"clientName\":_vm.clientName,\"showNavigateToClientLink\":true}})],1)],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelOdometerLogsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelOdometerLogsConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelOdometerLogsConf_OkButton\"},on:{\"click\":_vm.closeAddOdometerLogPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showAddOdometerLogPanel)?_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"4\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-form-group',{attrs:{\"label\":\"Type\",\"label-for\":\"odometerLogType\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",class:{ 'form-group--error': (_vm.$v.odometerLog.type.$error),'requiredField': (_vm.odometerLog.type == 0) },attrs:{\"id\":\"odometerLogType\",\"plain\":true,\"options\":_vm.availableTypes,\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.odometerLog.type.$touch()}},model:{value:(_vm.odometerLog.type),callback:function ($$v) {_vm.$set(_vm.odometerLog, \"type\", $$v)},expression:\"odometerLog.type\"}},[(_vm.odometerLog.type == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.odometerLog.type.$dirty && !_vm.$v.odometerLog.type.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type is required.\\n \")]):_vm._e()],1),_c('b-form-group',{class:{ 'form-group--error': _vm.$v.odometerLog.date.$error},attrs:{\"label\":\"Date\",\"label-for\":\"date\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.odometerLog.date || _vm.odometerLog.date.length == 0) },attrs:{\"use-utc\":true,\"id\":'date',\"required\":\"\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter date',\"disabledDates\":_vm.disabledDates,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){return _vm.$v.odometerLog.date.$touch()}},model:{value:(_vm.odometerLog.date),callback:function ($$v) {_vm.$set(_vm.odometerLog, \"date\", $$v)},expression:\"odometerLog.date\"}}),(_vm.$v.odometerLog.date.$dirty && !_vm.$v.odometerLog.date.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Date is required.\\n \")]):_vm._e()],1),_c('b-form-group',{class:{ 'form-group--error': (_vm.$v.odometerLog.odometer.$error && _vm.$v.odometerLog.odometer.$dirty) },attrs:{\"label\":\"Odometer\",\"label-for\":\"odometer\"}},[_c('b-form-input',{class:{ 'requiredField': (!_vm.odometerLog.odometer || _vm.odometerLog.odometer.length == 0), 'textInput': true},attrs:{\"id\":\"odometer\",\"maxlength\":'6',\"type\":\"text\",\"placeholder\":\"Enter Odometer Value\"},on:{\"input\":function($event){return _vm.$v.odometerLog.odometer.$touch()}},model:{value:(_vm.odometerLog.odometer),callback:function ($$v) {_vm.$set(_vm.odometerLog, \"odometer\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"odometerLog.odometer\"}}),(_vm.$v.odometerLog.odometer.$dirty && !_vm.$v.odometerLog.odometer.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Odometer value is not valid.\\n \")]):_vm._e(),(_vm.$v.odometerLog.odometer.$dirty && !_vm.$v.odometerLog.odometer.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Odometer value is required.\\n \")]):_vm._e()],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(!_vm.isModelDirty() || _vm.$v.odometerLog.$anyError)}},[_vm._v(\" \"+_vm._s(_vm.odometerLog.id>0?'Update':'Add')+\" \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":_vm.onCancel}},[_vm._v(\" Cancel\")]),(_vm.odometerLog.id>0)?_c('b-row',{staticClass:\"ml-0 audit-text text-nowrap\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.odometerLog.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.odometerLog.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.odometerLog.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.odometerLog.lastUpdatedDate))+\")\")])]):_vm._e()],1)],1)],1)],1)],1)],1):_vm._e(),(!_vm.showAddOdometerLogPanel)?_c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.showAddOdometerLogPanel},on:{\"click\":_vm.onAddOdometerLog}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Odometer Log\\n \")])],1)],1),_c('DataTable',{ref:\"odometerLogsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"selectable\":true,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No odometer logs to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{on:{\"click\":function($event){return _vm.onClick()}}},[_vm._v(_vm._s(_vm.getDate()))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport moment from 'moment';\n\n@Component\nexport default class EditOdometerLogLink extends Vue{\n @Prop() item:any;\n\n onClick(){\n this.editOdoMeterLogs(this.item.id,DataTableActionTypes.RowSelect);\n }\n\n getDate(){\n return moment(this.item.date).format(\"DD MMM YYYY\");\n }\n \n @Emit('customEvent') editOdoMeterLogs(data:any,type:DataTableActionTypes){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditOdometerLogLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditOdometerLogLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EditOdometerLogLink.vue?vue&type=template&id=49105623&scoped=true\"\nimport script from \"./EditOdometerLogLink.vue?vue&type=script&lang=ts\"\nexport * from \"./EditOdometerLogLink.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EditOdometerLogLink.vue?vue&type=style&index=0&id=49105623&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49105623\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteOdometerLogConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteOdometerLogsConf\"},on:{\"ok\":_vm.deleteOdometerLog}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Odometer Log\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the odometer log?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteOdometerLogsConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteOdometerLogsConf_OkButton\"},on:{\"click\":_vm.deleteOdometerLog}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete Odometer Log\"},on:{\"click\":_vm.onDeleteLogsClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n\n@Component({ \n components: {\n Modal\n }\n})\nexport default class OdometerLogsActionButtons extends Vue{\n @Prop() item:any\n showDeleteOdometerLogConfirmation = false;\n isStandardUser: false;\n \n created()\n {\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n\n onDeleteLogsClick()\n {\n this.showDeleteOdometerLogConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n onCloseDelete()\n {\n this.showDeleteOdometerLogConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n deleteOdometerLog(){\n this.showDeleteOdometerLogConfirmation = false;\n this.onDeleteOdometerLog(this.item.id,DataTableActionTypes.Delete)\n }\n\n @Emit('customEvent') onDeleteOdometerLog(id:number,type:DataTableActionTypes){\n }\n\n}\n","export enum OdometerLogTypes{\r\n Start = 1,\r\n EOY = 2,\r\n End = 3\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OdometerLogsActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OdometerLogsActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./OdometerLogsActionButtons.vue?vue&type=template&id=c5323b8e&scoped=true\"\nimport script from \"./OdometerLogsActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./OdometerLogsActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./OdometerLogsActionButtons.vue?vue&type=style&index=0&id=c5323b8e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c5323b8e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit,Watch } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { validationMixin } from 'vuelidate';\nimport { required,email, between,minValue, maxLength,numeric} from 'vuelidate/lib/validators';\nimport AppSettings from '@/app.config';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport EditOdometerLogLink from './EditOdometerLogLink.vue';\nimport OdometerLogsActionButtons from './OdometerLogsActionButtons.vue'\nimport { OdometerLogModel } from '@/models/odometerLog.model';\nimport {OdometerLogTypes} from '@/shared/enums/odometerLogTypes.enum';\nimport {RelatedTables} from '@/shared/enums/relatedTables.enum';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { ApexDateFormat } from '@/filters/dateFilter';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n DataTable,\n Modal\n },\n validations:{\n odometerLog:{\n date:{\n required\n },\n type:{\n required,\n minValue:minValue(1)\n },\n odometer:{\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n },\n }\n }\n }\n }\n)\nexport default class OdometerLogs extends Vue{\n novationID:number = 0;\n selectedAddressType:any = 0;\n odometerLog: OdometerLogModel = {\n id:0,\n date:\"\",\n type:0,\n odometer:\"\",\n novationID:0,\n createdByName:\"\",\n lastUpdateByName:\"\",\n createdDate:\"\",\n lastUpdatedDate:\"\",\n concurrencyKey:\"\"\n };\n initialObject:OdometerLogModel = Object.assign({},this.odometerLog);\n items:any = [];\n showAddOdometerLogPanel:boolean = false;\n dirtyValidatorRefNo:number = 0;\n fields = [\n {key: 'date',formatter: (value, key, item) => {\n return ApexDateFormat(value);\n }\n },\n {key: 'type',\n formatter: (value, key, item) => {\n return this.getTypeName(item.type);\n }\n },\n {key: 'odometer',class:'text-right'},\n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n \n customTemplateList:Array = [\n {slot:\"date\",customTemplate:EditOdometerLogLink},\n {slot:\"actions\",customTemplate:OdometerLogsActionButtons}\n ];\n showEmptyBanner:boolean = false;\n showCancelConfirmation:boolean = false;\n odometerLogTypes:any = [];\n availableTypes:any = [];\n disabledDates:any = {};\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n\n created(){\n this.novationID = +this.$route.params.novationID ? +this.$route.params.novationID : 0;\n this.loadOdometerLogTypes();\n if(this.novationID > 0){\n this.loadOdometerLogsList();\n }\n this.disabledDates = {from:new Date()};\n }\n \n loadOdometerLogTypes(){\n apiService.sendGetRequest('Novation','OdometerLogTypes').then( response=>{\n this.odometerLogTypes = response.data;\n this.availableTypes = response.data;\n })\n }\n\n onDeleteOdometerLog(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"Novation\",\"OdometerLog\",{id:id}).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"Odometer log successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n if(this.odometerLog.id == id){\n this.closeAddOdometerLogPanel();\n }\n this.loadOdometerLogsList();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.odometerLogsTable as DataTable).resetLastCustomAction();\n }) \n }\n\n onSubmit(){\n if(this.odometerLog.id > 0){\n this.updateOdometerLog();\n }\n else{\n this.createOdometerLog();\n }\n }\n\n createOdometerLog(){\n var params = {\n date:this.odometerLog.date,\n type:this.odometerLog.type,\n odometer: this.odometerLog.odometer,\n novationID: this.novationID\n }\n \n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('Novation','OdometerLog',params).then(\n response => {\n if(response.data.isSuccess)\n {\n this.closeAddOdometerLogPanel();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.loadOdometerLogsList();\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n updateOdometerLog(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n id: this.odometerLog.id,\n date:this.odometerLog.date,\n type:this.odometerLog.type,\n odometer: this.odometerLog.odometer,\n novationID: this.novationID,\n concurrencyKey:this.odometerLog.concurrencyKey\n }\n apiService.sendPostRequest('Novation','OdometerLog',params).then(\n response => {\n if(response.data.isSuccess){\n var a = this.getOdometerLogById(this.odometerLog.id);\n var index = this.items.indexOf(a);\n this.odometerLog.concurrencyKey = response.data.concurrencyKey;\n this.odometerLog.lastUpdateByName = response.data.updatedByName;\n this.odometerLog.lastUpdatedDate = new Date();\n this.items[index] = this.odometerLog;\n var itemsCopy = Object.assign([],this.items);\n this.items = [];\n this.items = itemsCopy;\n this.closeAddOdometerLogPanel();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n this.showCancelConfirmation = true;\n }\n else{\n this.closeAddOdometerLogPanel();\n }\n }\n\n closeAddOdometerLogPanel(){\n this.odometerLog = Object.assign({},this.initialObject);\n this.showAddOdometerLogPanel = false;\n this.showCancelConfirmation = false;\n this.$v.odometerLog.$reset();\n dirtyValidatorService.clearChanges(this.dirtyValidatorRefNo);\n }\n\n loadOdometerLogsList(){ \n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest('Novation','OdometerLogsList',{novationID:this.novationID}).then(\n response => {\n if(response.data)\n {\n this.items = response.data;\n this.showEmptyBanner = true;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onEditOdometerLog(data:any){\n this.availableTypes = Object.assign([],this.odometerLogTypes);\n this.removeUnwantedTypes(data.id);\n this.odometerLog = Object.assign({},this.getOdometerLogById(data.id));\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.odometerLog);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.showAddOdometerLogPanel = true;\n }\n\n getOdometerLogById(id:number){\n var i;\n var log;\n for (i = 0; i < this.items.length; i++) { \n if(this.items[i].id == id){\n log = this.items[i];\n break;\n }\n }\n return log;\n }\n\n onAddOdometerLog(){\n this.availableTypes = Object.assign([],this.odometerLogTypes);\n this.removeUnwantedTypes(0);\n this.odometerLog = Object.assign({},this.initialObject);\n this.showAddOdometerLogPanel = true;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.odometerLog);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.odometerLogsTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.odometerLogsTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onDeleteOdometerLog(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onEditOdometerLog(data);\n }\n }\n\n removeUnwantedTypes(id:number){\n this.items.forEach(item => {\n if(item.id != id){\n if(item.type == OdometerLogTypes.Start){\n this.removeType(OdometerLogTypes.Start);\n }\n else if(item.type == OdometerLogTypes.End){\n this.removeType(OdometerLogTypes.End);\n }\n }\n });\n }\n\n removeType(value){\n var i = this.availableTypes.length;\n while(i--){\n if( this.availableTypes[i]\n && (this.availableTypes[i].value === value ) ){ \n this.availableTypes.splice(i,1); \n }\n }\n }\n\n getTypeName(val:number){\n var i;\n for(i = 0; i < this.odometerLogTypes.length; i++){\n if(this.odometerLogTypes[i].value == val){\n return this.odometerLogTypes[i].text;\n }\n }\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n}\n","export enum FBTRecordUpdateTypes {\r\n Update = 1, \r\n Recalculate = 2\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OdometerLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./OdometerLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./OdometerLogs.vue?vue&type=template&id=4c5ed238&scoped=true\"\nimport script from \"./OdometerLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./OdometerLogs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./OdometerLogs.vue?vue&type=style&index=0&id=4c5ed238&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4c5ed238\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('FBTRecords',{attrs:{\"NovationID\":_vm.novationID},on:{\"dirtyValidatorNoSet\":_vm.dirtyValidatorNoSet}}),_c('FBTExemptionRecords',{attrs:{\"NovationID\":_vm.novationID},on:{\"dirtyValidatorNoSet\":_vm.dirtyValidatorNoSet}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showFBTRecordCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelFBTRecordsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelFBTRecordsConf_CancelButton\"},on:{\"click\":function($event){_vm.showFBTRecordCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelFBTRecordsConf_OkButton\"},on:{\"click\":_vm.closeAddEditFBTRecordPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_vm._m(0),(_vm.showAddEditFBTRecordPanel)?_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"4\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmitFBTRecord.apply(null, arguments)}}},[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"FBT Period\",\"label-for\":\"fbtPeriod\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"fbtPeriod\",\"plain\":true,\"options\":_vm.fbtPeriodList},model:{value:(_vm.fbtRecord.fbtPeriodID),callback:function ($$v) {_vm.$set(_vm.fbtRecord, \"fbtPeriodID\", $$v)},expression:\"fbtRecord.fbtPeriodID\"}},[(_vm.fbtRecord.fbtPeriodID == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Select a FBT Period --\")])]):_vm._e()],2)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Start Date\",\"label-for\":\"fbtStartDate\"}},[_c('DatePicker',{class:_vm.fbtStartDateInputClass,attrs:{\"use-utc\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"id\":'fbtStartDate',\"input-class\":\"form-control textInput\",\"wrapper-class\":'textInput',\"placeholder\":'Enter Start Date',\"disabledDates\":_vm.disabledFBTStartDates},on:{\"input\":_vm.onEnterFBTStartDate},model:{value:(_vm.fbtRecord.startDate),callback:function ($$v) {_vm.$set(_vm.fbtRecord, \"startDate\", $$v)},expression:\"fbtRecord.startDate\"}}),(_vm.$v.fbtRecord.startDate.$dirty && !_vm.$v.fbtRecord.startDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Start Date is required.\\n \")]):_vm._e(),(_vm.showFBTStartDateErrorMessage)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.fbtStartDateErrorMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"End Date\",\"label-for\":\"fbtEndDate\"}},[_c('DatePicker',{class:_vm.fbtEndDateInputClass,attrs:{\"use-utc\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"id\":'fbtEndDate',\"input-class\":\"form-control textInput\",\"wrapper-class\":'textInput',\"placeholder\":'Enter End Date',\"disabledDates\":_vm.disabledFBTEndDates},on:{\"input\":_vm.onEnterFBTEndDate},model:{value:(_vm.fbtRecord.endDate),callback:function ($$v) {_vm.$set(_vm.fbtRecord, \"endDate\", $$v)},expression:\"fbtRecord.endDate\"}}),(_vm.$v.fbtRecord.endDate.$dirty && !_vm.$v.fbtRecord.endDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n End Date is required.\\n \")]):_vm._e(),(_vm.showFBTEndDateErrorMessage)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.fbtEndDateErroMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.fbtRecord.$invalid || !_vm.isFBTModelDirty())}},[_vm._v(\" \"+_vm._s(_vm.fbtRecord.id>0?'Update':'Save'))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancelFBTRecord()}}},[_vm._v(\" Cancel\")]),(_vm.fbtRecord.id>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('div',{staticClass:\"text-nowrap\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.fbtRecord.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.fbtRecord.createdDate))+\")\")])]),_vm._v(\"\\n     \\n \"),_c('div',{staticClass:\"text-nowrap\"},[_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.fbtRecord.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.fbtRecord.lastUpdatedDate))+\")\")])])]):_vm._e()],1)],1)],1)],1)],1)],1):_vm._e(),(!_vm.showAddEditFBTRecordPanel)?_c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.showAddEditFBTRecordPanel},on:{\"click\":_vm.onAddFBTRecord}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add FBT Record\\n \")])],1)],1),_c('DataTable',{ref:\"fbtTable\",attrs:{\"items\":_vm.fbtItems,\"fields\":_vm.fbtTableFields,\"totalRows\":_vm.fbtTotalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.fbtSortBy,\"sortDesc\":_vm.fbtSortDesc,\"customTemplates\":_vm.fbtCustomTemplateList,\"showEmptyBanner\":_vm.showFBTEmptyBanner,\"emptyBanner\":\"No FBT records to display.\",\"selectable\":true},on:{\"update:sortBy\":function($event){_vm.fbtSortBy=$event},\"update:sort-by\":function($event){_vm.fbtSortBy=$event},\"customEvent\":_vm.onFBTTableCustomEvent,\"onPageChange\":_vm.onFBTTablePageChange,\"onSortingChanged\":_vm.onFBTTableSortingChange}})],1):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Fringe Benefits Tax\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteFBTRecordConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"deleteFBTRecordsConf\"},on:{\"ok\":_vm.deleteFBTRecord}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete FBT record\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the FBT record?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"deleteFBTRecordsConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"deleteFBTRecordsConf_OkButton\"},on:{\"click\":_vm.deleteFBTRecord}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showRecalculateFBTRecordConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"recalculateFBTRecordsConf\"},on:{\"ok\":_vm.recalculateFBTRecord}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Recalculate FBT amounts\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to recalculate the amounts?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"recalculateFBTRecordsConf_CancelButton\"},on:{\"click\":_vm.onCloseRecalculate}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"recalculateFBTRecordsConf_OkButton\"},on:{\"click\":_vm.recalculateFBTRecord}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Recalculate amounts\"},on:{\"click\":_vm.onReCalculateFBTClick}},[_c('i',{staticClass:\"fas fa-sync-alt recalculate-button\",attrs:{\"aria-hidden\":\"true\"}})]),(!_vm.isStandardUser)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete FBT record\"},on:{\"click\":_vm.onDeleteFBTClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class FBTRecordsActionButtons extends Vue{\n @Prop() item:any\n showDeleteFBTRecordConfirmation = false;\n showRecalculateFBTRecordConfirmation = false;\n isStandardUser: false;\n \n created(){\n this.isStandardUser = this.$store.getters.isAuthorized([UserRoles.StandardUser]);\n }\n \n deleteFBTRecord(){\n this.showDeleteFBTRecordConfirmation = false;\n this.item.isActive = false;\n this.onActionFbtRecord(this.item.id,DataTableActionTypes.Delete);\n }\n\n recalculateFBTRecord(){\n this.showRecalculateFBTRecordConfirmation = false;\n this.onActionFbtRecord(this.item, DataTableActionTypes.Recalculate);\n }\n\n onDeleteFBTClick() \n {\n this.showDeleteFBTRecordConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n onReCalculateFBTClick(){\n this.showRecalculateFBTRecordConfirmation = true;\n this.item.isRecalculation = true;\n this.onAction(this.item,DataTableActionTypes.ActionButtonSelect);\n }\n\n @Emit('customEvent') onActionFbtRecord(id:number,type:DataTableActionTypes){\n }\n\n\n\n onCloseDelete()\n {\n this.showDeleteFBTRecordConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n onCloseRecalculate(){\n this.showRecalculateFBTRecordConfirmation = false;\n this.onAction(this.item,DataTableActionTypes.ResetActionButtton);\n }\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTRecordsActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTRecordsActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FBTRecordsActionButtons.vue?vue&type=template&id=be439f5c&scoped=true\"\nimport script from \"./FBTRecordsActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./FBTRecordsActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FBTRecordsActionButtons.vue?vue&type=style&index=0&id=be439f5c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"be439f5c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport {FBTRecord} from '@/models/fbt.model';\nimport { validationMixin } from 'vuelidate';\nimport { required} from 'vuelidate/lib/validators';\nimport AppSettings from '@/app.config';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport moment from 'moment'\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport {FBTRecordUpdateTypes} from '@/shared/enums/fbtRecordUpdateTypes.enum'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport FBTRecordsActionButtons from './FBTRecordsActionButtons.vue';\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n DataTable,\n Modal\n },\n validations:{\n fbtRecord:{\n fbtPeriodID:{\n required\n },\n startDate:{\n required\n },\n endDate:{\n required\n }\n }\n }\n }\n)\nexport default class FBTExemptionRecords extends Vue{\n\n @Prop() NovationID:number;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n sortableFields:string[] = [\"startDate\",\"endDate\"];\n perPage:number = AppSettings.defaultGridSize;\n\n fbtRecord:FBTRecord = {id:0,fbtPeriodID:0,startDate:\"\",endDate:\"\",concurrencyKey:\"\",novationID:0,createdDate:null,createdByName:\"\",lastUpdateByName:\"\",lastUpdatedDate:null,isRecalculation:false};\n showAddEditFBTRecordPanel:boolean = false;\n fbtRecordDirtyValidatorRefNo:number = 0;\n fbtItems:any = [];\n disabledFBTStartDates:any = {};\n disabledFBTEndDates:any ={};\n fbtStartDateErrorMessage:string = \"\";\n fbtEndDateErroMessage:string = \"\";\n showFBTStartDateErrorMessage:boolean = false;\n showFBTEndDateErrorMessage:boolean = false;\n showFBTEmptyBanner:boolean = false;\n fbtTableFields = [\n {key:'fbtPeriod',label:'FBT Period', class:'width_20',\n formatter: (value, key, item) => {\n return this.getPeriodName(item.fbtPeriodID);\n }\n },\n {key: 'startDate',sortable:'true',class:'width_15',\n formatter: (value, key, item) => {\n return moment(item.startDate).format(\"DD MMM YYYY\")\n }\n },\n { key: 'endDate',\n sortable:'true',\n class:'width_15',\n formatter: (value, key, item) => {\n return moment(item.endDate).format(\"DD MMM YYYY\")\n }\n },\n { key: 'daysHeld',\n class:'width_10'\n },\n { key: 'dailyRate',\n class:'width_10 text-right'\n },\n { key: 'annualFBTRate',\n label:'Annual FBT Rate',\n class:'width_15 text-right'\n },\n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n fbtTotalRows:number = 0;\n fbtSortBy:string = \"startDate\";\n fbtSortDesc:boolean = true;\n fbtCustomTemplateList:Array = [{slot:\"actions\",customTemplate:FBTRecordsActionButtons},\n {slot: \"dailyRate\", customTemplate: ApexCurrency},\n {slot: \"annualFBTRate\", customTemplate: ApexCurrency}]\n showFBTRecordCancelConfirmation:boolean = false;\n fbtPeriodList:any[] = [];\n\n mounted(){\n this.loadFBTPeriodsList();\n }\n \n onFBTTablePageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshFBTGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:\"\",RelatedId:this.NovationID,Status:0});\n }\n\n onFBTTableSortingChange(ctx:any){\n var sortBy = ctx.sortBy;\n this.fbtSortDesc = ctx.sortDesc;\n if(this.sortableFields.includes(sortBy)){\n this.refreshFBTGrid({FromIndex:0,Count:this.perPage,SortBy:sortBy,SortDesc:ctx.sortDesc,SearchByString:\"\",RelatedId:this.NovationID,Status:0});\n }\n }\n\n onDeleteFBTRecord(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:id};\n apiService.sendDeleteRequest(\"Novation\",\"FBTNovationPeriod\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"FBT record successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n \n if(this.fbtRecord.id == id){\n this.closeAddEditFBTRecordPanel();\n }\n this.refreshFBTGrid({FromIndex:0,Count:this.perPage,SortBy:\"startDate\",SortDesc:this.fbtSortDesc,SearchByString:\"\",RelatedId:this.NovationID,Status:0});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.fbtTable as DataTable).resetLastCustomAction();\n }\n ) \n }\n\n onSubmitFBTRecord(){\n if(this.fbtRecord.id > 0){\n this.updateFBTRecord(FBTRecordUpdateTypes.Update, {});\n }\n else{\n this.createFBTRecord();\n } \n }\n\n onFBTTableCustomEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.fbtTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.fbtTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onDeleteFBTRecord(data);\n }\n if(type == DataTableActionTypes.Recalculate){ \n this.updateFBTRecord(FBTRecordUpdateTypes.Recalculate,data);\n (this.$refs.fbtTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onEditFBTRecord(data);\n }\n }\n\n createFBTRecord(){\n var params = {\n startDate:this.fbtRecord.startDate,\n endDate:this.fbtRecord.endDate,\n novationID:this.NovationID,\n fbtPeriodID:this.fbtRecord.fbtPeriodID\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('Novation','FBTNovationPeriod',params).then(\n response => {\n if(response.data.isSuccess){\n this.refreshFBTGrid({FromIndex:0,Count:this.perPage,SortBy:\"startDate\",SortDesc:this.fbtSortDesc,SearchByString:\"\",RelatedId:this.NovationID,Status:0});\n this.closeAddEditFBTRecordPanel();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n updateFBTRecord(updateType,data){\n if(updateType==FBTRecordUpdateTypes.Recalculate){\n this.fbtRecord=data;\n }\n \n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Novation','FBTNovationPeriod',this.fbtRecord).then(\n response => {\n if(response.data.isSuccess){\n this.refreshFBTGrid({FromIndex:0,Count:this.perPage,SortBy:\"startDate\",SortDesc:this.fbtSortDesc,SearchByString:\"\",RelatedId:this.NovationID,Status:0});\n this.closeAddEditFBTRecordPanel();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: response.data.isWarning? 'warn' : 'success',\n duration: response.data.isWarning? 10000 : 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onCancelFBTRecord(){\n if(dirtyValidatorService.isModelDirty(this.fbtRecordDirtyValidatorRefNo)){\n this.showFBTRecordCancelConfirmation = true;\n }\n else{\n this.closeAddEditFBTRecordPanel();\n }\n }\n\n closeAddEditFBTRecordPanel(){\n this.fbtRecord = {id:0,fbtPeriodID:0,startDate:\"\",endDate:\"\",concurrencyKey:\"\",novationID:0,createdDate:null,createdByName:\"\",lastUpdateByName:\"\",lastUpdatedDate:null,isRecalculation:false};\n this.showAddEditFBTRecordPanel = false;\n this.showFBTRecordCancelConfirmation = false;\n this.disabledFBTStartDates = {};\n this.disabledFBTEndDates = {};\n this.$v.fbtRecord.$reset();\n dirtyValidatorService.clearChanges(this.fbtRecordDirtyValidatorRefNo);\n }\n\n refreshFBTGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showFBTEmptyBanner = false;\n apiService.sendGetRequest(\"Novation\",\"FBTNovationPeriods\",tableFilterParams).then(response =>{\n this.fbtItems = response.data.resultDto;\n this.fbtTotalRows = response.data.totalRows;\n this.showFBTEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onEditFBTRecord(data:any){\n this.fbtRecord = Object.assign({},this.getFBTRecordById(data.id));\n var toDate = moment(this.fbtRecord.startDate).add(1,'days').toDate();\n var fromDate = moment(this.fbtRecord.endDate).subtract(1,'days').toDate();\n this.disabledFBTStartDates = {from:fromDate}\n this.disabledFBTEndDates = {to:toDate};\n this.fbtRecordDirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.fbtRecordDirtyValidatorRefNo,this.fbtRecord);\n this.dirtyValidatorNoSet(this.fbtRecordDirtyValidatorRefNo);\n this.showAddEditFBTRecordPanel = true;\n }\n\n getFBTRecordById(id:number){\n var i;\n var record;\n for (i = 0; i < this.fbtItems.length; i++) { \n if(this.fbtItems[i].id == id){\n record = this.fbtItems[i];\n break;\n }\n }\n return record;\n }\n\n onAddFBTRecord(){\n this.fbtRecord = {id:0,fbtPeriodID:0,startDate:\"\",endDate:\"\",concurrencyKey:\"\",novationID:0,createdDate:null,createdByName:\"\",lastUpdateByName:\"\",lastUpdatedDate:null,isRecalculation:false};\n this.showAddEditFBTRecordPanel = true;\n this.fbtRecordDirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.fbtRecordDirtyValidatorRefNo,this.fbtRecord);\n this.dirtyValidatorNoSet(this.fbtRecordDirtyValidatorRefNo);\n }\n\n isFBTModelDirty(){\n return dirtyValidatorService.isModelDirty(this.fbtRecordDirtyValidatorRefNo);\n }\n\n onEnterFBTStartDate(){\n var toDate = moment(this.fbtRecord.startDate).add(1,'days').toDate();\n this.disabledFBTEndDates = {to:toDate};\n this.$v.fbtRecord.startDate.$touch();\n }\n\n onEnterFBTEndDate(){\n var fromDate = moment(this.fbtRecord.endDate).subtract(1,'days').toDate();\n this.disabledFBTEndDates = {from:fromDate};\n this.$v.fbtRecord.endDate.$touch();\n }\n\n loadFBTPeriodsList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Novation\",\"FBTPeriods\",{}).then(response =>{\n this.fbtPeriodList = response.data;\n this.refreshFBTGrid({FromIndex:0,Count:this.perPage,SortBy:\"startDate\",SortDesc:this.fbtSortDesc,SearchByString:\"\",RelatedId:this.NovationID,Status:0});\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n getPeriodName(periodId:number){\n for (var i = 0; i < this.fbtPeriodList.length; i++){\n if(this.fbtPeriodList[i].value == periodId){\n return this.fbtPeriodList[i].text;\n }\n }\n }\n\n get fbtStartDateInputClass(){\n return this.fbtRecord.startDate? '' : 'requiredField';\n }\n\n get fbtEndDateInputClass(){\n return this.fbtRecord.endDate? '' : 'requiredField';\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTRecords.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTRecords.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FBTRecords.vue?vue&type=template&id=7714b56c&scoped=true\"\nimport script from \"./FBTRecords.vue?vue&type=script&lang=ts\"\nexport * from \"./FBTRecords.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FBTRecords.vue?vue&type=style&index=0&id=7714b56c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7714b56c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showExemptionCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelExemptionRecordsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelExemptionRecordsConf_CancelButton\"},on:{\"click\":function($event){_vm.showExemptionCancelConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelExemptionRecordsConf_OkButton\"},on:{\"click\":_vm.closeAddEditExemptionRecordPanel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_vm._m(0),(_vm.showAddEditExemptionRecordPanel)?_c('div',{staticClass:\"mb-4\"},[_c('b-container',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"4\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmitFBTExemption.apply(null, arguments)}}},[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Start Date\",\"label-for\":\"exemptionStartDate\"}},[_c('DatePicker',{class:_vm.exemptionStartDateInputClass,attrs:{\"use-utc\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"id\":'exemptionStartDate',\"input-class\":\"form-control textInput\",\"wrapper-class\":'textInput',\"placeholder\":'Enter Start Date',\"disabledDates\":_vm.disabledExemptionStartDates},on:{\"input\":_vm.onEnterExemptionStartDate},model:{value:(_vm.fbtExemptionRecord.startDate),callback:function ($$v) {_vm.$set(_vm.fbtExemptionRecord, \"startDate\", $$v)},expression:\"fbtExemptionRecord.startDate\"}}),(_vm.$v.fbtExemptionRecord.startDate.$dirty && !_vm.$v.fbtExemptionRecord.startDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Start Date is required.\\n \")]):_vm._e(),(_vm.showExemptionStartDateErrorMessage)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.exemptionStartDateErrorMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"End Date\",\"label-for\":\"exemptionEndDate\"}},[_c('DatePicker',{class:_vm.exemptionEndDateInputClass,attrs:{\"use-utc\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"id\":'exemptionEndDate',\"input-class\":\"form-control textInput\",\"wrapper-class\":'textInput',\"placeholder\":'Enter End Date',\"disabledDates\":_vm.disabledExemptionEndDates},on:{\"input\":_vm.onEnterExemptionEndDate},model:{value:(_vm.fbtExemptionRecord.endDate),callback:function ($$v) {_vm.$set(_vm.fbtExemptionRecord, \"endDate\", $$v)},expression:\"fbtExemptionRecord.endDate\"}}),(_vm.$v.fbtExemptionRecord.endDate.$dirty && !_vm.$v.fbtExemptionRecord.endDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n End Date is required.\\n \")]):_vm._e(),(_vm.showExemptionEndDateErrorMessage)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(_vm.exemptionEndDateErroMessage)+\"\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.fbtExemptionRecord.reason.$error },attrs:{\"label\":\"Reason\",\"label-for\":\"reason\"}},[_c('b-form-textarea',{staticClass:\"textInput\",class:{'requiredField': (_vm.fbtExemptionRecord.reason.length == 0)},attrs:{\"id\":\"reason\",\"type\":\"text\",\"placeholder\":\"Enter Reason\",\"maxlength\":'200',\"required\":\"\",\"rows\":3},on:{\"input\":function($event){return _vm.$v.fbtExemptionRecord.reason.$touch()}},model:{value:(_vm.fbtExemptionRecord.reason),callback:function ($$v) {_vm.$set(_vm.fbtExemptionRecord, \"reason\", $$v)},expression:\"fbtExemptionRecord.reason\"}}),(_vm.$v.fbtExemptionRecord.reason.$dirty && !_vm.$v.fbtExemptionRecord.reason.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reason is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Days\",\"label-for\":\"days\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"days\",\"type\":\"text\",\"disabled\":\"\"},model:{value:(_vm.fbtExemptionRecord.days),callback:function ($$v) {_vm.$set(_vm.fbtExemptionRecord, \"days\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"fbtExemptionRecord.days\"}})],1)],1)],1),_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.fbtExemptionRecord.$invalid || !_vm.isExemptionModelDirty())}},[_vm._v(\" \"+_vm._s(_vm.fbtExemptionRecord.id>0?'Update':'Save'))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancelExemption()}}},[_vm._v(\" Cancel\")]),(_vm.fbtExemptionRecord.id>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('div',{staticClass:\"text-nowrap\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.fbtExemptionRecord.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.fbtExemptionRecord.createdDate))+\")\")])]),_vm._v(\"\\n     \\n \"),_c('div',{staticClass:\"text-nowrap\"},[_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.fbtExemptionRecord.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.fbtExemptionRecord.lastUpdatedDate))+\")\")])])]):_vm._e()],1)],1)],1)],1)],1)],1):_vm._e(),(!_vm.showAddEditExemptionRecordPanel)?_c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.showAddEditExemptionRecordPanel},on:{\"click\":_vm.onAddFBTExemptionRecord}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add FBT Exemption Record\\n \")])],1)],1),_c('DataTable',{ref:\"fbtExemptionTable\",attrs:{\"items\":_vm.fbtExemptionItems,\"fields\":_vm.fbtExemptionTableFields,\"totalRows\":_vm.exemptionTotalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.exemptionSortBy,\"sortDesc\":_vm.exemptionSortDesc,\"customTemplates\":_vm.exemptionCustomTemplateList,\"showEmptyBanner\":_vm.showExemptionEmptyBanner,\"emptyBanner\":\"No FBT exemption records to display.\",\"selectable\":true},on:{\"update:sortBy\":function($event){_vm.exemptionSortBy=$event},\"update:sort-by\":function($event){_vm.exemptionSortBy=$event},\"customEvent\":_vm.onExemptionTableCustomEvent,\"onPageChange\":_vm.onExemptionTablePageChange,\"onSortingChanged\":_vm.onExemptionTableSortingChange}})],1):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"FBT Exemptions\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteExemptionRecordConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"deleteExemptionRecordsConf\"},on:{\"ok\":_vm.deleteExemptionRecord}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete FBT exemption record\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the FBT exemption record?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"deleteExemptionRecordsConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"deleteExemptionRecordsConf_OkButton\"},on:{\"click\":_vm.deleteExemptionRecord}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Delete FBT exemption record\"},on:{\"click\":_vm.onDeleteFBTClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class ExemptionRecordsActionButtons extends Vue{\n @Prop() item:any\n showDeleteExemptionRecordConfirmation = false;\n\n deleteExemptionRecord(){\n this.showDeleteExemptionRecordConfirmation = false;\n this.item.isActive = false;\n this.onDeleteFbtExemptionRecord(this.item.id,DataTableActionTypes.Delete);\n }\n onDeleteFBTClick() \n {\n this.showDeleteExemptionRecordConfirmation = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n @Emit('customEvent') onDeleteFbtExemptionRecord(id:number,type:DataTableActionTypes){\n }\n onCloseDelete()\n {\n this.showDeleteExemptionRecordConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExemptionRecordsActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExemptionRecordsActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ExemptionRecordsActionButtons.vue?vue&type=template&id=5ceb7869&scoped=true\"\nimport script from \"./ExemptionRecordsActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./ExemptionRecordsActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ExemptionRecordsActionButtons.vue?vue&type=style&index=0&id=5ceb7869&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5ceb7869\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport {FBTExemptionRecord, FBTRecord} from '@/models/fbt.model';\nimport { validationMixin } from 'vuelidate';\nimport { required} from 'vuelidate/lib/validators';\nimport AppSettings from '@/app.config';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport ExemptionRecordsActionButtons from './ExemptionRecordsActionButtons.vue';\nimport moment from 'moment'\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport fieldValidations from '@/shared/services/fieldValidationService';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n DataTable,\n Modal\n },\n validations:{\n fbtExemptionRecord:{\n reason:{\n required\n },\n startDate:{\n required\n },\n endDate:{\n required\n }\n }\n }\n }\n)\nexport default class FBTExemptionRecords extends Vue{\n\n @Prop() NovationID:number;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n sortableFields:string[] = [\"startDate\",\"endDate\"];\n perPage:number = AppSettings.defaultGridSize;\n fbtExemptionRecord:FBTExemptionRecord = {id:0,startDate:\"\",endDate:\"\",days:0,reason:\"\",concurrencyKey:\"\",novationID:0,createdDate:null,createdByName:\"\",lastUpdateByName:\"\",lastUpdatedDate:null};\n showAddEditExemptionRecordPanel:boolean = false;\n exemptionDirtyValidatorRefNo:number = 0;\n fbtExemptionItems:any = [];\n disabledExemptionStartDates:any = {};\n disabledExemptionEndDates:any ={};\n exemptionStartDateErrorMessage:string = \"\";\n exemptionEndDateErroMessage:string = \"\";\n showExemptionStartDateErrorMessage:boolean = false;\n showExemptionEndDateErrorMessage:boolean = false;\n showExemptionEmptyBanner:boolean = false;\n fbtExemptionTableFields = [\n {key: 'startDate',sortable:'true',class:'width_25',\n formatter: (value, key, item) => {\n return moment(item.startDate).format(\"DD MMM YYYY\")\n }\n },\n { key: 'endDate',\n sortable:'true',\n class:'width_25',\n formatter: (value, key, item) => {\n return moment(item.endDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'reason',class:'width_40'},\n {key: 'actions',label:\"\",class:'text-center'} \n ];\n exemptionTotalRows:number = 0;\n exemptionSortBy:string = \"startDate\";\n filter:string = \"\";\n exemptionSortDesc:boolean = false;\n exemptionCustomTemplateList:Array = [\n {slot:\"actions\",customTemplate:ExemptionRecordsActionButtons}\n ]\n showExemptionCancelConfirmation:boolean = false;\n novationStartDate:Date;\n novationEndDate:Date;\n\n mounted(){\n this.refreshExemptionGrid({FromIndex:0,Count:this.perPage,SortBy:\"startDate\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.NovationID,Status:0});\n this.getNovationStartEndDates();\n }\n\n onExemptionTablePageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshExemptionGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.NovationID,Status:0});\n }\n\n onExemptionTableSortingChange(ctx:any){\n var sortBy = ctx.sortBy;\n if(this.sortableFields.includes(sortBy)){\n this.refreshExemptionGrid({FromIndex:0,Count:this.perPage,SortBy:sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.NovationID,Status:0});\n }\n }\n\n onDeleteFBTExemptionRecord(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:id};\n apiService.sendDeleteRequest(\"Novation\",\"FBTExemptionRecord\",params).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: \"FBT exemption record successfully deleted.\",\n type: 'success',\n duration: 5000\n });\n \n if(this.fbtExemptionRecord.id == id){\n this.closeAddEditExemptionRecordPanel();\n }\n this.refreshExemptionGrid({FromIndex:0,Count:this.perPage,SortBy:\"startDate\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.NovationID,Status:0});\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.fbtExemptionTable as DataTable).resetLastCustomAction();\n }\n ) \n }\n\n onSubmitFBTExemption(){\n if(this.fbtExemptionRecord.id > 0){\n this.updateExemptionRecord();\n }\n else{\n this.createExemptionRecord();\n } \n }\n\n onExemptionTableCustomEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.fbtExemptionTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.fbtExemptionTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Delete){\n this.onDeleteFBTExemptionRecord(data);\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onEditFBTExemptionRecord(data);\n }\n }\n\n createExemptionRecord(){\n var params = {\n startDate:this.fbtExemptionRecord.startDate,\n endDate:this.fbtExemptionRecord.endDate,\n reason:this.fbtExemptionRecord.reason,\n days:this.fbtExemptionRecord.days,\n novationID:this.NovationID\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('Novation','FBTExemptionRecord',params).then(\n response => {\n if(response.data.isSuccess){\n this.fbtExemptionRecord.id = response.data.id;\n this.fbtExemptionRecord.concurrencyKey = response.data.concurrencyKey;\n this.fbtExemptionRecord.createdDate = response.data.lastUpdatedDate;\n this.fbtExemptionRecord.createdByName = response.data.updatedByName;\n this.fbtExemptionRecord.lastUpdateByName = response.data.updatedByName;\n this.fbtExemptionRecord.lastUpdatedDate = response.data.lastUpdatedDate;\n this.fbtExemptionItems.push(Object.assign({},this.fbtExemptionRecord));\n this.exemptionTotalRows++;\n this.closeAddEditExemptionRecordPanel();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n updateExemptionRecord(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Novation','FBTExemptionRecord',this.fbtExemptionRecord).then(\n response => {\n if(response.data.isSuccess){\n var er = this.getExemptionRecordById(this.fbtExemptionRecord.id);\n var index = this.fbtExemptionItems.indexOf(er);\n this.fbtExemptionRecord.concurrencyKey = response.data.concurrencyKey;\n this.fbtExemptionRecord.lastUpdateByName = response.data.updatedByName;\n this.fbtExemptionRecord.lastUpdatedDate = response.data.lastUpdatedDate;\n this.fbtExemptionItems[index] = this.fbtExemptionRecord;\n var itemsCopy = Object.assign([],this.fbtExemptionItems);\n this.fbtExemptionItems = [];\n this.fbtExemptionItems = itemsCopy;\n this.closeAddEditExemptionRecordPanel();\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n onCancelExemption(){\n if(dirtyValidatorService.isModelDirty(this.exemptionDirtyValidatorRefNo)){\n this.showExemptionCancelConfirmation = true;\n }\n else{\n this.closeAddEditExemptionRecordPanel();\n }\n }\n\n closeAddEditExemptionRecordPanel(){\n this.fbtExemptionRecord = {id:0,startDate:\"\",endDate:\"\",days:0,reason:\"\",concurrencyKey:\"\",novationID:0,createdDate:null,createdByName:\"\",lastUpdateByName:\"\",lastUpdatedDate:null};\n this.showAddEditExemptionRecordPanel = false;\n this.showExemptionCancelConfirmation = false;\n this.disabledExemptionStartDates = {};\n this.disabledExemptionEndDates = {};\n this.$v.fbtExemptionRecord.$reset();\n dirtyValidatorService.clearChanges(this.exemptionDirtyValidatorRefNo);\n }\n\n refreshExemptionGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showExemptionEmptyBanner = false;\n apiService.sendGetRequest(\"Novation\",\"FBTExemptionRecordList\",tableFilterParams).then(response =>{\n this.fbtExemptionItems = response.data.resultDto;\n this.exemptionTotalRows = response.data.totalRows;\n this.showExemptionEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onEditFBTExemptionRecord(data:any){\n this.fbtExemptionRecord = Object.assign({},this.getExemptionRecordById(data.id));\n var toDate = moment(this.fbtExemptionRecord.startDate).add(1,'days').toDate();\n var fromDate = moment(this.fbtExemptionRecord.endDate).subtract(1,'days').toDate();\n this.disabledExemptionStartDates = fieldValidations.isValidDate(this.novationStartDate) ? {to:moment(this.novationStartDate).toDate(), from:fromDate} : {from:fromDate};\n this.disabledExemptionEndDates = fieldValidations.isValidDate(this.novationEndDate) ? {to:toDate, from: moment(this.novationEndDate).toDate()} : {to:toDate};\n this.exemptionDirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.exemptionDirtyValidatorRefNo,this.fbtExemptionRecord);\n this.dirtyValidatorNoSet(this.exemptionDirtyValidatorRefNo);\n this.showAddEditExemptionRecordPanel = true;\n }\n\n getExemptionRecordById(id:number){\n var i;\n var record;\n for (i = 0; i < this.fbtExemptionItems.length; i++) { \n if(this.fbtExemptionItems[i].id == id){\n record = this.fbtExemptionItems[i];\n break;\n }\n }\n return record;\n }\n\n onAddFBTExemptionRecord(){\n this.fbtExemptionRecord = {id:0,startDate:\"\",endDate:\"\",days:0,reason:\"\",concurrencyKey:\"\",novationID:0,createdDate:null,createdByName:\"\",lastUpdateByName:\"\",lastUpdatedDate:null};\n if(fieldValidations.isValidDate(this.novationEndDate))\n {\n this.disabledExemptionStartDates = {to:moment(this.novationStartDate).toDate(), from: moment(this.novationEndDate).toDate()}\n this.disabledExemptionEndDates = {to:moment(this.novationStartDate).toDate(), from: moment(this.novationEndDate).toDate()};\n }\n else{\n this.disabledExemptionStartDates = {to:moment(this.novationStartDate).toDate()}\n this.disabledExemptionEndDates = {to:moment(this.novationStartDate).toDate()};\n }\n this.showAddEditExemptionRecordPanel = true;\n this.exemptionDirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.exemptionDirtyValidatorRefNo,this.fbtExemptionRecord);\n this.dirtyValidatorNoSet(this.exemptionDirtyValidatorRefNo);\n }\n\n isExemptionModelDirty(){\n return dirtyValidatorService.isModelDirty(this.exemptionDirtyValidatorRefNo);\n }\n\n calculateDays(){\n if(this.fbtExemptionRecord.startDate && this.fbtExemptionRecord.endDate){\n if(this.fbtExemptionRecord.startDate > this.fbtExemptionRecord.endDate){\n this.exemptionStartDateErrorMessage = \"Start date should be before end date.\";\n this.exemptionEndDateErroMessage = \"End date should be after start date.\";\n this.showExemptionStartDateErrorMessage = true;\n this.showExemptionEndDateErrorMessage = true;\n }\n else{\n var _MS_PER_DAY = 1000*60*60*24;\n var from = new Date(this.fbtExemptionRecord.startDate);\n var to = new Date(this.fbtExemptionRecord.endDate);\n const utc1 = Date.UTC(from.getFullYear(), from.getMonth(), from.getDate());\n const utc2 = Date.UTC(to.getFullYear(), to.getMonth(), to.getDate());\n this.fbtExemptionRecord.days = Math.floor((utc2 - utc1) / _MS_PER_DAY) + 1;\n var toDate = moment(this.fbtExemptionRecord.startDate).add(1,'days').toDate();\n var fromDate = moment(this.fbtExemptionRecord.endDate).subtract(1,'days').toDate();\n this.disabledExemptionStartDates = fieldValidations.isValidDate(this.novationStartDate) ? {to:moment(this.novationStartDate).toDate(), from:fromDate} : {from:fromDate};\n this.disabledExemptionEndDates = fieldValidations.isValidDate(this.novationEndDate) ? {to:toDate, from: moment(this.novationEndDate).toDate()} : {to:toDate};\n this.exemptionStartDateErrorMessage = \"\";\n this.exemptionEndDateErroMessage = \"\";\n this.showExemptionStartDateErrorMessage = false;\n this.showExemptionEndDateErrorMessage = false;\n }\n }\n else if(this.fbtExemptionRecord.startDate){\n var toDate = moment(this.fbtExemptionRecord.startDate).add(1,'days').toDate();\n this.fbtExemptionRecord.days = 0;\n this.disabledExemptionStartDates = {};\n this.disabledExemptionStartDates = fieldValidations.isValidDate(this.novationStartDate) ? \n (fieldValidations.isValidDate(this.novationEndDate) ?\n {to:moment(this.novationStartDate).toDate(), from:moment(this.novationEndDate).toDate()} :\n {to:moment(this.novationStartDate).toDate()}) :\n (fieldValidations.isValidDate(this.novationEndDate) ?\n {from: moment(this.novationEndDate).toDate()} :\n {});\n this.disabledExemptionEndDates = fieldValidations.isValidDate(this.novationEndDate) ? {to:toDate, from: moment(this.novationEndDate).toDate()} : {to:toDate};\n \n }\n else if(this.fbtExemptionRecord.endDate){\n var fromDate = moment(this.fbtExemptionRecord.endDate).subtract(1,'days').toDate();\n this.disabledExemptionStartDates = fieldValidations.isValidDate(this.novationStartDate) ? {to: moment(this.novationStartDate).toDate(), from:fromDate} : {from:fromDate};\n this.disabledExemptionEndDates = fieldValidations.isValidDate(this.novationStartDate) ? \n (fieldValidations.isValidDate(this.novationEndDate)?\n {to:moment(this.novationStartDate).toDate(), from:moment(this.novationEndDate).toDate()}:\n {to:moment(this.novationStartDate).toDate()}) :\n (fieldValidations.isValidDate(this.novationEndDate) ?\n {from: moment(this.novationEndDate).toDate()} :\n {});\n this.fbtExemptionRecord.days = 0;\n this.disabledExemptionEndDates = {};\n }\n else{\n this.disabledExemptionStartDates = fieldValidations.isValidDate(this.novationStartDate) ? \n (fieldValidations.isValidDate(this.novationEndDate)?\n {to:moment(this.novationStartDate).toDate(), from:moment(this.novationEndDate).toDate()}:\n {to:moment(this.novationStartDate).toDate()}) :\n (fieldValidations.isValidDate(this.novationEndDate) ?\n {from: moment(this.novationEndDate).toDate()} :\n {});\n this.disabledExemptionEndDates = fieldValidations.isValidDate(this.novationStartDate) ? \n (fieldValidations.isValidDate(this.novationEndDate)?\n {to:moment(this.novationStartDate).toDate(), from:moment(this.novationEndDate).toDate()}:\n {to:moment(this.novationStartDate).toDate()}) :\n (fieldValidations.isValidDate(this.novationEndDate) ?\n {from: moment(this.novationEndDate).toDate()} :\n {});\n this.fbtExemptionRecord.days = 0;\n }\n }\n\n onEnterExemptionStartDate(){\n this.$v.fbtExemptionRecord.startDate.$touch();\n this.calculateDays();\n }\n\n onEnterExemptionEndDate(){\n this.$v.fbtExemptionRecord.endDate.$touch();\n this.calculateDays();\n }\n\n getNovationStartEndDates(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showExemptionEmptyBanner = false;\n apiService.sendGetRequest(\"Novation\",\"NovationStartEndDates\",{id: this.NovationID}).then(response =>{\n this.novationStartDate = response.data.item1;\n this.novationEndDate = response.data.item2;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n get exemptionStartDateInputClass(){\n return this.fbtExemptionRecord.startDate? '' : 'requiredField';\n }\n\n get exemptionEndDateInputClass(){\n return this.fbtExemptionRecord.endDate? '' : 'requiredField';\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTExemptionRecords.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTExemptionRecords.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FBTExemptionRecords.vue?vue&type=template&id=83ffef26&scoped=true\"\nimport script from \"./FBTExemptionRecords.vue?vue&type=script&lang=ts\"\nexport * from \"./FBTExemptionRecords.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FBTExemptionRecords.vue?vue&type=style&index=0&id=83ffef26&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"83ffef26\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport FBTRecords from './FBTRecords.vue'\nimport FBTExemptionRecords from './FBTExemptionRecords.vue'\n\n@Component({\n components: {\n FBTExemptionRecords,\n FBTRecords\n }\n } \n)\nexport default class FBTDetails extends Vue{\n\n novationID:number = 0;\n\n created(){\n this.novationID = +this.$route.params.novationID ? +this.$route.params.novationID : 0;\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){\n\n }\n}\n","export enum RevenueCategories{\r\n Invoice = 1,\r\n CreditNote = 2\r\n}","export enum InvoiceStatuses{\r\n Pending = 1,\r\n Generated = 2,\r\n Emailed = 3,\r\n Voided = 4,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FBTDetails.vue?vue&type=template&id=7ef50152&scoped=true\"\nimport script from \"./FBTDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./FBTDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FBTDetails.vue?vue&type=style&index=0&id=7ef50152&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ef50152\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row mb-3\"},[(_vm.selectedInvoicesIdList.length > 0)?_c('b-col',{staticClass:\"pl-0 pull-left\",attrs:{\"cols\":\"2\"}},[(_vm.selectedInvoicesIdList.length > 0)?_c('b-button',{staticClass:\"primary\",on:{\"click\":function($event){return _vm.onClickDeleteInvoices()}}},[_vm._v(\"Delete Invoices\")]):_vm._e()],1):_vm._e(),_c('b-col',{staticClass:\"pl-4 pull-left\",attrs:{\"sm\":\"3\",\"md\":\"4\",\"lg\":\"3\",\"xl\":\"2\"}},[_c('InvoiceStatusSelectList',{ref:\"invoiceStatusList\",on:{\"onInvoiceStatusChanged\":_vm.onInvoiceStatusChanged}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Rest All Filtrations'},on:{\"click\":function($event){return _vm.resetSelectedInvoiceStatusList()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"pr-0\"},[(_vm.selectedInvoicesIdList == null || _vm.selectedInvoicesIdList.length == 0)?_c('b-dropdown',{staticClass:\"customs-dropdown-btn pull-right\",attrs:{\"variant\":\"secondary\"},scopedSlots:_vm._u([{key:\"button-content\",fn:function(){return [_vm._v(\"\\n Create New Invoice\\n \")]},proxy:true}],null,false,2363193094)},[_c('b-dropdown-item',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){_vm.newInvoiceType = _vm.revenueCategories.Invoice}}},[_vm._v(\"Invoice\")]),_c('b-dropdown-item',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){_vm.newInvoiceType = _vm.revenueCategories.CreditNote}}},[_vm._v(\"Credit Note\")]),_c('b-dropdown-item',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){_vm.openInvoiceScheduleModal = true}}},[_vm._v(_vm._s(_vm.isOkToCreateInvoiceSchedule ? '' : 'Extend ')+\"Schedule\")])],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',[((_vm.items.length == 0))?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n No available invoices found.\\n \")])])],2):_vm._e(),(_vm.items.length > 0)?_c('b-table',{ref:\"invoicesTable\",staticClass:\"invoices-table\",attrs:{\"sort-by\":_vm.sortBy,\"sort-desc\":_vm.sortDesc,\"items\":_vm.items,\"fields\":_vm.isExpanded? _vm.columnSet_1.concat(_vm.columnSet_3.concat(_vm.columnSet_2)) : (_vm.columnSet_1.concat(_vm.columnSet_2)),\"no-border-collapse\":\"\",\"sticky-header\":\"571px\",\"striped\":\"\",\"responsive\":\"sm\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"update:sortDesc\":function($event){_vm.sortDesc=$event},\"update:sort-desc\":function($event){_vm.sortDesc=$event}},scopedSlots:_vm._u([(_vm.isItemSelectable)?{key:\"head(selected)\",fn:function(){return [_c('b-row',{staticClass:\"select-all\"},[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"selectAllCheckbox\"}},[_c('b-form-checkbox',{on:{\"change\":_vm.onSelectAll},model:{value:(_vm.isSelectAll),callback:function ($$v) {_vm.isSelectAll=$$v},expression:\"isSelectAll\"}})],1)],1)],1)]},proxy:true}:null,{key:\"cell(selected)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticStyle:{\"display\":\"flex\",\"justify-content\":\"left\"},attrs:{\"cols\":\"12\"}},[_c('span',{staticStyle:{\"margin-left\":\"20px\",\"margin-bottom\":\"-10px\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"selectedCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":'selectedCheckbox' + row.index,\"disabled\":_vm.items[row.index].isInvalid},on:{\"change\":_vm.onClick},model:{value:(_vm.items[row.index].isChecked),callback:function ($$v) {_vm.$set(_vm.items[row.index], \"isChecked\", $$v)},expression:\"items[row.index].isChecked\"}})],1)],1)])],1)]}},{key:\"cell(actions)\",fn:function(row){return [_c('b-row',[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('InvoicesListActionButtons',{attrs:{\"item\":_vm.items[row.index]},on:{\"customEvent\":_vm.onDataTableCustomEvent}})],1):_vm._e()],1)]}},{key:\"head(amountInclGst)\",fn:function(data){return [_c('span',[_vm._v(_vm._s(data.label))]),(!_vm.isExpanded)?_c('b-button',{staticClass:\"toggle-button\",attrs:{\"variant\":\"link\",\"size\":\"sm\"},on:{\"click\":_vm.toggleAmountColumn}},[_vm._v(\"(Expand)\\n \")]):_vm._e(),(_vm.isExpanded)?_c('b-button',{staticClass:\"toggle-button\",attrs:{\"variant\":\"link\",\"size\":\"sm\"},on:{\"click\":_vm.toggleAmountColumn}},[_vm._v(\"(Collapse)\\n \")]):_vm._e()]}},{key:\"cell(amountInclGst)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].amountInclGst}})]}},{key:\"cell(leaseAmount)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].leaseAmount}})]}},{key:\"cell(leaseGST)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].leaseGST}})]}},{key:\"cell(leaseTotal)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].leaseTotal}})]}},{key:\"cell(runCostAmount)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].runCostAmount}})]}},{key:\"cell(runCostGST)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].runCostGST}})]}},{key:\"cell(runCostTotal)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].runCostTotal}})]}},{key:\"cell(refundLeaseAmt)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].refundLeaseAmt}})]}},{key:\"cell(refundLeaseGST)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].refundLeaseGST}})]}},{key:\"cell(refundLeaseTotal)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].refundLeaseTotal}})]}},{key:\"cell(refundRunCostAmount)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].refundRunCostAmount}})]}},{key:\"cell(refundRunCostGST)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].refundRunCostGST}})]}},{key:\"cell(refundRunCostTotal)\",fn:function(row){return [_c('ApexCurrency',{attrs:{\"value\":_vm.items[row.index].refundRunCostTotal}})]}},(_vm.isExpanded)?{key:\"bottom-row\",fn:function(){return [_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":\"4\"}},[_vm._v(\"Total\")]),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalLeaseAmt}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalLeaseGST}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalLeaseTotal}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalRunCostAmt}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalRunCostGST}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalRunCostTotal}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmountincGST}})],1),_c('b-td',{staticClass:\"color-header-column\",attrs:{\"colspan\":\"30\"}})]},proxy:true}:null],null,true)}):_vm._e()],1)],1),(_vm.newInvoiceType > 0 || _vm.editInvoiceID > 0)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[(_vm.newInvoiceType == _vm.revenueCategories.Invoice)?_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(_vm.editInvoiceID > 0 ? \"Edit Invoice\" : \"New Invoice\")+\"\\n \")]):_vm._e(),(_vm.newInvoiceType == _vm.revenueCategories.CreditNote)?_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n New Credit Note\\n \")]):_vm._e()],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddEditInvoice',{attrs:{\"invoiceID\":_vm.editInvoiceID,\"novationID\":_vm.novationID,\"invoiceType\":_vm.newInvoiceType},on:{\"dirtyValidatorNoSet\":_vm.onDirtyRefNoChanged,\"refreshInvoiceGrid\":_vm.refreshInvoiceGrid,\"onCloseModal\":_vm.onCloseModal}})],1)]):_vm._e(),(_vm.openInvoiceScheduleModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(_vm.isOkToCreateInvoiceSchedule ? 'New' : 'Extend')+\" Invoice Schedule\\n \")])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddInvoiceSchedule',{attrs:{\"novationID\":_vm.novationID,\"leaseType\":_vm.leaseType,\"isOkToCreateExtendedInvoiceSchedule\":_vm.isOkToCreateInvoiceSchedule,\"invoiceScheduleItemCountProp\":_vm.invoiceScheduleItemCount,\"lastInvoiceDate\":_vm.lastInvoiceDate,\"lastInvoiceDueDate\":_vm.lastInvoiceDueDate},on:{\"dirtyValidatorNoSet\":_vm.onDirtyRefNoChanged,\"refreshInvoiceGrid\":_vm.refreshInvoiceGrid,\"onCloseModal\":_vm.onCloseModal,\"onInvoiceScheduleCreate\":_vm.onInvoiceScheduleCreate}})],1)]):_vm._e(),(_vm.showDeleteInvoicesConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteInvoicesConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the selected invoice(s)?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteInvoicesConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteInvoicesConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteInvoicesConf_OkButton\"},on:{\"click\":_vm.deleteSelectedInvoices}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showAcknowledgementMessage)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showAcknowledgementMessage\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Acknowledgement \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_c('span',{staticStyle:{\"white-space\":\"pre-line\"}},[_vm._v(\" \"+_vm._s(_vm.acknowledgementMessage))])])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"acknowledgementButton\"},on:{\"click\":_vm.onClickAcknowledgement}},[_vm._v(\"\\n I Acknowledge\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showVoidInvoiceConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showVoidInvoiceConfirmationId\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Void Reason\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[(!_vm.voidedReasonModalReadOnlyMode)?_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.invoiceVoidedReason),expression:\"invoiceVoidedReason\"}],staticClass:\"textInput grid-textInput form-control\",class:{ requiredField: (_vm.invoiceVoidedReason == null || _vm.invoiceVoidedReason == '')},attrs:{\"id\":\"voidedReasonId\",\"type\":\"text\",\"placeholder\":\"Please enter the void note\"},domProps:{\"value\":(_vm.invoiceVoidedReason)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.invoiceVoidedReason=$event.target.value}}}):_c('p',{staticClass:\"text-left\"},[_vm._v(_vm._s(_vm.invoiceVoidedReason))])])],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"VoidInvoiceConfirmation_NoButton\"},on:{\"click\":function($event){return _vm.closeVoidedReasonModal()}}},[_vm._v(\"\\n Cancel\\n \")]),(!_vm.voidedReasonModalReadOnlyMode)?_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":_vm.invoiceVoidedReason == null || _vm.invoiceVoidedReason == '',\"id\":\"VoidInvoiceConfirmation_YesButton\"},on:{\"click\":function($event){return _vm.markInvoiceAsVoided()}}},[_vm._v(\"\\n Void\\n \")]):_vm._e()],1)]):_vm._e(),(_vm.showSendEmailConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showSendEmailConfirmationId\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Do you want to send email after generating the invoice?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"SendEmailConfirmation_NoButton\"},on:{\"click\":function($event){return _vm.GenerateOrSendEmail(false)}}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"SendEmailConfirmation_YesButton\"},on:{\"click\":function($event){return _vm.GenerateOrSendEmail(true)}}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.item.status && _vm.item.status == _vm.invoiceStatuses.Pending)?_c('span',{staticClass:\"mr-9 action-btn\",attrs:{\"title\":\"Edit Invoice\"},on:{\"click\":_vm.onEditInvoiceClick}},[_c('i',{staticClass:\"fas fa-lg fa-edit invoice-action-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.status && (_vm.item.status == _vm.invoiceStatuses.Generated || (_vm.item.status == _vm.invoiceStatuses.Pending && _vm.item.isOkToGenerate)) && (_vm.item.invoiceType == _vm.revenueCategories.Invoice || _vm.item.invoiceType == _vm.revenueCategories.CreditNote))?_c('span',{staticClass:\"action-btn\",class:_vm.item.status == _vm.invoiceStatuses.Generated ? 'email-button' : 'mr-6',attrs:{\"title\":_vm.item.status == _vm.invoiceStatuses.Generated ? 'Send Email': 'Generate Invoice'},on:{\"click\":_vm.onClickGenerateOrEmail}},[_c('i',{staticClass:\"invoice-action-button action-btn\",class:_vm.item.status == _vm.invoiceStatuses.Generated ? 'fas fa-lg fa-envelope' : 'fas fa-lg fa-file-export',attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.isGenerated)?_c('span',{staticClass:\"action-btn\",class:(_vm.item.status == _vm.invoiceStatuses.Generated || _vm.item.status == _vm.invoiceStatuses.Emailed || _vm.item.status == _vm.invoiceStatuses.Voided) ? 'generated-preview-button' : 'emailed-preview-button',attrs:{\"title\":_vm.item && _vm.item.invoiceType == _vm.revenueCategories.Invoice ? 'Preview Invoice' : 'Preview Credit Note'},on:{\"click\":_vm.onPreviewInvoice}},[_c('i',{staticClass:\"fas fa-lg fa-file-pdf invoice-action-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.status == _vm.invoiceStatuses.Generated || _vm.item.status == _vm.invoiceStatuses.Emailed)?_c('span',{staticClass:\"action-btn\",attrs:{\"title\":_vm.item && _vm.item.invoiceType == _vm.revenueCategories.Invoice ? 'Void Invoice' : 'Void Credit Note'},on:{\"click\":function($event){return _vm.onMarkInvoiceAsVoided()}}},[_c('i',{staticClass:\"fas fa-lg fa-ban invoice-action-button action-btn\",class:'void-invoice-button',attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.status == _vm.invoiceStatuses.Voided)?_c('span',{staticClass:\"action-btn\",attrs:{\"title\":'Voided Reason'},on:{\"click\":function($event){return _vm.viewVoidedReasonModalInReadOnlyMode(_vm.item.voidedReason)}}},[_c('i',{staticClass:\"fas fa-lg fa-info-circle invoice-action-button action-btn\",class:'void-invoice-info-button',attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport apiService from '@/shared/services/apiService';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport { RevenueCategories } from '@/shared/enums/revenueCategories.enum';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport { InvoiceStatuses } from '@/shared/enums/invoiceStatuses.enum';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class InvoicesListActionButtons extends Vue {\n @Prop() item: any\n revenueCategories = RevenueCategories;\n invoiceStatuses = InvoiceStatuses;\n showSendEmailConfirmation: boolean = false;\n showVoidInvoiceConfirmation: boolean = false;\n invoiceVoidedReason: string = '';\n voidedReasonModalReadOnlyMode: boolean = false;\n\n onPreviewInvoice() {\n this.$store.dispatch('storeIsBusyValue', true);\n apiService.sendGetRequest(\"Report\", \"PreviewLeasePaymentInvoice\", { invoiceID: this.item.id }).then(\n response => {\n if (response.data.isSuccess) {\n fileViewerService.ViewPDF(response.data.reportContentString, response.data.reportName);\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue', false);\n })\n }\n\n onClickGenerateOrEmail() {\n if (this.item.status == this.invoiceStatuses.Generated) {\n this.GenerateOrSendEmail(true);\n } else {\n this.showSendEmailConfirmation = true;\n }\n }\n\n GenerateOrSendEmail(sendEmail: boolean) {\n this.$store.dispatch('storeIsBusyValue', true);\n this.showSendEmailConfirmation = false;\n apiService.sendGetRequest(\"Novation\", \"GenerateInvoiceOrSendEmail\", {\n invoiceID: this.item.id,\n status: this.item.status,\n sendEmail: sendEmail\n }).then(\n response => {\n if (response.data.isSuccess) {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.onAction(this.item, DataTableActionTypes.Refresh)\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue', false);\n })\n }\n\n viewVoidedReasonModalInReadOnlyMode(voidedReason: string) {\n this.voidedReasonModalReadOnlyMode = true;\n this.invoiceVoidedReason = voidedReason;\n this.showVoidInvoiceConfirmation = true;\n }\n\n closeVoidedReasonModal() {\n this.showVoidInvoiceConfirmation = false;\n this.voidedReasonModalReadOnlyMode = false;\n this.invoiceVoidedReason = '';\n }\n\n onMarkInvoiceAsVoided() {\n this.invoiceVoidedReason = '';\n this.showVoidInvoiceConfirmation = true;\n }\n\n markInvoiceAsVoided() {\n this.showVoidInvoiceConfirmation = false;\n this.$store.dispatch('storeIsBusyValue', true);\n apiService.sendPostRequest(\"Novation\", \"MarkInvoiceAsVoided\", { invoiceId: this.item.id, reason: this.invoiceVoidedReason }).then(\n response => {\n if (response.data.isSuccess) {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.onAction(this.item, DataTableActionTypes.Refresh)\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue', false);\n })\n }\n\n onEditInvoiceClick() {\n this.onAction(this.item.id, DataTableActionTypes.Edit);\n }\n\n @Emit('customEvent') onAction(data: any, type: DataTableActionTypes) {}\n}\n","export enum InvoiceLineCategoryType{\r\n LeasePayment = 1,\r\n RunningCost = 2\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoicesListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoicesListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoicesListActionButtons.vue?vue&type=template&id=7c79ea1a&scoped=true\"\nimport script from \"./InvoicesListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoicesListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InvoicesListActionButtons.vue?vue&type=style&index=0&id=7c79ea1a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7c79ea1a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddInvoiceConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\r\\n There are unsaved changes. Do you want to continue?\\r\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddInvoiceConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\r\\n Cancel\\r\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddInvoiceConf_OkButton\"},on:{\"click\":_vm.closeModal}},[_vm._v(\"\\r\\n OK\\r\\n \")])],1)]):_vm._e(),_c('div',[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"12\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onFormSubmit.apply(null, arguments)}}},[_c('b-row',{staticClass:\"justify-space-between\"},[_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"dateFormGroup\",class:{ 'form-group--error': _vm.$v.invoice.date.$required },attrs:{\"label\":\"Date\",\"label-for\":\"date\"}},[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":false,\"bootstrap-styling\":true,\"id\":'date',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledDates,\"disabled\":false},on:{\"input\":_vm.onEnterDate},model:{value:(_vm.invoice.date),callback:function ($$v) {_vm.$set(_vm.invoice, \"date\", $$v)},expression:\"invoice.date\"}}),(_vm.$v.invoice.date.$dirty && !_vm.$v.invoice.date.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\r\\n Date is required.\\r\\n \")]):_vm._e()],1)],1):_vm._e()],1),(_vm.isInvoice)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"invoiceFormGroup\",class:{ 'form-group--error': _vm.$v.invoice.dueDate.$required },attrs:{\"label\":\"Due Date\",\"label-for\":\"dueDate\"}},[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":false,\"bootstrap-styling\":true,\"id\":'dueDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledDueDates,\"disabled\":false},on:{\"input\":_vm.onEnterDueDate},model:{value:(_vm.invoice.dueDate),callback:function ($$v) {_vm.$set(_vm.invoice, \"dueDate\", $$v)},expression:\"invoice.dueDate\"}}),(_vm.$v.invoice.dueDate.$dirty && !_vm.$v.invoice.dueDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\r\\n Due Date is required.\\r\\n \")]):_vm._e()],1)],1)],1):_vm._e()],1),_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Entity\",\"label-for\":\"employer\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"disabled\":_vm.entity.length > 0,\"id\":\"employer\",\"type\":\"text\"},model:{value:(_vm.entity),callback:function ($$v) {_vm.entity=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"entity\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoice.emailInvoiceTo.$dirty && (!_vm.$v.invoice.emailInvoiceTo.required || !_vm.$v.invoice.emailInvoiceTo.email )},attrs:{\"label\":\"Email Invoice To\",\"label-for\":\"email\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"required\":\"\",\"disabled\":false,\"id\":\"email\",\"type\":\"text\"},on:{\"input\":function($event){return _vm.$v.invoice.emailInvoiceTo.$touch()}},model:{value:(_vm.invoice.emailInvoiceTo),callback:function ($$v) {_vm.$set(_vm.invoice, \"emailInvoiceTo\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"invoice.emailInvoiceTo\"}}),(_vm.$v.invoice.emailInvoiceTo.$dirty && !_vm.$v.invoice.emailInvoiceTo.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\r\\n Email is required.\\r\\n \")]):_vm._e(),(_vm.$v.invoice.emailInvoiceTo.$dirty && !_vm.$v.invoice.emailInvoiceTo.email)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\r\\n Email is invalid.\\r\\n \")]):_vm._e()],1)],1)],1),(_vm.leaseType == _vm.novatedFullyMaintained && _vm.isInvoice)?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',[_c('b-form-checkbox',{attrs:{\"id\":\"sendEmailCheckbox\"},model:{value:(_vm.invoice.sendEmail),callback:function ($$v) {_vm.$set(_vm.invoice, \"sendEmail\", $$v)},expression:\"invoice.sendEmail\"}},[_vm._v(\"Send Email\")])],1)],1)],1):_vm._e()],1)],1),(!(_vm.invoiceID > 0))?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Note\",\"label-for\":\"note\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.invoice.note),expression:\"invoice.note\",modifiers:{\"trim\":true}}],class:{'textInput':true, 'form-control':true},attrs:{\"id\":\"note\",\"rows\":\"3\",\"placeholder\":\"Enter Note\"},domProps:{\"value\":(_vm.invoice.note)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.invoice, \"note\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}})])],1)],1):_vm._e(),_c('b-row',{staticClass:\"add-item-button\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.saveDisabled,\"hidden\":_vm.addDisabled},on:{\"click\":_vm.onAddOneMoreItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Item\\r\\n \")])],1)],1),_c('b-row',{staticClass:\"table-row\"},[_c('b-col',{attrs:{\"size\":\"12\"}},[_c('b-table',{attrs:{\"selected\":\"\",\"items\":_vm.invoice.items,\"fields\":_vm.fields,\"striped\":\"\",\"responsive\":\"sm\"},scopedSlots:_vm._u([{key:\"cell(itemDescription)\",fn:function(row){return [_c('b-row',[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoice.items.$each[row.index].itemDescription.$error},attrs:{\"label\":\"\",\"label-for\":\"itemDescription\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"disabled\":true,\"id\":'itemDescription' + row.index,\"type\":\"text\"},on:{\"input\":function($event){_vm.$v.invoice.items.$each[row.index].itemDescription.$touch()}},model:{value:(_vm.invoice.items[row.index].itemDescription),callback:function ($$v) {_vm.$set(_vm.invoice.items[row.index], \"itemDescription\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"invoice.items[row.index].itemDescription\"}}),(!_vm.$v.invoice.items.$each[row.index].itemDescription.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\r\\n Description is required.\\r\\n \")]):_vm._e()],1)],1):_vm._e()],1)]}},{key:\"cell(amount)\",fn:function(row){return [_c('b-row',{staticClass:\"invoice-line-amount\"},[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoice.items.$each[row.index].amount.$error},attrs:{\"label\":\"\",\"label-for\":\"amount\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.invoice.items[row.index].amount == null) },attrs:{\"disabled\":false,\"id\":'amount' + row.index,\"type\":\"text\"},on:{\"input\":function($event){_vm.$v.invoice.items.$each[row.index].amount.$touch()}},model:{value:(_vm.invoice.items[row.index].amount),callback:function ($$v) {_vm.$set(_vm.invoice.items[row.index], \"amount\", $$v)},expression:\"invoice.items[row.index].amount\"}})],1),(_vm.$v.invoice.items.$each[row.index].amount.$dirty && !_vm.$v.invoice.items.$each[row.index].amount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\r\\n Amount is required.\\r\\n \")]):_vm._e(),(!_vm.$v.invoice.items.$each[row.index].amount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\r\\n Invalid Amount.\\r\\n \")]):_vm._e()],1)],1):_vm._e()],1)]}},{key:\"cell(gSTInclusive)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"invoice-line-checkbox\",attrs:{\"cols\":\"12\"}},[_c('span',[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"gstInclusiveCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":'gstInclusiveCheckbox' + row.index},model:{value:(_vm.invoice.items[row.index].gSTInclusive),callback:function ($$v) {_vm.$set(_vm.invoice.items[row.index], \"gSTInclusive\", $$v)},expression:\"invoice.items[row.index].gSTInclusive\"}})],1)],1)])],1)]}},{key:\"cell()\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"invoice-line-delete-button\",attrs:{\"cols\":\"12\"}},[_c('span',{attrs:{\"title\":\"Delete Item\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"deleteIcon\"},on:{\"click\":function($event){return _vm.removeItem(row.index)}}},[_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"false\"}})])])],1)]}}])})],1)],1),_c('b-row',[_c('b-col',[_c('div',[_c('b-row',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.$v.invoice.$invalid || !_vm.isModelDirty() || _vm.saveDisabled}},[_vm._v(\"\\r\\n \"+_vm._s(_vm.invoiceID > 0 ? \"Update\" : \"Save\")+\"\\r\\n \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")]),(!_vm.$v.invoice.items.totalAmountGreaterThanZero && _vm.isDirtyItems)?_c('div',{staticClass:\" pl-3 pt-2 text-danger\"},[_vm._v(\"\\r\\n Total Invoice Amount should be positive. \\r\\n \")]):_vm._e()],1)],1)])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { validationMixin } from 'vuelidate';\nimport { email, required } from 'vuelidate/lib/validators';\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport apiService from '@/shared/services/apiService';\nimport {ManualInvoice, ManualInvoiceItem} from '@/models/manualInvoice.model';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport {RevenueCategories} from '@/shared/enums/revenueCategories.enum';\nimport {InvoiceLineCategoryType} from '@/shared/enums/invoiceLineCategoryType.enum';\nimport moment from 'moment';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\n\n@Component(\n {\n mixins:[validationMixin],\n components: {\n Modal\n },\n validations:{\n invoice:{\n date: {\n required\n }, \n dueDate: {\n required\n }, \n emailInvoiceTo:{\n required,\n email\n },\n items: {\n isCountValid : items => {\n if (items.length > 0) return true;\n else return false;\n },\n required,\n totalAmountGreaterThanZero: items => {\n const validItems = items.filter(item => {\n return (\n item.amount !== undefined &&\n item.amount !== null &&\n item.amount !== '' &&\n /^-?\\d+(\\.\\d+)?$/.test(item.amount)\n );\n });\n const totalAmount = validItems.reduce((total, item) => {\n return total + parseFloat(item.amount);\n }, 0);\n\n return totalAmount > 0;\n },\n $each: {\n itemDescription: {\n required\n },\n amount: {\n required,\n isDecimal: value => {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^-?(?!0+(?:\\.0*)?$)\\d+(\\.\\d+)?$/.test(value)\n }\n }\n }\n\n }\n }\n }\n }\n)\nexport default class AddEditInvoice extends Vue{\n\n @Prop() invoiceID:number;\n @Prop() novationID: number;\n @Prop() invoiceType: number;\n\n invoice: ManualInvoice = {\n id: 0,\n novationId: 0,\n date: new Date(),\n dueDate: null,\n emailInvoiceTo: \"\",\n sendEmail:false,\n invoiceType:\"\",\n note:null,\n items: [],\n novationType:null\n }\n entity: string = '';\n fields = [\n {\n key: 'itemDescription',\n label: 'Item Description',\n class: 'column-itemDescription'\n },\n {\n key: 'amount',\n label: 'Amount',\n class: 'column-amount'\n },\n {\n key: 'gSTInclusive',\n label: 'GST Inclusive'\n },\n {\n label: ''\n }\n ];\n disabledDates:any ={};\n disabledDueDates = {};\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n dirtyValidationConfirmation:boolean = false;\n dirtyValidatorRefNo:number = 0;\n saveDisabled = false;\n isInvoice: boolean = false;\n addDisabled: boolean = true;\n dateChanged: boolean = false;\n novationType: RelatedTables = null;\n leaseType: VehicleLeaseTypes = null;\n leaseId: number = 0;\n novatedFullyMaintained: VehicleLeaseTypes = VehicleLeaseTypes.NovatedFullyMaintained;\n relatedEntityScheduleNextStartDate?:Date;\n\n created(){\n this.invoice.novationId = this.novationID;\n this.invoice.invoiceType =this.invoiceType;\n if(this.invoiceID > 0){\n this.loadInvoiceData();\n this.getRelatedEntityScheduleNextStartDate();\n }\n else {\n this.loadInvoiceDataByNovation();\n } \n }\n\n get isDirtyItems(){ \n var isDirtyItem = false;\n this.invoice.items.forEach((item , index) => {\n if(this.$v.invoice.items.$each[index].amount.$dirty){\n isDirtyItem = true;\n return\n } \n return\n })\n return isDirtyItem\n }\n\n loadInvoiceDataByNovation(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('novation','Novation', {id: this.novationID}).then(response => {\n let data = response.data;\n this.novationType = data.relatedTable;\n this.invoice.novationType = this.novationType;\n this.invoice.emailInvoiceTo = data.emailInvoicesTo;\n this.leaseId = data.vehicleLeaseID;\n this.getLeaseType();\n this.getEntityName(data.relatedID);\n this.addInvoiceLines();\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.invoice);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadInvoiceData(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('novation','GetInvoiceScheduleData', {invoiceId: this.invoiceID}).then(response => {\n let data = response.data;\n this.isInvoice = true;\n data.items.forEach(e => {\n let leasePayment: ManualInvoiceItem = {\n itemDescription: e.itemDescription,\n categoryType: e.categoryType,\n amount: e.amount,\n gSTInclusive: e.gstInclusive\n }\n this.invoice.items.push(leasePayment);\n });\n this.invoice.id = this.invoiceID;\n this.invoice.date = data.date;\n this.invoice.dueDate = data.dueDate;\n this.invoice.emailInvoiceTo = data.emailInvoiceTo;\n this.novationID = data.novationId;\n this.novationType = data.novationType;\n this.invoice.novationType = data.novationType;\n this.leaseId = data.vehicleLeaseID;\n this.getLeaseType();\n this.getEntityName(data.relatedId);\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.invoice);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n addInvoiceLines(){\n switch(this.invoiceType)\n {\n case RevenueCategories.Invoice:\n this.isInvoice = true;\n var toDate = moment(this.invoice.date).subtract(1,'days').toDate()\n this.disabledDueDates = {to:toDate};\n let leasePayment: ManualInvoiceItem = {\n itemDescription: \"Lease Payment\",\n categoryType: InvoiceLineCategoryType.LeasePayment,\n amount: null,\n gSTInclusive: true\n }\n this.invoice.items.push(leasePayment);\n let runningCost: ManualInvoiceItem = {\n itemDescription: \"Running Cost\",\n categoryType: InvoiceLineCategoryType.RunningCost,\n amount: null,\n gSTInclusive: true\n }\n this.invoice.items.push(runningCost);\n break;\n case RevenueCategories.CreditNote:\n this.invoice.dueDate = new Date();\n let leasePaymentsOverpaid: ManualInvoiceItem = {\n itemDescription: \"Refund of Overpaid Lease Payments Amount\",\n categoryType: InvoiceLineCategoryType.LeasePayment,\n amount: null,\n gSTInclusive: true\n }\n let runningCostOverpaid: ManualInvoiceItem = {\n itemDescription: \"Refund of Overpaid Running Cost Amount\",\n categoryType: InvoiceLineCategoryType.RunningCost,\n amount: null,\n gSTInclusive: true\n }\n this.invoice.items.push(leasePaymentsOverpaid);\n this.invoice.items.push(runningCostOverpaid);\n break;\n }\n }\n\n getRelatedEntityScheduleNextStartDate(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Novation\",\"RelatedEntityScheduleNextStartDate\").then(response =>{\n this.relatedEntityScheduleNextStartDate = response.data\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n getEntityName(id: any) {\n this.$store.dispatch('storeIsBusyValue',true);\n if (this.novationType == RelatedTables.Client){\n apiService.sendGetRequest('lease', 'ClientDetails', {leaseID: this.leaseId}).then(response => {\n this.entity = response.data.fullName;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.invoice);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$store.dispatch('storeIsBusyValue',false);\n }); \n } else if (this.novationType == RelatedTables.Employer){\n apiService.sendGetRequest('employer', 'EmployerName', {id: id}).then(response => {\n this.entity = response.data;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.invoice);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n }\n\n getLeaseType() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('lease', 'LeaseType', {leaseID: this.leaseId}).then(response => {\n this.leaseType = response.data;\n if(this.leaseType == VehicleLeaseTypes.MadeAvailable || this.leaseType == VehicleLeaseTypes.RunningCostOnly){\n this.invoice.items = this.invoice.items.filter(item => item.categoryType == InvoiceLineCategoryType.RunningCost);\n }\n if (this.leaseType == this.novatedFullyMaintained && this.isInvoice){\n this.getRelatedEntityScheduleNextStartDate();\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(err =>{\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onAddOneMoreItem() {\n let isRowDirty = false;\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\n isRowDirty = true;\n }\n let maxItemCount: number = 2;\n if (this.leaseType == VehicleLeaseTypes.MadeAvailable || this.leaseType == VehicleLeaseTypes.RunningCostOnly) {\n maxItemCount = 1;\n if (this.invoice.items.length < maxItemCount){\n let runningCostItem: ManualInvoiceItem = {\n itemDescription: this.invoiceType == RevenueCategories.Invoice ? \"Running Cost\" : \"Refund of Overpaid Running Cost Amount\",\n categoryType : InvoiceLineCategoryType.RunningCost,\n amount: null,\n gSTInclusive: true\n }\n this.invoice.items.push(runningCostItem);\n }\n } else {\n if (this.invoice.items.length < maxItemCount){\n var isLeasePaymentExist = this.isItemCategoryExist(InvoiceLineCategoryType.LeasePayment);\n if (!isLeasePaymentExist){\n let leasePaymentItem: ManualInvoiceItem = {\n itemDescription: this.invoiceType == RevenueCategories.Invoice ? \"Lease Payment\" : \"Refund of Overpaid Lease Payments Amount\",\n categoryType : InvoiceLineCategoryType.LeasePayment,\n amount: null,\n gSTInclusive: true\n }\n this.invoice.items.push(leasePaymentItem); \n }else{\n var isRunningCostExist = this.isItemCategoryExist(InvoiceLineCategoryType.RunningCost);\n if (!isRunningCostExist){\n let runningCostItem: ManualInvoiceItem = {\n itemDescription: this.invoiceType == RevenueCategories.Invoice ? \"Running Cost\" : \"Refund of Overpaid Running Cost Amount\",\n categoryType : InvoiceLineCategoryType.RunningCost,\n amount: null,\n gSTInclusive: true\n }\n this.invoice.items.push(runningCostItem);\n } \n }\n }\n }\n if (this.invoice.items.length == maxItemCount){\n this.addDisabled = true;\n }\n if(!isRowDirty) {\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.invoice);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n }\n\n isItemCategoryExist(itemCategory: InvoiceLineCategoryType) {\n let isExist = false;\n if (this.invoice.items.length > 0){\n this.invoice.items.forEach(item => {\n if ( item.categoryType == itemCategory){\n isExist = true;\n }\n });\n }\n return isExist;\n }\n\n removeItem(index: number) {\n this.invoice.items.forEach((item, i, array) => { if(i === index) array.splice(i, 1)} );\n this.addDisabled = false;\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo) || this.dateChanged){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.closeModal();\n }\n }\n\n onFormSubmit() {\n this.saveDisabled = true;\n if(this.invoiceID == 0){\n this.addNewManualInvoice();\n }\n else{\n this.updateInvoice();\n }\n \n }\n\n addNewManualInvoice() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Novation','ManualInvoice', this.invoice).then(response => {\n let data = response.data;\n if(data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: data.message,\n type: 'success',\n duration: 5000\n });\n this.closeModal();\n this.refreshGrid();\n } else {\n this.saveDisabled = false;\n if(data.isWarning){\n this.$notify({\n group: 'modalGrowlNotification',\n title: data.message,\n type: 'error',\n duration: 10000\n });\n } else {\n this.$notify({\n group: 'modalGrowlNotification',\n title: data.message,\n type: 'error',\n duration: 5000\n });\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n\n updateInvoice(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Novation','UpdateInvoice', this.invoice).then(response => {\n let data = response.data;\n if(data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: data.message,\n type: 'success',\n duration: 5000\n });\n this.closeModal();\n this.refreshGrid();\n } else {\n this.saveDisabled = false;\n if(data.isWarning){\n this.$notify({\n group: 'modalGrowlNotification',\n title: data.message,\n type: 'error',\n duration: 10000\n });\n } else {\n this.$notify({\n group: 'modalGrowlNotification',\n title: data.message,\n type: 'error',\n duration: 5000\n });\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\n }\n\n onEnterDate(){\n var toDate = moment(this.invoice.date).toDate()\n this.disabledDueDates = {to:toDate};\n this.$v.invoice.date.$touch();\n this.dateChanged = true;\n }\n\n onEnterDueDate(){\n var fromDate = moment(this.invoice.dueDate).toDate()\n this.disabledDates = {from:fromDate};\n this.$v.invoice.dueDate.$touch();\n var fromDate = moment(this.invoice.dueDate).toDate()\n var t = this.relatedEntityScheduleNextStartDate;\n if (this.leaseType == this.novatedFullyMaintained && this.isInvoice && this.relatedEntityScheduleNextStartDate != null\n && (moment(this.invoice.dueDate).toDate() < moment(this.relatedEntityScheduleNextStartDate).toDate())){\n this.invoice.sendEmail = true;\n }else if (this.leaseType == this.novatedFullyMaintained && this.isInvoice){\n this.invoice.sendEmail = false;\n }else{\n this.invoice.sendEmail = null;\n }\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n @Emit('dirtyValidatorNoSet') dirtyValidatorNoSet(refNo:number){}\n @Emit('onCloseModal') closeModal(){}\n @Emit('refreshInvoiceGrid') refreshGrid(){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditInvoice.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditInvoice.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditInvoice.vue?vue&type=template&id=0e303b28&scoped=true\"\nimport script from \"./AddEditInvoice.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditInvoice.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditInvoice.vue?vue&type=style&index=0&id=0e303b28&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0e303b28\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddInvoiceScheduleConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddInvoiceScheduleConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddInvoiceScheduleConf_OkButton\"},on:{\"click\":_vm.closeModal}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showInvoiceSchedulePreview)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"InvoiceSchedulePreview\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Invoice Schedule Preview\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"invoice-preview-modal-body\"},[_c('InvoiceSchedulePreview',{attrs:{\"previewData\":_vm.previewData}})],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"primary\",attrs:{\"size\":\"md\",\"id\":\"ShowInvoiceSchedulePrev__OkButton\"},on:{\"click\":function($event){_vm.showAcknowledgementMessage = true}}},[_vm._v(\"\\n Create\\n \")]),_c('b-btn',{staticClass:\"ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ShowInvoiceSchedulePrev_CancelButton\"},on:{\"click\":function($event){return _vm.onPreviewCancel()}}},[_vm._v(\"\\n Cancel\\n \")])],1)]):_vm._e(),(_vm.showAcknowledgementMessage)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showAcknowledgementMessage\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Acknowledgement \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\" I acknowledge that I have reviewed the schedule.\")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showAcknowledgementMessage_CancelButton\"},on:{\"click\":function($event){_vm.showAcknowledgementMessage = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"acknowledgementButton\"},on:{\"click\":function($event){_vm.showAcknowledgementMessage = false; _vm.createInvoiceSchedule();}}},[_vm._v(\"\\n I Acknowledge\\n \")])],1)]):_vm._e(),_c('div',[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"12\"}},[_c('b-row',{staticClass:\"justify-space-between\"},[_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[(!_vm.invoiceSchedule.isExtendedSchedule)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"invoiceFormGroup\",class:{ 'form-group--error': _vm.$v.invoiceSchedule.firstInvoiceDate.$required },attrs:{\"label\":\"First Invoice Date\",\"label-for\":\"date\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.invoiceSchedule.firstInvoiceDate == null || _vm.invoiceSchedule.firstInvoiceDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"id\":'date',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledFirstInvoiceDates,\"disabled\":false},on:{\"input\":function($event){_vm.$v.invoiceSchedule.firstInvoiceDate.$touch();_vm.changeFirstInvoiceDate();},\"cleared\":function($event){return _vm.changeFirstInvoiceDate();}},model:{value:(_vm.invoiceSchedule.firstInvoiceDate),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule, \"firstInvoiceDate\", $$v)},expression:\"invoiceSchedule.firstInvoiceDate\"}}),(_vm.$v.invoiceSchedule.firstInvoiceDate.$dirty && !_vm.$v.invoiceSchedule.firstInvoiceDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n First Invoice Date is required.\\n \")]):_vm._e()],1)],1):_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"invoiceFormGroup\",class:{ 'form-group--error': _vm.$v.invoiceSchedule.firstInvoiceDate.$required },attrs:{\"label\":\"Last Invoice Date\",\"label-for\":\"date\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"id\":'date',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"disabled\":true},model:{value:(_vm.lastInvoiceDate),callback:function ($$v) {_vm.lastInvoiceDate=$$v},expression:\"lastInvoiceDate\"}})],1)],1)],1),_c('b-row',[(!_vm.invoiceSchedule.isExtendedSchedule)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"invoiceFormGroup\",class:{ 'form-group--error': _vm.$v.invoiceSchedule.firstInvoiceDueDate.$required },attrs:{\"label\":\"First Invoice Due Date\",\"label-for\":\"dueDate\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.invoiceSchedule.firstInvoiceDueDate == null || _vm.invoiceSchedule.firstInvoiceDueDate.length == 0) },attrs:{\"highlighted\":{ dates: [this.todayDateUTC], includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"id\":'dueDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledFirstInvoiceDueDates,\"disabled\":false},on:{\"input\":function($event){_vm.$v.invoiceSchedule.firstInvoiceDueDate.$touch(); _vm.changeFirstInvoiceDueDate();},\"cleared\":function($event){return _vm.changeFirstInvoiceDueDate();}},model:{value:(_vm.invoiceSchedule.firstInvoiceDueDate),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule, \"firstInvoiceDueDate\", $$v)},expression:\"invoiceSchedule.firstInvoiceDueDate\"}}),(_vm.$v.invoiceSchedule.firstInvoiceDueDate.$dirty && !_vm.$v.invoiceSchedule.firstInvoiceDueDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n First Invoice Due Date is required\\n \")]):_vm._e()],1)],1):_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{ref:\"invoiceFormGroup\",attrs:{\"label\":\"Last Invoice Due Date\",\"label-for\":\"dueDate\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"id\":'dueDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"disabled\":true},model:{value:(_vm.lastInvoiceDueDate),callback:function ($$v) {_vm.lastInvoiceDueDate=$$v},expression:\"lastInvoiceDueDate\"}})],1)],1)],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"9\"}},[_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Invoice Frequency\",\"label-for\":\"InvoiceFrequency\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': _vm.invoiceSchedule.invoiceFrequency == 0 },attrs:{\"id\":\"invoiceFrequency\",\"plain\":true,\"options\":_vm.invoiceFrequencies},on:{\"change\":function($event){_vm.$v.invoiceSchedule.invoiceFrequency.$touch();_vm.onInvoiceFrequencyChange()}},model:{value:(_vm.invoiceSchedule.invoiceFrequency),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule, \"invoiceFrequency\", $$v)},expression:\"invoiceSchedule.invoiceFrequency\"}},[(_vm.invoiceSchedule.invoiceFrequency == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"Please select an invoice frequency\")])]):_vm._e()],2),(_vm.$v.invoiceSchedule.invoiceFrequency.$dirty && !_vm.$v.invoiceSchedule.invoiceFrequency.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invoice Frequency is required.\\n \")]):_vm._e()],1)],1)],1),(_vm.invoiceSchedule.invoiceFrequency == _vm.monthly)?[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"9\"}},[_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Monthly Invoice Due (DD)\",\"label-for\":\"monthlyInvoiceDueDateSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.invoiceSchedule.monthlyInvoiceDueDate == null || _vm.invoiceSchedule.monthlyInvoiceDueDate.length == 0) },attrs:{\"id\":\"monthlyInvoiceDueDateSelect\",\"plain\":true,\"options\":_vm.monthlyInvoiceDueDates},on:{\"change\":function($event){_vm.$v.invoiceSchedule.monthlyInvoiceDueDate.$touch();_vm.changeFinalInvoiceDueDate()}},model:{value:(_vm.invoiceSchedule.monthlyInvoiceDueDate),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule, \"monthlyInvoiceDueDate\", $$v)},expression:\"invoiceSchedule.monthlyInvoiceDueDate\"}},[(_vm.invoiceSchedule.monthlyInvoiceDueDate == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"Please select a date\")])]):_vm._e()],2),(_vm.$v.invoiceSchedule.monthlyInvoiceDueDate.$dirty && !_vm.$v.invoiceSchedule.monthlyInvoiceDueDate.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Monthly Invoice Due (DD) is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"9\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoiceSchedule.finalInvoiceDueMonthComponent.$error || _vm.$v.invoiceSchedule.finalInvoiceDueYearComponent.$error },attrs:{\"label\":(this.invoiceSchedule.isExtendedSchedule ? 'Extended ': '') +'Final Invoice Due (MM | YYYY)',\"label-for\":\"finalInvoiceDue\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.invoiceSchedule.finalInvoiceDueMonthComponent == null || _vm.invoiceSchedule.finalInvoiceDueMonthComponent.length == 0) },attrs:{\"id\":\"finalInvoiceDueDateMonthSelect\",\"plain\":true,\"options\":_vm.calendarMonths},on:{\"change\":function($event){_vm.$v.invoiceSchedule.finalInvoiceDueMonthComponent.$touch();_vm.changeFinalInvoiceDueDate()}},model:{value:(_vm.invoiceSchedule.finalInvoiceDueMonthComponent),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule, \"finalInvoiceDueMonthComponent\", $$v)},expression:\"invoiceSchedule.finalInvoiceDueMonthComponent\"}},[(_vm.invoiceSchedule.finalInvoiceDueMonthComponent == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"MM\")])]):_vm._e()],2)],1),(_vm.$v.invoiceSchedule.finalInvoiceDueMonthComponent.$dirty && !_vm.$v.invoiceSchedule.finalInvoiceDueMonthComponent.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Invoice Due (MM) is required.\\n \")]):_vm._e(),_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.invoiceSchedule.finalInvoiceDueYearComponent == null || _vm.invoiceSchedule.finalInvoiceDueYearComponent.length == 0) },attrs:{\"use-utc\":true,\"id\":'year',\"format\":'yyyy',\"input-class\":'form-control textInput',\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"disabledDates\":_vm.disabledFinalInvoiceDueDates,\"wrapper-class\":'textInput',\"placeholder\":'YYYY',\"minimum-view\":'year'},on:{\"input\":function($event){_vm.$v.invoiceSchedule.finalInvoiceDueYearComponent.$touch();_vm.changeFinalInvoiceDueDate()}},model:{value:(_vm.invoiceSchedule.finalInvoiceDueYearComponent),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule, \"finalInvoiceDueYearComponent\", $$v)},expression:\"invoiceSchedule.finalInvoiceDueYearComponent\"}})],1),(_vm.$v.invoiceSchedule.finalInvoiceDueYearComponent.$dirty && !_vm.$v.invoiceSchedule.finalInvoiceDueYearComponent.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Invoice Due (YYYY) is required.\\n \")]):_vm._e()],1)],1)],1)],1)]:(_vm.invoiceSchedule.invoiceFrequency == _vm.fortnightly || _vm.invoiceSchedule.invoiceFrequency == _vm.weekly)?[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"9\"}},[_c('b-form-group',{ref:\"finalInvoicedue\",class:{ 'form-group--error': _vm.$v.invoiceSchedule.finalInvoiceDueDate.$required },attrs:{\"label\":(this.invoiceSchedule.isExtendedSchedule ? 'Extend ': '') +'Final Invoice Due Date',\"label-for\":\"finalInvoicedue\"}},[_c('DatePicker',{class:{ 'requiredField': (_vm.invoiceSchedule.finalInvoiceDueDate == null || _vm.invoiceSchedule.finalInvoiceDueDate.length == 0) },attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"id\":'dueDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledFinalInvoiceDueDates,\"disabled\":false},on:{\"input\":function($event){_vm.$v.invoiceSchedule.finalInvoiceDueDate.$touch();_vm.changeFinalInvoiceDueDate()}},model:{value:(_vm.invoiceSchedule.finalInvoiceDueDate),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule, \"finalInvoiceDueDate\", $$v)},expression:\"invoiceSchedule.finalInvoiceDueDate\"}}),(_vm.$v.invoiceSchedule.finalInvoiceDueDate.$dirty && !_vm.$v.invoiceSchedule.finalInvoiceDueDate.isRequired)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Invoice Due Date is required.\\n \")]):_vm._e()],1)],1)],1)]:_vm._e()],2)],1),_c('b-row',{staticClass:\"add-invoice-button\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{staticClass:\"mb-3 pull-left primary\",attrs:{\"disabled\":_vm.saveDisabled,\"hidden\":!_vm.showAddInvoiceButton},on:{\"click\":_vm.onAddOneMoreItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Invoice\\n \")]),(_vm.showInvalidTermErrorMessage && !_vm.invoiceSchedule.isExtendedSchedule)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Invoice Due Date should be greater than or equal to First Invoice Due Date\\n \")]):_vm._e(),(_vm.showInvalidTermErrorMessage && _vm.invoiceSchedule.isExtendedSchedule)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Extended Final Invoice Due Date and Month should be greater than to Last Invoice Due Date and Month\\n \")]):_vm._e()],1)],1),_c('b-row',{staticClass:\"table-row\"},[_c('b-col',{attrs:{\"size\":\"12\"}},[_c('b-table',{staticClass:\"invoice-schedule-table\",attrs:{\"selected\":\"\",\"items\":_vm.invoiceSchedule.items,\"fields\":_vm.fields,\"no-border-collapse\":\"\",\"sticky-header\":\"290px\",\"striped\":\"\",\"responsive\":\"sm\"},scopedSlots:_vm._u([{key:\"cell(invoiceNumber)\",fn:function(row){return [_c('b-row',{class:{'running-cost-only-invoice-number': !_vm.showLeasePayments}},[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoiceSchedule.items.$each[row.index].invoiceNumber.$error},attrs:{\"label\":\"\",\"label-for\":\"invoiceNumber\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":'invoiceNumber' + row.index,\"plain\":true,\"options\":_vm.invoiceSchedule.items[row.index].invoiceNumberSelectList,\"disabled\":(row.index + 1) < _vm.invoiceSchedule.items.length || ((row.index + 1) == _vm.invoiceSchedule.items.length && _vm.isMaxInvoiceScheduleCountReached)},on:{\"change\":function($event){_vm.$v.invoiceSchedule.items.$each[row.index].invoiceNumber.$touch()}},model:{value:(_vm.invoiceSchedule.items[row.index].invoiceNumber),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule.items[row.index], \"invoiceNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"invoiceSchedule.items[row.index].invoiceNumber\"}}),(!_vm.$v.invoiceSchedule.items.$each[row.index].invoiceNumber.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invoice Number is required.\\n \")]):_vm._e()],1)],1):_vm._e()],1)]}},{key:\"cell(leasePaymentAmount)\",fn:function(row){return [_c('b-row',{staticClass:\"schedule-amount-field\"},[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoiceSchedule.items.$each[row.index].leasePaymentAmount.$error},attrs:{\"label\":\"\",\"label-for\":\"leasePaymentAmount\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.invoiceSchedule.items[row.index].leasePaymentAmount == null) },attrs:{\"disabled\":false,\"id\":'leasePaymentAmount' + row.index,\"type\":\"text\"},on:{\"input\":function($event){_vm.$v.invoiceSchedule.items.$each[row.index].leasePaymentAmount.$touch()}},model:{value:(_vm.invoiceSchedule.items[row.index].leasePaymentAmount),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule.items[row.index], \"leasePaymentAmount\", $$v)},expression:\"invoiceSchedule.items[row.index].leasePaymentAmount\"}})],1),(_vm.$v.invoiceSchedule.items.$each[row.index].leasePaymentAmount.$dirty && !_vm.$v.invoiceSchedule.items.$each[row.index].leasePaymentAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lease Payment Amount is required.\\n \")]):_vm._e(),(!_vm.$v.invoiceSchedule.items.$each[row.index].leasePaymentAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Lease Payment Amount\\n \")]):_vm._e()],1)],1):_vm._e()],1)]}},{key:\"cell(leasePaymentGSTInclusive)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"schedule-checkbox\",attrs:{\"cols\":\"12\"}},[_c('span',[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"leasePaymentGSTInclusiveCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":'leasePaymentGSTInclusiveCheckbox' + row.index},model:{value:(_vm.invoiceSchedule.items[row.index].leasePaymentGSTInclusive),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule.items[row.index], \"leasePaymentGSTInclusive\", $$v)},expression:\"invoiceSchedule.items[row.index].leasePaymentGSTInclusive\"}})],1)],1)])],1)]}},{key:\"cell(runningCostAmount)\",fn:function(row){return [_c('b-row',{staticClass:\"schedule-amount-field\",class:{'running-cost-only-amount': !_vm.showLeasePayments}},[(true)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.invoiceSchedule.items.$each[row.index].runningCostAmount.$error},attrs:{\"label\":\"\",\"label-for\":\"runningCostAmount\"}},[_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.invoiceSchedule.items[row.index].runningCostAmount == null) },attrs:{\"disabled\":false,\"id\":'runningCostAmount' + row.index,\"type\":\"text\"},on:{\"input\":function($event){_vm.$v.invoiceSchedule.items.$each[row.index].runningCostAmount.$touch()}},model:{value:(_vm.invoiceSchedule.items[row.index].runningCostAmount),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule.items[row.index], \"runningCostAmount\", $$v)},expression:\"invoiceSchedule.items[row.index].runningCostAmount\"}})],1),(_vm.$v.invoiceSchedule.items.$each[row.index].runningCostAmount.$dirty && !_vm.$v.invoiceSchedule.items.$each[row.index].runningCostAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Running Cost Amount is required.\\n \")]):_vm._e(),(!_vm.$v.invoiceSchedule.items.$each[row.index].runningCostAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Running Cost Amount\\n \")]):_vm._e()],1)],1):_vm._e()],1)]}},{key:\"cell(runningCostGSTInclusive)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"schedule-checkbox\",attrs:{\"cols\":\"12\"}},[_c('span',[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"runningCostGSTInclusiveCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":'runningCostGSTInclusiveCheckbox' + row.index},model:{value:(_vm.invoiceSchedule.items[row.index].runningCostGSTInclusive),callback:function ($$v) {_vm.$set(_vm.invoiceSchedule.items[row.index], \"runningCostGSTInclusive\", $$v)},expression:\"invoiceSchedule.items[row.index].runningCostGSTInclusive\"}})],1)],1)])],1)]}},(_vm.invoiceSchedule.items.length > 1)?{key:\"cell()\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"schedule-delete-button\",attrs:{\"cols\":\"12\"}},[_c('span',{attrs:{\"title\":\"Delete Item\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"deleteIcon\"},on:{\"click\":function($event){return _vm.removeItem(row.index)}}},[_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"false\"}})])])],1)]}}:null],null,true)})],1)],1),_c('b-row',[_c('b-col',[_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.invoiceSchedule.$invalid) || _vm.saveDisabled || _vm.disableCreateButton},on:{\"click\":_vm.onPreview}},[_vm._v(\"\\n Preview\\n \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.previewData && _vm.previewData.length > 0)?_c('b-table-simple',{attrs:{\"responsive\":\"sm\",\"hover\":\"\"}},[_c('b-thead',[_c('b-tr',[_c('b-th',{staticClass:\"width_10\"},[_vm._v(\"Invoice Date\")]),_c('b-th',{staticClass:\"width_10\"},[_vm._v(\"Due Date\")]),_c('b-th',{staticClass:\"width_10 text-right\"},[_vm._v(\"Amount\")])],1)],1),_c('b-tbody',[_vm._l((_vm.previewData),function(item,index){return _c('b-tr',{key:'data_' + index},[_c('b-td',[_vm._v(_vm._s(item.invoiceDateDisplayText))]),_c('b-td',[_vm._v(_vm._s(_vm.getDueDate(item.dueDate)))]),_c('b-td',{staticClass:\"text-right\"},[_c('ApexCurrency',{attrs:{\"value\":item.amountInclGst}})],1)],1)}),_c('b-tr',[_c('b-td',[_c('b',[_vm._v(\"Total\")])]),_c('b-td'),_c('b-td',{staticClass:\"text-right font-weight-bold\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.getTotal()}})],1)],1)],2)],1):_vm._e(),_c('b-jumbotron',{staticClass:\"notesJumbotron\"},[_c('p',{staticClass:\"pl-1\"},[_c('b',[_vm._v(\" Note: \")]),_vm._v(\"All amounts are GST inclusive.\")])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport moment from \"moment\";\r\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n },\r\n})\r\nexport default class InvoiceSchedulePreview extends Vue {\r\n @Prop() previewData: any;\r\n\r\n getDueDate(dueDate) {\r\n return moment(dueDate).format(\"DD MMM YYYY\");\r\n }\r\n\r\n getTotal() {\r\n return this.previewData.reduce((acc, item) => acc + item.amountInclGst, 0);\r\n }\r\n}\r\n","export enum InvoiceFrequencyTypes {\r\n Weekly = 1,\r\n Fortnightly = 2,\r\n Monthly = 3,\r\n OneOff = 4,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceSchedulePreview.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceSchedulePreview.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoiceSchedulePreview.vue?vue&type=template&id=08a90882&scoped=true\"\nimport script from \"./InvoiceSchedulePreview.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoiceSchedulePreview.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"08a90882\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required, minValue} from 'vuelidate/lib/validators';\r\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {InvoiceSchedule, InvoiceScheduleItem} from '@/models/invoiceSchedule.model';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport moment from 'moment';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport InvoiceSchedulePreview from \"@/components/admin/invoices/InvoiceSchedulePreview.vue\";\r\nimport { InvoiceFrequencyTypes } from '@/shared/enums/invoiceFrequencyTypes.enum';\r\n\r\n @Component(\r\n {\r\n mixins:[validationMixin],\r\n components: {\r\n Modal,\r\n InvoiceSchedulePreview\r\n },\r\n validations:{\r\n invoiceSchedule:{\r\n invoiceFrequency: {\r\n required,\r\n minValue:minValue(1)\r\n },\r\n firstInvoiceDate: {\r\n required\r\n }, \r\n firstInvoiceDueDate: {\r\n required\r\n }, \r\n monthlyInvoiceDueDate:{\r\n isRequired:(value, vm) => {\r\n if(vm.invoiceFrequency != InvoiceFrequencyTypes.Monthly) {\r\n return true;\r\n } \r\n else {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false\r\n }\r\n return true;\r\n }\r\n },\r\n minValue:minValue(1)\r\n }, \r\n finalInvoiceDueMonthComponent:{\r\n isRequired:(value, vm) => {\r\n if(vm.invoiceFrequency != InvoiceFrequencyTypes.Monthly) {\r\n return true;\r\n } \r\n else {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false\r\n }\r\n return true;\r\n }\r\n },\r\n minValue:minValue(1)\r\n },\r\n finalInvoiceDueYearComponent:{\r\n isRequired:(value, vm) => {\r\n if(vm.invoiceFrequency != InvoiceFrequencyTypes.Monthly) {\r\n return true;\r\n } \r\n else {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false\r\n }\r\n return true;\r\n }\r\n },\r\n minValue:minValue(1)\r\n },\r\n finalInvoiceDueDate:{\r\n isRequired:(value, vm) => {\r\n if(vm.invoiceFrequency != InvoiceFrequencyTypes.Fortnightly && vm.invoiceFrequency != InvoiceFrequencyTypes.Weekly) {\r\n return true;\r\n } \r\n else {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false\r\n }\r\n return true;\r\n }\r\n },\r\n minValue:minValue(1)\r\n },\r\n items: {\r\n isCountValid : items => {\r\n if (items.length > 0) return true;\r\n else return false;\r\n },\r\n required,\r\n $each: {\r\n invoiceNumber: {\r\n required\r\n },\r\n leasePaymentAmount: {\r\n required,\r\n isDecimal: value => {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\r\n }\r\n },\r\n runningCostAmount: {\r\n required,\r\n isDecimal: value => {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value)\r\n }\r\n }\r\n }\r\n\r\n }\r\n }\r\n }\r\n }\r\n )\r\n export default class AddInvoiceSchedule extends Vue{\r\n @Prop() novationID: number;\r\n @Prop() leaseType: VehicleLeaseTypes;\r\n @Prop() isOkToCreateExtendedInvoiceSchedule: boolean;\r\n @Prop() invoiceScheduleItemCountProp: number;\r\n @Prop() lastInvoiceDate : Date;\r\n @Prop() lastInvoiceDueDate : any;\r\n\r\n invoiceSchedule: InvoiceSchedule = {\r\n novationId: 0,\r\n isExtendedSchedule: false,\r\n isPreviewMode: false,\r\n invoiceFrequency: 0,\r\n firstInvoiceDate: null,\r\n firstInvoiceDueDate: null,\r\n monthlyInvoiceDueDate: null,\r\n finalInvoiceDueMonthComponent: null,\r\n finalInvoiceDueYearComponent: null,\r\n finalInvoiceDueDate: null,\r\n items: [],\r\n };\r\n entity: string = \"\";\r\n fields = [\r\n {\r\n key: \"invoiceNumber\",\r\n label: \"Invoice #\",\r\n class: \"column-invoiceNumber\",\r\n },\r\n {\r\n key: \"leasePaymentAmount\",\r\n label: \"Lease Payment Amount\",\r\n class: \"column-leasePaymentAmount\",\r\n },\r\n {\r\n key: \"leasePaymentGSTInclusive\",\r\n label: \"GST Incl.\",\r\n },\r\n {\r\n key: \"runningCostAmount\",\r\n label: \"Running Cost Amount\",\r\n class: \"column-runningCostAmount\",\r\n },\r\n {\r\n key: \"runningCostGSTInclusive\",\r\n label: \"GST Incl.\",\r\n },\r\n {\r\n label: \"\",\r\n },\r\n ];\r\n disabledFirstInvoiceDates: any = {};\r\n disabledFirstInvoiceDueDates = {};\r\n disabledFinalInvoiceDueDates = {};\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n\r\n dirtyValidationConfirmation: boolean = false;\r\n dirtyValidatorRefNo: number = 0;\r\n saveDisabled = false;\r\n addDisabled: boolean = false;\r\n dateChanged: boolean = false;\r\n novationType: RelatedTables = null;\r\n monthlyInvoiceDueDates: number[] = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28];\r\n calendarMonths: number[] = [];\r\n maxDayComponentValue = 28;\r\n showInvalidTermErrorMessage: boolean = false;\r\n showLeasePayments: boolean = true;\r\n invoiceFrequencies: any = [];\r\n monthly: InvoiceFrequencyTypes = InvoiceFrequencyTypes.Monthly;\r\n fortnightly: InvoiceFrequencyTypes = InvoiceFrequencyTypes.Fortnightly;\r\n weekly: InvoiceFrequencyTypes = InvoiceFrequencyTypes.Weekly;\r\n showInvoiceSchedulePreview: boolean = false;\r\n previewData: any = [];\r\n invoiceScheduleItemCount:number = 0;\r\n showAcknowledgementMessage: boolean = false;\r\n\r\n created() {\r\n this.invoiceScheduleItemCount = this.invoiceScheduleItemCountProp;\r\n this.showLeasePayments = this.leaseType == VehicleLeaseTypes.NovatedFullyMaintained;\r\n if (!this.showLeasePayments) {\r\n var filteredFields = this.fields.filter((x) => {\r\n if (x.key == \"leasePaymentAmount\") {\r\n return false;\r\n } else if (x.key == \"leasePaymentGSTInclusive\") {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n });\r\n this.fields = filteredFields;\r\n }\r\n this.invoiceSchedule.novationId = this.novationID;\r\n this.invoiceSchedule.isExtendedSchedule = !this.isOkToCreateExtendedInvoiceSchedule;\r\n if (this.invoiceSchedule.isExtendedSchedule){\r\n this.getLastInvoiceDueDateComponent();\r\n this.updateExtendedFirstInvoiceDueDate();\r\n this.updateExtendedFirstInvoiceDate();\r\n }\r\n\r\n this.loadCalendarMonths();\r\n this.getInvoiceFrequencies();\r\n let invoiceScheduleItem: InvoiceScheduleItem = {\r\n invoiceNumber: this.invoiceScheduleItemCount + 1,\r\n invoiceNumberSelectList: [this.invoiceScheduleItemCount + 1, \"*\"],\r\n leasePaymentAmount: this.showLeasePayments ? null : 0,\r\n leasePaymentGSTInclusive: true,\r\n runningCostAmount: null,\r\n runningCostGSTInclusive: true,\r\n };\r\n this.invoiceSchedule.items.push(invoiceScheduleItem);\r\n this.invoiceScheduleItemCount += 1;\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.invoiceSchedule);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n\r\n loadCalendarMonths() {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n lookupService.GetCalendarMonths().then((data) => {\r\n this.calendarMonths = data;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n getInvoiceFrequencies() {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n lookupService.GetInvoiceFrequencyList().then( data=> {\r\n this.invoiceFrequencies = data;\r\n this.$store.dispatch(\"storeIsBusyValue\", false); \r\n } \r\n );\r\n }\r\n\r\n onInvoiceFrequencyChange() {\r\n this.invoiceSchedule.monthlyInvoiceDueDate = null;\r\n this.invoiceSchedule.finalInvoiceDueMonthComponent = null;\r\n this.invoiceSchedule.finalInvoiceDueYearComponent = null;\r\n this.invoiceSchedule.finalInvoiceDueDate = null;\r\n if(this.invoiceSchedule.isExtendedSchedule){\r\n this.updateExtendedFirstInvoiceDate();\r\n this.changeFirstInvoiceDate()\r\n this.updateExtendedFirstInvoiceDueDate();\r\n this.changeFirstInvoiceDueDate();\r\n }\r\n }\r\n\r\n onAddOneMoreItem() {\r\n let isRowDirty = false;\r\n if (dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)) {\r\n isRowDirty = true;\r\n }\r\n let nextInvoiceNumber = (this.invoiceScheduleItemCount + 1).toString();\r\n let invoiceNumberSelectList = [(this.invoiceScheduleItemCount + 1).toString(), \"*\"];\r\n if (this.invoiceSchedule.items.length > 0) {\r\n invoiceNumberSelectList = nextInvoiceNumber == this.getMaxTerm().toString() ? [nextInvoiceNumber] : [nextInvoiceNumber, '*'];\r\n }\r\n let invoiceScheduleItem: InvoiceScheduleItem = {\r\n invoiceNumber: nextInvoiceNumber,\r\n invoiceNumberSelectList: invoiceNumberSelectList,\r\n leasePaymentAmount: this.showLeasePayments ? null : 0,\r\n leasePaymentGSTInclusive: true,\r\n runningCostAmount: null,\r\n runningCostGSTInclusive: true,\r\n };\r\n this.invoiceSchedule.items.push(invoiceScheduleItem);\r\n this.invoiceScheduleItemCount += 1;\r\n\r\n if (!isRowDirty) {\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.invoiceSchedule);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n }\r\n\r\n removeItem(index: number) {\r\n this.invoiceSchedule.items.forEach((item, i, array) => {\r\n if (i > index) {\r\n this.invoiceSchedule.items[i - 1] = this.invoiceSchedule.items[i];\r\n this.invoiceSchedule.items[i - 1].invoiceNumber = this.invoiceSchedule.items[i].invoiceNumber === \"*\" ? \"*\" : (i + this.invoiceScheduleItemCountProp).toString();\r\n this.invoiceSchedule.items[i - 1].invoiceNumberSelectList = [(i + this.invoiceScheduleItemCountProp).toString(), \"*\"];\r\n }\r\n if(i === this.invoiceSchedule.items.length - 1) array.splice(this.invoiceSchedule.items.length -1, 1);\r\n });\r\n this.invoiceScheduleItemCount -= 1;\r\n this.addDisabled = false;\r\n }\r\n\r\n onPreview() {\r\n this.invoiceSchedule.isPreviewMode = true;\r\n this.getInvoiceSchedulePreview();\r\n this.saveDisabled = true;\r\n }\r\n\r\n onPreviewCancel(){\r\n this.showInvoiceSchedulePreview = false;\r\n this.saveDisabled = false;\r\n }\r\n\r\n getInvoiceSchedulePreview() {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n apiService\r\n .sendGetRequest(\"Novation\", \"InvoiceSchedulePreview\", {\r\n data: JSON.stringify(this.invoiceSchedule),\r\n })\r\n .then((response) => {\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n if (response.data && response.data.item1 && response.data.item1.isSuccess) {\r\n this.previewData = response.data.item2;\r\n this.showInvoiceSchedulePreview = true;\r\n } else if (response.data && response.data.item1 && !response.data.item1.isSuccess){\r\n this.showInvoiceSchedulePreview = false;\r\n this.saveDisabled = false;\r\n if (response.data.item1.isWarning) {\r\n this.$notify({\r\n group: \"modalGrowlNotification\",\r\n title: response.data.item1.message,\r\n type: \"error\",\r\n duration: 10000,\r\n });\r\n } else {\r\n this.$notify({\r\n group: \"modalGrowlNotification\",\r\n title: response.data.item1.message,\r\n type: \"error\",\r\n duration: 5000,\r\n });\r\n }\r\n }\r\n });\r\n }\r\n\r\n onCancel() {\r\n if (dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo) || this.dateChanged) {\r\n this.dirtyValidationConfirmation = true;\r\n } else {\r\n this.closeModal();\r\n }\r\n }\r\n\r\n createInvoiceSchedule() {\r\n this.invoiceSchedule.isPreviewMode = false;\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n apiService.sendPostRequest(\"Novation\", \"InvoiceSchedule\", this.invoiceSchedule)\r\n .then((response) => {\r\n let data = response.data.item1;\r\n if (data.isSuccess) {\r\n this.closeModal();\r\n this.onInvoiceScheduleCreate(data.message);\r\n } else {\r\n this.saveDisabled = false;\r\n if (data.isWarning) {\r\n this.$notify({\r\n group: \"modalGrowlNotification\",\r\n title: data.message,\r\n type: \"error\",\r\n duration: 10000,\r\n });\r\n } else {\r\n this.$notify({\r\n group: \"modalGrowlNotification\",\r\n title: data.message,\r\n type: \"error\",\r\n duration: 5000,\r\n });\r\n }\r\n }\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.dirtyValidatorNoSet(this.dirtyValidatorRefNo);\r\n }\r\n\r\n get showAddInvoiceButton() {\r\n var maxTerms = this.getMaxTerm();\r\n if((this.invoiceSchedule.items && this.invoiceSchedule.items.length > 0) && (this.invoiceSchedule.items.length == maxTerms || this.invoiceSchedule.items[this.invoiceSchedule.items.length -1].invoiceNumber == \"*\") ){\r\n return false;\r\n } else if (this.invoiceSchedule.items.length == 0) {\r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n\r\n get isMaxInvoiceScheduleCountReached() {\r\n return this.invoiceSchedule.items.length == this.getMaxTerm();\r\n }\r\n\r\n getMaxTerm() {\r\n var maxTerms = 0;\r\n if (this.invoiceSchedule.invoiceFrequency == this.monthly) {\r\n if(moment(this.invoiceSchedule.firstInvoiceDueDate).isValid() && moment(this.invoiceSchedule.finalInvoiceDueYearComponent).isValid() && moment(this.invoiceSchedule.finalInvoiceDueMonthComponent).isValid()){\r\n maxTerms = (this.invoiceSchedule.finalInvoiceDueYearComponent.getFullYear() - this.invoiceSchedule.firstInvoiceDueDate.getFullYear()) * 12 + (this.invoiceSchedule.finalInvoiceDueMonthComponent - (this.invoiceSchedule.firstInvoiceDueDate.getMonth()));\r\n this.checkInvoiceListCountIsValid(maxTerms)\r\n }\r\n }else if(this.invoiceSchedule.invoiceFrequency == this.fortnightly || this.invoiceSchedule.invoiceFrequency == this.weekly){\r\n if(moment(this.invoiceSchedule.firstInvoiceDueDate).isValid() && moment(this.invoiceSchedule.finalInvoiceDueDate).isValid()){\r\n let weeks = moment(this.invoiceSchedule.finalInvoiceDueDate).diff(moment(this.invoiceSchedule.firstInvoiceDueDate), 'weeks');\r\n // In calculating fortnights or weeks we always start counting from the final invoice due date to the first invoice due date\r\n // For example if first invoice due date is 19/06/2022 and final invoice due date is 04/07/2022\r\n // Weekly due dates are 04/07/2022, 27/06/2022, 20/06/2022, 19/06/2022\r\n // Fortnightly due dates are 04/07/2022, 20/06/2022, 19/06/2022\r\n if (moment(this.invoiceSchedule.firstInvoiceDueDate).isSame(moment(this.invoiceSchedule.finalInvoiceDueDate).add(-weeks * 7, 'days'))){\r\n weeks -= 1;\r\n }\r\n maxTerms = weeks;\r\n if (this.invoiceSchedule.invoiceFrequency == this.fortnightly) {\r\n if(weeks > 0){\r\n maxTerms = Math.trunc(weeks / 2);\r\n }\r\n }\r\n let amountToAdd = this.invoiceSchedule.isExtendedSchedule ? 1 : 2; // since we have already created invoice for the first invoice due date in extended schedule\r\n maxTerms += amountToAdd; \r\n this.checkInvoiceListCountIsValid(maxTerms);\r\n }\r\n }\r\n\r\n return maxTerms;\r\n }\r\n\r\n checkInvoiceListCountIsValid(maxTerms) {\r\n if (maxTerms > 0) {\r\n if (this.showInvalidTermErrorMessage) {\r\n this.showInvalidTermErrorMessage = false;\r\n let invoiceScheduleItem: InvoiceScheduleItem = {\r\n invoiceNumber: (this.invoiceScheduleItemCount+ 1).toString(),\r\n invoiceNumberSelectList: [(this.invoiceScheduleItemCount+ 1).toString(), \"*\"],\r\n leasePaymentAmount: this.showLeasePayments ? null : 0,\r\n leasePaymentGSTInclusive: true,\r\n runningCostAmount: null,\r\n runningCostGSTInclusive: true,\r\n };\r\n this.invoiceSchedule.items.push(invoiceScheduleItem);\r\n this.invoiceScheduleItemCount += 1;\r\n }\r\n\r\n if (this.invoiceSchedule.items.length > maxTerms) {\r\n let amountToReduce = this.invoiceScheduleItemCount - (this.invoiceSchedule.items.length - maxTerms);\r\n this.invoiceSchedule.items.splice( maxTerms, this.invoiceSchedule.items.length - maxTerms);\r\n if(amountToReduce > 0){\r\n this.invoiceScheduleItemCount = amountToReduce;\r\n }\r\n } else {\r\n var invoiceNumber = (this.invoiceScheduleItemCount).toString();\r\n this.invoiceSchedule.items[this.invoiceSchedule.items.length - 1].invoiceNumberSelectList = [invoiceNumber, '*'];\r\n }\r\n } else {\r\n this.showInvalidTermErrorMessage = true;\r\n this.invoiceSchedule.items = [];\r\n this.invoiceScheduleItemCount = this.invoiceScheduleItemCountProp;\r\n }\r\n }\r\n\r\n changeFirstInvoiceDate() {\r\n if (fieldValidations.isValidDate(this.invoiceSchedule.firstInvoiceDate)){\r\n if (this.invoiceSchedule.invoiceFrequency == this.monthly && fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueYearComponent) && fieldValidations.isValidNumber(this.invoiceSchedule.finalInvoiceDueMonthComponent)\r\n && fieldValidations.isValidNumber(this.invoiceSchedule.monthlyInvoiceDueDate)){\r\n let finalInvoiceDueYear = moment(this.invoiceSchedule.finalInvoiceDueYearComponent).year();\r\n let startDate = moment(new Date(this.invoiceSchedule.finalInvoiceDueMonthComponent + \"/\" + this.invoiceSchedule.monthlyInvoiceDueDate + \"/\" + finalInvoiceDueYear)).add(1, \"day\").toDate();\r\n let endDate = moment(this.invoiceSchedule.firstInvoiceDate).toDate();\r\n\r\n this.disabledFirstInvoiceDueDates = { from: startDate, to: endDate}; \r\n } else if ((this.invoiceSchedule.invoiceFrequency == this.fortnightly || this.invoiceSchedule.invoiceFrequency == this.weekly) \r\n && fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueDate)){\r\n let startDate = moment(this.invoiceSchedule.finalInvoiceDueDate).toDate();\r\n let endDate = moment(this.invoiceSchedule.firstInvoiceDate).toDate();\r\n\r\n this.disabledFirstInvoiceDueDates = { from: startDate, to: endDate};\r\n } else if (fieldValidations.isValidDate(this.invoiceSchedule.firstInvoiceDueDate)){\r\n var startDate = moment(this.invoiceSchedule.firstInvoiceDueDate).toDate();\r\n \r\n if(this.invoiceSchedule.isExtendedSchedule){\r\n startDate = moment(startDate).add(1, \"day\").toDate();\r\n }\r\n this.disabledFinalInvoiceDueDates = { to: startDate };\r\n } else{\r\n var startDate = moment(this.invoiceSchedule.firstInvoiceDate).toDate();\r\n this.disabledFirstInvoiceDueDates = { to: startDate };\r\n \r\n if(this.invoiceSchedule.isExtendedSchedule){\r\n startDate = moment(startDate).add(1, \"day\").toDate();\r\n }\r\n this.disabledFinalInvoiceDueDates = { to: startDate };\r\n }\r\n }else{\r\n if (fieldValidations.isValidDate(this.invoiceSchedule.firstInvoiceDueDate)){\r\n var startDate = moment(this.invoiceSchedule.firstInvoiceDueDate).toDate();\r\n this.disabledFirstInvoiceDates = { from: startDate };\r\n } else if (this.invoiceSchedule.invoiceFrequency == this.monthly && fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueYearComponent) && fieldValidations.isValidNumber(this.invoiceSchedule.finalInvoiceDueMonthComponent)\r\n && fieldValidations.isValidNumber(this.invoiceSchedule.monthlyInvoiceDueDate)){\r\n let finalInvoiceDueYear = moment(this.invoiceSchedule.finalInvoiceDueYearComponent).year();\r\n let startDate = moment(new Date(this.invoiceSchedule.finalInvoiceDueMonthComponent + \"/\" + this.invoiceSchedule.monthlyInvoiceDueDate + \"/\" + finalInvoiceDueYear)).add(1, \"day\").toDate();\r\n this.disabledFirstInvoiceDueDates = { from: startDate };\r\n this.disabledFirstInvoiceDates = { from: startDate };\r\n } else if ((this.invoiceSchedule.invoiceFrequency == this.fortnightly || this.invoiceSchedule.invoiceFrequency == this.weekly) \r\n && fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueDate)){\r\n var startDate = moment(this.invoiceSchedule.finalInvoiceDueDate).toDate();\r\n this.disabledFirstInvoiceDueDates = { from: startDate };\r\n this.disabledFirstInvoiceDates = { from: startDate };\r\n } else{\r\n this.disabledFirstInvoiceDueDates = {};\r\n this.disabledFirstInvoiceDates = {};\r\n this.disabledFinalInvoiceDueDates = {};\r\n }\r\n }\r\n \r\n }\r\n\r\n changeFirstInvoiceDueDate() {\r\n if (fieldValidations.isValidDate(this.invoiceSchedule.firstInvoiceDueDate)) {\r\n var dayComponent = this.invoiceSchedule.firstInvoiceDueDate.getDate();\r\n this.invoiceSchedule.monthlyInvoiceDueDate = dayComponent <= this.maxDayComponentValue ? dayComponent : this.maxDayComponentValue;\r\n var startDate = moment(this.invoiceSchedule.firstInvoiceDueDate).toDate();\r\n this.disabledFirstInvoiceDates = { from: startDate };\r\n \r\n if(this.invoiceSchedule.isExtendedSchedule){\r\n startDate = moment(startDate).add(1, \"day\").toDate();\r\n }\r\n this.disabledFinalInvoiceDueDates = { to: startDate };\r\n }else{\r\n if (this.invoiceSchedule.invoiceFrequency == this.monthly && fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueYearComponent) && fieldValidations.isValidNumber(this.invoiceSchedule.finalInvoiceDueMonthComponent)\r\n && fieldValidations.isValidNumber(this.invoiceSchedule.monthlyInvoiceDueDate)){\r\n let finalInvoiceDueYear = moment(this.invoiceSchedule.finalInvoiceDueYearComponent).year();\r\n let startDate = moment(new Date(this.invoiceSchedule.finalInvoiceDueMonthComponent + \"/\" + this.invoiceSchedule.monthlyInvoiceDueDate + \"/\" + finalInvoiceDueYear)).add(1, \"day\").toDate();\r\n this.disabledFirstInvoiceDueDates = { from: startDate };\r\n this.disabledFirstInvoiceDates = { from: startDate };\r\n } else if ((this.invoiceSchedule.invoiceFrequency == this.fortnightly || this.invoiceSchedule.invoiceFrequency == this.weekly) \r\n && fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueDate)){\r\n var startDate = moment(this.invoiceSchedule.finalInvoiceDueDate).toDate();\r\n this.disabledFirstInvoiceDueDates = { from: startDate };\r\n this.disabledFirstInvoiceDates = { from: startDate };\r\n } else if (fieldValidations.isValidDate(this.invoiceSchedule.firstInvoiceDate)){\r\n var startDate = moment(this.invoiceSchedule.firstInvoiceDate).toDate();\r\n this.disabledFirstInvoiceDueDates = { to: startDate };\r\n this.disabledFinalInvoiceDueDates = { to: startDate };\r\n } else {\r\n this.disabledFirstInvoiceDueDates = {};\r\n this.disabledFirstInvoiceDates = {};\r\n this.disabledFinalInvoiceDueDates = {};\r\n }\r\n }\r\n }\r\n\r\n changeFinalInvoiceDueDate() {\r\n if (((fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueYearComponent) && fieldValidations.isValidNumber(this.invoiceSchedule.finalInvoiceDueMonthComponent)\r\n && fieldValidations.isValidNumber(this.invoiceSchedule.monthlyInvoiceDueDate)) || fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueDate))\r\n && fieldValidations.isValidDate(this.invoiceSchedule.firstInvoiceDate)){\r\n let startDate = moment(this.invoiceSchedule.finalInvoiceDueDate).toDate();\r\n let endDate = moment(this.invoiceSchedule.firstInvoiceDate).toDate();\r\n this.disabledFirstInvoiceDueDates = { from: startDate, to: endDate};\r\n\r\n }else if (((fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueYearComponent) && fieldValidations.isValidNumber(this.invoiceSchedule.finalInvoiceDueMonthComponent)\r\n && fieldValidations.isValidNumber(this.invoiceSchedule.monthlyInvoiceDueDate)) || fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueDate))\r\n && fieldValidations.isValidDate(this.invoiceSchedule.firstInvoiceDueDate)){\r\n let startDate = moment(this.invoiceSchedule.firstInvoiceDueDate).toDate();\r\n this.disabledFirstInvoiceDates = { from: startDate};\r\n\r\n }else if ((this.invoiceSchedule.invoiceFrequency == this.fortnightly || this.invoiceSchedule.invoiceFrequency == this.weekly) \r\n && fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueDate)){\r\n let startDate = moment(this.invoiceSchedule.finalInvoiceDueDate).toDate();\r\n this.disabledFirstInvoiceDates = { from: startDate };\r\n this.disabledFirstInvoiceDueDates = { from: startDate };\r\n\r\n }else if (this.invoiceSchedule.invoiceFrequency == this.monthly && fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueYearComponent) && fieldValidations.isValidNumber(this.invoiceSchedule.finalInvoiceDueMonthComponent)\r\n && fieldValidations.isValidNumber(this.invoiceSchedule.monthlyInvoiceDueDate) ) {\r\n let finalInvoiceDueYear = moment(this.invoiceSchedule.finalInvoiceDueYearComponent).year();\r\n let startDate = moment(new Date(this.invoiceSchedule.finalInvoiceDueMonthComponent + \"/\" + this.invoiceSchedule.monthlyInvoiceDueDate + \"/\" + finalInvoiceDueYear)).add(1, \"day\").toDate();\r\n this.disabledFirstInvoiceDates = { from: startDate };\r\n this.disabledFirstInvoiceDueDates = { from: startDate };\r\n\r\n } else if ( fieldValidations.isValidDate(this.invoiceSchedule.finalInvoiceDueYearComponent)) {\r\n let finalInvoiceDueYear = moment(this.invoiceSchedule.finalInvoiceDueYearComponent).add(1,\"year\").year();\r\n let startDate = ( new Date(\"1/1/\"+ finalInvoiceDueYear ));\r\n this.disabledFirstInvoiceDates = { from:startDate };\r\n this.disabledFirstInvoiceDueDates = { from:startDate };\r\n }\r\n }\r\n\r\n getLastInvoiceDueDateComponent(){\r\n var date = this.lastInvoiceDueDate;\r\n var dayComponent = moment(date).toDate();\r\n var dueDate = dayComponent.getDate();\r\n this.invoiceSchedule.monthlyInvoiceDueDate = dueDate;\r\n }\r\n\r\n updateExtendedFirstInvoiceDueDate(){\r\n if(!this.invoiceSchedule.invoiceFrequency || this.invoiceSchedule.invoiceFrequency == this.monthly){\r\n let extendedNextDueDate = moment(new Date(this.lastInvoiceDueDate)).add(1, \"month\").toDate();\r\n this.invoiceSchedule.firstInvoiceDueDate = extendedNextDueDate;\r\n }else{\r\n this.invoiceSchedule.firstInvoiceDueDate = moment(new Date(this.lastInvoiceDueDate)).toDate();\r\n }\r\n \r\n }\r\n\r\n updateExtendedFirstInvoiceDate(){\r\n if(!this.invoiceSchedule.invoiceFrequency || this.invoiceSchedule.invoiceFrequency == this.monthly){\r\n let extendedNextInvoiceDate = moment(new Date(this.lastInvoiceDate)).add(1, \"month\").toDate();\r\n this.invoiceSchedule.firstInvoiceDate = extendedNextInvoiceDate;\r\n }else{\r\n this.invoiceSchedule.firstInvoiceDate = moment(new Date(this.lastInvoiceDate)).toDate();\r\n }\r\n }\r\n\r\n get disabledDeleteButton() {\r\n if (this.invoiceSchedule.items && this.invoiceSchedule.items.length == 1) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n get disableCreateButton() {\r\n if (this.invoiceSchedule.items && this.invoiceSchedule.items.length > 0 && (this.invoiceSchedule.items[this.invoiceSchedule.items.length -1].invoiceNumber != \"*\" && this.getMaxTerm() != this.invoiceSchedule.items.length )) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n\r\n @Emit(\"dirtyValidatorNoSet\") dirtyValidatorNoSet(refNo: number) {}\r\n @Emit(\"onCloseModal\") closeModal() {}\r\n @Emit(\"refreshInvoiceGrid\") refreshGrid() {}\r\n @Emit(\"onInvoiceScheduleCreate\") onInvoiceScheduleCreate(ackMessage: string) {}\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddInvoiceSchedule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddInvoiceSchedule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddInvoiceSchedule.vue?vue&type=template&id=343bd330&scoped=true\"\nimport script from \"./AddInvoiceSchedule.vue?vue&type=script&lang=ts\"\nexport * from \"./AddInvoiceSchedule.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddInvoiceSchedule.vue?vue&type=style&index=0&id=343bd330&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"343bd330\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"invoiceStatusSelectList\"}},[_c('multiselect',{ref:\"multiselect\",staticClass:\"select-menu\",attrs:{\"id\":\"invoiceStatusSelect\",\"options\":_vm.invoiceStatusFilterList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onInvoiceStatusChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(\"\\n \"+_vm._s(_vm.invoiceStatusFilterList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Status\" : \"Statuses\")+\"\\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedInvoiceStatusList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedInvoiceStatusFilterList),callback:function ($$v) {_vm.selectedInvoiceStatusFilterList=$$v},expression:\"selectedInvoiceStatusFilterList\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No status found.\")])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Vue, Component, Emit } from 'vue-property-decorator';\nimport lookupService from '@/shared/services/lookupService';\nimport { InvoiceStatuses } from '@/shared/enums/invoiceStatuses.enum';\n\n@Component({})\nexport default class InvoiceStatusSelectList extends Vue {\n isPanelOpen: boolean = false;\n selectedInvoiceStatusFilterList: any[] = [];\n selectedInvoiceStatusFilterIdList: any;\n invoiceStatusFilterList: any[] = [];\n initialInvoiceStatusFilterSelectList: any[] = [];\n\n created() {\n this.loadInvoiceFilterList();\n }\n\n mounted() {\n this.setInitialInvoiceStatusSelectFilters();\n }\n\n setInitialInvoiceStatusSelectFilters() {\n this.initialInvoiceStatusFilterSelectList.push(InvoiceStatuses.Pending, InvoiceStatuses.Generated)\n }\n\n loadInvoiceFilterList() {\n this.$store.dispatch('storeIsBusyValue', true);\n lookupService.GetInvoiceStatusesList().then(data => {\n this.$store.dispatch('storeIsBusyValue', false);\n this.invoiceStatusFilterList = data;\n this.selectedInvoiceStatusFilterList = data.filter(obj => this.initialInvoiceStatusFilterSelectList.includes(obj.value));\n this.selectedInvoiceStatusFilterIdList = this.selectedInvoiceStatusFilterList.map(status => status.value).toString();\n this.invoiceStatusChanged(this.selectedInvoiceStatusFilterIdList, false);\n });\n }\n\n onInvoiceStatusChanged() {\n this.isPanelOpen = false;\n this.selectedInvoiceStatusFilterIdList = this.selectedInvoiceStatusFilterList.map(status => status.value).toString();\n this.invoiceStatusChanged(this.selectedInvoiceStatusFilterIdList, true);\n }\n\n removeSelectedInvoiceStatusList() {\n this.selectedInvoiceStatusFilterList = [];\n this.selectedInvoiceStatusFilterIdList = [0];\n if (!this.isPanelOpen) {\n this.invoiceStatusChanged(this.selectedInvoiceStatusFilterIdList, true);\n }\n }\n \n resetActiveFilter(){\n this.selectedInvoiceStatusFilterList = this.invoiceStatusFilterList.filter(obj => this.initialInvoiceStatusFilterSelectList.includes(obj.value));\n this.selectedInvoiceStatusFilterIdList = this.selectedInvoiceStatusFilterList.map(status => status.value).toString();\n this.invoiceStatusChanged(this.selectedInvoiceStatusFilterIdList, false);\n }\n\n @Emit('onInvoiceStatusChanged') invoiceStatusChanged(statusFilter: any[], userChange: boolean) {}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceStatusSelectList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceStatusSelectList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoiceStatusSelectList.vue?vue&type=template&id=e3ceaf64&scoped=true\"\nimport script from \"./InvoiceStatusSelectList.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoiceStatusSelectList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InvoiceStatusSelectList.vue?vue&type=style&index=0&id=e3ceaf64&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e3ceaf64\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport {InvoiceStatusMultiSelectFilterParams} from '@/models/tableFilterParams.model';\nimport {SelectNovationInvoiceListModel} from '@/models/invoiceSchedule.model';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport moment from 'moment'\nimport InvoicesListActionButtons from '@/components/admin/vehicleLeaseManagement/InvoicesListActionButtons.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport AddEditInvoice from '@/components/admin/invoices/AddEditInvoice.vue';\nimport AddInvoiceSchedule from '@/components/admin/invoices/AddInvoiceSchedule.vue';\nimport {RevenueCategories} from '@/shared/enums/revenueCategories.enum';\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\nimport lookupService from '@/shared/services/lookupService';\nimport { InvoiceStatuses } from '@/shared/enums/invoiceStatuses.enum';\nimport InvoiceStatusSelectList from './InvoiceStatusSelectList.vue';\n\n@Component(\n {\n components: {\n DataTable,\n Modal,\n AddEditInvoice,\n AddInvoiceSchedule,\n InvoicesListActionButtons,\n InvoiceStatusSelectList\n }\n }\n)\nexport default class VehicleLeaseInvoices extends Vue{\n\n @Prop() novationID:number;\n columnSet_1 = [\n {key: 'selected', label:'', class:'width_5 text-center'},\n {\n key:'invoiceDate', class:'width_5',\n formatter: (value, key, item) => {\n return item.invoiceDateDisplayText\n }\n },\n {key: 'invoiceNumber',sortable:'true',class:'width_10'},\n { \n key: 'dueDate',\n sortable:'true',\n class:'width_5',\n formatter: (value, key, item) => {\n if( item.dueDate == null) {return '';}\n return moment(item.dueDate).format(\"DD MMM YYYY\")\n }\n }\n ];\n columnSet_2 = [\n { \n key: 'amountInclGst',\n label:'Total Incl. GST',\n class:'width_15 text-right',\n },\n {key: 'employer',sortable:'true',class:'width_15', label:'Entity'},\n {key: 'email', label:'Email Invoice To',class:'width_10',sortable:'true'},\n { \n key: 'emailSendDateTime',\n label: 'Email Sent On',\n class:'width_10',\n formatter: (value, key, item) => {\n return item.emailSendDateDisplayText;\n }\n },\n { \n key: 'status',\n label: 'Status',\n class:'width_5',\n formatter: (value, key, item) => {\n return this.getInvoiceStatusText(item.status);\n }\n },\n {key: 'actions',label:\"\",class:'text-right width_25'} \n ];\n\n columnSet_3 = [\n {key: 'leaseAmount',label:\"Lease Amt\",class:'width_0_1 text-right text-nowrap'},\n {key: 'leaseGST',label:\"Lease GST\",class:'width_6 text-right'},\n {key: 'leaseTotal',label:\"Lease Total\",class:'width_6 text-right'},\n {key: 'runCostAmount',label:\"RunCost Amt\",class:'width_15 text-right'},\n {key: 'runCostGST',label:\"RunCost GST\",class:'width_15 text-right'},\n {key: 'runCostTotal',label:\"RunCost Total\",class:'width_15 text-right'},\n ];\n\n sortBy:string = \"invoiceDate\";\n sortDesc:boolean = false;\n selectedInvoiceStatusFilterIdList: any;\n items:any[] = [];\n currentInvoiceSchedule:any[] = [];\n newInvoiceType = 0; // 0-hidden 1-Invoice 2-Credit Note\n dirtyValidatorRefNo: number = 0;\n revenueCategories = RevenueCategories;\n leaseType: VehicleLeaseTypes = null;\n openInvoiceScheduleModal: boolean = false;\n invoiceStatusesList = [];\n isOkToCreateInvoiceSchedule:boolean = false;\n selectedInvoicesIdList:any[] = [];\n isSelectAll:boolean = false;\n showDeleteInvoicesConfirmation:boolean = false;\n editInvoiceID:number = 0;\n showAcknowledgementMessage:boolean = false;\n acknowledgementMessage = \"\";\n invoiceScheduleItemCount:number = 0;\n lastInvoiceDate :Date = null;\n lastInvoiceDueDate :Date = null;\n resetButtonDisabled:boolean = true;\n isExpanded:boolean= false;\n totalLeaseAmt:number= 0.0;\n totalLeaseGST:number= 0.0; \n totalLeaseTotal:number= 0.0; \n totalRunCostAmt:number= 0.0; \n totalRunCostGST:number= 0.0; \n totalRunCostTotal:number= 0.0;\n totalAmountincGST:number= 0.0; \n creditNoteCount:number= 0;\n\n mounted(){\n this.loadLeaseAndNovationDetails();\n this.loadInvoiceStatuses();\n }\n\n onClick(){\n this.$nextTick(()=>{\n if(this.isSelectAll){\n this.isSelectAll = false;\n }\n this.selectedInvoicesIdList = []\n this.items.forEach(item =>{\n if(!item.isInValid && item.isChecked){\n this.selectedInvoicesIdList.push(item.id)\n }\n })\n }); \n }\n\n loadInvoiceStatuses(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetInvoiceStatusesList().then(data => {\n this.invoiceStatusesList = data;\n this.$store.dispatch('storeIsBusyValue',false);\n }); \n }\n\n loadLeaseAndNovationDetails(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('novation', 'NovationAndLeaseDetails', {novationId: this.novationID}).then(response => {\n this.leaseType = response.data.leaseType;\n this.isOkToCreateInvoiceSchedule = response.data.isOkToCreateInvoiceSchedule;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n toggleAmountColumn() {\n this.isExpanded = !this.isExpanded\n }\n onInvoiceStatusChanged(statusFilter:any[], userChange: boolean) {\n this.resetButtonDisabled = !userChange;\n this.selectedInvoiceStatusFilterIdList = statusFilter;\n this.sortBy = \"invoiceDate\";\n this.refreshGrid({FromIndex:0, Count:0, SortBy:this.sortBy, SortDesc:false, SearchByString:\"\", RelatedId:this.novationID, Status:0, selectedInvoiceStatusFilterList: this.selectedInvoiceStatusFilterIdList});\n }\n\n getInvoiceStatusText(status){\n var index = status - 1;\n if(this.invoiceStatusesList[index]){\n return this.invoiceStatusesList[index].text\n }\n return \"\";\n }\n\n onSortingChange(ctx:any){\n var sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0, Count:0, SortBy:sortBy, SortDesc:ctx.sortDesc, SearchByString:\"\", RelatedId:this.novationID, Status:0, selectedInvoiceStatusFilterList: this.selectedInvoiceStatusFilterIdList});\n }\n \n resetSelectedInvoiceStatusList() {\n this.sortBy = \"invoiceDate\";\n this.resetButtonDisabled = true;\n (this.$refs.invoiceStatusList as InvoiceStatusSelectList).resetActiveFilter();\n }\n\n onDataTableCustomEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.invoicesTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.invoicesTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.Refresh){\n this.refreshInvoiceGrid();\n }\n if(type == DataTableActionTypes.ItemChecked){\n if(data && data.isChecked)\n {\n if(!this.selectedInvoicesIdList.includes(data.item.id))\n {\n this.selectedInvoicesIdList.push(data.item.id);\n }\n }\n if(data && !data.isChecked)\n {\n var index = this.selectedInvoicesIdList.indexOf(data.item.id);\n this.selectedInvoicesIdList.splice(index, 1);\n }\n }\n if(type == DataTableActionTypes.Edit){\n this.onEditInvoice(data);\n }\n }\n\n refreshGrid(tableFilterParams: InvoiceStatusMultiSelectFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.setDefaultTotals();\n apiService.sendGetRequest(\"Novation\",\"LeasePaymentInvoiceList\",tableFilterParams).then(response =>{\n var records = response.data.resultDto;\n for (let index = 0; index < records.length; index++) {\n records[index].isChecked = false;\n records[index].isInvalid = (records[index].status == InvoiceStatuses.Emailed || records[index].status == InvoiceStatuses.Voided);\n var isChecked = this.selectedInvoicesIdList.includes(records[index].id);\n records[index].isChecked = isChecked;\n }\n this.items = records;\n this.items.forEach(item => {\n this.totalAmountincGST += parseFloat(item.amountInclGst);\n this.totalLeaseAmt += parseFloat(item.leaseAmount);\n this.totalLeaseGST += parseFloat(item.leaseGST);\n this.totalLeaseTotal += parseFloat(item.leaseTotal);\n this.totalRunCostAmt += parseFloat(item.runCostAmount);\n this.totalRunCostGST += parseFloat(item.runCostGST);\n this.totalRunCostTotal += parseFloat(item.runCostTotal);\n this.creditNoteCount += item.isCreditNoteIncluded? 1: 0 ;\n });\n this.currentInvoiceSchedule = response.data.resultDto.filter(obj => obj.isCreatedBySchedule == true);\n this.invoiceScheduleItemCount = this.currentInvoiceSchedule.length; \n this.lastInvoiceDate = this.currentInvoiceSchedule[this.invoiceScheduleItemCount - 1].invoiceDate;\n this.lastInvoiceDueDate = this.currentInvoiceSchedule[this.invoiceScheduleItemCount - 1].dueDate;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onDirtyRefNoChanged(dirtyValidatorRefNo){\n this.dirtyValidatorRefNo = dirtyValidatorRefNo;\n }\n\n onCloseModal() {\n this.newInvoiceType = 0;\n this.editInvoiceID = 0;\n this.openInvoiceScheduleModal = false;\n }\n\n onEditInvoice(invoiceId:number){\n this.newInvoiceType = RevenueCategories.Invoice;\n this.editInvoiceID = invoiceId;\n }\n\n refreshInvoiceGrid() {\n this.refreshGrid({FromIndex:0, Count:0, SortBy:this.sortBy, SortDesc:this.sortDesc, SearchByString:\"\", RelatedId:this.novationID, Status:0, selectedInvoiceStatusFilterList: this.selectedInvoiceStatusFilterIdList});\n }\n\n setDefaultTotals(){\n this.isExpanded= false;\n this.totalLeaseAmt= 0.0;\n this.totalLeaseGST= 0.0; \n this.totalLeaseTotal= 0.0; \n this.totalRunCostAmt= 0.0; \n this.totalRunCostGST= 0.0; \n this.totalRunCostTotal= 0.0;\n this.totalAmountincGST= 0.0; \n this.creditNoteCount= 0;\n }\n\n onSelectAll(){\n this.$nextTick(() => {\n this.selectedInvoicesIdList = [];\n this.items.forEach(item =>{\n if(this.isSelectAll && !item.isInvalid){\n item.isChecked = true;\n this.selectedInvoicesIdList.push(item.id)\n }else{\n item.isChecked = false;\n }\n })\n })\n }\n\n get isItemSelectable(){\n if(this.items != null && this.items.length > 0){\n for(var i =0; i< this.items.length;i++){\n if(!this.items[i].isInvalid){\n return true\n }\n }\n }\n return false;\n }\n\n onInvoiceScheduleCreate(message){\n this.acknowledgementMessage = message;\n this.showAcknowledgementMessage = true;\n this.isOkToCreateInvoiceSchedule = false;\n }\n\n onClickDeleteInvoices(){\n this.showDeleteInvoicesConfirmation = true;\n }\n\n onClickAcknowledgement(){\n this.showAcknowledgementMessage = false;\n this.refreshInvoiceGrid();\n }\n\n deleteSelectedInvoices(){\n this.showDeleteInvoicesConfirmation = false;\n this.$store.dispatch('storeIsBusyValue',true);\n var deleteInvoicseModel :SelectNovationInvoiceListModel ={\n novationId : this.novationID,\n selectedInvoicesIdList: this.selectedInvoicesIdList\n }\n apiService.sendPostRequest(\"Novation\",\"DeleteNovationInvoices\", deleteInvoicseModel).then(response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n \n this.refreshInvoiceGrid();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.selectedInvoicesIdList = [];\n this.isSelectAll = false;\n })\n } \n}\n","export enum NovationReportTypes\r\n{\r\n InvoiceAndPaymentSummaryReport = 1,\r\n PayrollSetupReport = 2,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseInvoices.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseInvoices.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleLeaseInvoices.vue?vue&type=template&id=d93871f6&scoped=true\"\nimport script from \"./VehicleLeaseInvoices.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleLeaseInvoices.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleLeaseInvoices.vue?vue&type=style&index=0&id=d93871f6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d93871f6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"mb-4\"},[_c('b-container',{class:_vm.isClient ? _vm.client_view : _vm.user_view},[_c('b-form',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"md\":\"8\",\"sm\":\"12\",\"lg\":\"4\"}},[_c('b-form-group',[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"novationReportSelect\",\"plain\":true,\"options\":_vm.novationReportList,\"required\":\"\"},on:{\"change\":function($event){return _vm.onChangeReportType()}},model:{value:(_vm.novationReportType),callback:function ($$v) {_vm.novationReportType=$$v},expression:\"novationReportType\"}},[((_vm.novationReportType == 0))?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Select a Report --\")])]):_vm._e()],2)],1)],1)],1)],1)],1),(_vm.novationReportType == _vm.invoiceAndPaymentSummaryReport)?_c('InvoiceAndPaymentSummaryReport',{attrs:{\"novationId\":_vm.novationID,\"vehicleId\":_vm.vehicleId}}):_vm._e()],1)],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Start Date',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'End Date',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-2\"},[_c('b-dropdown',{staticClass:\"mb-3 \",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":!_vm.items || _vm.items.length <= 0}},[_c('b-dropdown-item',{on:{\"click\":_vm.onGeneratePDFReport}},[_vm._v(\"PDF\")])],1)],1)],1),(!_vm.isLoading && _vm.items.length > 0)?_c('SystemTextNotes',{attrs:{\"boldText\":\"Balance Owing:\",\"amount\":_vm.totalAmountOwed,\"isDecimalValue\":true,\"isIncludeDate\":true,\"text2\":\"(As of\",\"text3\":\")\",\"Date\":_vm.todayDateUTC}}):_vm._e(),(!_vm.isLoading && _vm.invoice.invoicePaymentAmount != 0)?_c('SystemTextNotes',{attrs:{\"text1\":\"Next Invoice Amount Due\",\"isDecimalValue\":true,\"isIncludeDate\":true,\"text2\":\"on\",\"Date\":_vm.invoice.dueDate,\"amount\":_vm.invoice.invoicePaymentAmount}}):_vm._e(),(_vm.unAllocatedTrasactionCount > 0 && !_vm.isClient)?_c('UnallocatedTransactionsLink',{attrs:{\"unAllocatedTransactionCount\":\"Multiple\",\"vehicleId\":_vm.vehicleId}}):_vm._e(),_c('DataTable',{ref:\"invoiceAndPaymentSummaryTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"customTemplates\":_vm.customTemplateList,\"emptyBanner\":\"No report data to display.\",\"selectable\":false},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-row',{staticClass:\"mb-2\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\",\"cols\":\"12\"}},[_c('b-jumbotron',{staticClass:\"alertJumbotron\"},[_c('template',{slot:\"lead\"},[_c('span',{staticClass:\"pl-1 text-nowrap cursor-pointer\",on:{\"click\":_vm.onNavigateToLedger}},[_vm._v(\" \\n \"+_vm._s(_vm.unAllocatedTransactionCount)+\" ledger \"+_vm._s(_vm.unAllocatedTransactionCount > 1 ? 'transactions have' : 'transaction has')+\" \\n \"),_c('br',{staticClass:\"d-md-none\"}),_vm._v(\" not been allocated to a novation. \\n \")])])],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component\n\nexport default class UnallocatedTransactionsLink extends Vue{\n @Prop() vehicleId: number;\n @Prop() unAllocatedTransactionCount: string;\n\n onNavigateToLedger(){\n this.$store.dispatch('storeShowUnAllocatedTransactions', true);\n this.$router.push({name:'Edit Vehicle', params:{vehicleID:this.vehicleId.toString(), topRouteDisplayName:'vehicles', routerDisplayName: 'ledger'}});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnallocatedTransactionsLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnallocatedTransactionsLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UnallocatedTransactionsLink.vue?vue&type=template&id=e47fd1a2\"\nimport script from \"./UnallocatedTransactionsLink.vue?vue&type=script&lang=ts\"\nexport * from \"./UnallocatedTransactionsLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"reference-column\"},[_vm._v(_vm._s(_vm.item.reference))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({})\nexport default class CustomizedReference extends Vue {\n @Prop() item:any\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomizedReference.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CustomizedReference.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CustomizedReference.vue?vue&type=template&id=2c18507b&scoped=true\"\nimport script from \"./CustomizedReference.vue?vue&type=script&lang=ts\"\nexport * from \"./CustomizedReference.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CustomizedReference.vue?vue&type=style&index=0&id=2c18507b&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2c18507b\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue} from 'vue-property-decorator';\nimport apiService from '@/shared/services/apiService'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue'\nimport moment from 'moment'\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\nimport UnallocatedTransactionsLink from '@/components/admin/novationManagement/UnallocatedTransactionsLink.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport CustomizedReference from './CustomizedReference.vue';\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n@Component(\n {\n components: {\n DataTable,\n SystemTextNotes,\n UnallocatedTransactionsLink\n }\n }\n)\n\nexport default class InvoiceAndPaymentSummaryReport extends Vue{\n @Prop() novationId:number;\n @Prop() vehicleId:number;\n fields = [\n {\n key: 'date', \n class:'width_15',\n formatter: (value, key, item) => {\n return moment(item.date).format(\"DD MMM YYYY\");\n }\n },\n {\n key: 'reference',\n class:'width_18'\n },\n {\n key: 'paymentReceived',\n class:'width_20 text-right',\n formatter: (value, key, item) => {\n return item.paymentReceivedText;\n }\n },\n {\n key: 'invoiceAmount',\n class:'width_15 text-right',\n formatter: (value, key, item) => {\n return item.invoiceAmountText;\n }\n },\n {\n key: 'balanceOwing',\n class:'width_15 text-right'\n },\n ];\n\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n fromDate:any = \"\";\n toDate:any = \"\";\n disabledFromDates:any ={};\n disabledToDates:any ={};\n showEmptyBanner:boolean = false;\n totalRows:number = 0;\n invoice: any = [];\n items:any = [];\n totalAmountOwed:number = 0;\n unAllocatedTrasactionCount:number = 0;\n sortBy:string = \"\";\n sortDesc:boolean = true;\n isClient:boolean = true;\n isLoading:boolean = false;\n customTemplateList: Array = [{ slot:\"reference\", customTemplate:CustomizedReference },\n { slot: \"balanceOwing\", customTemplate: ApexCurrency }]\n created (){\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n this.toDate = this.todayDate;\n this.loadUpcomingPayment();\n this.refreshGrid();\n }\n\n loadUpcomingPayment(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"UpcomingInvoicePayment\",{novationId:this.novationId}).then(response =>{\n this.invoice = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n refreshGrid(){\n this.isLoading = true;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var tableFilterParams = {FromIndex:0,Count:null,SortBy:\"date\",SortDesc:true,\n SearchByString:\"\", Status:null, RelatedId:this.vehicleId, FromDate:from, ToDate:to,\n RelatedTable:RelatedTables.Novation, NovationId:this.novationId\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"InvoiceAndPaymentSummaryReportData\",tableFilterParams).then(response =>{\n this.items = response.data.novationReconciliationRecords;\n this.totalAmountOwed = response.data.amountOwedToDate;\n this.unAllocatedTrasactionCount = response.data.unAllocatedTransactionCount;\n this.showEmptyBanner = true; \n this.isLoading = false; \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n this.isLoading = false;\n })\n }\n\n fromDateChanged(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n this.dateChanged();\n }\n\n toDateChanged(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n this.dateChanged();\n }\n\n dateChanged(){\n this.refreshGrid();\n }\n\n onNavigateToLedger(){\n this.$router.push({name:'Edit Vehicle', params:{vehicleID:this.vehicleId.toString(), topRouteDisplayName:'vehicles', routerDisplayName: 'ledger'}});\n }\n\n onGeneratePDFReport(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n var params = {\n FromIndex:0,\n Count:null,\n SortBy:\"date\",\n SortDesc:true,\n SearchByString:\"\",\n RelatedId:this.vehicleId,\n Status:null,\n FromDate:from,\n ToDate:to,\n RelatedTable:RelatedTables.Novation,\n NovationId:this.novationId}\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"InvoiceAndPaymentSummaryReport\",params).then(response => \n {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".pdf\", true);\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceAndPaymentSummaryReport.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceAndPaymentSummaryReport.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InvoiceAndPaymentSummaryReport.vue?vue&type=template&id=e32cee98&scoped=true\"\nimport script from \"./InvoiceAndPaymentSummaryReport.vue?vue&type=script&lang=ts\"\nexport * from \"./InvoiceAndPaymentSummaryReport.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e32cee98\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport apiService from '@/shared/services/apiService'\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue'\r\nimport lookupService from '@/shared/services/lookupService'\r\nimport fileViewerService from '@/shared/services/fileViewerService';\r\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\r\nimport {NovationReportTypes} from '@/shared/enums/novationReportTypes.enum';\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\r\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\r\nimport InvoiceAndPaymentSummaryReport from '@/components/admin/novationManagement/InvoiceAndPaymentSummaryReport.vue';\r\nimport UnallocatedTransactionsLink from '@/components/admin/novationManagement/UnallocatedTransactionsLink.vue';\r\n\r\n@Component({\r\n components:{\r\n DataTable,\r\n SystemTextNotes,\r\n InvoiceAndPaymentSummaryReport,\r\n UnallocatedTransactionsLink\r\n },\r\n })\r\n\r\nexport default class NovationReports extends Vue\r\n{\r\n @Prop() novationID:number;\r\n @Prop() vehicleId:number;\r\n\r\n novationReportList:any[]=[];\r\n novationReportType:number = 0;\r\n showReport:boolean = false;\r\n showReportData:boolean = false;\r\n showEmptyBanner:boolean = true;\r\n fields:any[] = [];\r\n invoiceAndPaymentSummaryReport:NovationReportTypes = NovationReportTypes.InvoiceAndPaymentSummaryReport;\r\n payrollSetupreport:NovationReportTypes = NovationReportTypes.PayrollSetupReport;\r\n sortBy:string = \"\";\r\n sortDesc:boolean = true;\r\n customTemplateList:Array = []\r\n isClient:boolean = true;\r\n client_view = \"novation-report-client-view\"\r\n user_view = \"novation-report-user-view\"\r\n leaseType: VehicleLeaseTypes = null;\r\n showPayRollInfoText = false;\r\n isNovationPayrollGenerated = false;\r\n unAllocatedTransactionCount:number = 0;\r\n InvoiceAndPaymentSummaryReport = false\r\n \r\n\r\n created()\r\n { \r\n if(this.$route.query.isSelectInvoicePaymentSummary === 'true')\r\n {\r\n this.novationReportType = NovationReportTypes.InvoiceAndPaymentSummaryReport; // Use \"=\" to assign the value\r\n\r\n }\r\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n this.loadLeaseAndNovationDetails();\r\n }\r\n\r\n loadLeaseAndNovationDetails(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('novation', 'NovationAndLeaseDetails', {novationId: this.novationID}).then(response => {\r\n this.leaseType = response.data.leaseType;\r\n this.isNovationPayrollGenerated = response.data.isPayrollReportGenerated;\r\n this.loadNovationReportSelectList();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n\r\n }\r\n\r\n loadNovationReportSelectList(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetNovationReportList().then(data => \r\n {\r\n this.novationReportList = data;\r\n this.novationReportList = this.novationReportList.filter(a => a.value != NovationReportTypes.PayrollSetupReport);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onChangeReportType(){\r\n this.showPayRollInfoText = false;\r\n this.showReport = false;\r\n this.showReportData = false;\r\n if (this.novationReportType == NovationReportTypes.PayrollSetupReport) {\r\n this.showPayRollInfoText = true; }\r\n }\r\n\r\n getPayrollReport(reportFormat) {\r\n if (!this.isNovationPayrollGenerated){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: 'Export is not allowed until the report is generated.',\r\n type: 'warn',\r\n duration: 5000\r\n });\r\n return;\r\n }\r\n let fileExtention = reportFormat == 'pdf' ? 'pdf' : 'doc';\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('novation', 'GetPayrollReport', {novationID: this.novationID, reportType: reportFormat}).then(\r\n response => {\r\n if(response.data.isSuccess)\r\n {\r\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,fileExtention,false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: 'Report downloaded successfully.',\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n \r\n}\r\n","export enum ServiceAgreementRecipients\r\n{\r\n AuthorizedSignatory = 1,\r\n Client = 2,\r\n Employer = 3,\r\n Other = 4\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationReports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationReports.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationReports.vue?vue&type=template&id=7d1e05c9&scoped=true\"\nimport script from \"./NovationReports.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationReports.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NovationReports.vue?vue&type=style&index=0&id=7d1e05c9&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7d1e05c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.removeRecipientConfirmation)?_c('Modal',{staticStyle:{\"z-index\":\"10000\"},attrs:{\"centered\":\"\",\"id\":\"removeRecipientConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to remove this recipient ?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"removeRecipientConf_CancelButton\"},on:{\"click\":function($event){_vm.removeRecipientConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"removeRecipientConf_OkButton\"},on:{\"click\":function($event){return _vm.remove()}}},[_vm._v(\"\\n Remove\\n \")])],1)]):_vm._e(),_c('b-card',{staticClass:\"inner-card\",attrs:{\"id\":\"card_1\"}},[_c('div',{staticClass:\"custom-card-header\",attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Signing Order \"),_c('span',[_vm._v(_vm._s(_vm.signingOrder))])]),_c('div',{staticClass:\"custom-card-body\"},[_c('b-row',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-col',{attrs:{\"xs\":\"6\",\"lg\":\"6\"}},[(_vm.recipient.recipientType == _vm.authorizedSignatoryRecipientType)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('b-form-group',{ref:\"signatory\",class:{ 'form-group--error': _vm.$v.recipient.recipientSignatoryId.$error },attrs:{\"label\":\"Authorised Signatory\",\"label-for\":\"signatory\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.recipient.recipientSignatoryId.$error, 'requiredField': (_vm.recipient.recipientSignatoryId == 0)},attrs:{\"id\":\"signatory\",\"plain\":true,\"options\":_vm.signatoryEmailSelectList,\"required\":\"\"},on:{\"change\":function($event){return _vm.emitRecipientData()}},model:{value:(_vm.recipient.recipientSignatoryId),callback:function ($$v) {_vm.$set(_vm.recipient, \"recipientSignatoryId\", $$v)},expression:\"recipient.recipientSignatoryId\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])])],2)],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('b-form-group',{ref:\"recipient\",class:{ 'form-group--error': _vm.$v.recipient.recipientType.$error },attrs:{\"label\":\"Recipient\",\"label-for\":\"recipient\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.recipient.recipientType.$error, 'requiredField': (_vm.recipient.recipientType == 0)},attrs:{\"id\":\"recipient\",\"plain\":true,\"options\":_vm.serviceAgreementRecipients,\"required\":\"\",\"disabled\":true},on:{\"change\":function($event){return _vm.$v.recipient.recipientType.$touch()}},model:{value:(_vm.recipient.recipientType),callback:function ($$v) {_vm.$set(_vm.recipient, \"recipientType\", $$v)},expression:\"recipient.recipientType\"}},[(_vm.recipient.recipientType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('b-form-group',{ref:\"placeholder\",class:{ 'form-group--error': _vm.$v.recipient.placeholder.$error },attrs:{\"label\":\"Placeholder\",\"label-for\":\"placeholder\"}},[_c('b-form-input',{staticClass:\"form-control\",class:{'textInput':true, 'requiredField': (_vm.recipient.placeholder.length == 0) },attrs:{\"id\":\"placeholder\",\"type\":\"text\",\"placeholder\":'Enter Placeholder',\"disabled\":_vm.recipient.id > 0},on:{\"input\":function($event){return _vm.$v.recipient.placeholder.$touch()},\"change\":function($event){return _vm.emitRecipientData()}},model:{value:(_vm.recipient.placeholder),callback:function ($$v) {_vm.$set(_vm.recipient, \"placeholder\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"recipient.placeholder\"}})],1)],1)],1)],1),_c('b-col',{attrs:{\"xs\":\"6\",\"lg\":\"6\"}},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('b-form-group',{ref:\"name\",class:{ 'form-group--error': _vm.$v.recipient.name.$error },attrs:{\"label\":\"Name\",\"label-for\":\"name\"}},[_c('b-form-input',{staticClass:\"form-control\",class:{'textInput':true, 'requiredField': (_vm.recipient.name.length == 0) },attrs:{\"id\":\"name\",\"type\":\"text\",\"placeholder\":'Enter Name',\"disabled\":_vm.recipient.recipientType == _vm.clientRecipientType ||\n (_vm.recipient.recipientType == _vm.authorizedSignatoryRecipientType && _vm.recipient.recipientSignatoryId != null) || \n (_vm.employerRelatedEntityTable == _vm.relatedEntityType && _vm.recipient.recipientType == _vm.employerRecipientType) || _vm.recipient.id > 0},on:{\"input\":function($event){return _vm.$v.recipient.name.$touch()},\"change\":function($event){return _vm.emitRecipientData()}},model:{value:(_vm.recipient.name),callback:function ($$v) {_vm.$set(_vm.recipient, \"name\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"recipient.name\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('b-form-group',{ref:\"email\",class:{ 'form-group--error': _vm.$v.recipient.email.$error },attrs:{\"label\":\"Email\",\"label-for\":\"email\"}},[_c('b-form-input',{staticClass:\"form-control\",class:{'textInput':true, 'requiredField': (_vm.recipient.email.length == 0) },attrs:{\"id\":\"email\",\"type\":\"email\",\"placeholder\":'Enter Email',\"disabled\":_vm.recipient.recipientType == _vm.clientRecipientType || (_vm.recipient.recipientType == _vm.authorizedSignatoryRecipientType && _vm.recipient.recipientSignatoryId != null) || _vm.recipient.id > 0},on:{\"input\":function($event){return _vm.$v.recipient.email.$touch()},\"change\":function($event){return _vm.emitRecipientData()}},model:{value:(_vm.recipient.email),callback:function ($$v) {_vm.$set(_vm.recipient, \"email\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"recipient.email\"}})],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\"}},[_c('b-form-group',{ref:\"emailBodyInfo\",class:{ 'form-group--error': _vm.$v.recipient.emailBodyInfo.$error },attrs:{\"label\":\"Email Body Info\",\"label-for\":\"emailBodyInfo\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.recipient.emailBodyInfo),expression:\"recipient.emailBodyInfo\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",class:{'textInput':true, 'requiredField': (_vm.recipient.emailBodyInfo.length == 0) },attrs:{\"id\":\"emailBodyInfo\",\"rows\":\"3\",\"placeholder\":'Enter Email Body Info',\"disabled\":_vm.recipient.id > 0},domProps:{\"value\":(_vm.recipient.emailBodyInfo)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.recipient, \"emailBodyInfo\", $event.target.value.trim())},function($event){return _vm.$v.recipient.emailBodyInfo.$touch()}],\"change\":function($event){return _vm.emitRecipientData()},\"blur\":function($event){return _vm.$forceUpdate()}}})])],1)],1),(_vm.recipient.id == 0 && _vm.serviceAgreementCurrentRecipientCount > 1)?_c('b-row',[_c('b-col',[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.showRemoveRecipientPopup()}}},[_vm._v(\"\\n Remove\\n \")])],1)],1):_vm._e()],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { email, minValue, required } from 'vuelidate/lib/validators';\nimport { ServiceAgreementRecipientModel } from '@/models/serviceAgreement.model';\nimport { ServiceAgreementRecipients } from '@/shared/enums/serviceAgreementRecipients.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\n\n@Component(\n {\n components: {\n Modal\n },\n mixins:[validationMixin],\n validations:\n {\n recipient:\n {\n placeholder:\n {\n required\n },\n name:\n {\n required\n },\n email:\n {\n required\n },\n signingOrder:\n {\n required,\n minValue: minValue(1)\n },\n emailBodyInfo:\n {\n required\n },\n recipientType:\n {\n required,\n minValue: minValue(0)\n },\n recipientSignatoryId:\n {\n required,\n minValue: minValue(0)\n }\n },\n }\n }\n)\nexport default class ServiceAgreementRecipient extends Vue {\n \n @Prop() initialRecipient: ServiceAgreementRecipientModel;\n @Prop() serviceAgreementRecipients: any[];\n @Prop() relatedEntityType: RelatedTables;\n @Prop() serviceAgreementCurrentRecipientCount: number;\n @Prop() signingOrder: number;\n @Prop() signatoryEmailSelectList: any[];\n\n recipient:ServiceAgreementRecipientModel;\n removeRecipientConfirmation: boolean = false;\n clientRecipientType = ServiceAgreementRecipients.Client;\n employerRecipientType = ServiceAgreementRecipients.Employer;\n authorizedSignatoryRecipientType = ServiceAgreementRecipients.AuthorizedSignatory;\n employerRelatedEntityTable = RelatedTables.Employer;\n otherRecipientType = ServiceAgreementRecipients.Other;\n\n created(){\n this.recipient = Object.assign({}, this.initialRecipient);\n }\n\n validate(){\n if(this.recipient.name.length <= 0) {\n return [false, \"Recipient \" + this.signingOrder + \" Name is required.\"]; \n } \n else if (this.recipient.placeholder.length <= 0) {\n return [false, \"Recipient \" + this.signingOrder + \" Placeholder is required.\"]\n }\n else if (this.recipient.email.length <= 0) {\n return [false, \"Recipient \" + this.signingOrder + \" Email is required.\"]\n }\n else if (this.recipient.emailBodyInfo.length <= 0) {\n return [false, \"Recipient \" + this.signingOrder + \" Email Body Info is required.\"]\n }\n return [true, \"\"];\n }\n\n emitRecipientData()\n { \n this.updateRecipient(this.recipient);\n }\n\n showRemoveRecipientPopup() {\n this.removeRecipientConfirmation = true;\n }\n\n remove() {\n this.removeRecipient(this.recipient);\n }\n\n @Emit('updateRecipient') updateRecipient(serviceAgreementRecipient: ServiceAgreementRecipientModel){}\n @Emit('removeRecipient') removeRecipient(serviceAgreementRecipient: ServiceAgreementRecipientModel){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ServiceAgreementRecipient.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ServiceAgreementRecipient.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ServiceAgreementRecipient.vue?vue&type=template&id=204d5a53&scoped=true\"\nimport script from \"./ServiceAgreementRecipient.vue?vue&type=script&lang=ts\"\nexport * from \"./ServiceAgreementRecipient.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ServiceAgreementRecipient.vue?vue&type=style&index=0&id=204d5a53&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"204d5a53\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{attrs:{\"sm\":\"4\",\"md\":\"4\",\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"showInvoicedCheckbox\"},on:{\"input\":_vm.onShowInactiveChanged},model:{value:(_vm.showInvoiced),callback:function ($$v) {_vm.showInvoiced=$$v},expression:\"showInvoiced\"}},[_c('span',[_vm._v(\"Show Invoiced Charges\")])])],1)],1),(_vm.isTableDataLoaded)?_c('div',[_c('DataTable',{ref:\"adminFeeChargesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No Administration fee charge records to display.\",\"customTemplates\":_vm.customTemplateList},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange}})],1):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Administration Fee Charges \")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from 'vue-property-decorator';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport {ScheduleTableFilterParams} from '@/models/tableFilterParams.model';\r\nimport apiService from '@/shared/services/apiService'\r\nimport AppSettings from '@/app.config'\r\nimport moment from 'moment';\r\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\r\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\r\n@Component\r\n (\r\n {\r\n components: {\r\n DataTable,\r\n }\r\n }\r\n )\r\n export default class RelatedEntityAdminFeeChargeList extends Vue {\r\n @Prop() relatedEntityId:any;\r\n items:any = [];\r\n fields = [\r\n {key: 'recordCreatedDate', label:'Date', sortable:'true',class:'width_25',\r\n formatter: (value, key, item) => {\r\n return moment(item.recordCreatedDate).format(\"DD MMM YYYY\");\r\n },\r\n },\r\n {key: 'amount', label:'Amount',class:'width_15'},\r\n {key: 'gstAmount', label:'GST', class:'width_15'},\r\n {key: 'chargedAmount', label:'Total',class:'width_15'},\r\n {key: 'isInvoiced',label:'Invoiced',class:'width_15',sortable:'true'},\r\n {key:'invoicedDate',class:'width_20', sortable:'true',\r\n formatter: (value, key, item) => {\r\n return item.invoicedDate != null ? moment(item.invoicedDate != null ? item.invoicedDate : null).format(\"DD MMM YYYY\") : item.invoicedDate;\r\n },\r\n },\r\n ]\r\n totalRows:number = 0;\r\n perPage:number = AppSettings.defaultGridSize;\r\n sortBy:string = \"recordCreatedDate\";\r\n sortDesc:boolean = true;\r\n showEmptyBanner:boolean = false;\r\n isTableDataLoaded:boolean = false;\r\n showInvoiced:boolean = false;\r\n customTemplateList: Array = [{ slot: \"amount\", customTemplate: ApexCurrency },\r\n { slot: \"gstAmount\", customTemplate: ApexCurrency },\r\n { slot: \"chargedAmount\", customTemplate: ApexCurrency }]\r\n mounted(){\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"recordCreatedDate\",SortDesc:true,SearchByString:\"\",RelatedId:this.relatedEntityId,Status:0, ShowInactive:this.showInvoiced});\r\n }\r\n\r\n refreshGrid(tableFilterParams:ScheduleTableFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.showEmptyBanner = false;\r\n apiService.sendGetRequest(\"AdministrationFee\",\"AdminFeeChargeList\",tableFilterParams).then(response =>{\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.isTableDataLoaded = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\r\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:\"\",RelatedId:this.relatedEntityId,Status:0,ShowInactive:this.showInvoiced});\r\n }\r\n\r\n onSortingChange(ctx:any){\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:\"\",RelatedId:this.relatedEntityId,Status:0,ShowInactive:this.showInvoiced});\r\n }\r\n\r\n onShowInactiveChanged(){\r\n (this.$refs.adminFeeChargesTable as DataTable).resetPaginator();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"recordCreatedDate\",SortDesc:true,SearchByString:\"\",RelatedId:this.relatedEntityId,Status:0, ShowInactive:this.showInvoiced});\r\n }\r\n }\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelatedEntityAdminFeeChargeList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelatedEntityAdminFeeChargeList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RelatedEntityAdminFeeChargeList.vue?vue&type=template&id=df30dcfa\"\nimport script from \"./RelatedEntityAdminFeeChargeList.vue?vue&type=script&lang=ts\"\nexport * from \"./RelatedEntityAdminFeeChargeList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":!_vm.showAddEnvelope,\"title\":\"Add New Envelope\"},on:{\"click\":_vm.onAddEnvelope}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Envelope\\n \")])],1)],1),_c('DataTable',{ref:\"relatedEntityEnvelopesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":true,\"emptyBanner\":\"No envelopes to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"customEvent\":_vm.onCustomDataTableEvent,\"onSortingChanged\":_vm.onSortingChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showVoidEnvelopeConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"VoidEnvelopesConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Void Envelope\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to void the envelope?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"VoidEnvelopesConf_CancelButton\"},on:{\"click\":function($event){_vm.showVoidEnvelopeConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"VoidEnvelopesConf_OkButton\"},on:{\"click\":_vm.voidEnvelope}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showEnvelopeAuditLogModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"EnvlopeAuditLogModal\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap modal-title\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Envelope Audit Logs\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"EnvlopeAuditLogModal_CloseButton\"},on:{\"click\":function($event){_vm.showEnvelopeAuditLogModal = false}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('EnvelopeAuditLogs',{staticClass:\"modal-body-text\",attrs:{\"envelopeId\":_vm.envelopeId}})],1)]):_vm._e(),_c('div',{staticClass:\"d-flex float-right mr-1\"},[(_vm.isVoidEnabled)?_c('b-btn',{staticClass:\"action-btn\",attrs:{\"title\":\"Void Envelope\"},on:{\"click\":function($event){_vm.showVoidEnvelopeConfirmation = true}}},[_c('i',{staticClass:\"fas fa-ban grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"View Envelope Audit Log History\"},on:{\"click\":function($event){_vm.showEnvelopeAuditLogModal = true}}},[_c('i',{staticClass:\"fas fa-history grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"pt-4\"},[_c('DataTable',{ref:\"envelopeAuditLogsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No Envelope audit logs to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport {EnvelopeAuditLogsFilterParams} from '@/models/tableFilterParams.model';\nimport AppSettings from '@/app.config';\nimport moment from \"moment\";\n\n@Component({\n components: {\n DataTable\n }\n})\nexport default class EnvelopeAuditLogs extends Vue{\n @Prop() envelopeId:string;\n items:any[] = [];\n showEmptyBanner:boolean = false;\n fields = [\n {key: 'eventDateTime',label:'Event Date', class:'width_25 text-left', sortable:true,\n formatter: (value, key, item) => {\n return moment.utc(item.eventDateTime).local().format(\"DD MMM YYYY HH:mm:ss\");\n }\n },\n {key: 'description', class:'text-left' }\n ]; \n customTemplateList:Array = [];\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"eventDateTime\";\n sortDesc:boolean = true;\n totalRows:number = 0;\n\n created()\n { \n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: 0, Status: 0, EnvelopeId: this.envelopeId});\n }\n \n refreshGrid(tableFilterParams: EnvelopeAuditLogsFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"AnnatureAuditLogs\",\"GetAnnatureEnvelopeEvents\", tableFilterParams).then(response =>{\n this.items = response.data.resultDto === null ? []: response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onSortingChange(ctx:any)\n {\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: 0, Status: 0, EnvelopeId: this.envelopeId});\n }\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number)\n {\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: 0, Status: 0, EnvelopeId: this.envelopeId});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EnvelopeAuditLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EnvelopeAuditLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EnvelopeAuditLogs.vue?vue&type=template&id=2c8a7490\"\nimport script from \"./EnvelopeAuditLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./EnvelopeAuditLogs.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { Component, Vue, Emit, Prop } from 'vue-property-decorator';\n import Modal from \"@/shared/components/modal/Modal.vue\";\n import { DataTableActionTypes } from \"@/shared/enums/dataTableActionTypes.enum\";\n import EnvelopeAuditLogs from '@/shared/components/auditHistory/EnvelopeAuditLogs.vue';\nimport ApexConstants from '@/shared/constants';\n\n @Component({\n components: {\n Modal,\n EnvelopeAuditLogs\n }\n })\n export default class RelatedEntityEnvelopesListActionButtons extends Vue {\n @Prop() item: any;\n\n envelopeId: string;\n isVoidEnabled: boolean = false;\n \n showVoidEnvelopeConfirmation: boolean = false;\n showEnvelopeAuditLogModal: boolean = false;\n\n created() {\n this.isVoidEnabled = this.item.lastEnvelopeEvent !== ApexConstants.ANNATURE_ENVELOPE_EVENTS[1].key && this.item.lastEnvelopeEvent !== ApexConstants.ANNATURE_ENVELOPE_EVENTS[2].key;\n this.envelopeId = this.item.envelopeId.toString();\n }\n\n voidEnvelope() {\n this.showVoidEnvelopeConfirmation = false;\n this.onAction(this.item, DataTableActionTypes.Void);\n }\n\n @Emit('customEvent') onAction(data:any, type:DataTableActionTypes){}\n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelatedEntityEnvelopesListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelatedEntityEnvelopesListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RelatedEntityEnvelopesListActionButtons.vue?vue&type=template&id=1519cbe3\"\nimport script from \"./RelatedEntityEnvelopesListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./RelatedEntityEnvelopesListActionButtons.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Emit, Prop, Vue } from 'vue-property-decorator';\nimport { ApexDateFormat } from \"@/filters/dateFilter\";\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport RelatedEntityEnvelopesListActionButtons from \"./RelatedEntityEnvelopesListActionButtons.vue\";\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport apiService from '@/shared/services/apiService';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { RelatedEntityTypesEnvelopesFilterParams } from '@/models/tableFilterParams.model';\nimport AppSettings from '@/app.config';\nimport ApexConstants from '@/shared/constants';\n\n@Component({\n components: {\n DataTable\n }\n})\nexport default class RelatedEntityEnvelopesList extends Vue {\n\n @Prop() relatedIdList: number[];\n @Prop() showAddEnvelope: boolean;\n\n novationID: number;\n\n items: any = [];\n totalRows: number = 0;\n sortBy = \"createdAt\";\n sortDesc = true;\n perPage:number = AppSettings.defaultGridSize;\n fields = [\n {key: 'createdAt', label: 'Created Date', sortable: true, formatter: (value, key, item) => {\n return ApexDateFormat(value);\n }\n },\n {key: 'lastEnvelopeEvent', label: 'Status', formatter: (value, key, item) => {\n let event = ApexConstants.ANNATURE_ENVELOPE_EVENTS.find(obj => obj.key === value);\n if (event) {\n return event.text;\n }\n return 'Created';\n }\n },\n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n customTemplateList: Array = [\n {slot:'actions',customTemplate:RelatedEntityEnvelopesListActionButtons}\n ];\n\n mounted() {\n this.novationID = +this.$route.params.novationID ? +this.$route.params.novationID : 0;\n if (this.novationID > 0) {\n this.loadEnvelopes();\n }\n }\n\n loadEnvelopes() {\n this.$store.dispatch('storeIsBusyValue',true);\n let params: RelatedEntityTypesEnvelopesFilterParams = {FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId: 0, RelatedIdList: this.relatedIdList, RelatedTable: RelatedTables.ServiceAgreement, Status: 0}\n setTimeout(() => {\n this.items = [];\n apiService.sendGetRequest('AnnatureAuditLogs', 'GetNovationAnnatureEnvelopesList', params).then(response => {\n this.items = response.data.resultDto === null ? [] : response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }, 2000); // Added this timeout to delay the data loading method until the vlaues for relatedIdList are loaded.\n }\n\n onSortingChange(ctx:any)\n {\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.loadEnvelopes();\n }\n }\n\n onCustomDataTableEvent(data: any, type: DataTableActionTypes) {\n if (type === DataTableActionTypes.Void) {\n this.voidEnvelope(data.envelopeId);\n }\n }\n\n voidEnvelope(id: any) {\n this.$store.dispatch('storeIsBusyValue', true);\n apiService.sendPostRequest('AnnatureAuditLogs', 'VoidAnnatureEnvelope', id).then(response => {\n if (response.data.isSuccess) {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.loadEnvelopes();\n } else {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n @Emit('onAddEnvelope') onAddEnvelope(){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelatedEntityEnvelopesList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelatedEntityEnvelopesList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RelatedEntityEnvelopesList.vue?vue&type=template&id=1330cfe2\"\nimport script from \"./RelatedEntityEnvelopesList.vue?vue&type=script&lang=ts\"\nexport * from \"./RelatedEntityEnvelopesList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport TopTab from '@/shared/components/tabs/TopTab.vue';\nimport TopTabs from '@/shared/components/tabs/TopTabs.vue';\nimport AddEditNovation from './AddEditNovation.vue';\nimport apiService from '@/shared/services/apiService';\nimport OdometerLogs from './OdometerLogs.vue';\nimport FBTDetails from './FBTDetails.vue'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport Notes from '@/shared/components/notes/Notes.vue';\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport ClientVehicleTreeViewButton from '@/components/admin/clientManagement/ClientVehicleTreeViewButton.vue';\nimport VehicleLeaseInvoices from '@/components/admin/vehicleLeaseManagement/VehicleLeaseInvoices.vue';\nimport NovationReports from '@/components/admin/novationManagement/NovationReports.vue'\nimport MotorVehicleBudget from '@/components/admin/motorVehicleManagement/motorVehicleBudget.vue';\nimport { validationMixin } from 'vuelidate';\nimport { email, minValue, required } from 'vuelidate/lib/validators';\nimport { ServiceAgreementModel, ServiceAgreementRecipientModel } from '@/models/serviceAgreement.model';\nimport ServiceAgreementRecipient from './ServiceAgreementRecipient.vue';\nimport { ServiceAgreementRecipients } from '@/shared/enums/serviceAgreementRecipients.enum';\nimport DragAndDropControl from '@/shared/components/dragAndDropControl/DragAndDropControl.vue';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport AnnatureAuditLogs from '@/shared/components/auditHistory/AnnatureAuditLogs.vue';\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\nimport Ledger from '@/components/admin/finance/Ledger.vue';\nimport ApexConstants from '@/shared/constants';\nimport RelatedEntityAdminFeeChargeList from './RelatedEntityAdminFeeChargeList.vue';\nimport { Signatory } from '@/models/signatory.model';\nimport RelatedEntityEnvelopesList from './RelatedEntityEnvelopesList.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n TopTab,\n TopTabs,\n AddEditNovation,\n OdometerLogs,\n FBTDetails,\n Modal,\n Notes,\n DocumentUploader,\n ClientVehicleTreeViewButton,\n VehicleLeaseInvoices,\n NovationReports,\n MotorVehicleBudget,\n DragAndDropControl,\n ServiceAgreementRecipient,\n AnnatureAuditLogs,\n Ledger,\n RelatedEntityAdminFeeChargeList,\n RelatedEntityEnvelopesList\n },\n mixins:[validationMixin],\n validations:\n {\n serviceAgreement:\n {\n emailSubject:\n {\n required\n },\n\n },\n recipients:\n {\n $each: {\n placeholder:\n {\n required\n },\n name:\n {\n required\n },\n email:\n {\n required\n },\n signingOrder:\n {\n required,\n minValue: minValue(1)\n },\n emailBodyInfo:\n {\n required\n },\n recipientType:\n {\n required,\n minValue: minValue(0)\n }\n }\n }\n }\n }\n)\nexport default class NovationDetails extends Vue{\n \n leaseID:number = 0;\n novationID:number = 0;\n clientID:number = 0;\n vehicleID:number = 0;\n selectedTabRouteName:string = \"\";\n selectedTopTabRouteName:string = \"Profile\";\n headerTitleText:string = \"Novation Details\";\n clientName:string = \"\";\n clientEmail: string = \"\";\n vehicleName:string = \"\";\n dirtyValidationRefNumbers:number[] =[0,0,0,0,0,0];\n topTabDirtyValidationRefNumbers:number[] = [0,0,0,0];\n dirtyValidationConfirmation:boolean = false;\n dirtyValidationServiceAgreementConfirmation: boolean = false;\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\n relatedTable:RelatedTables = RelatedTables.Novation;\n vehicleRelatedTable: RelatedTables = RelatedTables.Vehicle;\n isReloadNovationDetails:number = 0;\n addExtraRecipientConfirmation: boolean = false;\n showServiceAgreementPopup: boolean = false;\n showCreateServiceAgreementConfirmation: boolean = false;\n serviceAgreementRelatedTable: RelatedTables = RelatedTables.ServiceAgreement;\n documentsChanged: boolean = false;\n isDocumentsReadOnly: boolean = false;\n initialServiceAgreement: ServiceAgreementModel = {\n id:0, \n emailSubject:\"\",\n novationId: 0,\n recipients: [],\n documentList: [],\n isActive: false,\n };\n\n initialServiceAgreementRecipients : ServiceAgreementRecipientModel = {\n id: 0,\n index: 0,\n signingOrder: 0,\n recipientType: ServiceAgreementRecipients.Other,\n placeholder: \"\",\n name: \"\",\n email: \"\",\n emailBodyInfo: \"\",\n recipientSignatoryId: 0,\n }\n serviceAgreementRecipients: any[];\n dirtyValidationRefNo:number = 0;\n serviceAgreement: ServiceAgreementModel = Object.assign({}, this.initialServiceAgreement);\n isRecipientValid: boolean = true;\n onShowAnnatureAuditLogs:boolean = false;\n showAuditlogHistory:boolean = false;\n showAddServiceAgreementButton:boolean = false;\n hideFooter:boolean = true;\n serviceAgreementIdList: any[] = [];\n queryParams:any = {};\n relatedEntityType:RelatedTables;\n relatedEntityName:any = null;\n relatedEntityEmailInvoiceTo:any = null;\n uniqueIndexCount:number = 3;\n defaultDocType = FileTypes.ServiceAgreement;\n signatoryEmailSelectList:any = [];\n signatoryEmailList:any = [];\n initialSignatoryModel:Signatory = {\n id: 0,\n signatoryEmail: \"\",\n signatoryName: \"\"\n };\n selectedSignatory:Signatory = Object.assign({}, this.initialSignatoryModel);\n\n envelopeCount: number = 0;\n\n created()\n {\n this.leaseID = +this.$route.params.leaseID ? +this.$route.params.leaseID : 0;\n this.novationID = +this.$route.params.novationID ? +this.$route.params.novationID : 0;\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n this.selectedTopTabRouteName = this.$route.params.topRouteDisplayName ? this.$route.params.topRouteDisplayName : this.selectedTopTabRouteName;\n this.leaseID > 0 ? this.loadClientNameByLeaseId() : this.loadClientNameByNovationId();\n if(Object.keys(this.$route.query).length > 0){\n this.queryParams = this.$route.query;\n }\n }\n\n mounted() {\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.serviceAgreement);\n }\n\n loadServiceAgreementRelatedDetails() {\n this.loadServiceAgreementRecipients();\n this.serviceAgreement.novationId = this.novationID;\n this.loadServiceAgreementByNovationId();\n this.loadSignatoryEmailSelectList();\n this.loadSignatoryEmailList();\n }\n\n onUploadNovationDocument(){\n this.onDocumentSaved();\n }\n\n loadClientNameByLeaseId()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.leaseID}\n apiService.sendGetRequest('Lease','ClientAndVehicle',params).then(response=>{ \n this.headerTitleText = 'Novation Details - '+ response.data.clientName;\n this.clientName = response.data.clientName;\n this.clientEmail = response.data.clientEmail;\n this.vehicleName = response.data.make + ' ' + response.data.model;\n this.vehicleID = response.data.vehicleID;\n this.clientID = response.data.clientID;\n this.loadServiceAgreementRelatedDetails();\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadSignatoryEmailSelectList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Signatory', 'SignatorySelectList').then(response => {\n this.signatoryEmailSelectList = response.data;\n this.signatoryEmailSelectList.push({ value: null, text: 'Other', disabled: false });\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadSignatoryEmailList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Signatory', 'Signatory').then(response => {\n this.signatoryEmailList = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n filterSignatoryEmail(value:number){\n if (this.signatoryEmailList && this.signatoryEmailList.length > 0 && value != null) {\n this.selectedSignatory = Object.assign({}, this.signatoryEmailList.find(signatory => signatory.id == value)); \n }else{\n this.selectedSignatory = Object.assign({}, this.initialSignatoryModel);\n }\n }\n\n loadClientNameByNovationId()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.novationID}\n apiService.sendGetRequest('Novation','ClientAndVehicle',params).then(response=>{ \n this.headerTitleText = 'Novation Details - '+ response.data.clientName;\n this.clientName = response.data.clientName;\n this.clientEmail = response.data.clientEmail;\n this.vehicleName = response.data.make + ' ' + response.data.model;\n this.clientID = response.data.clientID;\n this.vehicleID = response.data.vehicleID;\n this.leaseID = response.data.leaseID;\n this.loadServiceAgreementRelatedDetails();\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n detailsTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[0] = refNo;\n this.topTabDirtyValidationRefNumbers[3] = refNo;\n }\n\n showServiceAgreementPopupWindow() {\n this.$store.dispatch('updateDocuments',[]);\n this.serviceAgreement = Object.assign({}, this.initialServiceAgreement);\n this.loadServiceAgreementRelatedDetails();\n this.showServiceAgreementPopup = true;\n }\n\n loadServiceAgreementByNovationId() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('ServiceAgreement','GetServiceAgreementByNovationId', {novationId: this.novationID}).then(response=>{\n if(response.data){\n let activeServiceAgreementList = [];\n if(response.data.serviceAgreementsList.length > 0){\n response.data.serviceAgreementsList.forEach(item => {\n this.serviceAgreementIdList.push(item.id);\n });\n activeServiceAgreementList = response.data.serviceAgreementsList.filter(f => f.isActive);\n this.showAuditlogHistory = true;\n apiService.sendGetRequest('AnnatureAuditLogs', 'GetAnnatureEnvelopeCount', {relatedIds: this.serviceAgreementIdList, relatedTable: this.serviceAgreementRelatedTable}).then(response => {\n this.envelopeCount = response.data;\n });\n }\n\n if(response.data.relatedEntityInfo != null){\n this.relatedEntityType = response.data.relatedEntityInfo.entityType;\n this.relatedEntityName = response.data.relatedEntityInfo.employer;\n this.relatedEntityEmailInvoiceTo = response.data.relatedEntityInfo.relatedEntityEmailInvoiceTo;\n }\n\n if(!response.data.isManualServiceAgreementAvailable && activeServiceAgreementList.length <= 0){\n this.showAddServiceAgreementButton = true;\n this.addInitialServiceAgreementRecipients();\n }else{\n this.showAddServiceAgreementButton = false;\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });;\n }\n\n addInitialServiceAgreementRecipients(){\n this.initialServiceAgreement.emailSubject = \"Apex Novated Solutions - Lease Management Deed\";\n let serviceAgreementRecipientAuthorizedSignatory: ServiceAgreementRecipientModel = Object.assign({}, this.initialServiceAgreementRecipients);\n let serviceAgreementRecipientClient: ServiceAgreementRecipientModel = Object.assign({}, this.initialServiceAgreementRecipients);\n let serviceAgreementRecipientEmployer: ServiceAgreementRecipientModel = Object.assign({}, this.initialServiceAgreementRecipients);\n\n serviceAgreementRecipientAuthorizedSignatory.index = 3;\n serviceAgreementRecipientAuthorizedSignatory.signingOrder = 3;\n serviceAgreementRecipientAuthorizedSignatory.placeholder = 'signature_anchor_3';\n serviceAgreementRecipientAuthorizedSignatory.recipientType = ServiceAgreementRecipients.AuthorizedSignatory;\n serviceAgreementRecipientAuthorizedSignatory.emailBodyInfo = ApexConstants.SA_AUTHORIZED_RECIPIENT_EMAIL_BODY.replace(/ClientName/gi, this.clientName);\n\n serviceAgreementRecipientClient.index = 1;\n serviceAgreementRecipientClient.signingOrder = 1;\n serviceAgreementRecipientClient.placeholder = 'signature_anchor_1';\n serviceAgreementRecipientClient.recipientType = ServiceAgreementRecipients.Client;\n serviceAgreementRecipientClient.name = this.clientName;\n serviceAgreementRecipientClient.email = this.clientEmail;\n serviceAgreementRecipientClient.emailBodyInfo = ApexConstants.SA_CLIENT_RECIPIENT_EMAIL_BODY.replace(/ClientName/gi, this.clientName);\n\n serviceAgreementRecipientEmployer.index = 2;\n serviceAgreementRecipientEmployer.signingOrder = 2;\n serviceAgreementRecipientEmployer.placeholder = 'signature_anchor_2'\n serviceAgreementRecipientEmployer.recipientType = ServiceAgreementRecipients.Employer;\n serviceAgreementRecipientEmployer.name = this.relatedEntityType == RelatedTables.Employer ? this.relatedEntityName : \"\",\n serviceAgreementRecipientEmployer.email = this.relatedEntityType == RelatedTables.Employer ? this.relatedEntityEmailInvoiceTo : \"\";\n serviceAgreementRecipientEmployer.emailBodyInfo = ApexConstants.SA_EMPLOYER_RECIPIENT_EMAIL_BODY.replace(/ClientName/gi, this.clientName);\n serviceAgreementRecipientEmployer.emailBodyInfo = this.relatedEntityType == RelatedTables.Employer ? serviceAgreementRecipientEmployer.emailBodyInfo.replace(/{Name}/gi, this.relatedEntityName)\n : serviceAgreementRecipientEmployer.emailBodyInfo.replace(/{Name}/gi,'');\n \n this.serviceAgreement.recipients = [];\n this.serviceAgreement.recipients.push(serviceAgreementRecipientClient); \n this.serviceAgreement.recipients.push(serviceAgreementRecipientEmployer);\n this.serviceAgreement.recipients.push(serviceAgreementRecipientAuthorizedSignatory);\n }\n\n loadServiceAgreementRecipients() {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('ServiceAgreement','GetServiceAgreementRecipientSelectList').then(response=>{ \n this.serviceAgreementRecipients = response.data;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n showAddExtraRecipientConfirmationPopup() {\n this.addExtraRecipientConfirmation = true;\n }\n\n onCloseAnnatureAuditLogsModal() {\n this.onShowAnnatureAuditLogs = false;\n }\n\n addExtraRecipient() {\n this.uniqueIndexCount ++;\n let extraRecipient: ServiceAgreementRecipientModel = {\n id: 0,\n index: this.uniqueIndexCount,\n signingOrder: 0,\n recipientType: ServiceAgreementRecipients.Other,\n placeholder: \"\",\n name: \"\",\n email: \"\",\n emailBodyInfo: \"\",\n recipientSignatoryId: 0,\n }\n\n this.serviceAgreement.recipients.push(extraRecipient);\n this.updatedRecipientSigningOrder();\n this.addExtraRecipientConfirmation = false;\n } \n\n showCreateServiceAgreementConfirmationPopup() {\n this.showCreateServiceAgreementConfirmation = true;\n }\n\n closeCreateServiceAgreementConfirmationPopup() {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo)){\n this.dirtyValidationServiceAgreementConfirmation = true;\n } \n else{\n this.closeServiceAgreementPopupWindow();\n }\n }\n\n closeServiceAgreementPopupWindow() {\n this.clearServiceAgreementDocuments();\n this.serviceAgreement = Object.assign({}, this.initialServiceAgreement);\n this.showServiceAgreementPopup = false;\n this.$v.serviceAgreement.$reset();\n this.dirtyValidationServiceAgreementConfirmation = false;\n }\n\n createServiceAgreement() {\n return new Promise((resolve,reject) => { \n this.showCreateServiceAgreementConfirmation = false;\n if(this.validateDetails()) {\n this.$store.dispatch('uploadDocuments').then(response => {\n this.$store.dispatch('storeIsBusyValue',true);\n this.serviceAgreement.documentList = this.$store.getters.getDocumentsByIndex(this.serviceAgreement.id);\n apiService.sendPutRequest('ServiceAgreement','ServiceAgreement', this.serviceAgreement).then(response=>{\n if(response.data.isSuccess) { \n this.onShowGrowlNotification('success', response.data.message);\n this.showServiceAgreementPopup = false;\n this.showAuditlogHistory = true;\n this.showAddServiceAgreementButton = false;\n } else {\n this.onShowGrowlNotification('error', response.data.message);\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }).catch(error => {\n console.log(error); // to find error in uploading documents from email app\n this.onShowGrowlNotification('error','Error uploading documents.');\n reject();\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n });\n }\n\n updateServiceAgreement() {\n this.showCreateServiceAgreementConfirmation = false;\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('ServiceAgreement','ServiceAgreement', this.serviceAgreement).then(response=>{\n if(response.data.isSuccess) { \n this.onShowGrowlNotification('success', response.data.message);\n this.showServiceAgreementPopup = false;\n } else {\n this.onShowGrowlNotification('error', response.data.message);\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onDocumentAdded(docs:any) {\n this.isDocumentsReadOnly = true;\n }\n\n onCustomDocumentEvent(type:DataTableActionTypes){\n if(type == DataTableActionTypes.Delete){\n this.onShowGrowlNotification('success',\"Document successfully deleted.\");\n } else if(type == DataTableActionTypes.Save){\n this.onShowGrowlNotification('success',\"Document successfully added.\");\n } else if(type == DataTableActionTypes.Edit){\n this.onShowGrowlNotification('success',\"Document successfully updated.\");\n } \n this.onDocumentChanged();\n }\n\n onDocumentChanged(){\n this.documentsChanged = true;\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo);\n }\n\n isSubmitButtonDisabled(){\n if(this.$v.serviceAgreement.emailSubject.$invalid)\n {\n return true;\n }\n else {\n return this.documentsChanged ? true : false;\n }\n }\n\n validateDetails() {\n let isValid = true;\n let errorMsg = \"\";\n\n var isInvalidDocuments = (this.$refs.dragDropControl as DragAndDropControl).isValidDocumentsList();\n var documentCount = (this.$refs.dragDropControl as DragAndDropControl).getDocumentCount();\n\n if(!isInvalidDocuments)\n {\n errorMsg = 'Invalid Document Types.';\n isValid = false;\n } else if(documentCount == 0) {\n errorMsg = 'Service Agreement Document is required.';\n isValid = false; \n } else if(documentCount > 0 && documentCount != 1) {\n errorMsg = 'Only one Service Agreement Document is required.';\n isValid = false; \n } else {\n this.serviceAgreement.recipients.forEach(recipients => {\n let ref = 'serviceAgreementRef' + recipients.index;\n let result = (this.$refs[ref][0] as ServiceAgreementRecipient).validate();\n if(!result[0]) {\n errorMsg = result[1].toString();\n isValid = false;\n }\n });\n }\n\n if(!isValid) {\n this.onShowGrowlNotification('error', errorMsg);\n }\n return isValid;\n }\n\n updateRecipient(serviceAgreementRecipient: ServiceAgreementRecipientModel){\n let elementIndex = 0;\n if(serviceAgreementRecipient.id == 0) {\n elementIndex = this.serviceAgreement.recipients.findIndex(i => i.index == serviceAgreementRecipient.index);\n } else {\n elementIndex = this.serviceAgreement.recipients.findIndex(i => i.id == serviceAgreementRecipient.id);\n }\n\n if (serviceAgreementRecipient.recipientType == ServiceAgreementRecipients.AuthorizedSignatory) {\n this.filterSignatoryEmail(serviceAgreementRecipient.recipientSignatoryId);\n if (serviceAgreementRecipient.recipientSignatoryId == null && this.serviceAgreement.recipients[elementIndex].recipientSignatoryId == serviceAgreementRecipient.recipientSignatoryId){\n this.serviceAgreement.recipients[elementIndex] = serviceAgreementRecipient;\n }\n else{\n serviceAgreementRecipient.email = this.selectedSignatory.signatoryEmail;\n serviceAgreementRecipient.name = this.selectedSignatory.signatoryName;\n\n var recipients = [];\n recipients = Object.assign([], this.serviceAgreement.recipients);\n this.serviceAgreement.recipients = [];\n recipients[elementIndex] = serviceAgreementRecipient;\n this.$nextTick(() => {\n this.serviceAgreement.recipients = recipients;\n }); \n }\n } else {\n this.serviceAgreement.recipients[elementIndex] = serviceAgreementRecipient;\n }\n }\n \n removeRecipient(serviceAgreementRecipient: ServiceAgreementRecipientModel) {\n let elementIndex = 0;\n if(serviceAgreementRecipient.id == 0) {\n elementIndex = this.serviceAgreement.recipients.findIndex(i => i.index == serviceAgreementRecipient.index);\n } else {\n elementIndex = this.serviceAgreement.recipients.findIndex(i => i.id == serviceAgreementRecipient.id);\n }\n this.serviceAgreement.recipients.splice(elementIndex, 1);\n this.updatedRecipientSigningOrder();\n }\n\n updatedRecipientSigningOrder(){\n this.serviceAgreement.recipients.forEach((recipient, i) => {\n recipient.signingOrder = i + 1;\n });\n } \n\n exemptionsTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[3] = refNo;\n this.topTabDirtyValidationRefNumbers[3] = refNo;\n }\n\n odometerLogTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[2] = refNo;\n this.topTabDirtyValidationRefNumbers[3] = refNo;\n }\n\n budgetTabDirtySet(refNo:number){\n this.dirtyValidationRefNumbers[6] = refNo;\n this.topTabDirtyValidationRefNumbers[3] = refNo;\n }\n\n onIdUpdated(id:number){\n this.novationID = id;\n }\n\n onLeaseIdUpdated(id:number){\n this.leaseID = id;\n }\n\n routerNavigateBack()\n {\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNumbers[0])){\n this.dirtyValidationConfirmation = true;\n }\n else{\n this.navigateBack();\n }\n }\n\n navigateBack(){\n dirtyValidatorService.clearChanges(this.dirtyValidationRefNumbers[0]);\n if(this.novationID > 0 && this.leaseID == 0){\n var params = {id:this.novationID}\n apiService.sendGetRequest('Lease','GetLeaseIdByNovationId',params).then(response=>{ \n this.leaseID = response.data;\n this.$router.push({name:'Edit Lease', params:{leaseID:this.leaseID.toString(),topRouteDisplayName:'leasetypes', routerDisplayName: 'relatedentitytypes'}});\n });\n }\n else {\n this.$router.push({name:'Edit Lease', params:{leaseID:this.leaseID.toString(), topRouteDisplayName:'leasetypes', routerDisplayName: 'relatedentitytypes'}});\n }\n }\n\n onDocumentSaved(){\n this.isReloadNovationDetails += 1;\n this.loadServiceAgreementByNovationId();\n }\n\n onDocumentDeletedWithFileTypeAndId(id, fileType){\n if(fileType == FileTypes.ServiceAgreement){\n this.loadServiceAgreementByNovationId();\n }\n }\n\n onShowGrowlNotification(messageType:string, messageTitle:string){\n this.$notify({\n group: 'growlNotification',\n title: messageTitle,\n type: messageType,\n duration: 5000\n });\n }\n\n clearServiceAgreementDocuments()\n {\n this.$store.dispatch('updateDocuments',[]);\n (this.$refs.dragDropControl as DragAndDropControl).ClearDocumentListWithoutValidation();\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationDetails.vue?vue&type=template&id=d5e8ea78&scoped=true\"\nimport script from \"./NovationDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NovationDetails.vue?vue&type=style&index=0&id=d5e8ea78&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d5e8ea78\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.manufactureYear)+\" \"+_vm._s(_vm.vehicleName)+\" - Novation Details\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go to vehicle details\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"Client Novation\"}},[_c('Tab',{attrs:{\"name\":\"Ledger\",\"selected\":true,\"index\":0,\"disabled\":_vm.novationId==0,\"routerDisplayName\":\"ledger\"}},[_c('Ledger',{attrs:{\"relatedTable\":_vm.vehicleRelatedTable,\"relatedID\":_vm.vehicleId,\"novationId\":_vm.novationId}})],1),_c('Tab',{attrs:{\"name\":\"Reports\",\"index\":1,\"routerDisplayName\":\"report\"}},[_c('div',{staticClass:\"pt-3\"},[_c('NovationReports',{attrs:{\"novationID\":_vm.novationId,\"vehicleId\":_vm.vehicleId}})],1)])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\r\nimport Tab from '@/shared/components/tabs/Tab.vue';\r\nimport { validationMixin } from 'vuelidate';\r\nimport Ledger from '@/components/admin/finance/Ledger.vue';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport NovationReports from '@/components/admin/novationManagement/NovationReports.vue'\r\nimport apiService from \"@/shared/services/apiService\";\r\n\r\n@Component(\r\n {\r\n components: {\r\n Tab,\r\n Tabs,\r\n Ledger,\r\n NovationReports\r\n },\r\n mixins:[validationMixin]\r\n }\r\n)\r\nexport default class NovationDetails extends Vue{\r\n dirtyValidationRefNumbers:number[] =[0,0];\r\n vehicleId: number;\r\n novationId: number;\r\n vehicleRelatedTable: RelatedTables = RelatedTables.Vehicle;\r\n headerTitleText:string = \"Novation Details\";\r\n selectedTabRouteName: string = \"\";\r\n vehicleName: string = \"\";\r\n manufactureYear: any = \"\";\r\n\r\n created()\r\n {\r\n this.vehicleId = +this.$route.params.vehicleID ? +this.$route.params.vehicleID : 0;\r\n this.novationId = +this.$route.params.novationID ? +this.$route.params.novationID : 0;\r\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\r\n if(this.vehicleId > 0){\r\n this.loadVehicleDetailsByVehicleID();\r\n }\r\n }\r\n\r\n routerNavigateBack(){\r\n this.$router.push({name:'Main Vehicle UI',params:{vehicleID:this.vehicleId.toString()}});\r\n }\r\n\r\n loadVehicleDetailsByVehicleID() {\r\n var params = { id: this.vehicleId };\r\n apiService.sendGetRequest(\"Vehicle\", \"Vehicle\", params).then(response => {\r\n this.manufactureYear = response.data.item2.year;\r\n this.vehicleName = \" \" + response.data.item2.make + \" \" + response.data.item2.model + \" \" + response.data.item2.variant;\r\n });\r\n }\r\n\r\n \r\n}\r\n","export enum FrequencyTypes\r\n{\r\n Daily = 1,\r\n Weekly = 2,\r\n Fortnightly = 3,\r\n Monthly = 4,\r\n Quarterly = 5,\r\n Annually = 6\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationDetails.vue?vue&type=template&id=83ff063e&scoped=true\"\nimport script from \"./NovationDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NovationDetails.vue?vue&type=style&index=0&id=83ff063e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"83ff063e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search px-0\",attrs:{\"sm\":\"2\",\"md\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"showInactiveCheckbox\"},on:{\"input\":_vm.onShowInactiveChanged},model:{value:(_vm.showInactive),callback:function ($$v) {_vm.showInactive=$$v},expression:\"showInactive\"}},[_c('span',[_vm._v(\"Show Inactive Schedules\")])])],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"id\":\"addScheduleBtn\"},on:{\"click\":function($event){return _vm.navigateToAddSchedule()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Schedule\\n \")])],1)],1),_c('DataTable',{ref:\"scheduleTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"selectable\":true,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No schedule records to display.\",\"customTemplates\":_vm.customTemplateList},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Schedules\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.isActive && _vm.item.type ==_vm.leasePaymentScheduleType)?_c('b-btn',{staticClass:\"cursor-pointer action-btn select-schedule\",attrs:{\"title\":\"Download upcoming lease payments list\"},on:{\"click\":_vm.onDownloadUpcomingLeasePaymentsReport}},[_c('i',{staticClass:\"fas fa-file-download cursor-pointer grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum ScheduleTypes\r\n{\r\n LeasePayments = 1,\r\n AdministrationFeeCharge = 2,\r\n AdministrationFeeInvoice = 3,\r\n GSTCalculationPeroid = 4,\r\n RelatedEntityInvoice = 5,\r\n RelatedEntityAdministrationFeeCharge = 6,\r\n RelatedEntityAdministrationFeeInvoice= 7\r\n}","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport apiService from '@/shared/services/apiService';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport {ScheduleTypes} from '@/shared/enums/scheduleTypes.enum';\n\n@Component\nexport default class ScheduleListActionButtons extends Vue{\n @Prop() item:any;\n leasePaymentScheduleType:ScheduleTypes = ScheduleTypes.LeasePayments;\n \n onDownloadUpcomingLeasePaymentsReport(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"UpcomingLeasePaymentsReport\",{id: this.item.id}).then(response => \n {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".pdf\",true);\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduleListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduleListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ScheduleListActionButtons.vue?vue&type=template&id=daed2d28&scoped=true\"\nimport script from \"./ScheduleListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./ScheduleListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ScheduleListActionButtons.vue?vue&type=style&index=0&id=daed2d28&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"daed2d28\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { Component, Vue } from 'vue-property-decorator';\n import DataTable from '@/shared/components/dataTable/DataTable.vue';\n import FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\n import {ScheduleTableFilterParams} from '@/models/tableFilterParams.model';\n import {TableTemplate} from '@/models/tableCustomTemplate.model';\n import apiService from '@/shared/services/apiService'\n import AppSettings from '@/app.config'\n import {FrequencyTypes} from '@/shared/enums/frequencyTypes.enum';\n import {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n import moment from 'moment'\n import ScheduleListActionButtons from './ScheduleListActionButtons.vue';\n import Filtrations from '@/shared/filtrations';\n\n @Component\n (\n {\n components: {\n DataTable,\n FilterTextInput\n }\n }\n )\n export default class ScheduleList extends Vue{\n items:any = [];\n showEmptyBanner:boolean = true;\n fields = [\n {key: 'name',sortable:'true',class:'width_20'},\n {key: 'typeDisplayText',label:'Type', sortable:'true',class:'width_10'},\n {key: 'nextStartDate', label:'Next Period', sortable:'true',class:'width_10',\n formatter: (value, key, item) => {\n return this.getNextPeriodText(item.nextStartDate, item.frequency)\n }\n },\n {key: 'nextDueDate',label:'Next Run Date', sortable:'true',class:'width_10',\n formatter: (value, key, item) => {\n return moment(item.nextDueDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'isActive',label:'Status', sortable:'true',class:'width_10',\n formatter:(value,key,item) => {\n return item.isActive ? 'Active' : 'Inactive'\n }\n },\n {key: 'actions',label:\"\",class:'text-center width_5'} \n ];\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"name\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showInactive:boolean = false;\n resetButtonDisabled:boolean = true;\n customTemplateList:Array = [\n {slot:\"actions\",customTemplate:ScheduleListActionButtons}\n ]\n\n mounted(){\n if(Object.keys(this.$route.query).length > 0) {\n this.validateAndAssignQueryParams();\n }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0,ShowInactive:this.showInactive});\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.onViewSchedule(data);\n }\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.scheduleTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.scheduleTable as DataTable).resetLastCustomAction();\n }\n }\n\n onViewSchedule(data:any){\n var queryData = {};\n if (this.filter != \"\") {\n queryData[Filtrations.SCHEDULE_FILTER] = this.filter;\n }\n if(this.showInactive){\n queryData[Filtrations.SCHEDULE_SHOW_INACTIVE] = this.showInactive;\n }\n this.$router.push({ name: 'Edit Schedule', params: { id: data.id }, query: queryData}); \n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0,ShowInactive:this.showInactive});\n }\n\n onSortingChange(ctx:any){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0,ShowInactive:this.showInactive});\n }\n\n onShowInactiveChanged(){\n this.updateURL();\n (this.$refs.scheduleTable as DataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0,ShowInactive:this.showInactive});\n }\n\n refreshGrid(tableFilterParams:ScheduleTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Utility\",\"ScheduleList\",tableFilterParams).then(response => {\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n resetFilters(){\n this.filter = '';\n this.resetTable();\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.showInactive = false ;\n this.resetButtonDisabled = true;\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0,ShowInactive:this.showInactive}); \n }\n\n navigateToAddSchedule(){\n var rawLocation = {name:'Add Schedule'}\n this.$router.push(rawLocation);\n }\n\n refreshAndReset(){\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0,ShowInactive:this.showInactive});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n\n filterGrid(filterText:string){\n this.filter = filterText;\n this.resetButtonDisabled = false;\n this.updateURL();\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"name\",SortDesc:false,SearchByString:filterText,Status:0,RelatedId:0,ShowInactive:this.showInactive});\n }\n\n resetTable(){\n this.sortBy = \"name\";\n (this.$refs.scheduleTable as DataTable).reset();\n }\n\n getNextPeriodText(startDate, frequencyType){\n var frequency = 0;\n var date = new Date(startDate);\n if(frequencyType == FrequencyTypes.Weekly){\n frequency = 6;\n }\n if(frequencyType == FrequencyTypes.Fortnightly){\n frequency = 13;\n }\n if(frequencyType == FrequencyTypes.Monthly){\n return moment(startDate).format(\"DD MMM YYYY\") + \" - \" + moment(date).add(1, 'months').add(-1,'days').format(\"DD MMM YYYY\")\n }\n if(frequencyType == FrequencyTypes.Quarterly){\n return moment(startDate).format(\"DD MMM YYYY\") + \" - \" + moment(date).add(3, 'months').add(-1,'days').format(\"DD MMM YYYY\")\n }\n return moment(startDate).format(\"DD MMM YYYY\") + \" - \" +moment(date).add(frequency, 'days').format(\"DD MMM YYYY\")\n }\n\n validateAndAssignQueryParams(){\n let showInactive = this.$route.query[Filtrations.SCHEDULE_SHOW_INACTIVE];\n let scheduleFilter = this.$route.query[Filtrations.SCHEDULE_FILTER];\n this.filter = scheduleFilter ? String(scheduleFilter) : \"\";\n this.showInactive = showInactive ? true : false;\n if(this.filter != \"\" || showInactive) {\n this.resetButtonDisabled = false;\n };\n this.$nextTick(()=>{\n (this.$refs.filterTextInput as FilterTextInput).filter = scheduleFilter ? String(scheduleFilter) : \"\"\n });\n }\n\n updateURL(){\n let qp = new URLSearchParams();\n if(this.filter != \"\") qp.set(Filtrations.SCHEDULE_FILTER, this.filter);\n if(this.showInactive) qp.set(Filtrations.SCHEDULE_SHOW_INACTIVE, String(this.showInactive));\n history.replaceState(null, null, \"?\"+qp.toString());\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduleList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduleList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ScheduleList.vue?vue&type=template&id=0df487fe\"\nimport script from \"./ScheduleList.vue?vue&type=script&lang=ts\"\nexport * from \"./ScheduleList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ScheduleList.vue?vue&type=style&index=0&id=0df487fe&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditSheduleConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditSheduleConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditSheduleConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mt-3\"},[_c('b-container',[_c('b-row',{attrs:{\"align-h\":\"center\"}},[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"4\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('strong',[_vm._v(_vm._s(_vm.actionType)+\" Schedule\")]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Schedules\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.schedule.name.$error },attrs:{\"label\":\"Name\",\"label-for\":\"name\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.schedule.name.length == 0) },attrs:{\"id\":\"name\",\"type\":\"text\",\"placeholder\":\"Enter Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.schedule.name.$touch()}},model:{value:(_vm.schedule.name),callback:function ($$v) {_vm.$set(_vm.schedule, \"name\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"schedule.name\"}}),(_vm.$v.schedule.name.$dirty && !_vm.$v.schedule.name.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Name is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Type\",\"label-for\":\"typeSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.schedule.type == 0) },attrs:{\"id\":\"typeSelect\",\"plain\":true,\"options\":_vm.scheduleTypes,\"disabled\":_vm.schedule.lastExecutedDate != null && _vm.schedule.lastExecutedDate != '',\"required\":\"\"},on:{\"change\":function($event){return _vm.onTypeChanged()}},model:{value:(_vm.schedule.type),callback:function ($$v) {_vm.$set(_vm.schedule, \"type\", $$v)},expression:\"schedule.type\"}},[(_vm.scheduleId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.schedule.type.$dirty && !_vm.$v.schedule.type.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Initial Start Date\",\"label-for\":\"startdDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.schedule.startDate || _vm.schedule.startDate.length == 0) },attrs:{\"use-utc\":true,\"calendar-button\":true,\"clear-button\":_vm.schedule.lastExecutedDate == null || _vm.schedule.lastExecutedDate == '',\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"id\":'startDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Start Date',\"disabled\":_vm.schedule.lastExecutedDate != null && _vm.schedule.lastExecutedDate != ''},on:{\"input\":function($event){_vm.$v.schedule.startDate.$touch();_vm.changeNextRunDate();}},model:{value:(_vm.schedule.startDate),callback:function ($$v) {_vm.$set(_vm.schedule, \"startDate\", $$v)},expression:\"schedule.startDate\"}}),(_vm.$v.schedule.startDate.$dirty && !_vm.$v.schedule.startDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Start Date is required.\\n \")]):_vm._e(),(_vm.$v.schedule.startDate.$dirty && !_vm.$v.schedule.startDate.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Start Date is invalid for the selected frequency.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Frequency\",\"label-for\":\"frequencySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.schedule.frequency == 0) },attrs:{\"id\":\"frequencySelect\",\"plain\":true,\"options\":_vm.filteredFrequencyTypes,\"disabled\":_vm.schedule.lastExecutedDate != null && _vm.schedule.lastExecutedDate != '',\"required\":\"\"},on:{\"change\":function($event){return _vm.$v.schedule.frequency.$touch();}},model:{value:(_vm.schedule.frequency),callback:function ($$v) {_vm.$set(_vm.schedule, \"frequency\", $$v)},expression:\"schedule.frequency\"}},[(_vm.scheduleId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.schedule.frequency.$dirty && !_vm.$v.schedule.frequency.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Frequency is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.schedule.dueDayOffSet.$error },attrs:{\"label\":\"Due Day Offset\",\"label-for\":\"dueDayOffset\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.schedule.dueDayOffSet.length == 0) },attrs:{\"id\":\"dueDayOffset\",\"type\":\"text\",\"placeholder\":\"Enter Due Day Offset\",\"required\":\"\"},on:{\"input\":function($event){_vm.$v.schedule.dueDayOffSet.$touch();_vm.changeNextRunDate();}},model:{value:(_vm.schedule.dueDayOffSet),callback:function ($$v) {_vm.$set(_vm.schedule, \"dueDayOffSet\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"schedule.dueDayOffSet\"}}),(_vm.$v.schedule.dueDayOffSet.$dirty && !_vm.$v.schedule.dueDayOffSet.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Due day offset is required.\\n \")]):_vm._e(),(_vm.$v.schedule.dueDayOffSet.$dirty && !_vm.$v.schedule.dueDayOffSet.isInteger)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Due day offset is invalid.\\n \")]):_vm._e(),(_vm.$v.schedule.dueDayOffSet.$dirty && _vm.$v.schedule.dueDayOffSet.isInteger && !_vm.$v.schedule.dueDayOffSet.isValid)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Due day offset is invalid for the selected type/frequency.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Next Run Date\",\"label-for\":\"nextduedate\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"id\":'nextduedate',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"disabled\":true},model:{value:(_vm.schedule.nextDueDate),callback:function ($$v) {_vm.$set(_vm.schedule, \"nextDueDate\", $$v)},expression:\"schedule.nextDueDate\"}})],1)],1)],1),(_vm.scheduleId > 0)?_c('b-row',[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"6\"}},[_c('b-form-group',{staticClass:\"text-nowrap\",attrs:{\"label\":\"Status\",\"label-for\":\"active\"}},[_c('div',{staticClass:\"custom-control custom-switch\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.schedule.isActive),expression:\"schedule.isActive\"}],staticClass:\"custom-control-input\",attrs:{\"type\":\"checkbox\",\"id\":\"activeSwitch\"},domProps:{\"checked\":Array.isArray(_vm.schedule.isActive)?_vm._i(_vm.schedule.isActive,null)>-1:(_vm.schedule.isActive)},on:{\"change\":function($event){var $$a=_vm.schedule.isActive,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.schedule, \"isActive\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.schedule, \"isActive\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.schedule, \"isActive\", $$c)}}}}),_c('label',{staticClass:\"custom-control-label\",attrs:{\"for\":\"activeSwitch\"}},[_vm._v(_vm._s(_vm.schedule.isActive ? \"Active\" : \"Inactive\"))])])])],1)],1):_vm._e(),(_vm.scheduleId>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.schedule.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.schedule.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.schedule.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.schedule.lastUpdatedDate))+\")\")])]):_vm._e(),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.schedule.$invalid) || !_vm.isModelDirty()}},[_vm._v(\" \"+_vm._s(_vm.buttonType))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue,Watch } from 'vue-property-decorator';\r\nimport {Schedule} from '@/models/schedule.model'\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required, minValue} from 'vuelidate/lib/validators'\r\nimport apiService from '@/shared/services/apiService'\r\nimport { warn } from 'vue-class-component/lib/util';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport moment from 'moment';\r\nimport { FrequencyTypes } from '@/shared/enums/frequencyTypes.enum';\r\nimport { ScheduleTypes } from '@/shared/enums/scheduleTypes.enum';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport Filtrations from '@/shared/filtrations';\r\n\r\n\r\n@Component({\r\n components: {\r\n Modal\r\n },\r\n mixins:[validationMixin],\r\n validations:{\r\n schedule:\r\n {\r\n name:{\r\n required\r\n },\r\n type:\r\n {\r\n required\r\n },\r\n startDate:\r\n {\r\n required,\r\n isValid: (value,vm) => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '' || vm.frequency == 0) \r\n {\r\n return true\r\n }\r\n else if(vm.frequency == FrequencyTypes.Monthly && moment(value).date() > 28)\r\n {\r\n return false\r\n }\r\n else\r\n {\r\n return true\r\n }\r\n }\r\n },\r\n frequency:\r\n {\r\n required,\r\n minValue:minValue(1)\r\n },\r\n dueDayOffSet:\r\n {\r\n required,\r\n isInteger : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') \r\n {\r\n return true\r\n }\r\n return /^-?[0-9]\\d*$/.test(value) \r\n },\r\n isValid: (value,vm) => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') \r\n {\r\n return true\r\n }\r\n else if(vm.frequency == FrequencyTypes.Daily)\r\n {\r\n if(vm.type == ScheduleTypes.RelatedEntityInvoice){\r\n if(value > 0 || value < -6){\r\n return false;\r\n }\r\n }\r\n else if(vm.type == ScheduleTypes.LeasePayments){\r\n if (value > 0 || value < -7)\r\n return false;\r\n }\r\n else if(Math.abs(value) > 6){\r\n return false;\r\n }\r\n }\r\n else if(vm.frequency == FrequencyTypes.Weekly && Math.abs(value) > 6)\r\n {\r\n return false;\r\n }\r\n else if(vm.frequency == FrequencyTypes.Fortnightly && Math.abs(value) > 13)\r\n {\r\n return false;\r\n }\r\n else if(vm.frequency == FrequencyTypes.Monthly && Math.abs(value) > 27)\r\n {\r\n return false;\r\n }\r\n else if(vm.frequency == FrequencyTypes.Quarterly && Math.abs(value) > 60)\r\n {\r\n return false;\r\n }\r\n return true;\r\n }\r\n }\r\n }\r\n }\r\n})\r\nexport default class AddEditSchedule extends Vue{\r\n \r\n schedule:Schedule = {id:0,\r\n name:\"\",\r\n type:0,\r\n startDate:\"\",\r\n nextDueDate:\"\",\r\n nextStartDate:\"\",\r\n frequency:0,\r\n dueDayOffSet:0,\r\n isActive:true,\r\n lastExecutedDate:\"\",\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdateByName:\"\",\r\n lastUpdatedDate:new Date()};\r\n dirtyValidatorRefNo:number = 0;\r\n dirtyValidationConfirmation:boolean = false;\r\n frequencyTypes:any = [];\r\n scheduleTypes:any = [];\r\n filteredFrequencyTypes:any = [];\r\n scheduleId:number = 0;\r\n actionType:string = \"\";\r\n buttonType:string = \"\";\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n\r\n changeNextRunDate()\r\n {\r\n if(this.schedule.lastExecutedDate == null || this.schedule.lastExecutedDate == '')\r\n {\r\n this.schedule.nextStartDate = this.schedule.startDate;\r\n }\r\n if(!this.$v.schedule.startDate.$invalid && !this.$v.schedule.dueDayOffSet.$invalid)\r\n {\r\n this.schedule.nextDueDate = moment(this.schedule.nextStartDate).add(this.schedule.dueDayOffSet,'days').toDate();\r\n }else \r\n {\r\n this.schedule.nextDueDate = \"\";\r\n }\r\n }\r\n\r\n created(){\r\n this.scheduleId = this.$route.params.id?+this.$route.params.id: 0;\r\n if(+this.scheduleId>0){\r\n this.actionType = \"Edit\"\r\n this.buttonType = \"Update\"\r\n this.loadScheduleDetails();\r\n }\r\n else{\r\n this.actionType = \"Add\"\r\n this.buttonType = \"Add\"\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.schedule);\r\n }\r\n this.loadLookupValues();\r\n }\r\n\r\n loadLookupValues()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetScheduleLookupValues().then(data => \r\n {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.scheduleTypes = data.scheduleTypes.sort((a, b) => a.text < b.text ? -1 : (a.text > b.text ? 1 : 0));\r\n this.frequencyTypes = data.scheduleFrequencyTypes;\r\n this.filteredFrequencyTypes = data.scheduleFrequencyTypes;\r\n });\r\n }\r\n\r\n loadScheduleDetails(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {id:this.scheduleId}\r\n apiService.sendGetRequest('Utility','Schedule',params).then(response=>{\r\n if(response.data){\r\n this.schedule = response.data;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$nextTick(()=> {\r\n /*this is because changeNextRunDate() method is going to change the original instance initial model \r\n has to be set after the instance get updated.*/\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidatorRefNo,this.schedule);\r\n });\r\n });\r\n }\r\n\r\n onSubmit(){\r\n if(+this.scheduleId>0){\r\n this.updateExistingSchedule();\r\n }\r\n else{\r\n this.addNewSchedule();\r\n }\r\n }\r\n addNewSchedule(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPutRequest('Utility','Schedule',this.schedule).then(response=>{\r\n \r\n if(response.data.isSuccess){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: response.data.isWarning? 'warn' : 'success',\r\n duration: response.data.isWarning? 10000 : 5000\r\n });\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$router.back();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n }\r\n updateExistingSchedule(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest('Utility','Schedule',this.schedule).then(response=>{\r\n \r\n if(response.data.isSuccess){\r\n \r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: response.data.isWarning? 'warn' : 'success',\r\n duration: response.data.isWarning? 10000 : 5000\r\n });\r\n this.schedule.concurrencyKey = response.data.concurrencyKey;\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$router.back();\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false); \r\n });\r\n }\r\n\r\n onCancel(){\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n else{\r\n this.navigateBack();\r\n }\r\n }\r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n navigateBack(){\r\n var queryData = {};\r\n if(Object.keys(this.$route.query).length > 0){\r\n let scheduleFilter = this.$route.query[Filtrations.SCHEDULE_FILTER];\r\n let scheduleShowInactive = this.$route.query[Filtrations.SCHEDULE_SHOW_INACTIVE] ? this.$route.query[Filtrations.SCHEDULE_SHOW_INACTIVE] : false;\r\n if (scheduleFilter) {\r\n queryData[Filtrations.SCHEDULE_FILTER] = scheduleFilter;\r\n }\r\n if(scheduleShowInactive){\r\n queryData[Filtrations.SCHEDULE_SHOW_INACTIVE] = scheduleShowInactive;\r\n }\r\n }\r\n this.$router.push({name:'Schedules', query: queryData });\r\n }\r\n routerNavigateBack()\r\n {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n else{\r\n this.navigateBack();\r\n }\r\n \r\n }\r\n\r\n onTypeChanged(){\r\n this.schedule.frequency = 0;\r\n switch(this.schedule.type){\r\n case ScheduleTypes.AdministrationFeeInvoice:\r\n case ScheduleTypes.RelatedEntityAdministrationFeeInvoice:\r\n var validFrequencyTypes = [FrequencyTypes.Weekly, \r\n FrequencyTypes.Fortnightly,\r\n FrequencyTypes.Monthly]; \r\n this.filteredFrequencyTypes = this.frequencyTypes.\r\n filter(obj => validFrequencyTypes.includes(obj.value));\r\n break;\r\n case ScheduleTypes.LeasePayments:\r\n case ScheduleTypes.AdministrationFeeCharge:\r\n case ScheduleTypes.RelatedEntityInvoice:\r\n case ScheduleTypes.RelatedEntityAdministrationFeeCharge:\r\n this.filteredFrequencyTypes = this.frequencyTypes.filter(obj => obj.value == FrequencyTypes.Daily);\r\n break;\r\n case ScheduleTypes.GSTCalculationPeroid:\r\n var validFrequencyTypes = [FrequencyTypes.Monthly, FrequencyTypes.Quarterly]\r\n this.filteredFrequencyTypes = this.frequencyTypes\r\n .filter(obj => validFrequencyTypes.includes(obj.value));\r\n break;\r\n default:\r\n this.filteredFrequencyTypes = this.frequencyTypes;\r\n break;\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditSchedule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditSchedule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditSchedule.vue?vue&type=template&id=eea07b7e&scoped=true\"\nimport script from \"./AddEditSchedule.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditSchedule.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eea07b7e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n Generate Payment File \\n \")]),_c('Tabs',{attrs:{\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":\"EFT Details\",\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers}},[_c('Tab',{attrs:{\"name\":\"Generate\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"generate\"}},[_c('GenerateEFT')],1),_c('Tab',{attrs:{\"name\":\"History\",\"index\":1,\"routerDisplayName\":\"history\"}},[_c('EFTHistory')],1),_c('b-row',{staticClass:\"float-right mr-1\",attrs:{\"slot\":\"tabs-buttons\"},slot:\"tabs-buttons\"},[_c('b-button',{staticClass:\"pull-right\",attrs:{\"id\":\"createNewPaymenteBtn\",\"title\":\"Create New Payment\"},on:{\"click\":_vm.navigateToPayMoney}},[_vm._v(\"\\n Create New Payment\\n \")])],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showWarningMessage)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showWarningMessage\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Warning \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_c('span',{staticStyle:{\"white-space\":\"pre-line\"}},[_vm._v(_vm._s(_vm.warningMessage))])])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"warning_AcknowledgedButton\"},on:{\"click\":_vm.onAcknowledgeWarning}},[_vm._v(\"\\n I Acknowledge\\n \")])],1)]):_vm._e(),(_vm.generateBankFileConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"generateBankFileConfId\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to generate bank file using selected transactions and bank account?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"generateBankFileConfId_CancelButton\"},on:{\"click\":function($event){return _vm.closeBankAccountSelectConfirmation()}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"generateBankFileConfId_OkButton\"},on:{\"click\":function($event){return _vm.onGenerateBankFile()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showBankBalanceExceedingWarningDialog)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"generateBankFileConfId\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Warning\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n The total amount for the selected transactions exceeds the current bank balance. Continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"generateBankFileConfId_CancelButton\"},on:{\"click\":function($event){return _vm.closeBankBalanceExceedingWarning()}}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"generateBankFileConfId_OkButton\"},on:{\"click\":function($event){return _vm.onContinue()}}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showSelectBankAccountModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectBankAccountModalId\",\"maxWidth\":\"980px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select From Bank Account\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":function($event){_vm.showSelectBankAccountModal = false}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('BankAccounts',{attrs:{\"relatedID\":_vm.companyID,\"relatedTable\":_vm.relatedTable,\"filterBankAccountType\":_vm.leaseTransactionAccountType,\"bankRequired\":false,\"modalMode\":true},on:{\"onSelectBankAccount\":_vm.onBankAccountSelect}})],1)]):_vm._e(),(_vm.showInsufficientBalanceModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"insufficientBalanceModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Alert\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Ledger balance is not sufficient.\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"insufficientBalanceModal_OkButton\"},on:{\"click\":function($event){_vm.showInsufficientBalanceModal = false}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showClientMotorVehiclesModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ClientMotorVehiclesModal\",\"minHeight\":\"10rem\",\"minWidth\":\"40rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Motor Vehicles \\n \"),_c('span',[_vm._v(\"- \\n \"),_c('span',{staticClass:\"clientNameTxt\",attrs:{\"title\":\"View Client Details\"},on:{\"click\":_vm.navigateToClient}},[_vm._v(\"\\n \"+_vm._s(_vm.selectedHeaderData.clientShortName)+\"\\n \")])])]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ClientMotorVehiclesModalCancelBtn\"},on:{\"click\":_vm.onCloseMotorVehiclesModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ClientMotorVehicles',{attrs:{\"relatedID\":_vm.selectedHeaderData.clientId,\"relatedTable\":_vm.clientRelatedTable,\"navigateToNewTab\":_vm.navigateToNewTab}})],1)]):_vm._e(),_c('b-row',{staticClass:\"top-button-row mb-4\"},[_c('div',{staticClass:\"d-inline-flex payment-method-rb\"},[_c('b-form-radio',{staticClass:\"mr-1\",attrs:{\"name\":\"payment-type-radios\",\"value\":_vm.eftPaymentMethod},on:{\"input\":_vm.onPaymentTypeChanged},model:{value:(_vm.selectedPaymentMethod),callback:function ($$v) {_vm.selectedPaymentMethod=$$v},expression:\"selectedPaymentMethod\"}},[_vm._v(\"Electronic Funds Transfer\")]),_c('b-badge',{staticClass:\"mr-3\",attrs:{\"pill\":\"\",\"variant\":\"danger\"}},[_vm._v(_vm._s(_vm.getTransactionMethodCount(_vm.eftPaymentMethod)))]),_c('b-form-radio',{staticClass:\"mr-1 ml-3\",attrs:{\"name\":\"payment-type-radios\",\"value\":_vm.bpayPaymentMethod},on:{\"input\":_vm.onPaymentTypeChanged},model:{value:(_vm.selectedPaymentMethod),callback:function ($$v) {_vm.selectedPaymentMethod=$$v},expression:\"selectedPaymentMethod\"}},[_vm._v(\"BPay\")]),_c('b-badge',{staticClass:\"mr-3\",attrs:{\"pill\":\"\",\"variant\":\"danger\"}},[_vm._v(_vm._s(_vm.getTransactionMethodCount(_vm.bpayPaymentMethod)))])],1)]),_c('b-row',{staticClass:\"top-button-row mb-3\"},[_c('div',{staticClass:\"d-inline-flex\"},[_c('b-form-radio',{staticClass:\"mr-1\",attrs:{\"name\":\"transaction-type-radios\",\"value\":0},on:{\"input\":_vm.onTransactionTypeChanged},model:{value:(_vm.selectedTransactionType),callback:function ($$v) {_vm.selectedTransactionType=$$v},expression:\"selectedTransactionType\"}},[_vm._v(\"All\")]),_c('b-badge',{staticClass:\"mr-3\",attrs:{\"pill\":\"\",\"variant\":\"danger\"}},[_vm._v(_vm._s(_vm.getTransactionTypeCount(0)))]),_c('b-form-radio',{staticClass:\"mr-1\",attrs:{\"name\":\"transaction-type-radios\",\"value\":_vm.leasePaymentTransactionType},on:{\"input\":_vm.onTransactionTypeChanged},model:{value:(_vm.selectedTransactionType),callback:function ($$v) {_vm.selectedTransactionType=$$v},expression:\"selectedTransactionType\"}},[_vm._v(\"Lease Payment(s)\")]),_c('b-badge',{staticClass:\"mr-3\",attrs:{\"pill\":\"\",\"variant\":\"danger\"}},[_vm._v(_vm._s(_vm.getTransactionTypeCount(_vm.leasePaymentTransactionType)))]),_c('b-form-radio',{staticClass:\"mr-1\",attrs:{\"name\":\"transaction-type-radios\",\"value\":_vm.manualPaymentTransactionType},on:{\"input\":_vm.onTransactionTypeChanged},model:{value:(_vm.selectedTransactionType),callback:function ($$v) {_vm.selectedTransactionType=$$v},expression:\"selectedTransactionType\"}},[_vm._v(\"Manual Payment(s)\")]),_c('b-badge',{staticClass:\"mr-3\",attrs:{\"pill\":\"\",\"variant\":\"danger\"}},[_vm._v(_vm._s(_vm.getTransactionTypeCount(_vm.manualPaymentTransactionType)))]),(_vm.selectedPaymentMethod == _vm.eftPaymentMethod)?_c('b-form-radio',{staticClass:\"mr-1\",attrs:{\"name\":\"transaction-type-radios\",\"value\":_vm.adminFeeTransactionType},on:{\"input\":_vm.onTransactionTypeChanged},model:{value:(_vm.selectedTransactionType),callback:function ($$v) {_vm.selectedTransactionType=$$v},expression:\"selectedTransactionType\"}},[_vm._v(\"Administration Fee Transaction(s)\")]):_vm._e(),(_vm.selectedPaymentMethod == _vm.eftPaymentMethod)?_c('b-badge',{attrs:{\"pill\":\"\",\"variant\":\"danger\"}},[_vm._v(_vm._s(_vm.getTransactionTypeCount(_vm.adminFeeTransactionType)))]):_vm._e()],1)]),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"payeeRefFilterText\",staticClass:\"responsive-search\",attrs:{\"idAppend\":\"payeeAndRef\",\"placeHolder\":\"Payee or Reference\"},on:{\"onOkayToFilter\":_vm.filterGridByPayeeAndRef}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"amountFilterText\",staticClass:\"responsive-search\",attrs:{\"idAppend\":\"amount\",\"minCharCountToFilter\":\"0\",\"placeHolder\":\"Amount\",\"iconClass\":\"fas fa-dollar-sign\"},on:{\"onOkayToFilter\":_vm.filterGridByAmount}})],1),_c('b-col',{staticClass:\"pb-2 pl-0\",attrs:{\"sm\":\"12\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"12\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),(_vm.items.length>0)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('div',[_c('b-form-group',[_c('b-form-checkbox',{staticClass:\"ml-1 mt-2\",on:{\"change\":_vm.onClickAutoSelect},model:{value:(_vm.isAutoSelectClicked),callback:function ($$v) {_vm.isAutoSelectClicked=$$v},expression:\"isAutoSelectClicked\"}},[_c('span',{staticClass:\"text-nowrap\"},[_vm._v(\"\\n Auto Select\\n \"),_c('i',{staticClass:\"fas fa-info-circle text-info cursor-pointer pl-1\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Please note that this operation may take some time, as the system needs to go through all transactions.\"}})])])],1)],1)]),_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"1\",\"cols\":\"12\"}},[_c('div',[_c('b-form-group',{staticClass:\"ml-1 mt-2 text-nowrap\",attrs:{\"label\":\"\",\"label-for\":\"expandAll\"}},[_c('div',{staticClass:\"custom-control custom-switch\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.expandAll),expression:\"expandAll\"}],staticClass:\"custom-control-input\",attrs:{\"type\":\"checkbox\",\"id\":\"activeSwitch\"},domProps:{\"checked\":Array.isArray(_vm.expandAll)?_vm._i(_vm.expandAll,null)>-1:(_vm.expandAll)},on:{\"change\":[function($event){var $$a=_vm.expandAll,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.expandAll=$$a.concat([$$v]))}else{$$i>-1&&(_vm.expandAll=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.expandAll=$$c}},_vm.onExpandOrCollapseAll]}}),_c('label',{staticClass:\"custom-control-label\",attrs:{\"for\":\"activeSwitch\"}},[_vm._v(_vm._s(_vm.expandAll ? \"Collapse All\" : \"Expand All\"))])])])],1)]),_c('b-col',{staticClass:\"pr-0\",attrs:{\"lg\":\"9\",\"sm\":\"12\",\"md\":\"6\"}},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"id\":\"generateBankFileBtn\",\"disabled\":_vm.checkedCount <= 0},on:{\"click\":_vm.onGenerateBankFileClick}},[_vm._v(\"\\n Generate Bank File \"+_vm._s(_vm.checkedCount>0? '(' : '')+\" \"),(_vm.checkedCount>0)?_c('ApexCurrency',{attrs:{\"value\":_vm.checkedAmount}}):_vm._e(),_vm._v(_vm._s(_vm.checkedCount>0? ')' : '')+\"\\n \")],1)],1)],1):_vm._e(),(_vm.items.length>0)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\",attrs:{\"lg\":\"12\",\"sm\":\"12\",\"md\":\"12\"}},[(_vm.isOnlyBankAccount)?_c('p',{staticClass:\"mb-3 pull-right bankBalanceText\"},[_c('b',[_c('ApexCurrency',{attrs:{\"value\":_vm.latestAvailableBalance}}),_vm._v(\" available as at \"+_vm._s(_vm.latestBankFileDate))],1)]):_vm._e()])],1):_vm._e(),(_vm.getAllChcekedTransactionIds().length > 0)?_c('b-row',{staticClass:\"top-button-row pb-2\"},[_c('span',[_c('b',[_vm._v(\"Selected Transactions:  \")])]),_vm._v(\" \"+_vm._s(_vm.getAllChcekedTransactionIds().length)+\"\\n \")]):_vm._e(),_c('GroupedDataTable',{ref:\"generatePaymentTransactionsTable\",attrs:{\"items\":_vm.items,\"frontHeaderActionSlots\":_vm.frontHeaderActionSlots,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"hidePaginator\":false,\"showHeaderTemplate\":_vm.showHeaderTemplate,\"groupHeaderClass\":'',\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No transactions to display.\"},on:{\"onPageChange\":_vm.onPageChange},scopedSlots:_vm._u([{key:\"actions\",fn:function(slotProps){return [_c('b-form-checkbox',{staticClass:\"ml-1\",attrs:{\"id\":'markTransactionChkBox_' + slotProps.data.id,\"disabled\":slotProps.data.isInvalid},on:{\"change\":function($event){return _vm.onClickCheckBox(slotProps.data)}},model:{value:(slotProps.data.isChecked),callback:function ($$v) {_vm.$set(slotProps.data, \"isChecked\", $$v)},expression:\"slotProps.data.isChecked\"}})]}},{key:\"gstAmountText\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.data.gstAmount}})]}},{key:\"gstExclusiveAmountText\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.data.gstExclusiveAmount}})]}},{key:\"amountText\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.data.amount}})]}},{key:\"headerSlot\",fn:function(slotProps){return [_c('div',{staticClass:\"d-flex\"},[(slotProps.data.isExpanded)?_c('b-form-checkbox',{staticClass:\"ml-1\",attrs:{\"id\":'markTransactionHeaderChkBox_' + slotProps.data.id,\"disabled\":slotProps.data.isInvalid},on:{\"change\":function($event){return _vm.onClickCheckBox(slotProps.data)}},model:{value:(slotProps.data.isChecked),callback:function ($$v) {_vm.$set(slotProps.data, \"isChecked\", $$v)},expression:\"slotProps.data.isChecked\"}}):_vm._e(),_c('div',{staticClass:\"pr-2\"},[_c('span',{staticClass:\"primary-text\"},[_vm._v(_vm._s(slotProps.data.clientName)+\"  \")]),_vm._v(\" |   \\n \"),_c('span',{staticClass:\"primary-text\"},[_vm._v(\" \"+_vm._s(slotProps.data.vehicleHeaderName))]),_c('span',{class:[(slotProps.data.withdrawalLimit < 0)?'text-danger':'']},[_vm._v(\" ( Withdrawal Limit: \"),_c('ApexCurrency',{attrs:{\"value\":slotProps.data.withdrawalLimit}}),_vm._v(\")\")],1),_vm._v(\"  \\n \"),(slotProps.data.nextLeasePaymentsDetails && slotProps.data.isActive)?_c('span',{staticClass:\"primary-text\"},[_vm._v(\" \\n |   Lease Amount Due \"+_vm._s(slotProps.data.nextLeasePaymentsDetails.replace(/,\\s+/g, \",   \"))+\" \\n \")]):_vm._e()]),_c('div',{staticClass:\"header-action-buttons\"},[_c('span',{staticClass:\"cursor-pointer mr-4\",attrs:{\"disabled\":slotProps.data.clientId <= 0,\"type\":\"button\",\"size\":\"md\",\"title\":\"View Motor Vehicles\"},on:{\"click\":function($event){return _vm.viewVehicle(slotProps.data)}}},[_c('i',{staticClass:\"fas fa-car cursor-pointer grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})]),_c('span',{attrs:{\"size\":\"lg\",\"title\":slotProps.data.isExpanded ? 'Collapse' : 'Expand'},on:{\"click\":function($event){return _vm.onExpandOrCollapseHeader(slotProps)}}},[_c('i',{staticClass:\"cursor-pointer primary-text\",class:slotProps.data.isExpanded ? 'fas fa-lg fa-caret-down' : 'fas fa-lg fa-caret-left'})])])],1)]}}])},[_c('template',{slot:\"header_reference\"},[_c('span',[_vm._v(\"Reference \"),_c('i',{staticClass:\"fas fa-info-circle text-info cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Reference on recipient's statement.\"}})])])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.isInvalid)?_c('div',{staticClass:\"mr-4\"},[_c('i',{staticClass:\"fas fa-exclamation-circle text-warning pl-1\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Some of the required information is missing\"}})]):_c('b-form-group',[_c('b-form-checkbox',{staticClass:\"ml-1\",attrs:{\"disabled\":_vm.item.data.isInvalid,\"id\":'markTransactionChkBox_' + _vm.item.data.isHeader ? '1_' + _vm.item.data.id : '2_' + _vm.item.data.id},on:{\"change\":_vm.onClick},model:{value:(_vm.isChecked),callback:function ($$v) {_vm.isChecked=$$v},expression:\"isChecked\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport moment from 'moment'\n\n@Component\nexport default class MarkTransactionCheckBox extends Vue{\n @Prop() item:any;\n\n isChecked:boolean = false;\n\n @Watch('item.data.isChecked')\n onIsCheckedChanged(val: any, oldVal: any)\n {\n this.isChecked = val;\n }\n\n onClick(){\n this.$nextTick(()=>{\n this.onChange({isChecked:this.isChecked,id:this.item.data.id, item:this.item.data},DataTableActionTypes.ItemChecked);\n }); \n }\n\n @Emit('customEvent') onChange(data:any,type:DataTableActionTypes){\n }\n}\n","export enum PaymentMethods\r\n{\r\n EFT = 1,\r\n BPAY = 2,\r\n Unknown = 3,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MarkTransactionCheckBox.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MarkTransactionCheckBox.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MarkTransactionCheckBox.vue?vue&type=template&id=2cb10c24&scoped=true\"\nimport script from \"./MarkTransactionCheckBox.vue?vue&type=script&lang=ts\"\nexport * from \"./MarkTransactionCheckBox.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MarkTransactionCheckBox.vue?vue&type=style&index=0&id=2cb10c24&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2cb10c24\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n import { Component, Vue } from 'vue-property-decorator';\n import AppSettings from '@/app.config';\n import GroupedDataTable from '@/shared/components/dataTable/GroupedDataTable.vue';\n import apiService from '@/shared/services/apiService';\n import MarkTransactionCheckBox from './MarkTransactionCheckBox.vue';\n import moment from 'moment';\n import FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\n import fieldValidations from '@/shared/services/fieldValidationService';\n import {PaymentTransactionInfoTableFilterParams,PaymentTransactionTableFilterParams} from '@/models/tableFilterParams.model';\n import Modal from '@/shared/components/modal/Modal.vue';\n import BankAccounts from '@/components/admin/bankAccount/BankAccounts.vue';\n import { RelatedTables } from '@/shared/enums/relatedTables.enum';\n import {BankAccountTypes} from '@/shared/enums/bankAccountTypes.enum';\n import { PaymentMethods } from '@/shared/enums/paymentMethods.enum';\n import { TransactionTypes } from '@/shared/enums/transaction.enum';\n import ApexConstants from '@/shared/constants';\n import ClientMotorVehicles from '@/components/admin/clientManagement/clientMotorVehicles.vue'\n\n @Component(\n {\n components: {\n FilterTextInput,\n Modal,\n BankAccounts,\n GroupedDataTable,\n MarkTransactionCheckBox,\n ClientMotorVehicles\n }\n }\n )\n export default class GenerateEFT extends Vue{\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n items:any = [];\n groups:any = [];\n allTransactions:any = [];\n showEmptyBanner:boolean = true;\n generateBankFileConfirmation:boolean = false;\n fromDate:any = null;\n toDate:any = null;\n disabledFromDates:any ={};\n disabledToDates:any ={};\n sortDesc:boolean = true;\n refAndPayeeFilter:string = \"\";\n amountFilter:string = \"\";\n isAutoSelectClicked:boolean = false;\n expandAll:boolean = false;\n selectedTransactionType:number = 0;\n selectedPaymentMethod:PaymentMethods = PaymentMethods.EFT;\n groupTransactionsDic = {};\n checkedGroupTransactionsDic = {};\n groupTransactionCheckedSumDic = {};\n checkedGroupKeys = [];\n fields = [\n {key: 'actions', isAction:true, useCustomHeader:false, class:'width_10'},\n {key: 'displayDate',label:'Date',useCustomHeader:false,class:'width_15', isAction:false, \n formatter: (value, key, item) => {\n return this.getDate(value);\n }\n },\n {key: 'payee',label:'Payee',useCustomHeader:false, class:'width_18', isAction:false},\n {key: 'reference',label:'Reference',useCustomHeader:true,class:'width_18', isAction:false},\n {key: 'gstExclusiveAmountText',label:'Amount (Excl. GST)',useCustomHeader:false, class:'width_14 text-right', isAction:false},\n {key: 'gstAmountText',label:'GST',useCustomHeader:false, class:'width_10 text-right', isAction:false},\n {key: 'amountText',label:'Total (Incl. GST)',useCustomHeader:false, class:'width_14 text-right', isAction:false}\n ];\n totalRows: number = 0;\n perPage: number = AppSettings.defaultGridSize;\n sortBy: string = \"date\";\n relatedTable:RelatedTables = RelatedTables.Company;\n companyID:number = 0;\n showSelectBankAccountModal:boolean = false;\n selectedBankAccountID:number = 0;\n leaseTransactionAccountType:BankAccountTypes = BankAccountTypes.LeaseTransactions;\n transactionTypes:any[] = [];\n frontHeaderActionSlots:any[] = [\"\"];\n maximumOverdraftAmount:number = 0;\n showHeaderTemplate:boolean = true;\n checkedCount:number = 0;\n showInsufficientBalanceModal:boolean = false;\n eftPaymentMethod:PaymentMethods = PaymentMethods.EFT;\n bpayPaymentMethod:PaymentMethods = PaymentMethods.BPAY;\n isOnlyBankAccount:boolean = false;\n leasePaymentTransactionType:TransactionTypes = TransactionTypes.LeasePayment;\n manualPaymentTransactionType:TransactionTypes = TransactionTypes.ManualPayment;\n adminFeeTransactionType:TransactionTypes = TransactionTypes.AdministrationFee;\n checkedAmount:number = 0;\n latestAvailableBalance: number;\n latestBankFileDate: any;\n showBankBalanceExceedingWarningDialog = false;\n bankAccounts: any[] = [];\n resetButtonDisabled:boolean = true;\n fromRowCheckBox:boolean = false;\n selectedHeaderId:number = -1;\n showWarningMessage:boolean = false;\n showTxUpdateTimeWarningMessage:boolean = false;\n warningMessage = \"Bank file successfully generated.\\nPlease allow few minutes to update the Generate tab transactions.\"\n navigateToNewTab:boolean = true;\n showClientMotorVehiclesModal = false;\n clientRelatedTable:RelatedTables = RelatedTables.Client;\n selectedHeaderData:any = null;\n\n created(){\n this.loadCompanyDetails();\n this.getBankAccounts();\n this.loadTransactionMethodsAndTypesWithCount();\n\t\t\tthis.loadMaximumOverdraftAmount();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,RelatedTable:0,Status:null,FromDate:this.fromDate,ToDate:this.toDate, \n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod});\n }\n\n onPageChange(fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,RelatedTable:0,Status:null,FromDate:this.getFromDate,ToDate:this.getToDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod});\n }\n\n filterGridByPayeeAndRef(filterString:string){\n this.refAndPayeeFilter = filterString;\n this.resetButtonDisabled = false; \n this.resetCheckedTransactions();\n (this.$refs.generatePaymentTransactionsTable as GroupedDataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,RelatedTable:0,Status:null,FromDate:this.getFromDate,ToDate:this.getToDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod});\n }\n\n filterGridByAmount(filterString:string){\n this.amountFilter = filterString;\n this.resetButtonDisabled = false;\n this.resetCheckedTransactions();\n (this.$refs.generatePaymentTransactionsTable as GroupedDataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,RelatedTable:0,Status:null,FromDate:this.getFromDate,ToDate:this.getToDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod});\n }\n\n getDate(date){\n return date ? moment(date).format(\"DD MMM YYYY\"):\"\";\n }\n\n viewLeaseDetails(data:any){\n let routeData = this.$router.resolve({name:'Edit Lease',params:{leaseID: data.leaseId,topRouteDisplayName:'leasetypes', routerDisplayName:'details'}});\n window.open(routeData.href, '_blank');\n\n }\n\n fromDateChanged(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n this.dateChanged();\n }\n\n toDateChanged(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n this.dateChanged();\n }\n\n dateChanged(){ \n this.resetButtonDisabled = false;\n this.resetCheckedTransactions(); \n (this.$refs.generatePaymentTransactionsTable as GroupedDataTable).resetPaginator(); \n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,RelatedTable:0,Status:null,FromDate:this.getFromDate,ToDate:this.getToDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod});\n }\n\n onExpandOrCollapseAll(){\n this.$nextTick().then(() => {\n if(this.expandAll){\n var collapedGroups = [];\n for (var i=0; i< this.groups.length; i++){\n if(!this.groups[i].isExpanded){\n collapedGroups.push(this.groups[i])\n }\n }\n this.getActivePaymentListForVehicle(collapedGroups);\n }\n else{\n this.groups.forEach(group => {\n group.isExpanded = false;\n this.items = this.groups.slice();\n });\n }\n })\n }\n\n onExpandOrCollapseHeader(selectedHeader){\n var selectedGroupedTxIndexList = [];\n var index =this.items.indexOf(selectedHeader.data)\n if(selectedHeader.data.isExpanded){\n this.items[index].isExpanded = false\n this.items.forEach(item => {\n if(!item.isHeader && item.relatedTable == selectedHeader.data.relatedTable && item.relatedId == selectedHeader.data.relatedId){\n selectedGroupedTxIndexList.push(this.items.indexOf(item))\n }\n });\n for (var i = selectedGroupedTxIndexList.length -1; i >= 0; i--){\n this.items.splice(selectedGroupedTxIndexList[i],1);\n }\n this.expandAll = false;\n }else{\n this.getActivePaymentListForVehicle([selectedHeader.data]);\n }\n }\n\n refreshGrid(tableFilterParams:PaymentTransactionInfoTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.selectedBankAccountID = this.isOnlyBankAccount ? this.selectedBankAccountID : 0;\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Finance\",\"ActivePaymentTransactionsList\",tableFilterParams).then(response => {\n this.items = [];\n this.groups = [];\n this.items = response.data.resultDto;\n this.groups = this.items.slice(); \n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.onExpandOrCollapseAll()\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n getActivePaymentListForVehicle(transactionGroups:any){\n var vehicleTransactionIds = [];\n var companyTransactionIds = [];\n transactionGroups.forEach(txGroup => {\n if(txGroup.relatedTable == RelatedTables.Vehicle){\n vehicleTransactionIds.push(txGroup.relatedId)\n }else{\n companyTransactionIds.push(txGroup.relatedId)\n }\n });\n var tableFilterParams:PaymentTransactionTableFilterParams = {FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,Status:null,FromDate:this.getFromDate,ToDate:this.getToDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod,\n VehicleTransactionIds:vehicleTransactionIds.toString(), CompanyTransactionIds: companyTransactionIds.toString()};\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"Finance\",\"ActivePaymentTransactionsForVehicle\",tableFilterParams).then(response => {\n var expandedTransactions = response.data;\n transactionGroups.forEach(txGroup => {\n var groupTransactions = []\n expandedTransactions.forEach(tx => {\n if(tx.relatedTable == txGroup.relatedTable && tx.relatedId == txGroup.relatedId ){\n groupTransactions.push(tx);\n }\n })\n txGroup.isChecked = false;\n\n var groupKey = this.getGroupKey(txGroup.relatedTable,txGroup.relatedId)\n this.groupTransactionsDic[groupKey] = groupTransactions;\n let headerIndex = this.items.indexOf(txGroup);\n this.items[headerIndex].isExpanded = true\n this.items.splice(headerIndex + 1, 0, ...groupTransactions)\n })\n this.$nextTick().then(() => {\n this.checkAlreadyCheckedTransactions();\n this.setExpandAllFlag();\n })\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onClickAutoSelect(){\n this.$nextTick(() => {\n if(this.isAutoSelectClicked && !this.expandAll){\n this.expandAll = true;\n }\n this.autoSelectTransactions();\n });\n }\n\n autoSelectTransactions(){\n this.checkedGroupTransactionsDic = {};\n this.groupTransactionCheckedSumDic = {};\n if(this.isAutoSelectClicked){\n this.getAutoSelectedTransactions();\n }\n else{\n this.items.forEach(item =>{\n item.isChecked = false;\n })\n this.calculateCheckedTransactionCount();\n this.calculateCheckedTransactionAmount();\n }\n }\n\n getAutoSelectedTransactions(){\n var tableFilterParams:PaymentTransactionInfoTableFilterParams = {FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,Status:null,FromDate:this.getFromDate,ToDate:this.getToDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod, RelatedTable:0};\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"Finance\",\"AutoSelectedPaymentTransactions\",tableFilterParams).then(response => {\n var autoSelectedTxGroups = response.data;\n autoSelectedTxGroups.forEach(txGroup => {\n var groupKey = this.getGroupKey(RelatedTables.Vehicle, txGroup.relatedId);\n this.checkedGroupTransactionsDic[groupKey] = txGroup.transactionIds;\n this.groupTransactionCheckedSumDic[groupKey] = txGroup.checkedSum;\n })\n this.$nextTick(() => {\n this.onExpandOrCollapseAll();\n })\n\n this.calculateCheckedTransactionCount();\n this.calculateCheckedTransactionAmount();\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n setExpandAllFlag(){\n var expandAllTemp = true;\n for(var i=0; i {\n var groupKey = this.getGroupKey(group.relatedTable, group.relatedId);\n var groupCheckedTxs = this.getCheckedTransactionIdListByGroupKey(groupKey);\n if(groupCheckedTxs && groupCheckedTxs.length > 0){\n var gropuTxs = this.getTransactionListByGroupKey(groupKey);\n gropuTxs.forEach(tx => {\n if(groupCheckedTxs.includes(tx.id)){\n tx.isChecked = true;\n this.$nextTick(() =>{\n tx.isChecked = true;\n })\n }\n });\n }\n var groupValidTxs = this.getValidTransactionListByGroupKey(groupKey);\n if(this.isAutoSelectClicked || (groupCheckedTxs && groupValidTxs && groupValidTxs.length == groupCheckedTxs.length)){\n group.isChecked = true;\n this.$nextTick(() =>{\n group.isChecked = true;\n })\n }\n });\n }\n\n getAllChcekedTransactionIds(){\n var allCheckedTransactionIds = [];\n for(var key in this.checkedGroupTransactionsDic){\n var transactionIds = this.checkedGroupTransactionsDic[key];\n if(transactionIds && transactionIds.length > 0){\n allCheckedTransactionIds.push(...transactionIds);\n }\n }\n return allCheckedTransactionIds;\n }\n\n getTransactionGroupList(){\n var transactionGroupList = [];\n for(var key in this.checkedGroupTransactionsDic){\n var transactionIds = this.checkedGroupTransactionsDic[key];\n if(transactionIds && transactionIds.length > 0){\n var transactionGroup = {relatedTable: RelatedTables.Vehicle, relatedId:this.getRelatedIdByGroupKey(key), transactionIdList: transactionIds}\n transactionGroupList.push(transactionGroup);\n }\n }\n return transactionGroupList\n }\n\n getGroupKey(relatedTable:number, relatedId:number){\n return relatedTable + ApexConstants.GROUP_KEY_SEPARATOR + relatedId;\n }\n\n getRelatedIdByGroupKey(groupKey:any){\n return groupKey.split(ApexConstants.GROUP_KEY_SEPARATOR)[1];\n } \n\n resetFilters(){\n this.refAndPayeeFilter = \"\";\n this.amountFilter = \"\";\n this.fromDate = null;\n this.toDate = null;\n this.resetButtonDisabled = true;\n this.resetCheckedTransactions();\n (this.$refs.payeeRefFilterText as FilterTextInput).resetFilterString();\n (this.$refs.amountFilterText as FilterTextInput).resetFilterString();\n (this.$refs.generatePaymentTransactionsTable as GroupedDataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,RelatedTable:0,Status:null,FromDate:this.fromDate,ToDate:this.toDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod});\n }\n\n resetCheckedTransactions(){\n this.groupTransactionCheckedSumDic = {};\n this.checkedGroupTransactionsDic = {};\n this.isAutoSelectClicked = false;\n this.checkedCount = 0;\n this.checkedAmount = 0;\n }\n\n onHeaderChecked(group){\n var groupKey = this.getGroupKey(group.relatedTable, group.relatedId);\n var transactionIdList = this.getTransactionListByGroupKey(groupKey).map(x => {return x.id});\n var checkedSum = this.getCheckedGroupTransactionSumByGroupKey(groupKey);\n var checkedGroupTransactionIds = this.getCheckedTransactionIdListByGroupKey(groupKey);\n if(checkedGroupTransactionIds == null){\n checkedGroupTransactionIds = [];\n }\n for(var j = 0; j < transactionIdList.length; j++){\n var i = transactionIdList[j];\n if(!checkedGroupTransactionIds.includes(i)){\n var item = this.getItemById(i);\n if(!item.isInvalid){\n item.isChecked = group.isChecked;\n if(checkedSum + item.amount > group.withdrawalLimit + this.maximumOverdraftAmount){\n this.$nextTick(() => {\n item.isChecked = false;\n })\n break;\n }\n else{\n checkedGroupTransactionIds.push(i);\n checkedSum = checkedSum + item.amount;\n }\n }\n }\n }\n this.checkedGroupTransactionsDic[groupKey] = checkedGroupTransactionIds;\n this.groupTransactionCheckedSumDic[groupKey] = checkedSum;\n this.checkedGroupKeys.push(groupKey);\n }\n\n onHeaderUnChecked(group){\n var groupKey = this.getGroupKey(group.relatedTable, group.relatedId);\n var transactionIdList = this.getTransactionListByGroupKey(groupKey).map(x => {return x.id});\n for(var j = 0; j < transactionIdList.length; j++){\n var i = transactionIdList[j];\n var item = this.getItemById(i);\n if(!item.isInvalid){\n item.isChecked = false;\n }\n }\n this.checkedGroupTransactionsDic[groupKey] = [];\n this.groupTransactionCheckedSumDic[groupKey] = 0;\n group.isChecked = false;\n this.isAutoSelectClicked = false;\n this.checkedGroupKeys.splice(this.checkedGroupKeys.indexOf(groupKey), 1);\n }\n\n onTransactionChecked(transaction){\n var group = this.getGroupByItemRelatedTableAndRelatedId(transaction.relatedTable, transaction.relatedId);\n var groupKey = this.getGroupKey(transaction.relatedTable, transaction.relatedId);\n var checkedSum = this.getCheckedGroupTransactionSumByGroupKey(groupKey);\n var checkedGroupTransactionIds = this.getCheckedTransactionIdListByGroupKey(groupKey);\n if(checkedGroupTransactionIds == null){\n checkedGroupTransactionIds = [];\n }\n if(checkedSum + transaction.amount > group.withdrawalLimit + this.maximumOverdraftAmount){\n this.showInsufficientBalanceModal = true;\n this.$nextTick(() => {\n transaction.isChecked = false;\n })\n }\n else{\n checkedGroupTransactionIds.push(transaction.id);\n this.groupTransactionCheckedSumDic[groupKey] = checkedSum + transaction.amount;\n }\n \n this.checkedGroupTransactionsDic[groupKey] = checkedGroupTransactionIds;\n if(checkedGroupTransactionIds.length == this.getValidTransactionListByGroupKey(groupKey).length){\n this.$nextTick(() => {\n group.isChecked = true;\n })\n }\n }\n\n onTransactionUnChecked(transaction){\n var group = this.getGroupByItemRelatedTableAndRelatedId(transaction.relatedTable, transaction.relatedId);\n var groupKey = this.getGroupKey(transaction.relatedTable, transaction.relatedId);\n var checkedGroupTransactionIds = this.getCheckedTransactionIdListByGroupKey(groupKey);\n var index = checkedGroupTransactionIds.indexOf(transaction.id);\n if(group.isChecked){\n group.isChecked = false;\n }\n if(index > -1){\n var item = this.getItemById(transaction.id);\n item.isChecked = false;\n checkedGroupTransactionIds.splice(index,1);\n this.checkedGroupTransactionsDic[groupKey] = checkedGroupTransactionIds;\n var currentCheckedSum = this.groupTransactionCheckedSumDic[groupKey];\n this.groupTransactionCheckedSumDic[groupKey] = currentCheckedSum - transaction.amount;\n }\n if(this.isAutoSelectClicked && index > -1){\n this.isAutoSelectClicked = false;\n }\n this.checkedGroupKeys.splice(this.checkedGroupKeys.indexOf(groupKey), 1);\n }\n\n onClickCheckBox(value){\n this.$nextTick(() => {\n if(value.isChecked){\n if(value.isHeader){\n this.onHeaderChecked(value);\n }\n else{\n this.onTransactionChecked(value);\n }\n }\n else{\n if(value.isHeader){\n this.onHeaderUnChecked(value);\n }\n else{\n this.onTransactionUnChecked(value);\n }\n }\n this.calculateCheckedTransactionCount();\n this.calculateCheckedTransactionAmount()\n })\n }\n \n loadCompanyDetails(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Company','Company').then(response=>{\n if(response.data){ \n this.companyID = response.data.id;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadMaximumOverdraftAmount(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Finance','MaximumOverdraftAmount').then(response=>{\n if(response.data){ \n this.maximumOverdraftAmount = response.data;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n loadTransactionMethodsAndTypesWithCount(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('Finance','TransactionMethodsAndTypesWithCount').then(response=>{\n if(response.data){ \n this.transactionTypes = response.data;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onBankAccountSelect(id:number){\n this.selectedBankAccountID = id;\n for(let acc of this.bankAccounts){\n if(acc.id == id){\n this.latestAvailableBalance = acc.availableBalance;\n break;\n }\n }\n if (this.latestAvailableBalance < this.checkedAmount){\n this.showSelectBankAccountModal = false;\n this.showBankBalanceExceedingWarningDialog = true;\n } else {\n this.showSelectBankAccountModal = false;\n this.generateBankFileConfirmation = true;\n }\n }\n \n closeBankAccountSelectConfirmation(){\n this.generateBankFileConfirmation = false;\n if(this.bankAccounts.length > 1){\n this.selectedBankAccountID = 0;\n }\n }\n\n closeBankBalanceExceedingWarning(){\n this.showBankBalanceExceedingWarningDialog = false;\n if(this.bankAccounts.length > 1){\n this.selectedBankAccountID = 0;\n this.showSelectBankAccountModal = true;\n }\n }\n\n onContinue(){\n this.showBankBalanceExceedingWarningDialog = false;\n this.generateBankFileConfirmation = true;\n }\n\n onGenerateBankFileClick(){\n if(this.selectedBankAccountID > 0)\n {\n if(this.latestAvailableBalance < this.checkedAmount){\n this.showBankBalanceExceedingWarningDialog = true; \n } else {\n this.generateBankFileConfirmation = true;\n }\n }\n else\n {\n this.showSelectBankAccountModal = true;\n }\n }\n \n getBankAccounts(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"BankAccount\",\"BankAccountList\",{relatedTable:RelatedTables.Company, relatedId:1}).then(response =>{\n this.bankAccounts = response.data.filter(acc => acc.bankAccountType == BankAccountTypes.LeaseTransactions);\n if(this.bankAccounts.length == 1){\n this.selectedBankAccountID = this.bankAccounts[0].id;\n this.isOnlyBankAccount = true;\n this.latestAvailableBalance = this.bankAccounts[0].availableBalance;\n this.latestBankFileDate = moment(this.bankAccounts[0].latestBankFileDate).format(\"DD/MM/YYYY\");\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onAcknowledgeWarning(){\n this.showWarningMessage = false;\n this.$router.push({name:'EFT Details', params:{routerDisplayName:'history'}});\n }\n\n validateSelectedTransactions(){\n this.showTxUpdateTimeWarningMessage = this.getAllChcekedTransactionIds().length > ApexConstants.GENERATE_PAYMENT_FILE_WARNING_THRESHOLD;\n if (this.showTxUpdateTimeWarningMessage){\n this.$notify({\n group: 'growlNotification',\n title: \"Due to large number of transactions this may take a while.\",\n type: 'warn',\n duration: 5000\n })\n }\n }\n\n onGenerateBankFile(){\n this.generateBankFileConfirmation = false;\n this.validateSelectedTransactions();\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {transactionGroupList: this.getTransactionGroupList(), bankAccountID: this.selectedBankAccountID, paymentMethod: this.selectedPaymentMethod};\n apiService.sendPutRequest(\"Finance\",\"GenerateBankFile\", params).then(response =>{\n var result = response.data;\n if(result.isSuccess){\n this.checkedGroupTransactionsDic = {};\n this.groupTransactionCheckedSumDic = {};\n this.items = [];\n this.isAutoSelectClicked = false;\n this.expandAll = false;\n this.$store.dispatch('storeSelectedBankAccountId',this.selectedBankAccountID);\n if (this.showTxUpdateTimeWarningMessage){\n this.$store.dispatch('storeIsBusyValue',false);\n this.showWarningMessage = true;\n }else{\n this.$notify({\n group: 'growlNotification',\n title: result.message,\n type: 'success',\n duration: 5000\n });\n this.$router.push({name:'EFT Details', params:{routerDisplayName:'history'}});\n }\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: result.message,\n type: 'error',\n duration: 5000\n });\n } \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onTransactionTypeChanged(){\n this.resetCheckedTransactions();\n (this.$refs.generatePaymentTransactionsTable as GroupedDataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,RelatedTable:0,Status:null,FromDate:this.getFromDate,ToDate:this.getToDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod});\n }\n\n onPaymentTypeChanged(){\n this.resetCheckedTransactions();\n this.calculateCheckedTransactionCount();\n this.calculateCheckedTransactionAmount();\n (this.$refs.generatePaymentTransactionsTable as GroupedDataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.refAndPayeeFilterValue,\n SearchByString2:this.getAmountFilterValue,RelatedId:0,RelatedTable:0,Status:null,FromDate:this.getFromDate,ToDate:this.getToDate,\n TransactionType: this.selectedTransactionType, PaymentMethod: this.selectedPaymentMethod});\n }\n\n getItemById(id:number){\n var item = null;\n this.items.forEach(i => {\n if(i.id == id && !i.isHeader){\n item = i;\n }\n })\n return item;\n }\n\n getGroupByItemRelatedTableAndRelatedId(relatedtable:number, relatedId:number){\n return this.groups.filter(g => g.relatedTable == relatedtable && g.relatedId == relatedId)[0];\n }\n\n getTransactionListByGroupKey(groupKey:string){\n return this.groupTransactionsDic[groupKey]\n }\n\n getValidTransactionListByGroupKey(groupKey:string){\n if (Array.isArray(this.groupTransactionsDic[groupKey])){\n return this.groupTransactionsDic[groupKey].filter(t => !t.isInvalid);\n }\n return null;\n }\n\n getCheckedTransactionIdListByGroupKey(groupKey:string){\n return this.checkedGroupTransactionsDic[groupKey]\n }\n\n getGroupTransactionCheckedSumByGroupKey(groupKey:string){\n return this.groupTransactionCheckedSumDic[groupKey]\n }\n\n getCheckedGroupTransactionSumByGroupKey(groupKey:string){\n var checkedSum = this.getGroupTransactionCheckedSumByGroupKey(groupKey);\n if(checkedSum && checkedSum >= 0){\n return checkedSum;\n }else{\n return 0;\n }\n }\n\n calculateCheckedTransactionCount(){\n this.checkedCount = 0;\n for(var key in this.checkedGroupTransactionsDic){\n var transactionIds = this.checkedGroupTransactionsDic[key];\n if(transactionIds && transactionIds.length > 0){\n this.checkedCount = this.checkedCount + transactionIds.length;\n }\n }\n }\n\n calculateCheckedTransactionAmount(){\n this.checkedAmount = 0;\n for(var key in this.groupTransactionCheckedSumDic){\n var groupCheckedSum = this.groupTransactionCheckedSumDic[key];\n if(groupCheckedSum && groupCheckedSum > 0){\n this.checkedAmount = this.checkedAmount + groupCheckedSum;\n }\n }\n }\n\n getTransactionTypeCount(type:number){\n var count = 0;\n for(var j = 0; j < this.transactionTypes.length; j++){\n if(this.transactionTypes[j].value == this.selectedPaymentMethod){\n for(var i = 0; i < this.transactionTypes[j].transactionTypeSelectItems.length; i++){\n count = count + this.transactionTypes[j].transactionTypeSelectItems[i].count;\n if(this.transactionTypes[j].transactionTypeSelectItems[i].value == type ){\n return this.transactionTypes[j].transactionTypeSelectItems[i].count;\n }\n }\n }\n }\n return count;\n }\n\n getTransactionMethodCount(method:number){\n var count = 0;\n for(var i = 0; i < this.transactionTypes.length; i++){\n count = count + this.transactionTypes[i].count;\n if(this.transactionTypes[i].value == method ){\n return this.transactionTypes[i].count;\n }\n }\n return count;\n }\n\n viewVehicle(data){\n this.selectedHeaderData = data;\n this.showClientMotorVehiclesModal = true;\n }\n\n onCloseMotorVehiclesModal (){\n this.showClientMotorVehiclesModal = false;\n this.selectedHeaderData = null;\n }\n\n navigateToClient(){\n let routeData = this.$router.resolve({ name: 'Edit Client', params: { id: this.selectedHeaderData.clientId, topRouteDisplayName:'profile', routerDisplayName:'personal'}}); \n window.open(routeData.href, '_blank');\n }\n\n get getAmountFilterValue(){\n return this.amountFilter.length>2?this.amountFilter:\"\";\n }\n\n get refAndPayeeFilterValue(){\n return this.refAndPayeeFilter.length>2?this.refAndPayeeFilter:\"\";\n }\n\n get getFromDate(){\n return fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null; \n }\n\n get getToDate(){\n return fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n }\n }\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenerateEFT.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GenerateEFT.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./GenerateEFT.vue?vue&type=template&id=4a0e3afc&scoped=true\"\nimport script from \"./GenerateEFT.vue?vue&type=script&lang=ts\"\nexport * from \"./GenerateEFT.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GenerateEFT.vue?vue&type=style&index=0&id=4a0e3afc&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4a0e3afc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.revertTransactionConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"revertTransactionConfId\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to revert the transaction?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"revertTransactionConf_CancelButton\"},on:{\"click\":function($event){_vm.revertTransactionConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"revertTransactionConf_OkButton\"},on:{\"click\":function($event){return _vm.onOkayToRevert()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showRevertAllTransactionsConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"revertTransactionsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Revert Transactions\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to revert all the transactions?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"revertTransactionsConf_CancelButton\"},on:{\"click\":function($event){_vm.showRevertAllTransactionsConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"revertTransactionsConf_OkButton\"},on:{\"click\":_vm.revertTransactions}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{attrs:{\"lg\":\"4\"}},[_c('span',{staticClass:\"pr-2 pt-2\"},[_vm._v(\"From Bank Account \")]),_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"bankSelect\"}},[_c('b-form-select',{staticClass:\"textInput mr-4 selectListHeight\",attrs:{\"id\":\"bankSelect\",\"plain\":true,\"options\":_vm.bankAccountList},on:{\"change\":_vm.onBankAccountChange},model:{value:(_vm.selectedBankAccount),callback:function ($$v) {_vm.selectedBankAccount=$$v},expression:\"selectedBankAccount\"}},[(_vm.selectedBankAccount == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select a bank account --\")])]):_vm._e()],2)],1)],1),_c('span',{staticClass:\"pl-5\"}),_c('b-col',{attrs:{\"lg\":\"4\"}},[_c('span',{staticClass:\"pr-2 pt-2\"},[_vm._v(\"Generated Date and Time \")]),_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"generateFileList\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput mr-4 selectListHeight\",attrs:{\"id\":\"generateFileList\",\"plain\":true,\"options\":_vm.fileNameList},on:{\"input\":_vm.onFileChange},model:{value:(_vm.selectedFileId),callback:function ($$v) {_vm.selectedFileId=$$v},expression:\"selectedFileId\"}},[(_vm.selectedFileId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Select a Bank File --\")])]):_vm._e()],2)],1)],1),_c('b-col',{staticClass:\"mt-4\",attrs:{\"lg\":\"2\"}},[_c('b-row',[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('b-col',{staticClass:\"mt-4\",attrs:{\"lg\":\"2\"}},[(_vm.selectedFileId > 0)?_c('b-row',[_c('b-btn',{staticClass:\"ml-2 pt-1 download-button\",attrs:{\"id\":\"popoverButton-open\",\"title\":\"Download bank file\"},on:{\"click\":function($event){return _vm.DownloadGeneratedBankFile()}}},[_c('i',{staticClass:\"fas fa-download fa-lg download-button-icon\",attrs:{\"aria-hidden\":\"true\"}})]),(_vm.recentlyGeneratedMode)?_c('b-popover',{attrs:{\"show\":\"\",\"target\":\"popoverButton-open\",\"placement\":\"topright\"}},[_vm._v(\"\\n Click here to download the bank file\\n \")]):_vm._e(),_c('DocumentUploader',{staticClass:\"ml-1 mr-1\",attrs:{\"addToolTip\":\"Upload bank confirmation report\",\"modalTitle\":\"Bank confirmation report\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"isReadOnly\":false,\"acceptedFileTypes\":'*',\"relatedID\":_vm.selectedFileId,\"relatedTable\":_vm.eftBankFileRelatedTable,\"defaultDocType\":_vm.defaultDocType,\"displayPopover\":_vm.displayConfirmationReportPopover,\"popoverText\":\"Click here to upload the bank confirmation report\"}}),(_vm.atleastOneIsMatched == false)?_c('span',{staticClass:\"ml-2 pt-1\",attrs:{\"title\":\"Revert All Transactions\"},on:{\"click\":function($event){_vm.showRevertAllTransactionsConfirmation = true}}},[_c('i',{staticClass:\"fas fa-undo fa-lg revert-button\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1):_vm._e()],1)],1),_c('DataTable',{ref:\"eftTransactionHistoryTbl\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"customHeaderTemplates\":_vm.customHeaderTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"totalRows\":_vm.totalRows,\"colorToIndicateAvailability\":_vm.colorToIndicateAvailability,\"emptyBanner\":\"No transactions to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showRevertTransactionConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"revertTransactionConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Revert Transaction\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to revert the transaction?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"revertTransactionConf_CancelButton\"},on:{\"click\":function($event){_vm.showRevertTransactionConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"revertTransactionConf_OkButton\"},on:{\"click\":_vm.revertTransaction}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.item.isMatched == false)?_c('span',{staticClass:\"ml-2\",attrs:{\"title\":\"Revert Transaction\"},on:{\"click\":function($event){_vm.showRevertTransactionConfirmation = true}}},[_c('i',{staticClass:\"fas fa-undo pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.item.relatedTable == _vm.vehicleTable && _vm.item.relatedEntityId != null)?_c('span',{staticClass:\"ml-2\",attrs:{\"title\":\"Go to ledger\"},on:{\"click\":function($event){return _vm.routeToLedger()}}},[_c('i',{staticClass:\"fas fa-external-link-alt pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\n\n@Component(\n {\n components: {\n Modal\n }\n }\n)\nexport default class EFTHistoryActionButtons extends Vue{\n @Prop() item:any\n showRevertTransactionConfirmation = false;\n vehicleTable:RelatedTables = RelatedTables.Vehicle;\n \n revertTransaction(){\n this.showRevertTransactionConfirmation = false;\n this.onRevertTransaction(this.item.id,DataTableActionTypes.Revert)\n }\n\n routeToLedger(){\n if (this.item.relatedEntityId != null){\n // Setting to local storage since Vuex can't preserve the state across tabs\n localStorage.setItem(\"relatedEntityId\", this.item.relatedEntityId);\n localStorage.setItem(\"transactionReference\", this.item.reference);\n localStorage.setItem(\"fromDate\", this.item.displayDate);\n let route = this.$router.resolve(\n {\n name:'Edit Novation',\n params:{ novationID: this.item.relatedEntityId,topRouteDisplayName:'relatedentitytypes', routerDisplayName:'ledger'}\n });\n window.open(route.href,'_blank');\n }\n }\n\n @Emit('customEvent') onRevertTransaction(id:number,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTHistoryActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTHistoryActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EFTHistoryActionButtons.vue?vue&type=template&id=3490356a&scoped=true\"\nimport script from \"./EFTHistoryActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./EFTHistoryActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EFTHistoryActionButtons.vue?vue&type=style&index=0&id=3490356a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3490356a\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator'\nimport AppSettings from '@/app.config'\nimport DataTable from '@/shared/components/dataTable/DataTable.vue'\nimport apiService from '@/shared/services/apiService'\nimport {TableTemplate, TableHeaderTemplate} from '@/models/tableCustomTemplate.model'\nimport EFTHistoryActionButtons from './EFTHistoryActionButtons.vue'\nimport moment from 'moment'\nimport lookupService from '@/shared/services/lookupService'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport { RelatedTables } from '../../../shared/enums/relatedTables.enum';\nimport ReferenceCustomHeader from '@/shared/components/customTableHeaders/ReferenceCustomHeader.vue';\nimport {BankAccountTypes} from '@/shared/enums/bankAccountTypes.enum';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum'\nimport DocumentUploader from '@/shared/components/documentUploader/DocumentUploader.vue';\nimport { FileTypes } from '@/shared/enums/fileTypes.enum'\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue'\n\n@Component(\n {\n components:{\n DataTable,\n FilterTextInput,\n Modal,\n DocumentUploader\n }\n }\n)\nexport default class GenerateEFT extends Vue{\n items:any = [];\n filter:string = \"\";\n showEmptyBanner:boolean = true;\n revertTransactionConfirmation:boolean = false;\n sortDesc:boolean = true;\n selectedFileId:number = 0;\n eftBankFileRelatedTable:RelatedTables = RelatedTables.BankFileInfo;\n fields = [\n {\n key: 'date', \n class:'width_15',\n formatter: (value, key, item) => {\n return this.getDate(item.displayDate);\n },\n sortable:true\n },\n {\n key: 'payee',\n class:'width_20',\n sortable:true\n },\n {\n key: 'reference',\n class:'width_20',\n sortable:true\n },\n {\n key: 'gstExclusiveAmount',\n label:'Amount (Excl. GST)',\n class:'width_15 text-right',\n sortable:true\n },\n {\n key: 'gstAmount',\n label:'GST',\n class:'width_10 text-right',\n sortable:true\n },\n {\n key: 'amount',\n label:'Total (Incl. GST)',\n class:'width_14 text-right',\n sortable:true\n },\n {\n key: 'actions',\n label:'', \n class:'width_6 text-center' \n } \n ];\n customTemplateList:Array = [\n {slot:\"actions\",customTemplate:EFTHistoryActionButtons},\n {slot: 'gstExclusiveAmount', customTemplate: ApexCurrency},\n {slot: 'gstAmount', customTemplate: ApexCurrency},\n {slot: 'amount', customTemplate: ApexCurrency}]\n customHeaderTemplateList:Array = [{slot:\"reference\",customTemplate:ReferenceCustomHeader,data:{title:\"Reference on recipient's statement.\"}}];\n totalRows:number = 0;\n perPage:number = AppSettings.eftTableGridSize;\n sortBy:string = \"date\";\n fileNameList:any[] = [];\n showRevertAllTransactionsConfirmation:boolean = false;\n selectedBankAccount:number = 0;\n bankAccountList:any[] = [];\n areAllMatched:boolean = true;\n atleastOneIsMatched:boolean = false;\n recentlyGeneratedMode:boolean = false;\n bankAccountChangedAutomatically:boolean = false;\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.FileUploadButton;\n colorToIndicateAvailability:boolean = true;\n displayConfirmationReportPopover:boolean = false;\n defaultDocType:number = 0;\n resetButtonDisabled:boolean = true;\n\n created(){\n this.selectedBankAccount = this.$store.getters.getSelectedBankAccountId\n if(this.selectedBankAccount > 0){\n this.recentlyGeneratedMode = true;\n this.bankAccountChangedAutomatically = true;\n this.onBankAccountChange();\n }\n this.$store.dispatch('storeSelectedBankAccountId', 0);\n this.loadCompanyBankAccountList();\n this.defaultDocType = FileTypes.ConfirmationReport;\n }\n\n loadCompanyBankAccountList() \n {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetCompanyBankAccountsList(true).then(data => \n {\n var result = data.map(result => Object.assign({},result));\n var companyBankAaccountsList = [{ label: 'Active', options: result.filter(obj => obj.disabled == false && obj.type == BankAccountTypes.LeaseTransactions)},\n { label: 'Deleted', options: result.filter(obj => obj.disabled == true && obj.type == BankAccountTypes.LeaseTransactions)}];\n \n this.bankAccountList = companyBankAaccountsList\n this.bankAccountList.forEach(element => {\n if(element.label == 'Deleted'){\n var options = element.options\n options.forEach(op => {\n op.disabled = false\n });\n }\n });\n this.$store.dispatch('storeIsBusyValue',false);\n if(this.bankAccountList.length == 1)\n {\n this.selectedBankAccount = this.bankAccountList[0].value;\n this.onBankAccountChange();\n }\n });\n }\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",RelatedId:this.selectedFileId,Status:null});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:\"\",RelatedId:this.selectedFileId,Status:null});\n }\n }\n\n refreshAndReset(id:number){\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:\"\",RelatedId:this.selectedFileId,Status:null});\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n\n resetTable(){\n this.sortBy = \"date\";\n (this.$refs.eftTransactionHistoryTbl as DataTable).reset(true);\n }\n\n getDate(date){\n return date ? moment(date).format(\"DD MMM YYYY\"):\"\";\n }\n\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"GeneratedPaymentTransactionsList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n response.data.resultDto.forEach(element => {\n if(element.isMatched == false)\n {\n this.areAllMatched = false;\n }else{\n this.atleastOneIsMatched = true;\n }\n });\n if(this.areAllMatched == true){\n var filteredByKey = this.fields.filter(x => x.key == \"actions\");\n if(filteredByKey && filteredByKey.length > 0){\n this.fields.pop();\n }\n }\n if(tableFilterParams.FromIndex == 0){\n (this.$refs.eftTransactionsTbl as DataTable).resetPaginator();\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n resetFilters(){\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n this.selectedBankAccount = 0;\n this.selectedFileId = 0;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:\"\",RelatedId:this.selectedFileId,Status:null});\n }\n onBankAccountChange()\n {\n this.selectedFileId = 0;\n this.getBankFileNameList();\n this.items = [];\n this.resetButtonDisabled = false;\n if(!this.bankAccountChangedAutomatically){\n this.recentlyGeneratedMode = false;\n }\n }\n\n onFileChange(){\n if(!this.bankAccountChangedAutomatically){\n this.recentlyGeneratedMode = false;\n }\n this.bankAccountChangedAutomatically = false;\n this.resetButtonDisabled = false;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:\"\",RelatedId:this.selectedFileId,Status:null});\n }\n\n getBankFileNameList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"BankFileNameList\",{bankAccountId: this.selectedBankAccount}).then(response =>{\n this.fileNameList = response.data;\n if(this.recentlyGeneratedMode && this.fileNameList && this.fileNameList.length > 0){\n this.selectedFileId = this.fileNameList[0].value;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:\"\",RelatedId:this.fileNameList[0].value,Status:null});\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onCustomDataTableEvent(value:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.Revert){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n transactionID: value,\n revertAll: false,\n bankFileID: this.selectedFileId\n }\n apiService.sendPostRequest(\"Finance\",\"RevertPaymentTransaction\",params).then(response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n if(this.items.length == 1){\n this.items = [];\n this.selectedFileId = 0;\n }\n // else{\n // for(var i = 0; i < response.data.byteStreams.length; i++ ){\n // fileViewerService.DownloadDocument(response.data.byteStreams[i],response.data.fileNames[i],\".csv\", true);\n // }\n // }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:\"\",RelatedId:this.selectedFileId,Status:null});\n this.getBankFileNameList();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n }\n\n revertTransactions(){\n this.showRevertAllTransactionsConfirmation = false;\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n transactionID: 0,\n revertAll: true,\n bankFileID: this.selectedFileId\n }\n apiService.sendPostRequest(\"Finance\",\"RevertPaymentTransaction\",params).then(response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: response.data.isWarning? 'warn' : 'success',\n duration: response.data.isWarning? 12000 : 5000\n });\n this.items = [];\n this.selectedFileId = 0;\n this.resetTable();\n this.getBankFileNameList();\n }else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n DownloadGeneratedBankFile()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Utility\",\"DownloadDocumentByRelatedTableAndID\",{relatedTable:RelatedTables.BankFileInfo, relatedID:this.selectedFileId}).then(\n response =>{\n \n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.documentContentString,response.data.documentName,response.data.documentExtention,true);\n if(this.recentlyGeneratedMode){\n this.displayConfirmationReportPopover = true;\n }\n this.recentlyGeneratedMode = false;\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTHistory.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTHistory.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EFTHistory.vue?vue&type=template&id=08a91370&scoped=true\"\nimport script from \"./EFTHistory.vue?vue&type=script&lang=ts\"\nexport * from \"./EFTHistory.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EFTHistory.vue?vue&type=style&index=0&id=08a91370&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"08a91370\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport GenerateEFT from './GenerateEFT.vue';\nimport EFTHistory from './EFTHistory.vue';\nimport apiService from '@/shared/services/apiService';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n GenerateEFT,\n Modal,\n EFTHistory\n }\n }\n)\nexport default class EFTDetails extends Vue{\n selectedTabRouteName:string = \"\";\n dirtyValidationRefNumbers:number[] =[0,0];\n created()\n {\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n }\n\n navigateToPayMoney(){\n this.$router.push({name:'Pay Money'});\n }\n}\n","export enum PayeeTypes{\r\n Financier = 1,\r\n Client = 2,\r\n Supplier = 3,\r\n ExpenseClaim = 4,\r\n Company = 5,\r\n Employer = 6\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EFTDetails.vue?vue&type=template&id=903f8f6e&scoped=true\"\nimport script from \"./EFTDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./EFTDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EFTDetails.vue?vue&type=style&index=0&id=903f8f6e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"903f8f6e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelPaymentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to reset the fields?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelPaymentConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelThemeConf_OkButton\"},on:{\"click\":_vm.onOkayToCancel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.backNavigationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"NavigatePaymentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to go back?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"NavigateBackConf_CancelButton\"},on:{\"click\":function($event){_vm.backNavigationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"NavigateBackConf_OkButton\"},on:{\"click\":_vm.onOkayToGoBack}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showSelectClientModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Client\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":function($event){_vm.showSelectClientModal = false}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ClientsList',{attrs:{\"viewMode\":_vm.modalModeClientListView},on:{\"onSelectClient\":_vm.onClientSelect}})],1)]):_vm._e(),(_vm.showAddEditPaymentModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"addPaymentModalId\",\"maxWidth\":\"450px\",\"maxHeight\":\"650px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Payment \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('PaymentRecord',{attrs:{\"viewMode\":_vm.paymentRecordViewMode,\"clientsList\":_vm.clients,\"financiersList\":_vm.financiers,\"payeesList\":_vm.payees,\"editMode\":_vm.editMode,\"recordToEdit\":_vm.recordToEdit,\"currentIndex\":_vm.currentIndex,\"paymentMethod\":_vm.payment.method,\"paymentAccountRelatedId\":_vm.leaseId,\"paymentAccountId\":_vm.leaseBankAccountId,\"leaseType\":_vm.leaseType,\"payeeId\":_vm.payeeId,\"clientId\":_vm.payment.clientId,\"clientName\":_vm.clientName},on:{\"onAddPayment\":_vm.onAddPayment,\"onClosePaymentModal\":_vm.onClosePaymentModal}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"})]):_vm._e(),(_vm.showSuccessModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"successModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Payment successfully saved. Do you want to make another payment?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"SuccessModal_CancelButton\"},on:{\"click\":_vm.onViewGeneratePaymentFile}},[_vm._v(\"\\n Generate Payment File\\n \")]),_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"SuccessModal_CancelButton\"},on:{\"click\":_vm.onViewLedger}},[_vm._v(\"\\n View Ledger\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"SuccessModal_OkButton\"},on:{\"click\":_vm.onCreateNewPayment}},[_vm._v(\"\\n Create New Payment\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mt-3\"},[_c('b-container',[_c('b-row',{attrs:{\"align-h\":\"center\"}},[_c('b-col',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('div',{staticClass:\"primary-text\"},[_c('strong',[_vm._v(\"Ad Hoc Payments\")]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Dashboard\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])])]),_c('b-row',[_c('b-col',{attrs:{\"lg\":\"3\",\"md\":\"5\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.payment.date.$error},attrs:{\"label\":\"Date\",\"label-for\":\"paymentDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.payment.date || _vm.payment.date.length == 0) },attrs:{\"use-utc\":true,\"id\":'paymentDate',\"required\":\"\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [_vm.todayDateUTC],includeDisabled: true},\"disabledDates\":_vm.disabledDates},on:{\"input\":function($event){return _vm.$v.payment.date.$touch();}},model:{value:(_vm.payment.date),callback:function ($$v) {_vm.$set(_vm.payment, \"date\", $$v)},expression:\"payment.date\"}}),(_vm.$v.payment.date.$dirty && !_vm.$v.payment.date.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Payment date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Payment Method\",\"label-for\":\"paymentMethodSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.payment.method.$error, 'requiredField': (_vm.payment.method == 0)},attrs:{\"id\":\"paymentMethodSelect\",\"plain\":true,\"options\":_vm.paymentMethods,\"required\":\"\",\"disabled\":_vm.paymentRecords && _vm.paymentRecords.length > 0},on:{\"change\":function($event){return _vm.$v.payment.method.$touch();}},model:{value:(_vm.payment.method),callback:function ($$v) {_vm.$set(_vm.payment, \"method\", $$v)},expression:\"payment.method\"}},[(_vm.payment.method == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.payment.method.$dirty && !_vm.$v.payment.method.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Payment method is required.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"lg\":\"3\",\"offset-lg\":\"1\",\"md\":\"5\",\"offset-md\":\"2\",\"offset-sm\":\"0\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.payment.clientId.$error },attrs:{\"label\":\"From Client\",\"label-for\":\"client\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"cursor-pointer\",class:{ 'requiredField': (_vm.payment.clientId == 0) },attrs:{\"id\":\"client\",\"type\":\"text\",\"placeholder\":\"Please select a client\",\"required\":\"\",\"plain\":true,\"readonly\":\"\",\"options\":_vm.clients},on:{\"click\":_vm.onSelectClientBtnClicked,\"input\":function($event){return _vm.$v.payment.clientId.$touch()}},model:{value:(_vm.clientName),callback:function ($$v) {_vm.clientName=$$v},expression:\"clientName\"}},[(_vm.payment.clientId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select a client --\")])]):_vm._e()],2),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-search cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"id\":\"selectClientBtn\"},on:{\"click\":_vm.onSelectClientBtnClicked}})])],1)],1),(_vm.$v.payment.clientId.$dirty && !_vm.$v.payment.clientId.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Client is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Vehicle\",\"label-for\":\"vehicleSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.payment.vehicleId.$error, 'requiredField': (_vm.payment.vehicleId == 0)},attrs:{\"id\":\"vehicleSelect\",\"plain\":true,\"options\":_vm.vehicles,\"required\":\"\",\"disabled\":_vm.payment.clientId == 0},on:{\"change\":function($event){_vm.$v.payment.vehicleId.$touch();_vm.onSelectVehicle()}},model:{value:(_vm.payment.vehicleId),callback:function ($$v) {_vm.$set(_vm.payment, \"vehicleId\", $$v)},expression:\"payment.vehicleId\"}},[(_vm.payment.vehicleId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.payment.vehicleId.$dirty && !_vm.$v.payment.vehicleId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Related Entity\",\"label-for\":\"relatedEntitySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.payment.relatedEntity.$error, 'requiredField': (_vm.payment.relatedEntity == 0)},attrs:{\"id\":\"relatedEntitySelect\",\"plain\":true,\"options\":_vm.groupedRelatedEntityList,\"required\":\"\",\"disabled\":_vm.payment.vehicleId == 0},on:{\"change\":_vm.onChangeRelatedEntity},model:{value:(_vm.payment.relatedEntity),callback:function ($$v) {_vm.$set(_vm.payment, \"relatedEntity\", $$v)},expression:\"payment.relatedEntity\"}},[(_vm.payment.relatedEntity == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.payment.relatedEntity.$dirty && !_vm.$v.payment.relatedEntity.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Related Entity is required.\\n \")]):_vm._e(),(_vm.payment.relatedEntity > 0)?_c('div',[_c('b',[_vm._v(\"Available Balance : \"),_c('ApexCurrency',{attrs:{\"value\":_vm.balance}})],1)]):_vm._e()],1)],1)],1)],1)],1),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\"},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",attrs:{\"disabled\":_vm.payment.vehicleId <= 0 || _vm.payment.relatedEntity <= 0 || _vm.payment.method <= 0 || !_vm.payment.date || _vm.payment.date.length == 0,\"title\":(_vm.payment.vehicleId > 0) ? 'Select a vehicle':'Add new payment record'},on:{\"click\":_vm.onAddPaymentRecord}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Payment\\n \")])],1)],1),_c('DataTable',{ref:\"paymentRecords\",staticClass:\"mt-3\",attrs:{\"items\":_vm.paymentRecords,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No payments to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}}),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":!_vm.isModelDirty() || (_vm.paymentRecords.length == 0) || this.$v.payment.$invalid}},[_vm._v(\" Pay \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelPaymentRecordConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want close the payment record modal?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelPaymentRecordConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelPaymentRecordConf_OkButton\"},on:{\"click\":_vm.onOkayToCancel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showSelectPayeeModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectPayeeModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select \"+_vm._s(_vm.payeeTypeText)+\"\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectPayeeCancelBtn\"},on:{\"click\":function($event){_vm.showSelectPayeeModal = false}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.paymentRecord.payeeType == _vm.financierPayeeType)?_c('FinancierList',{attrs:{\"modalMode\":true},on:{\"onSelectFinancier\":_vm.onPayeeSelect}}):_vm._e(),(_vm.paymentRecord.payeeType == _vm.supplierPayeeType)?_c('SupplierList',{attrs:{\"modalMode\":true},on:{\"onSelectSupplier\":_vm.onPayeeSelect}}):_vm._e(),(_vm.paymentRecord.payeeType == _vm.clientPayeeType)?_c('ClientsList',{attrs:{\"viewMode\":_vm.modalModeClientListView},on:{\"onSelectClient\":_vm.onPayeeSelect}}):_vm._e(),(_vm.paymentRecord.payeeType == _vm.employerPayeeType)?_c('ClientEmployerList',{attrs:{\"clientId\":_vm.clientId},on:{\"onSelectEmployer\":_vm.onPayeeSelect}}):_vm._e()],1)]):_vm._e(),(_vm.showAddBankAccountModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"AddBankAccountModal\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Add Bank Account\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_c('AddEditBankAccount',{attrs:{\"relatedID\":_vm.paymentRecord.payeeId,\"relatedTable\":_vm.selectedRelatedTable,\"bankRequired\":false,\"modalMode\":true,\"filterBankAccountType\":0},on:{\"onBankAccountAdded\":_vm.closeAddBankAccountModal,\"onOkayToCancel\":function($event){_vm.showAddBankAccountModal = false}}})],1)])]):_vm._e(),(_vm.showAddBPayAccountModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"AddBPayAccountModal\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Add BPay Account\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_c('AddEditBPayAccount',{attrs:{\"relatedID\":_vm.paymentRecord.payeeId,\"relatedTable\":_vm.selectedRelatedTable,\"modalMode\":true},on:{\"onBPayAccountAdded\":_vm.closeAddBPayAccountModal,\"onOkayToCancel\":function($event){_vm.showAddBPayAccountModal = false}}})],1)])]):_vm._e(),_c('div',[_c('b-container',[_c('b-row',[_c('b-col',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[((_vm.viewMode == _vm.billExpenseClaimViewMode || _vm.viewMode == _vm.reimbursementExpenseClaimViewMode))?_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.paymentRecord.paymentDate.$error},attrs:{\"label\":\"Payment Date\",\"label-for\":\"paymentDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.paymentRecord.paymentDate || _vm.paymentRecord.paymentDate.length == 0) },attrs:{\"use-utc\":true,\"id\":'paymentDate',\"required\":\"\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"disabledDates\":_vm.disabledDates},on:{\"input\":function($event){return _vm.$v.paymentRecord.paymentDate.$touch();}},model:{value:(_vm.paymentRecord.paymentDate),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"paymentDate\", $$v)},expression:\"paymentRecord.paymentDate\"}}),(_vm.$v.paymentRecord.paymentDate.$dirty && !_vm.$v.paymentRecord.paymentDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Payment date is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),((_vm.viewMode == _vm.billExpenseClaimViewMode || _vm.viewMode == _vm.payMoneyViewMode))?_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Payee Type\",\"label-for\":\"payeeTypeSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.paymentRecord.payeeType == 0)},attrs:{\"id\":\"payeeTypeSelect\",\"plain\":true,\"options\":_vm.payeeTypes,\"required\":\"\"},on:{\"change\":function($event){return _vm.onPayeeTypeChange()}},model:{value:(_vm.paymentRecord.payeeType),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"payeeType\", $$v)},expression:\"paymentRecord.payeeType\"}},[(_vm.paymentRecord.payeeType == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Category\",\"label-for\":\"categorySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.paymentRecord.category == 0)},attrs:{\"id\":\"categorySelect\",\"plain\":true,\"options\":_vm.categories,\"required\":\"\"},model:{value:(_vm.paymentRecord.category),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"category\", $$v)},expression:\"paymentRecord.category\"}},[(_vm.paymentRecord.category == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),((_vm.viewMode == _vm.billExpenseClaimViewMode || _vm.viewMode == _vm.payMoneyViewMode))?_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error': !_vm.$v.paymentRecord.payeeId },attrs:{\"label\":\"Payee\",\"label-for\":\"payee\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"cursor-pointer\",class:{ 'requiredField': (_vm.paymentRecord.payeeId == 0) },attrs:{\"id\":\"payee\",\"type\":\"text\",\"placeholder\":\"Please select a payee\",\"required\":\"\",\"plain\":true,\"disabled\":_vm.paymentRecord.payeeType == _vm.payeeTypesEnum.Financier || _vm.paymentRecord.payeeType == _vm.payeeTypesEnum.Client},on:{\"click\":_vm.onSelectPayeeBtnClicked,\"input\":function($event){return _vm.$v.paymentRecord.payeeId.$touch()}},model:{value:(_vm.paymentRecord.payeeName),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"payeeName\", $$v)},expression:\"paymentRecord.payeeName\"}},[(_vm.paymentRecord.payeeId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select a Payee --\")])]):_vm._e()],2),(_vm.paymentRecord.payeeType != _vm.clientPayeeType && _vm.canAddPayee)?_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-search cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"id\":\"selectPayeeBtn\"},on:{\"click\":_vm.onSelectPayeeBtnClicked}})])],1):_vm._e()],1),(_vm.$v.paymentRecord.payeeId.$dirty && !_vm.$v.paymentRecord.payeeId.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Payee is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Account\",\"label-for\":\"acountSelect\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.paymentRecord.accountId.$error, 'requiredField': (_vm.paymentRecord.accountId == 0)},attrs:{\"id\":\"accountSelect\",\"plain\":true,\"options\":_vm.accounts,\"required\":\"\",\"disabled\":_vm.paymentRecord.payeeId == 0 || (_vm.paymentRecord.payeeType == _vm.payeeTypesEnum.Financier && _vm.paymentMethod == _vm.eftPaymentMethod)},on:{\"change\":function($event){return _vm.$v.paymentRecord.accountId.$touch();}},model:{value:(_vm.paymentRecord.accountId),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"accountId\", $$v)},expression:\"paymentRecord.accountId\"}},[(_vm.paymentRecord.accountId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(!(_vm.paymentRecord.payeeType == _vm.payeeTypesEnum.Financier && _vm.paymentMethod == _vm.eftPaymentMethod))?_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-plus\",class:{'cursor-pointer':_vm.paymentRecord.payeeId > 0},attrs:{\"aria-hidden\":\"true\",\"id\":\"addAccountBtn\",\"title\":_vm.paymentMethod == _vm.eftPaymentMethod? 'Add New Bank Account':'Add BPay Account'},on:{\"click\":_vm.showAddAccountModal}})])],1):_vm._e()],1),(_vm.$v.paymentRecord.accountId.$dirty && !_vm.$v.paymentRecord.accountId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Account is required.\\n \")]):_vm._e()],1)],1)],1),(_vm.viewMode == _vm.payMoneyViewMode)?_c('b-row',[_c('b-col',[_c('b-form-group',{class:{ 'form-group--error':(_vm.$v.paymentRecord.amount.$error) },attrs:{\"label\":\"Amount\",\"label-for\":\"amount\"}},[_c('b-input-group',{class:{'requiredField': (!_vm.paymentRecord.amount || _vm.paymentRecord.amount.length == 0)},attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"amount\",\"type\":\"text\",\"placeholder\":\"Enter amount\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.paymentRecord.amount.$touch()}},model:{value:(_vm.paymentRecord.amount),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"amount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"paymentRecord.amount\"}})],1),(_vm.$v.paymentRecord.amount.$dirty && !_vm.$v.paymentRecord.amount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Amount is required.\\n \")]):_vm._e(),(_vm.$v.paymentRecord.amount.$dirty && !_vm.$v.paymentRecord.amount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Amount is not valid.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',[_c('span',{staticClass:\"float-left\"},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"gstInclusiveCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":\"gstInclusiveCheckbox\"},model:{value:(_vm.paymentRecord.gstInclusive),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"gstInclusive\", $$v)},expression:\"paymentRecord.gstInclusive\"}})],1)],1),_c('span',{staticClass:\"float-left\"},[_vm._v(\" GST Inclusive \")])])],1),_c('b-row',[_c('b-col',[_c('b-form-group',{ref:\"reference\",class:{ 'form-group--error': _vm.$v.paymentRecord.reference.$error }},[_c('label',{attrs:{\"label-for\":\"reference\"}},[_vm._v(\"\\n Reference \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle text-info cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Reference on recipient's statement.\"}})])]),_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.paymentRecord.reference.length == 0) },attrs:{\"id\":\"reference\",\"type\":\"text\",\"placeholder\":\"Enter Reference\",\"required\":\"\",\"maxlength\":_vm.isBPay()?20:18},on:{\"input\":function($event){return _vm.$v.paymentRecord.reference.$touch()}},model:{value:(_vm.paymentRecord.reference),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"reference\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"paymentRecord.reference\"}}),(_vm.$v.paymentRecord.reference.$dirty && !_vm.$v.paymentRecord.reference.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reference is required.\\n \")]):_vm._e(),(_vm.$v.paymentRecord.reference.$dirty && !_vm.$v.paymentRecord.reference.isValidReference)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Reference.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{ref:\"description\",class:{ 'form-group--error': _vm.$v.paymentRecord.description.$error },attrs:{\"label\":\"Description\",\"label-for\":\"description\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.paymentRecord.description.length == 0) },attrs:{\"id\":\"description\",\"type\":\"text\",\"placeholder\":\"Enter Description\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.paymentRecord.description.$touch()}},model:{value:(_vm.paymentRecord.description),callback:function ($$v) {_vm.$set(_vm.paymentRecord, \"description\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"paymentRecord.description\"}}),(_vm.$v.paymentRecord.description.$dirty && !_vm.$v.paymentRecord.description.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Description is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.$v.paymentRecord.$invalid || !_vm.isModelDirty()}},[_vm._v(\" \"+_vm._s(_vm.editMode?'Update':'Add')+\" \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\" Cancel\")])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search px-0\",attrs:{\"sm\":\"7\",\"md\":\"6\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pr-0\",attrs:{\"sm\":\"5\",\"md\":\"6\"}})],1),_c('DataTable',{ref:\"employerTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"selectable\":false,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"modalMode\":true,\"emptyBanner\":\"No employer details to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport EmployerListActionButtons from './EmployerListActionButtons.vue'\nimport EditEmployerLink from './EditEmployerLink.vue'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\n(\n {\n components: {\n DataTable,\n EmployerListActionButtons,\n EditEmployerLink,\n FilterTextInput\n }\n }\n)\nexport default class ClientEmployerList extends Vue{\n @Prop() clientId:number;\n items:any = [];\n fields = [\n {key: 'businessName',sortable:'true',class:'width_30'},\n {key: 'abn',label:'ABN',sortable:'true',class:'width_30'},\n {key: 'acn',label:'ACN',sortable:'true',class:'width_30'},\n {key: 'actions',label:'',class:'text-center'} \n ];\n customTemplateList:Array = [\n {slot:\"businessName\",customTemplate:EditEmployerLink},\n {slot:\"actions\",customTemplate:EmployerListActionButtons}\n ]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"businessName\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = false;\n isAddButtonDisabled:boolean = true;\n\n mounted(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"businessName\",SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:0});\n }\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n if(sortBy != \"businessName\"){\n sortBy = sortBy.toUpperCase();\n }\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:0});\n }\n onSortingChange(ctx:any){\n var sortBy = ctx.sortBy;\n if(sortBy != \"businessName\"){\n sortBy = sortBy.toUpperCase();\n }\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:this.clientId,Status:0});\n }\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Employer\",\"ClientEmployerList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onCustomDataTableEvent(item:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.onViewEmployer(item);\n } \n if(type == DataTableActionTypes.Select){\n this.onSelectEmployer(item);\n }\n }\n\n onViewEmployer(data:any){\n this.$router.push({ name: 'Edit Employer', params: { id:data.id, routerDisplayName:'details'}});\n }\n\n filterGrid(filterText:string){\n this.filter = filterText;\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"businessName\",SortDesc:false,SearchByString:filterText,RelatedId:0,Status:0});\n }\n\n resetTable(){\n (this.$refs.employerTable as DataTable).reset();\n }\n \n @Emit('onSelectEmployer') onSelectEmployer(data:any){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clientEmployerList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./clientEmployerList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./clientEmployerList.vue?vue&type=template&id=08a50215\"\nimport script from \"./clientEmployerList.vue?vue&type=script&lang=ts\"\nexport * from \"./clientEmployerList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./clientEmployerList.vue?vue&type=style&index=0&id=08a50215&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Emit } from \"vue-property-decorator\";\nimport apiService from \"@/shared/services/apiService\";\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport ClientsList from '@/components/admin/clientManagement/ClientsList.vue';\nimport FinancierList from '@/components/admin/financierManagement/FinancierList.vue';\nimport SupplierList from '@/components/admin/supplierManagement/SupplierList.vue';\nimport {PaymentRecordModel} from '@/models/paymentRecord.model';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\nimport { validationMixin } from 'vuelidate';\nimport { required, minValue} from 'vuelidate/lib/validators';\nimport lookupService from '@/shared/services/lookupService';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport {PayeeTypes} from '@/shared/enums/payeeTypes.enum';\nimport {PaymentRecordViewModes, ClientsListViewModes} from '@/shared/enums/viewModes.enum';\nimport moment from 'moment';\nimport { PaymentMethods } from '@/shared/enums/paymentMethods.enum';\nimport AddEditBankAccount from '@/components/admin/bankAccount/AddEditBankAccount.vue';\nimport AddEditBPayAccount from '@/components/admin/bpayAccount/AddEditBPayAccount.vue';\nimport { ExpenseCategories } from '@/shared/enums/expenseClaims.enum'\nimport { TransactionCategoryTypes } from '@/shared/enums/transaction.enum';\nimport { OtherCategories } from '@/shared/enums/otherCategoryTypes.enum';\nimport ClientEmployerList from '@/components/admin/employerManagement/clientEmployerList.vue';\nimport { VehicleLeaseTypes } from \"@/shared/enums/vehicleLeaseTypes.enum\";\n\n@Component({\n mixins:[validationMixin],\n components:{\n Modal,\n ClientsList,\n FinancierList,\n SupplierList,\n ClientEmployerList,\n AddEditBankAccount,\n AddEditBPayAccount\n },\n validations:{\n paymentRecord:{\n paymentDate:{\n required,\n },\n payeeId:{\n required,\n minValue:minValue(1)\n },\n accountId:{\n required,\n minValue:minValue(1)\n },\n amount:{\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n reference: {\n required,\n isValidReference : function(value, vm){\n return this.isValidReference(value, vm)\n }\n },\n description:{\n required\n },\n category:{\n type:{\n required,\n minValue: minValue(1)\n }\n }\n }\n }\n})\nexport default class PaymentRecord extends Vue{\n @Prop() editMode:any;\n @Prop() recordToEdit:any;\n @Prop() currentIndex:any;\n @Prop() viewMode:PaymentRecordViewModes;\n @Prop() paymentMethod:any;\n @Prop() clientId:number;\n @Prop() clientName:string;\n @Prop() paymentAccountRelatedId:any;\n @Prop() paymentAccountId:any;\n @Prop() leaseType:number;\n @Prop() payeeId:any;\n\n dirtyValidationConfirmation:boolean = false;\n backNavigationConfirmation:boolean = false;\n paymentRecord:PaymentRecordModel = {tempId:0,paymentDate:\"\",payeeName:\"\",payeeId:0,accountId:0,amount:\"\",reference:\"\",description:\"\",payeeType:0, accountName:\"\",isReadOnly:false, category:0, gstInclusive:true};\n dirtyValidationRefNo:number = 0;\n payeeTypes:any[] = [];\n showSelectPayeeModal:boolean = false;\n accounts:any[] = [];\n initialModel:any = {};\n hideFooter:boolean = true;\n payMoneyViewMode:PaymentRecordViewModes = PaymentRecordViewModes.PayMoney;\n billExpenseClaimViewMode:PaymentRecordViewModes = PaymentRecordViewModes.BillExpenseClaim;\n reimbursementExpenseClaimViewMode:PaymentRecordViewModes = PaymentRecordViewModes.ReimbursementExpenseClaim;\n disabledDates:any ={};\n payeeTypesEnum:any = PayeeTypes;\n // TODO: Consider removing the following 4 variables, and instead use 'payeeTypesEnum' defined above\n financierPayeeType:PayeeTypes = PayeeTypes.Financier;\n supplierPayeeType:PayeeTypes = PayeeTypes.Supplier;\n clientPayeeType:PayeeTypes = PayeeTypes.Client;\n employerPayeeType:PayeeTypes = PayeeTypes.Employer;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n eftPaymentMethod:PaymentMethods = PaymentMethods.EFT;\n bpayPaymentMethod:PaymentMethods = PaymentMethods.BPAY;\n showAddBankAccountModal:boolean = false;\n showAddBPayAccountModal:boolean = false;\n selectedRelatedTable:number = 0;\n newAddedAccountId:number = 0;\n modalModeClientListView:ClientsListViewModes = ClientsListViewModes.ModalMode;\n categories:any[] = [];\n allCategories:any[] = [];\n payeeTypeText:string = \"\";\n canAddPayee:boolean = true;\n\n mounted(){\n if(this.editMode){\n this.paymentRecord = Object.assign({},this.recordToEdit);\n if(this.paymentRecord.payeeType == PayeeTypes.Financier){\n \n this.paymentMethod == this.eftPaymentMethod? (this.paymentAccountRelatedId != null ? this.getLeaseFinancierBankAccounts() : this.getBankAccounts(RelatedTables.Financier)): this.getBPayAccounts(RelatedTables.Financier);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Client){\n this.paymentMethod == this.eftPaymentMethod?this.getBankAccounts(RelatedTables.Client) : this.getBPayAccounts(RelatedTables.Client);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Supplier){\n this.paymentMethod == this.eftPaymentMethod?this.getBankAccounts(RelatedTables.Supplier) : this.getBPayAccounts(RelatedTables.Supplier);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Employer){\n this.paymentMethod == this.getBankAccounts(RelatedTables.Employer);\n }\n }\n else\n {\n if(this.viewMode == this.reimbursementExpenseClaimViewMode && this.recordToEdit != null)\n {\n this.paymentRecord.payeeType = PayeeTypes.Client;\n this.paymentRecord.payeeId = this.recordToEdit.payeeId;\n this.paymentRecord.accountId = this.recordToEdit.accountId;\n this.paymentRecord.amount = this.recordToEdit.amount;\n this.paymentMethod == this.eftPaymentMethod?this.getBankAccounts(RelatedTables.Client) : this.getBPayAccounts(RelatedTables.Client);\n }\n else if (this.viewMode == this.billExpenseClaimViewMode)\n {\n this.paymentRecord.amount = this.recordToEdit.amount;\n }\n else if(this.viewMode == this.payMoneyViewMode)\n {\n //this is for model getting invalid\n this.paymentRecord.paymentDate = this.todayDateUTC;\n }\n }\n\n this.initialModel = Object.assign({},this.paymentRecord);\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.paymentRecord);\n this.loadPayeeTypes();\n this.loadCategoryList();\n this.disabledDates = {to:moment(this.todayDateUTC).subtract(1,'days').toDate()};\n }\n\n onCancel(){\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo)){\n this.dirtyValidationConfirmation = true;\n } \n else{\n this.onClosePaymentModal();\n }\n }\n\n onSubmit(){\n var selectedBankAccountName = this.getAccountName();\n this.paymentRecord.accountName = selectedBankAccountName;\n if(!this.editMode){\n this.paymentRecord.tempId = this.currentIndex;\n }\n this.onAddPayment(this.paymentRecord);\n this.paymentRecord = Object.assign({},this.initialModel);\n }\n\n onSelectPayeeBtnClicked(){\n if(this.paymentRecord.payeeType != PayeeTypes.Client){\n this.showSelectPayeeModal = true;\n }\n }\n\n onPayeeTypeChange(){\n this.$nextTick().then(x => {\n this.paymentRecord.payeeId = 0;\n this.accounts = [];\n this.paymentRecord.payeeName = \"\";\n this.paymentRecord.category = 0;\n this.paymentRecord.accountId = 0;\n this.paymentRecord.accountName = \"\";\n this.setCategories();\n }); \n }\n\n setCategories(){\n if(this.paymentRecord.payeeType == PayeeTypes.Financier){\n this.payeeTypeText = \"Financier\";\n this.selectedRelatedTable = RelatedTables.Financier;\n this.categories = this.allCategories.filter(obj => obj.value.type == TransactionCategoryTypes.Expense && obj.value.category == ExpenseCategories.LeasePayment);\n if (this.payeeId != null && this.payeeId > 0)\n this.loadFinancierName()\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Client){\n this.payeeTypeText = \"Client\";\n this.selectedRelatedTable = RelatedTables.Client;\n this.paymentRecord.payeeId = this.clientId\n this.paymentRecord.payeeName = this.clientName;\n this.paymentMethod == this.eftPaymentMethod?this.getBankAccounts(RelatedTables.Client) : this.getBPayAccounts(RelatedTables.Client);\n this.categories = this.allCategories.filter(obj => obj.value.type == TransactionCategoryTypes.Other && obj.value.category == OtherCategories.PaymentRefund);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Supplier){ \n this.payeeTypeText = \"Supplier\";\n this.selectedRelatedTable = RelatedTables.Supplier;\n this.categories = this.allCategories.filter(obj => obj.value.type == TransactionCategoryTypes.Expense && obj.value.category != ExpenseCategories.LeasePayment);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Employer){\n this.payeeTypeText = \"Employer\";\n this.selectedRelatedTable = RelatedTables.Employer;\n this.categories = this.allCategories.filter(obj => obj.value.type == TransactionCategoryTypes.Other && obj.value.category == OtherCategories.PaymentRefund);\n }\n\n if(this.categories && this.categories.length == 1 && this.paymentRecord.category == 0){\n this.paymentRecord.category = this.categories[0].value;\n }\n }\n\n loadFinancierName(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {id:this.payeeId}\n apiService.sendGetRequest('Financier','FinancierName',params).then(response=>{\n this.canAddPayee = false;\n this.paymentRecord.payeeId = this.payeeId; \n this.paymentRecord.accountId = 0;\n this.paymentRecord.accountName = \"\";\n this.paymentRecord.payeeName = response.data;\n this.paymentMethod == this.eftPaymentMethod? (this.paymentAccountRelatedId != null ? this.getLeaseFinancierBankAccounts() :\n this.getBankAccounts(RelatedTables.Financier)): this.getBPayAccounts(RelatedTables.Financier);\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n getPayeeName(data:any){\n if(this.paymentRecord.payeeType == PayeeTypes.Financier){\n return data.name;\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Client){\n return data.firstName + ' ' + data.lastName;\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Supplier){\n return data.name;\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Employer){\n return data.businessName;\n }\n return \"\";\n }\n\n onPayeeSelect(data:any){\n this.paymentRecord.payeeName = this.getPayeeName(data);\n this.paymentRecord.payeeId = data.id;\n this.paymentRecord.accountId = 0;\n this.paymentRecord.accountName = \"\";\n if(this.paymentRecord.payeeType == PayeeTypes.Financier){\n this.paymentMethod == this.eftPaymentMethod? (this.paymentAccountRelatedId != null ? this.getLeaseFinancierBankAccounts() :\n this.getBankAccounts(RelatedTables.Financier)): this.getBPayAccounts(RelatedTables.Financier);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Client){\n this.paymentMethod == this.eftPaymentMethod?this.getBankAccounts(RelatedTables.Client) : this.getBPayAccounts(RelatedTables.Client);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Supplier){\n this.paymentMethod == this.eftPaymentMethod?this.getBankAccounts(RelatedTables.Supplier) : this.getBPayAccounts(RelatedTables.Supplier);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Employer){\n this.paymentMethod == this.getBankAccounts(RelatedTables.Employer);\n }\n this.showSelectPayeeModal = false;\n }\n\n getLeaseFinancierBankAccounts(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('BankAccount','LeaseFinancierBankAccountsSelectList',{relatedTable: RelatedTables.VehicleLease,\n relatedId: this.paymentAccountRelatedId, financierId: this.paymentRecord.payeeId}).then( response=>{\n this.accounts = response.data;\n if(this.accounts && this.accounts.length > 0 && this.paymentAccountId != null){\n this.paymentRecord.accountId = this.accounts.filter(a => a.value == this.paymentAccountId)[0].value;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n getBankAccounts(relatedTable:RelatedTables){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"BankAccount\",\"BankAccountsSelectList\",{relatedTable:relatedTable, relatedId:this.paymentRecord.payeeId}).then(response =>{\n this.accounts = response.data.filter(obj => obj.disabled == false);\n if(this.newAddedAccountId > 0)\n {\n this.paymentRecord.accountId = this.newAddedAccountId;\n this.newAddedAccountId = 0;\n }\n else if(this.accounts.length == 1)\n {\n this.paymentRecord.accountId = this.accounts[0].value;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n getBPayAccounts(relatedTable:RelatedTables){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"BankAccount\",\"BPayAccountsSelectList\",{relatedTable:relatedTable, relatedId:this.paymentRecord.payeeId}).then(response =>{\n this.accounts = response.data.filter(obj => obj.disabled == false);\n if(this.newAddedAccountId > 0)\n {\n this.paymentRecord.accountId = this.newAddedAccountId;\n this.newAddedAccountId = 0;\n }\n else if(this.accounts.length == 1)\n {\n this.paymentRecord.accountId = this.accounts[0].value;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n getAccountName(){\n for(var i = 0; i < this.accounts.length; i++){\n if(this.accounts[i].value == this.paymentRecord.accountId){\n return this.accounts[i].text;\n }\n }\n }\n\n onOkayToCancel(){\n this.paymentRecord = Object.assign({},this.initialModel);\n this.dirtyValidationConfirmation = false;\n this.onClosePaymentModal();\n }\n \n loadPayeeTypes(){\n lookupService.GetPayeeTypesList().then(result =>{\n if(this.paymentMethod != this.eftPaymentMethod){\n if (this.paymentMethod == this.bpayPaymentMethod){\n this.payeeTypes = result.filter(obj => obj.value != PayeeTypes.Employer && obj.value != PayeeTypes.Client);\n }else{\n this.payeeTypes = result.filter(obj => obj.value != PayeeTypes.Employer);\n }\n }\n if(this.leaseType != VehicleLeaseTypes.NovatedFullyMaintained){\n if(this.paymentMethod == this.bpayPaymentMethod){\n this.payeeTypes = result.filter(obj => obj.value != PayeeTypes.Financier && obj.value != PayeeTypes.Client);\n }else{\n this.payeeTypes = result.filter(obj => obj.value != PayeeTypes.Financier);\n }\n }\n else{\n if (this.paymentMethod == this.bpayPaymentMethod){\n this.payeeTypes = result.filter(obj => obj.value != PayeeTypes.Client);\n } else{\n this.payeeTypes = result;\n }\n }\n });\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo);\n }\n\n closeAddBankAccountModal(data:any){\n this.showAddBankAccountModal = false;\n this.newAddedAccountId = data.id;\n if(this.paymentRecord.payeeType == PayeeTypes.Financier){\n this.paymentAccountRelatedId != null ? this.getLeaseFinancierBankAccounts() : this.getBankAccounts(RelatedTables.Financier)\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Client){\n this.getBankAccounts(RelatedTables.Client);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Supplier){\n this.getBankAccounts(RelatedTables.Supplier);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Employer){\n this.getBankAccounts(RelatedTables.Employer);\n }\n }\n\n closeAddBPayAccountModal(data:any){\n this.showAddBPayAccountModal = false;\n this.newAddedAccountId = data.id;\n if(this.paymentRecord.payeeType == PayeeTypes.Financier){\n this.getBPayAccounts(RelatedTables.Financier);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Client){\n this.getBPayAccounts(RelatedTables.Client);\n }\n if(this.paymentRecord.payeeType == PayeeTypes.Supplier){\n this.getBPayAccounts(RelatedTables.Supplier);\n }\n }\n\n showAddAccountModal(){\n if(this.paymentRecord.payeeId > 0){\n this.paymentMethod == this.eftPaymentMethod ? (this.showAddBankAccountModal = true) : (this.showAddBPayAccountModal = true);\n }\n }\n\n isValidReference(value, vm){\n if(this.paymentMethod == PaymentMethods.EFT){\n if(/[,]+/.test(value)){\n return false;\n }\n else{\n return true;\n }\n }\n else{\n return !isNaN(value) && (value%1 == 0) && !(/[.]+/.test(value));\n }\n }\n\n isBPay(){\n return this.paymentMethod == PaymentMethods.BPAY;\n }\n\n loadCategoryList(){\n lookupService.GetExpenseAndOtherCategoriesList().then(data => {\n this.allCategories = data;\n if(this.editMode){\n this.setCategories();\n }\n })\n }\n \n @Emit('onAddPayment') onAddPayment(payment:PaymentRecordModel){\n }\n\n @Emit('onClosePaymentModal') onClosePaymentModal(){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentRecord.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentRecord.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PaymentRecord.vue?vue&type=template&id=e007059c&scoped=true\"\nimport script from \"./PaymentRecord.vue?vue&type=script&lang=ts\"\nexport * from \"./PaymentRecord.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PaymentRecord.vue?vue&type=style&index=0&id=e007059c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e007059c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeletePaymentConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeletePaymentConf\"},on:{\"ok\":_vm.deletePayment}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Payment\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the payment record?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeletePaymentConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeletePaymentConfirmationModal=false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeletePaymentConf_OkButton\"},on:{\"click\":_vm.deletePayment}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.isReadOnly)?_c('span',{staticClass:\"ml-2 grid-large-icon\",attrs:{\"title\":\"Edit Payment\"},on:{\"click\":_vm.editPayment}},[_c('i',{staticClass:\"fas fa-edit edit-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(!_vm.isReadOnly)?_c('span',{staticClass:\"ml-2 grid-large-icon\",attrs:{\"title\":\"Delete Payment\"},on:{\"click\":function($event){_vm.showDeletePaymentConfirmationModal = true}}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component(\n {\n components: {\n Modal\n }\n }\n)\nexport default class PaymentListActionButtons extends Vue{\n @Prop() item:any\n showDeletePaymentConfirmationModal = false;\n isReadOnly:boolean = false;\n\n created()\n {\n this.isReadOnly = !(this.item.isReadOnly == null || !this.item.isReadOnly);\n }\n\n deletePayment(){\n this.showDeletePaymentConfirmationModal = false;\n this.onDeletePayment(this.item.tempId,DataTableActionTypes.Delete)\n }\n\n @Emit('customEvent') onDeletePayment(id:number,type:DataTableActionTypes){\n }\n\n editPayment(){\n this.onEditPayment(this.item,DataTableActionTypes.Edit)\n }\n\n @Emit('customEvent') onEditPayment(item:any,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PaymentListActionButtons.vue?vue&type=template&id=861145be&scoped=true\"\nimport script from \"./PaymentListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./PaymentListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PaymentListActionButtons.vue?vue&type=style&index=0&id=861145be&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"861145be\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport FileUploader from \"@/shared/components/fileUploader/FileUploader.vue\"\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport ClientsList from '@/components/admin/clientManagement/ClientsList.vue';\r\nimport {PaymentModel} from '@/models/payment.model';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required,minValue} from 'vuelidate/lib/validators'\r\nimport lookupService from '@/shared/services/lookupService'\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport PaymentRecord from './PaymentRecord.vue'\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport {PaymentRecordModel} from '@/models/paymentRecord.model';\r\nimport PaymentListActionButtons from './PaymentListActionButtons.vue'\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport {PaymentRecordViewModes, ClientsListViewModes} from '@/shared/enums/viewModes.enum';\r\nimport { VehicleLeaseTypes } from \"@/shared/enums/vehicleLeaseTypes.enum\";\r\n\r\n@Component({\r\n mixins:[validationMixin],\r\n components:{\r\n FileUploader,\r\n Modal,\r\n ClientsList,\r\n DataTable,\r\n PaymentRecord\r\n },\r\n validations:{\r\n payment:{\r\n date:{\r\n required\r\n },\r\n clientId:{\r\n required,\r\n minValue:minValue(1)\r\n },\r\n method:{\r\n required,\r\n minValue:minValue(1)\r\n },\r\n vehicleId: {\r\n required,\r\n minValue:minValue(1)\r\n },\r\n relatedEntity: {\r\n required,\r\n minValue:minValue(1)\r\n }\r\n }\r\n }\r\n})\r\nexport default class PayMoney extends Vue{\r\n \r\n dirtyValidationConfirmation:boolean = false;\r\n backNavigationConfirmation:boolean = false;\r\n lastUpadatedBy:string = '';\r\n logoUploaded:boolean = false;\r\n favIconUploaded:boolean = false;\r\n lastUpdatedDate:any = new Date();\r\n payment:PaymentModel = {date:\"\", clientId:0, vehicleId:0, relatedEntity:0, method:0, paymentRecords:[]};\r\n dirtyValidationRefNo:number = 0;\r\n paymentMethods:any[] = [];\r\n paymentTypes:any[] = [];\r\n vehicles:any[] = [];\r\n showSelectClientModal:boolean = false;\r\n clients:any[] = [];\r\n financiers:any[] = [];\r\n payees:any[] = [];\r\n employers:any[] = [];\r\n balance:string = \"\";\r\n clientName:string = \"\";\r\n paymentRecords:any[] = [];\r\n showAddEditPaymentModal:boolean = false;\r\n showSuccessModal:boolean = false;\r\n currentIndex:number = 0;\r\n customTemplateList:Array = [\r\n {slot:\"actions\",customTemplate:PaymentListActionButtons}\r\n ];\r\n recordToEdit:any = {};\r\n editMode:boolean = false;\r\n disabledDates:any ={};\r\n fields = [\r\n {key: 'payeeName',class:'width_15',},\r\n {key: 'accountName',label:'Account',class:'width_20'},\r\n {key: 'amount',class:'width_10 text-right'},\r\n {key:'gstInclusive', label:\"GST Inclusive\", formatter: (value, key, item) => {\r\n if(item.gstInclusive == true){\r\n return \"Yes\";\r\n } else {\r\n return \"No\";\r\n }\r\n\r\n }},\r\n {key: 'reference',class:'width_20'},\r\n {key: 'description'},\r\n {key: 'actions',label:\"\",class:'text-center text-nowrap width_10'} \r\n ];\r\n \r\n hideFooter = true;\r\n paymentRecordViewMode:PaymentRecordViewModes = PaymentRecordViewModes.PayMoney;\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n modalModeClientListView:ClientsListViewModes = ClientsListViewModes.ModalMode;\r\n leaseId:any = null;\r\n leaseBankAccountId:any = null;\r\n leaseType:number = 0;\r\n payeeId:any = null;\r\n groupedRelatedEntityList:any = [];\r\n \r\n mounted(){\r\n this.payment.date = this.todayDateUTC;\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.payment);\r\n this.loadPayementMethodsList();\r\n this.disabledDates = {to:this.todayDateUTC};\r\n }\r\n onCancel(){\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo)){\r\n this.dirtyValidationConfirmation = true;\r\n }\r\n }\r\n\r\n onSubmit(){\r\n var processedPaymentRecords = this.paymentRecords.map(record => {\r\n return {\r\n payeeId: record.payeeId,\r\n payeeType:record.payeeType,\r\n description:record.description,\r\n amount:record.amount,\r\n gstInclusive:record.gstInclusive,\r\n reference:record.reference,\r\n accountId:record.accountId,\r\n isLeasePayment:record.isLeasePayment,\r\n category:record.category.category,\r\n categoryType:record.category.type\r\n };\r\n });\r\n var params = {\r\n date : this.payment.date,\r\n method : this.payment.method,\r\n relatedId : this.payment.vehicleId,\r\n relatedEntity : this.payment.relatedEntity,\r\n paymentRecords: processedPaymentRecords\r\n }\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPutRequest(\"Finance\",\"Payments\",params).then(response =>{\r\n if(response.data.isSuccess){\r\n this.showSuccessModal = true;\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n \r\n routerNavigateBack(){\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo)){\r\n this.backNavigationConfirmation = true;\r\n }\r\n else{\r\n this.onOkayToGoBack();\r\n }\r\n }\r\n\r\n onOkayToGoBack(){\r\n this.$router.push({name:'Dashboard'}); \r\n this.backNavigationConfirmation = false;\r\n }\r\n \r\n onClientSelect(data:any){\r\n this.clientName = data.firstName + ' ' + data.lastName;\r\n this.payment.clientId = data.id;\r\n this.loadVehicleList(data.id);\r\n this.payment.vehicleId = 0;\r\n this.payment.relatedEntity = 0;\r\n this.$v.payment.vehicleId.$reset();\r\n this.$v.payment.relatedEntity.$reset();\r\n this.balance = \"\";\r\n this.showSelectClientModal = false;\r\n }\r\n\r\n onSelectClientBtnClicked(){\r\n this.showSelectClientModal = true;\r\n }\r\n\r\n loadClientEmployers(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Employer\",\"ClientEmployerList\",{}).then(response =>{\r\n this.employers = response.data.filter(obj => obj.disabled == false);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadPayementMethodsList(){\r\n lookupService.GetPaymentMethodList().then(result =>{\r\n this.paymentMethods = result;\r\n });\r\n }\r\n\r\n loadVehicleList(clientID:number){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Vehicle\",\"MotorVehicleSelectList\",{clientID:clientID}).then(response =>{\r\n this.vehicles = response.data.filter(obj => obj.disabled == false);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n onSelectVehicle(){\r\n this.$nextTick(()=>{\r\n this.balance = \"\";\r\n this.payment.relatedEntity = 0;\r\n });\r\n\r\n this.loadGroupedNovations(this.payment.vehicleId);\r\n }\r\n\r\n\r\n loadGroupedNovations(vehicleId){\r\n return new Promise((resolve, reject)=>{\r\n var params = { vehicleId: vehicleId, onlyActiveNovations: true, getLatestNovations: true};\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Novation','NovationsGroupedByLease',params).then(response => {\r\n if(response.data){\r\n this.groupedRelatedEntityList = response.data;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n })\r\n }\r\n\r\n onChangeRelatedEntity(){\r\n this.getRelatedEntityLedgerBalance();\r\n apiService.sendGetRequest(\"Lease\",\"VehicleLeaseByRelatedEntity\",{relatedEntity:this.payment.relatedEntity}).then(response =>{\r\n this.leaseType = response.data.type;\r\n this.leaseId = this.leaseType == VehicleLeaseTypes.NovatedFullyMaintained ? response.data.id : null;\r\n this.leaseBankAccountId = this.leaseType == VehicleLeaseTypes.NovatedFullyMaintained ? response.data.leaseBankAccountId : null;\r\n this.payeeId = this.leaseType == VehicleLeaseTypes.NovatedFullyMaintained ? response.data.financier : null;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n getRelatedEntityLedgerBalance(){\r\n this.$nextTick().then(r =>{\r\n if(fieldValidations.isValidNumber(this.payment.relatedEntity)){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n \r\n lookupService.GetRelatedEntityLedgerBalance(this.payment.relatedEntity).then(data =>\r\n { \r\n this.balance = data.inclusiveBalance; \r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n })\r\n }\r\n\r\n onAddPaymentRecord(){\r\n this.showAddEditPaymentModal = true;\r\n }\r\n\r\n onAddPayment(payment:PaymentRecordModel){\r\n if(this.editMode){\r\n var index = this.getPaymentRecordIndex(payment.tempId);\r\n this.paymentRecords.splice(index,1,payment);\r\n this.recordToEdit = {};\r\n this.editMode = false;\r\n }\r\n else{\r\n this.paymentRecords.push(payment);\r\n this.currentIndex = this.currentIndex + 1;\r\n }\r\n this.showAddEditPaymentModal = false;\r\n }\r\n\r\n onClosePaymentModal(){\r\n this.showAddEditPaymentModal = false;\r\n this.recordToEdit = {};\r\n this.editMode = false;\r\n }\r\n\r\n isModelDirty(){\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo);\r\n }\r\n\r\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.Delete){\r\n var index = this.getPaymentRecordIndex(data);\r\n this.paymentRecords.splice(index,1);\r\n }\r\n if(type == DataTableActionTypes.Edit){\r\n this.recordToEdit = data;\r\n this.editMode = true;\r\n this.showAddEditPaymentModal = true;\r\n }\r\n }\r\n\r\n getPaymentRecordIndex(id:number){\r\n for(var i = 0; i < this.paymentRecords.length; i++){\r\n if(this.paymentRecords[i].tempId == id){\r\n return i;\r\n }\r\n }\r\n }\r\n\r\n onOkayToCancel(){\r\n this.payment = {date:\"\", clientId:0, vehicleId:0, relatedEntity:0, method:0, paymentRecords:[]};\r\n this.paymentRecords = [];\r\n dirtyValidatorService.clearChanges(this.dirtyValidationRefNo);\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.payment);\r\n this.$v.payment.$reset();\r\n this.dirtyValidationConfirmation = false;\r\n }\r\n\r\n onCreateNewPayment(){\r\n this.showSuccessModal = false;\r\n this.payment = {date:\"\", clientId:0, vehicleId:0, relatedEntity:0, method:0, paymentRecords:[]};\r\n this.paymentRecords = [];\r\n dirtyValidatorService.clearChanges(this.dirtyValidationRefNo);\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.payment);\r\n this.$v.payment.$reset();\r\n }\r\n\r\n onViewLedger(){\r\n this.showSuccessModal = false;\r\n this.$router.push({name:'Edit Novation', params:{novationID: this.payment.relatedEntity.toString(), topRouteDisplayName:'relatedentitytypes', routerDisplayName:'ledger'}}); \r\n }\r\n\r\n onViewGeneratePaymentFile(){\r\n this.showSuccessModal = false;\r\n this.$router.push({name:'EFT Details', params:{routerDisplayName: 'generate'}});\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PayMoney.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PayMoney.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./PayMoney.vue?vue&type=template&id=b9491632&scoped=true\"\nimport script from \"./PayMoney.vue?vue&type=script&lang=ts\"\nexport * from \"./PayMoney.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PayMoney.vue?vue&type=style&index=0&id=b9491632&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b9491632\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isClient)?_c('ClientDetails',{attrs:{\"IsProfileMode\":true,\"ClientId\":_vm.relatedId}}):_vm._e(),(_vm.isSupplier)?_c('SupplierDetails',{attrs:{\"IsProfileMode\":true,\"SupplierIdProp\":_vm.relatedId}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport ClientDetails from '@/components/admin/clientManagement/ClientDetails.vue';\nimport SupplierDetails from '@/components/admin/supplierManagement/SupplierDetails.vue';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\n\n@Component({\n components: {\n ClientDetails,\n SupplierDetails\n }\n})\nexport default class MyProfile extends Vue{\n relatedId:number = 0;\n supplierId:number = 0;\n isClient:boolean = false;\n isSupplier:boolean = false;\n\n created(){\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n this.isSupplier = this.$store.getters.isAuthorizedRole(UserRoles.Supplier);\n var token = this.$store.getters.getToken;\n if(this.isClient || this.isSupplier){\n this.relatedId = token? token.relatedEntityId : 0;\n }\n }\n}\n","export enum ExpenseClaimActionTypes\r\n{\r\n SubmitAndApprove = 1,\r\n Approve = 2,\r\n Query = 3,\r\n Reject = 4,\r\n Delete = 5,\r\n} ","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyProfile.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyProfile.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MyProfile.vue?vue&type=template&id=8047c04c&scoped=true\"\nimport script from \"./MyProfile.vue?vue&type=script&lang=ts\"\nexport * from \"./MyProfile.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8047c04c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-3\"},[(_vm.showCancelEditReimbursementLine)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelEditReimbursementLineConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelEditReimbursementLineConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelEditReimbursementLine = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelEditReimbursementLineConf_OkButton\"},on:{\"click\":function($event){_vm.expenseClaim.id == 0 ? _vm.cancelEditExpenseClaim() : _vm.cancelUpdateReimbursement()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.backNavigationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"NavigatePaymentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to go back?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"NavigateBackConf_CancelButton\"},on:{\"click\":function($event){_vm.backNavigationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"NavigateBackConf_OkButton\"},on:{\"click\":_vm.onOkayToGoBack}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showSelectClientModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Client\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":function($event){_vm.showSelectClientModal = false}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ClientsList',{attrs:{\"viewMode\":_vm.modalModeClientListView},on:{\"onSelectClient\":_vm.onClientSelect}})],1)]):_vm._e(),(_vm.showSelectVehicleModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectVehicleModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Vehicle\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectVehicleCancelBtn\"},on:{\"click\":function($event){_vm.showSelectVehicleModal = false}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('MotorVehicleSelectList',{on:{\"onSelectVehicle\":_vm.onSelectVehicle}})],1)]):_vm._e(),(_vm.ShowLowLedgerBalance)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"LowLedgerBalanceConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n The payment amount of \"),_c('ApexCurrency',{attrs:{\"value\":_vm.expenseClaim.gstInclusiveAmount}}),_vm._v(\" is more than the available ledger balance amount of \"),_c('ApexCurrency',{attrs:{\"value\":_vm.balance}}),_vm._v(\". \\n Do you wish to continue?\\n \")],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"LowLedgerBalanceConf_CancelButton\"},on:{\"click\":function($event){_vm.ShowLowLedgerBalance = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"LowLedgerBalanceConf_OkButton\"},on:{\"click\":function($event){return _vm.approveExpenseClaim()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showRejectOrQueryExpenseNoteModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showRejectOrQueryExpenseNoteModalId\",\"maxWidth\":\"500px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.rejectOrQueryModalText)+\" Expense Claim Note \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(this.expenseClaim && _vm.expenseClaim.type == _vm.expenseClaimReImbursementType && this.expenseClaim.expenseClaimLines.length > 0)?_c('b-table',{ref:\"expenseClaimRejectOrQueryNotes\",attrs:{\"items\":this.expenseClaim.expenseClaimLines,\"fields\":_vm.expenseClaimLinesRejectOrQueryNoteFields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([{key:\"cell(rowNo)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"1\"}},[_vm._v(\"\\n \"+_vm._s(_vm.expenseClaim.expenseClaimLines[row.item.index].rowNo)+\"\\n \")])],1)]}},{key:\"cell(note)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"grid-textInput\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.expenseClaim.expenseClaimLines[row.item.index].rejectOrQueryNote),expression:\"expenseClaim.expenseClaimLines[row.item.index].rejectOrQueryNote\",modifiers:{\"trim\":true}}],staticClass:\"textInput grid-textInput form-control\",attrs:{\"type\":\"text\",\"id\":\"reason\",\"rows\":\"1\"},domProps:{\"value\":(_vm.expenseClaim.expenseClaimLines[row.item.index].rejectOrQueryNote)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.$set(_vm.expenseClaim.expenseClaimLines[row.item.index], \"rejectOrQueryNote\", $event.target.value.trim())},\"blur\":function($event){return _vm.$forceUpdate()}}})])],1)],1)]}}],null,false,3756749984)}):_vm._e(),(_vm.expenseClaim && _vm.expenseClaim.type == _vm.expenseClaimBillType)?_c('b-form-group',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.rejectOrQueryNoteText),expression:\"rejectOrQueryNoteText\",modifiers:{\"trim\":true}}],class:{'textInput':true,\n 'form-control':true,\n 'form-group--error': _vm.$v.rejectOrQueryNoteText.$error},attrs:{\"id\":\"note\",\"rows\":\"5\",\"placeholder\":\"Enter Note\"},domProps:{\"value\":(_vm.rejectOrQueryNoteText)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.rejectOrQueryNoteText=$event.target.value.trim()},function($event){return _vm.$v.rejectOrQueryNoteText.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.rejectOrQueryNoteText.$dirty && !_vm.$v.rejectOrQueryNoteText.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Note is required.\\n \")]):_vm._e()]):_vm._e()],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showRejectOrQueryExpenseNoteModal_CancelButton\"},on:{\"click\":function($event){return _vm.onClickCancelRejectOrQueryExpenseClaim()}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right\",class:_vm.rejectOrQueryModalMode == _vm.queriedStatus ? 'query-button' :'reject-button',attrs:{\"size\":\"md\",\"disabled\":_vm.onDisableRejectOrQueryBtn(),\"id\":\"showRejectOrQueryExpenseNoteModal_OkButton\"},on:{\"click\":_vm.rejectOrQueryExpenseClaim}},[_vm._v(\"\\n \"+_vm._s(_vm.rejectOrQueryModalText)+\"\\n \")])],1)]):_vm._e(),(_vm.showSetRenewalDatesModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"renewalDatesModalId\",\"maxWidth\":\"550px\",\"minHeight\":\"500px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[(_vm.regoRenewalType && _vm.insuranceRenewalType)?_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Update Rego and Insurance Renewal Dates\\n \")]):_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(_vm.expenseClaim.type == _vm.expenseClaimBillType ? (_vm.expenseClaim.category == _vm.registrationCategory ? 'Update Rego Renewal Date': 'Update Insurance Renewal Date') : _vm.expenseClaim.expenseClaimLines.filter(function (e) { return e.category == _vm.registrationCategory; }).length > 0 ? 'Update Rego Renewal Date' : 'Update Insurance Renewal Date')+\"\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":function($event){_vm.showSetRenewalDatesModal = false}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\",\"centered\":\"\"},slot:\"modal-body\"},[(_vm.showRegoRenewalDatePicker())?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"New Rego Renewal Date\",\"label-for\":\"regoRenewalDate\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"id\":\"regoRenewalDate\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter New Rego Renewal Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [_vm.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){return _vm.$v.expenseClaim.regoRenewalDate.$touch();}},model:{value:(_vm.expenseClaim.regoRenewalDate),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"regoRenewalDate\", $$v)},expression:\"expenseClaim.regoRenewalDate\"}})],1)],1)],1):_vm._e(),(_vm.showInsuranceRenewalDatePicker())?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"New Insurance Renewal Date\",\"label-for\":\"insuranceRenewalDate\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"id\":\"insuranceRenewalDate\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter New Insurance Renewal Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"disabledDates\":_vm.disabledDates,\"highlighted\":{dates: [_vm.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){return _vm.$v.expenseClaim.insuranceRenewalDate.$touch();}},model:{value:(_vm.expenseClaim.insuranceRenewalDate),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"insuranceRenewalDate\", $$v)},expression:\"expenseClaim.insuranceRenewalDate\"}})],1)],1)],1):_vm._e()],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[(!_vm.addAnotherBill)?_c('b-btn',{staticClass:\"float-right ml-2 primary\",attrs:{\"disabled\":_vm.disableUpdateAndApproveButton(),\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showRenewalDatesModal_CancelButton\"},on:{\"click\":function($event){return _vm.updateAndOnExpenseClaimAction(true)}}},[_vm._v(\"\\n Update and Approve\\n \")]):_vm._e(),(_vm.addAnotherBill)?_c('b-btn',{staticClass:\"float-right ml-2 primary\",attrs:{\"disabled\":_vm.disableUpdateAndApproveButton(),\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showRenewalDatesModal_CancelButton\"},on:{\"click\":_vm.ingoreAndOnExpenseClaimAction}},[_vm._v(\"\\n Update and Approve\\n \")]):_vm._e()],1)]):_vm._e(),(_vm.showDocumentRequirementModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"supportingDocumentModal\",\"minWidth\":\"35rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Supporting Document/s Requirements:\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ClientMotorVehiclesModalCancelBtn\"},on:{\"click\":function($event){_vm.showDocumentRequirementModal = false;}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ul',[_c('li',[_vm._v(\" The document is intended to be a tax invoice \")]),_c('li',[_vm._v(\" The seller's identity \")]),_c('li',[_vm._v(\" The seller's Australian business number (ABN) \")]),_c('li',[_vm._v(\" The date the invoice was issued \")]),_c('li',[_vm._v(\" A brief description of the items sold, including the quantity (if applicable) and the price \")]),_c('li',[_vm._v(\" The GST amount (if any) payable – this can be shown separately or, if the GST amount is exactly one-eleventh of the total price, such as a statement which says 'Total price includes GST' \")]),_c('li',[_vm._v(\" The extent to which each sale on the invoice is a taxable sale \")]),_c('li',[_vm._v(\" Tax invoices for sales of $1,000 or more need to show the buyer's identity \")]),_c('li',[_vm._v(\" Document needs to be legible \")])])])]):_vm._e(),(_vm.showMultipleECLinesActionConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"multipleECLinesActionConfirmation\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n You are about to \"),_c('b',[_vm._v(_vm._s(_vm.multipleECLinesActionText))]),_vm._v(\" all the expense claims in the batch, continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"multipleECLinesActionConf_NoButton\"},on:{\"click\":function($event){return _vm.onCancelMultipleECLinesAction()}}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"multipleECLinesActionConf_YesButton\"},on:{\"click\":function($event){return _vm.onConfirmMultipleECLinesAction()}}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showRevertToPendingApprovalStatusConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showRevertToPendingApprovalExpenseNoteModalId\",\"maxWidth\":\"500px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Revert to Pending Approval Note \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-form-group',[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.revertToPendingApprovalNoteText),expression:\"revertToPendingApprovalNoteText\",modifiers:{\"trim\":true}}],class:{'textInput':true, 'form-control':true, 'requiredField': (_vm.revertToPendingApprovalNoteText == ''), 'form-group--error': _vm.$v.revertToPendingApprovalNoteText.$error },attrs:{\"id\":\"note\",\"rows\":\"5\",\"placeholder\":\"Enter Note\"},domProps:{\"value\":(_vm.revertToPendingApprovalNoteText)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.revertToPendingApprovalNoteText=$event.target.value.trim()},function($event){return _vm.$v.revertToPendingApprovalNoteText.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.$v.revertToPendingApprovalNoteText.$dirty && !_vm.$v.revertToPendingApprovalNoteText.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Revert Note is required.\\n \")]):_vm._e()])],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showRevertToPendingApprovalExpenseNoteModal_CancelButton\"},on:{\"click\":function($event){return _vm.onClickCancelRevertToPendingApprovalStatusExpenseClaim()}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right query-button\",attrs:{\"size\":\"md\",\"disabled\":_vm.revertToPendingApprovalNoteText == '',\"id\":\"showRevertToPendingApprovalExpenseNoteModal_OkButton\"},on:{\"click\":function($event){return _vm.onRevertToPendingApprovalStatusExpenseClaim()}}},[_vm._v(\"\\n Revert\\n \")])],1)]):_vm._e(),(_vm.showActiveOrPendingInsuranceExistsModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"activeOrPendingInsuranceExistsModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Information\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.getInsuranceScheduleExistText())+\"\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"activeOrPendingInsuranceExistsModal_OkButton\"},on:{\"click\":function($event){_vm.showActiveOrPendingInsuranceExistsModal = false}}},[_vm._v(\"\\n Ok\\n \")])],1)]):_vm._e(),(_vm.showInsuranceScheduleConsentModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"insuranceScheduleConsentModal\",\"maxWidth\":\"700px\",\"maxHeight\":\"780px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you interested to automate your \"+_vm._s(_vm.expenseClaim.type == _vm.expenseClaimReImbursementType ? 'monthly insurance reimbursement' : 'monthly insurance repayment')+\"?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showInsuranceScheduleConsentModal_NoButton\"},on:{\"click\":function($event){_vm.showInsuranceScheduleConsentModal = false;}}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"showInsuranceScheduleConsentModal_YesButton\"},on:{\"click\":function($event){return _vm.onInsuranceScheduleConsentModalYesClick()}}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showDeleteExpenseClaimConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"deleteExpenseClaimConfirmation\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n You are about to delete the expense claim, continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"deleteExpenseClaimConfirmationConf_NoButton\"},on:{\"click\":function($event){_vm.showDeleteExpenseClaimConfirmation = false;}}},[_vm._v(\"\\n No\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"deleteExpenseClaimConfirmationConf_YesButton\"},on:{\"click\":function($event){return _vm.onDeleteExpenseClaim()}}},[_vm._v(\"\\n Yes\\n \")])],1)]):_vm._e(),(_vm.showScheduledInsuranceExpenseClaimApproveConfirmationPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showScheduledInsuranceExpenseClaimApproveConfirmationPopupConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n This is an expense claim which is part of the recurring payment schedule. Press OK to continue.\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showScheduledInsuranceExpenseClaimApproveConfirmationPopupConf_CancelButton\"},on:{\"click\":function($event){_vm.showScheduledInsuranceExpenseClaimApproveConfirmationPopup = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"showScheduledInsuranceExpenseClaimApproveConfirmationPopupConf_OkButton\"},on:{\"click\":function($event){return _vm.onClickedSubmitApprove()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),((this.isClient || this.isSupplier) && _vm.showInvalidIncurredDateModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showInvalidIncurredDateModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Error \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n We are unable to accept this expense claim due to the incurred date. Please contact the Apex Team to process it.\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"activeOrPendingInsuranceExistsModal_OkButton\"},on:{\"click\":function($event){return _vm.onCloseInvalidIncurredDateModal()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showInsuranceSchedulePreview)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"InsuranceSchedulePreview\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Insurance Schedule Preview\")]),_c('div',{staticClass:\"insuranceSchedulePreviewContainer\",attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('InsuranceSchedulePreview',{attrs:{\"vehicleInsuranceId\":_vm.expenseClaim.vehicleInsurance.id}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"ml-2 float-right\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ShowInsuranceSchedulePreview_CancelButton\"},on:{\"click\":function($event){_vm.showInsuranceSchedulePreview = false}}},[_vm._v(\"\\n Cancel\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{attrs:{\"align-h\":\"center\"}},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-form',[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.expenseClaimId > 0 ? \n (_vm.isAdmin ? _vm.typeDisplayText + \" Expense Claim - \" + _vm.expenseClaim.clientName + \" - \": _vm.typeDisplayText + \" Expense Claim - \") :\n _vm.expenseClaim.type == _vm.expenseClaimReImbursementType ? \"Submit Reimbursement Claim\" : \"Submit Bill for Payment\")+\"\\n \"),_c('span',{staticClass:\"spanToLink cursor-pointer\",attrs:{\"title\":\"Go to vehicle\"},on:{\"click\":function($event){return _vm.onVehicleNameClick()}}},[_vm._v(_vm._s(_vm.expenseClaim.vehicleName))]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Expense Claims\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})]),(_vm.isAdmin && _vm.expenseClaim.id > 0)?_c('ExpenseClaimsAuditLogsActionButton',{staticClass:\"back-navigation mr-2\",attrs:{\"spanMode\":true,\"item\":_vm.expenseClaim}}):_vm._e()],1),(_vm.isAdmin && _vm.expenseClaim.id > 0 && _vm.expenseClaim.category == _vm.insuranceCategory\n && (_vm.expenseClaim.expenseClaimCreationMethod == _vm.expenseClaimCreationMethodInsuranceScheduler || _vm.expenseClaim.vehicleInsurance))?_c('SystemTextNotes',{staticClass:\"systemTextNote\",attrs:{\"boldText\":\"Please note this is a recurring payment expense claim.\",\"isDecimalValue\":false,\"useSlotProps\":true}},[_c('template',{slot:\"note-action-buttons\"},[(_vm.expenseClaim.vehicleInsurance && _vm.expenseClaim.status == _vm.pendingApprovalStatus)?_c('span',{staticClass:\"float-right cursor-pointer mr-3\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"editInsuranceSchedule\",\"title\":\"Edit Schedule\"},on:{\"click\":function($event){_vm.showInsuranceScheduleModal = true}}},[_c('i',{staticClass:\"fas fa-pencil-alt\"})]):_vm._e(),(_vm.expenseClaim.vehicleInsurance && _vm.expenseClaim.status == _vm.pendingApprovalStatus)?_c('span',{staticClass:\"float-right ml-2 mr-3 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"previewInsuranceSchedule\",\"title\":\"Preview Schedule\"},on:{\"click\":function($event){_vm.showInsuranceSchedulePreview = true}}},[_c('i',{staticClass:\"fas fa-eye\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.expenseClaim.recurringPaymentScheduleId > 0 )?_c('span',{staticClass:\"float-right ml-2 mr-3 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"viewInsuranceSchedule\",\"title\":\"View Schedule\"},on:{\"click\":_vm.viewInsuranceSchedule}},[_c('i',{staticClass:\"fas fa-external-link-alt\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()])],2):_vm._e(),(_vm.isShowResidualDueDateErrorMessage && _vm.isAdmin)?_c('b-row',{staticClass:\"mb-1\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\",\"cols\":\"12\"}},[_c('b-jumbotron',{staticClass:\"warningJumbotron\"},[_c('template',{slot:\"lead\"},[_c('div',[_c('p',{staticClass:\"pl-1\"},[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(\"Warning : \")]),_vm._v(\" \"+_vm._s(_vm.residualDueDateErrorMessage))])])])],2)],1)],1):_vm._e(),_c('b-row',{staticClass:\"mb-1\"},[(_vm.isClient && _vm.expenseClaimId > 0 && _vm.expenseClaim.status == _vm.pendingClientApprovalStatus)?_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"12\",\"cols\":\"12\"}},[_c('b-jumbotron',{staticClass:\"notesJumbotron\"},[_c('template',{slot:\"lead\"},[_c('div',{staticClass:\"pl-3\"},[_c('p',[_c('b',{staticClass:\"boldedTxt\"},[_vm._v(\" Approve Recurring Scheduled Payments \")])]),_c('p',[_vm._v(\"For us to proceed with the payment, please\")]),_c('ol',{staticClass:\"olStyle\"},[_c('li',{staticClass:\"liText\"},[_vm._v(\"Select the date you incurred the expense and click on the Update button\")]),_c('li',{staticClass:\"liText\"},[_vm._v(\"Upload the evidence of the payment\")]),_c('li',{staticClass:\"liText\"},[_vm._v(\"Click on the Approve button to notify the team to proceed.\")])])])])],2)],1):_vm._e()],1),(_vm.isAdmin && _vm.claimNote.length > 0)?_c('b-row',{staticClass:\"px-3\"},[_c('div',{staticClass:\"claimNote col-12\",domProps:{\"innerHTML\":_vm._s(_vm.claimNote)}})]):_vm._e(),_c('b-row',[_c('b-col',{staticClass:\"pl-4 pr-4 pb-2\",attrs:{\"cols\":\"12\"}},[(_vm.expenseClaim.id > 0)?_c('div',[(_vm.expenseClaim.type == _vm.expenseClaimReImbursementType)?_c('DataTable',{ref:\"reviewExpenseClaimRecords\",staticClass:\"mt-3\",attrs:{\"items\":_vm.expenseClaim.expenseClaimLines,\"fields\":_vm.expenseClaimFields,\"customTemplates\":_vm.customTemplateList,\"selectable\":true,\"select-mode\":_vm.selectMode,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No claims to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}}):_vm._e()],1):_vm._e()])],1),_c('b-row',{staticClass:\"mt-0\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"6\"}},[(_vm.expenseClaim.id > 0)?_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Details\\n \")]),_c('div',[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(\"ECRN \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm.expenseClaim.ecrn))])]),_c('tr',[_c('td',{staticClass:\"pt-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Status \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \\n \"),_c('b-badge',{class:[(_vm.expenseClaim.status == _vm.rejectedStatus ||\n _vm.expenseClaim.status == _vm.clientRejectedStatus) ? 'backgroundError':\n ((_vm.expenseClaim.status == _vm.pendingApprovalStatus ||\n _vm.expenseClaim.status == _vm.pendingClientApprovalStatus ||\n _vm.expenseClaim.status == _vm.queriedStatus ||\n _vm.expenseClaim.status == _vm.clientQueriedStatus) ? 'backgroundWarning' : 'backgroundSuccess')]},[_vm._v(\"\\n \"+_vm._s(_vm.expenseClaimStatusDisplayText)+\"\\n \")])],1)]),_c('tr',[_c('td',{staticClass:\"pt-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Total (Incl. GST)  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"  \"),_c('ApexCurrency',{attrs:{\"value\":_vm.expenseClaimsTotal}})],1)]),_c('tr',[_c('td',{staticClass:\"pt-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Date Submitted\"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm._f(\"ApexDateFormat\")(_vm.expenseClaim.submittedDate)))])]),(!_vm.isSupplier && _vm.expenseClaim.novationId > 0)?_c('tr',[_c('td',{staticClass:\"pt-1 pb-1\",attrs:{\"colspan\":\"2\"}},[_vm._v(\"Related Entity  \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"+_vm._s(_vm.getRelatedEntityName(_vm.expenseClaim.novationId)))])]):_vm._e(),(!_vm.isSupplier && _vm.expenseClaim.novationId > 0)?_c('tr',[_c('td',{staticClass:\"pt-1 pb-1\",attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Available Balance (Incl.GST)\")]),_vm._v(\" \"),_c('span',{staticClass:\"pull-right\"},[_vm._v(\":\")])]),_c('td',[_vm._v(\"   \"),_c('b',[_c('ApexCurrency',{attrs:{\"value\":_vm.novationLedgerBalance}})],1)])]):_vm._e()])])],1)],1):_vm._e(),_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"inner-card\",attrs:{\"id\":\"claimInformation\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Claim Information\\n \")]),(_vm.expenseClaim.id == 0)?_c('div',[(_vm.isAdmin)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.expenseClaim.clientId.$error },attrs:{\"label\":\"Client\",\"label-for\":\"client\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"cursor-pointer\",class:{ 'requiredField': (_vm.expenseClaim.clientId == 0) },attrs:{\"id\":\"client\",\"type\":\"text\",\"placeholder\":\"Please select a client\",\"required\":\"\",\"plain\":true,\"options\":_vm.clients,\"readonly\":\"\"},on:{\"click\":_vm.onSelectClientBtnClicked,\"input\":function($event){return _vm.$v.expenseClaim.clientId.$touch()}},model:{value:(_vm.expenseClaim.clientName),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"clientName\", $$v)},expression:\"expenseClaim.clientName\"}}),(!_vm.expenseClaim.expenseClaimLines.length > 0)?_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-search cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"id\":\"selectClient\"},on:{\"click\":_vm.onSelectClientBtnClicked}})])],1):_vm._e()],1),(_vm.$v.expenseClaim.clientId.$dirty && !_vm.$v.expenseClaim.clientId.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Client is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.isSupplier)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.expenseClaim.vehicleId.$error },attrs:{\"label\":\"Vehicle\",\"label-for\":\"vehicle\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"cursor-pointer\",class:{ 'requiredField': (_vm.expenseClaim.vehicleId == 0) },attrs:{\"id\":\"vehicle\",\"type\":\"text\",\"placeholder\":\"Please select a vehicle\",\"required\":\"\",\"plain\":true,\"options\":_vm.clients,\"readonly\":\"\"},on:{\"click\":_vm.onSelectVehicleBtnClicked,\"input\":function($event){return _vm.$v.expenseClaim.vehicleId.$touch()}},model:{value:(_vm.expenseClaim.vehicleName),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"vehicleName\", $$v)},expression:\"expenseClaim.vehicleName\"}}),(!_vm.expenseClaim.expenseClaimLines.length > 0)?_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-search cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"id\":\"selectVehicle\"},on:{\"click\":_vm.onSelectVehicleBtnClicked}})])],1):_vm._e()],1),(_vm.$v.expenseClaim.vehicleId.$dirty && !_vm.$v.expenseClaim.vehicleId.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(!_vm.isSupplier)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Vehicle\",\"label-for\":\"vehicleSelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.expenseClaim.vehicleId.$error, 'requiredField': (_vm.expenseClaim.vehicleId == 0)},attrs:{\"id\":\"vehicleSelect\",\"plain\":true,\"options\":_vm.vehicles,\"required\":\"\",\"disabled\":_vm.expenseClaim.expenseClaimLines.length > 0 || (_vm.isAdmin && _vm.expenseClaim.clientId == 0) || _vm.expenseClaim.id>0 || _vm.isFieldDisable()},on:{\"change\":_vm.onChangeVehicle},model:{value:(_vm.expenseClaim.vehicleId),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"vehicleId\", $$v)},expression:\"expenseClaim.vehicleId\"}},[(_vm.expenseClaim.vehicleId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.expenseClaim.vehicleId.$dirty && !_vm.$v.expenseClaim.vehicleId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.isAdmin)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Related Entity\",\"label-for\":\"relatedEntitySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.expenseClaim.novationId.$error, 'requiredField': (_vm.expenseClaim.novationId == 0)},attrs:{\"id\":\"novationSelect\",\"plain\":true,\"options\":_vm.groupedNovationList,\"required\":\"\",\"disabled\":_vm.expenseClaim.expenseClaimLines.length > 0 || (_vm.isAdmin && _vm.expenseClaim.clientId == 0) || _vm.expenseClaim.id>0 || _vm.isFieldDisable()},on:{\"change\":_vm.onChangeVehicleNovation},model:{value:(_vm.expenseClaim.novationId),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"novationId\", $$v)},expression:\"expenseClaim.novationId\"}},[(_vm.expenseClaim.novationId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.expenseClaim.novationId.$dirty && !_vm.$v.expenseClaim.novationId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Related Entity is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e()],1):_vm._e(),_c('b-row',[_c('b-col',{staticClass:\"ml-0 mb-2\",attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('label',{attrs:{\"label-for\":\"expenseIncurredOnDate\"}},[_vm._v(\"Expense Incurred on Date\")]),_c('DatePicker',{class:{ 'form-group--error': _vm.$v.expenseClaim.incurredDate.$error, 'requiredField': (_vm.expenseClaim.incurredDate == null)},attrs:{\"use-utc\":true,\"id\":\"expenseIncurredOnDate\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter Expense Incurred on Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":!_vm.isFieldDisable() || _vm.isFieldEnableForRecurringPaymentClaims(),\"bootstrap-styling\":true,\"highlighted\":{dates: [_vm.todayDateUTC],includeDisabled: true},\"disabledDates\":{from: _vm.todayDateUTC},\"disabled\":_vm.isFieldDisable() && !_vm.isFieldEnableForRecurringPaymentClaims()},on:{\"input\":function($event){return _vm.onIncurredDateChange()}},model:{value:(_vm.expenseClaim.incurredDate),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"incurredDate\", $$v)},expression:\"expenseClaim.incurredDate\"}}),(_vm.$v.expenseClaim.incurredDate.$dirty && !_vm.$v.expenseClaim.incurredDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Expense Incurred on Date is required.\\n \")]):_vm._e(),(_vm.isAdmin && _vm.showInvalidIncurredDateWarning)?_c('div',{staticClass:\"text-warning\"},[_vm._v(\"\\n The Expense Incurred on Date is outside of the related entity period.\\n \")]):_vm._e()],1)],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Category\",\"label-for\":\"CategorySelect\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.expenseClaim.category == 0)},attrs:{\"id\":\"CategorySelect\",\"plain\":true,\"options\":_vm.expenseClaimCategoryList,\"disabled\":_vm.isFieldDisable() || _vm.isCategoryDisable()},on:{\"change\":_vm.onCategoryChange,\"input\":function($event){_vm.$v.expenseClaim.category.$touch();_vm.setNewDocumentType(_vm.expenseClaim.category);}},model:{value:(_vm.expenseClaim.category),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"category\", $$v)},expression:\"expenseClaim.category\"}},[(_vm.expenseClaim.category == 0 && !_vm.expenseClaim.isReadOnly)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2)],1)],1)],1),((_vm.isAdmin || _vm.isClient) && _vm.expenseClaimId == 0 && _vm.expenseClaim.category == _vm.insuranceCategory && _vm.expenseClaim.vehicleInsurance)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',[_c('b-input-group',[_c('label',[_c('u',[_c('i',[_vm._v(\"Edit insurance schedule\")])])]),_c('i',{staticClass:\"fas fa-edit mt-1 ml-2 cursor-pointer\",attrs:{\"id\":\"showInsuranceSchedule\",\"aria-hidden\":\"true\",\"title\":\"Edit Insurance Schedule\"},on:{\"click\":function($event){_vm.showInsuranceScheduleModal = true}}})])],1)],1)],1):_vm._e(),(_vm.expenseClaim.category == _vm.ctpiCategory || _vm.expenseClaim.category == _vm.registrationCategory)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"CTPI Provider\",\"label-for\":\"ctpiProvider\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"ctpiProvider\",\"type\":\"text\",\"placeholder\":_vm.expenseClaim.isReadOnly? '' :'Enter CTPI provider',\"disabled\":_vm.isFieldDisable()},model:{value:(_vm.expenseClaim.ctpiProvider),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"ctpiProvider\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaim.ctpiProvider\"}})],1)],1)],1):_vm._e(),(_vm.expenseClaim.category == _vm.ctpiCategory || _vm.expenseClaim.category == _vm.registrationCategory)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.expenseClaim.period.$error },attrs:{\"label\":\"Period\",\"label-for\":\"period\"}},[_c('b-form-select',{class:{'textInput': true, 'selectListHeight': true, 'requiredField': (_vm.expenseClaim.period == 0)},attrs:{\"id\":\"period\",\"plain\":true,\"options\":_vm.periodsList,\"disabled\":_vm.isFieldDisable()},on:{\"change\":function($event){return _vm.$v.expenseClaim.period.$touch()}},model:{value:(_vm.expenseClaim.period),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"period\", $$v)},expression:\"expenseClaim.period\"}},[(_vm.expenseClaim.period == 0 && !_vm.expenseClaim.isReadOnly)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.expenseClaim.period.$dirty && _vm.$v.expenseClaim.period.$invalid )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Period is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{ref:\"description\",class:{ 'form-group--error': _vm.isDescriptionRequired && _vm.$v.expenseClaim.description.$error },attrs:{\"label\":\"Description\",\"label-for\":\"description\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.expenseClaim.description),expression:\"expenseClaim.description\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",class:{'textInput':true, 'requiredField': (_vm.isDescriptionRequired && _vm.expenseClaim.description.length == 0) },attrs:{\"id\":\"description\",\"rows\":\"1\",\"placeholder\":_vm.expenseClaim.isReadOnly? '' :'Enter Description',\"disabled\":_vm.isFieldDisable() && !_vm.isFieldEnableForRecurringPaymentClaims()},domProps:{\"value\":(_vm.expenseClaim.description)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.expenseClaim, \"description\", $event.target.value.trim())},function($event){return _vm.$v.expenseClaim.description.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.isDescriptionRequired && _vm.$v.expenseClaim.description.$dirty && !_vm.$v.expenseClaim.description.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Description is required.\\n \")]):_vm._e()])],1)],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.expenseClaim.gstInclusiveAmount.$error },attrs:{\"label\":\"Total Amount (Incl. GST)\",\"label-for\":\"gstInclusiveAmount\"}},[_c('b-input-group',{class:{ 'requiredField': ((!_vm.expenseClaim.gstInclusiveAmount && _vm.expenseClaim.gstInclusiveAmount != 0 ) || _vm.expenseClaim.gstInclusiveAmount.length == 0) },attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"gstInclusiveAmount\",\"type\":\"text\",\"placeholder\":_vm.expenseClaim.isReadOnly? '' :'Enter Amount',\"disabled\":_vm.isFieldDisable() && !_vm.isFieldEnableForRecurringPaymentClaims()},on:{\"input\":function($event){return _vm.$v.expenseClaim.gstInclusiveAmount.$touch();},\"focus\":function($event){return $event.target.select()}},model:{value:(_vm.expenseClaim.gstInclusiveAmount),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"gstInclusiveAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaim.gstInclusiveAmount\"}})],1),(_vm.$v.expenseClaim.gstInclusiveAmount.$dirty && !_vm.$v.expenseClaim.gstInclusiveAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Inclusive Amount is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaim.gstInclusiveAmount.$dirty && !_vm.$v.expenseClaim.gstInclusiveAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Inclusive Amount is invalid.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.expenseClaim.gstAmount.$error },attrs:{\"label\":\"Total GST Amount\",\"label-for\":\"gstAmount\"}},[_c('b-input-group',{class:{ 'requiredField': ((!_vm.expenseClaim.gstAmount && _vm.expenseClaim.gstAmount != 0) || _vm.expenseClaim.gstAmount.length == 0) },attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"gstAmount\",\"type\":\"text\",\"placeholder\":_vm.expenseClaim.isReadOnly? '' :'Enter Amount',\"disabled\":_vm.isFieldDisable() && !_vm.isFieldEnableForRecurringPaymentClaims()},on:{\"input\":function($event){return _vm.$v.expenseClaim.gstAmount.$touch();},\"focus\":function($event){return $event.target.select()}},model:{value:(_vm.expenseClaim.gstAmount),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"gstAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaim.gstAmount\"}}),((!_vm.isFieldDisable() && !_vm.expenseClaim.isReadOnly) || _vm.isFieldEnableForRecurringPaymentClaims())?_c('b-input-group-append',[_c('b-button',{staticClass:\"primary\",attrs:{\"id\":\"calculateGSTAmountBtn\",\"disabled\":!_vm.isValidTotalAmount(),\"title\":\"Click to calculate GST Amount\"},on:{\"click\":_vm.calculateGSTAmount}},[_c('i',{staticClass:\"fas fa-calculator fa-lg\",attrs:{\"aria-hidden\":\"true\"}})])],1):_vm._e()],1),(_vm.$v.expenseClaim.gstAmount.$dirty && !_vm.$v.expenseClaim.gstAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Amount is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaim.gstAmount.$dirty && !_vm.$v.expenseClaim.gstAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Amount is invalid.\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1),(!(_vm.expenseClaim.id > 0 && _vm.isClient && _vm.expenseClaim.submittedByUserRole == _vm.supplierUserRole))?_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"To Account\\n \")]),((_vm.expenseClaim.id == 0 && !_vm.isSupplier) || (_vm.expenseClaim.id > 0 && _vm.expenseClaim.submittedByUserRole != _vm.supplierUserRole))?_c('div',[(_vm.expenseClaim.type == _vm.expenseClaimBillType)?_c('div',{staticClass:\"d-inline-flex mb-4\"},[_c('b-form-radio',{staticClass:\"mr-3\",attrs:{\"disabled\":_vm.expenseClaim.id > 0,\"name\":\"eft-radio\",\"value\":_vm.eftPaymentMethod},model:{value:(_vm.expenseClaim.paymentMethodType),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"paymentMethodType\", $$v)},expression:\"expenseClaim.paymentMethodType\"}},[_vm._v(\"EFT\")]),_c('b-form-radio',{attrs:{\"disabled\":_vm.expenseClaim.id > 0,\"checked\":true,\"name\":\"bpay-radio\",\"value\":_vm.bpayPaymentMethod},model:{value:(_vm.expenseClaim.paymentMethodType),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"paymentMethodType\", $$v)},expression:\"expenseClaim.paymentMethodType\"}},[_vm._v(\"BPay\")])],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimReImbursementType)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Reimburse To Account\",\"label-for\":\"reimbursementAccount\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.bankAccountID.$error, 'requiredField': (_vm.expenseClaim.accountID == 0)},attrs:{\"id\":\"reimbursementAccount\",\"plain\":true,\"options\":_vm.expenseClaimBankAccounts,\"required\":\"\",\"disabled\":_vm.isFieldDisable() && !_vm.isFieldEnableForRecurringPaymentClaims()},on:{\"change\":function($event){return _vm.$v.bankAccountID.$touch()}},model:{value:(_vm.expenseClaim.accountID),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"accountID\", $$v)},expression:\"expenseClaim.accountID\"}},[(_vm.expenseClaim.accountID == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.bankAccountID.$dirty && !_vm.$v.bankAccountID.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reimburse To Account is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.eftPaymentMethod)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.accountName.$error },attrs:{\"label\":\"Account Name\",\"label-for\":\"accountName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bankAccount.accountName.length == 0)},attrs:{\"id\":\"accountName\",\"type\":\"text\",\"placeholder\":\"Enter Account Name\",\"maxlength\":'24',\"required\":\"\",\"disabled\":_vm.isFieldDisable()},on:{\"input\":function($event){return _vm.$v.bankAccount.accountName.$touch()}},model:{value:(_vm.bankAccount.accountName),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"accountName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.accountName\"}}),(_vm.$v.bankAccount.accountName.$dirty && !_vm.$v.bankAccount.accountName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Account Name is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.accountName.$dirty && !_vm.$v.bankAccount.accountName.isValidAccountName)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Account Name.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.eftPaymentMethod)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.bankAccountBSB.$error },attrs:{\"label\":\"BSB\",\"label-for\":\"bsb\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.bankAccount.bankAccountBSB || _vm.bankAccount.bankAccountBSB.length == 0) },attrs:{\"id\":\"bsb\",\"type\":\"text\",\"placeholder\":\"Enter BSB\",\"maxlength\":'6',\"required\":\"\",\"disabled\":_vm.isFieldDisable()},on:{\"input\":function($event){return _vm.$v.bankAccount.bankAccountBSB.$touch()}},model:{value:(_vm.bankAccount.bankAccountBSB),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"bankAccountBSB\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.bankAccountBSB\"}}),(_vm.$v.bankAccount.bankAccountBSB.$dirty && !_vm.$v.bankAccount.bankAccountBSB.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n BSB is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.bankAccountBSB.$dirty && !_vm.$v.bankAccount.bankAccountBSB.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid BSB number.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.eftPaymentMethod)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.accountNumber.$error },attrs:{\"label\":\"Account Number\",\"label-for\":\"accountNumber\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.bankAccount.accountNumber ||_vm.bankAccount.accountNumber.length == 0) },attrs:{\"id\":\"accountNumber\",\"type\":\"text\",\"placeholder\":\"Enter Account Number\",\"maxlength\":'9',\"required\":\"\",\"disabled\":_vm.isFieldDisable()},on:{\"input\":function($event){return _vm.$v.bankAccount.accountNumber.$touch()}},model:{value:(_vm.bankAccount.accountNumber),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"accountNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.accountNumber\"}}),(_vm.$v.bankAccount.accountNumber.$dirty && !_vm.$v.bankAccount.accountNumber.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Account Number is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.accountNumber.$dirty && !_vm.$v.bankAccount.accountNumber.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Account Number.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.bpayPaymentMethod)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bPayAccount.name.$error },attrs:{\"label\":\"Name\",\"label-for\":\"bpayname\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bPayAccount.name.length == 0)},attrs:{\"id\":\"bpayname\",\"type\":\"text\",\"placeholder\":\"Enter Name\",\"maxlength\":'24',\"required\":\"\",\"disabled\":_vm.isFieldDisable()},on:{\"input\":function($event){return _vm.$v.bPayAccount.name.$touch()}},model:{value:(_vm.bPayAccount.name),callback:function ($$v) {_vm.$set(_vm.bPayAccount, \"name\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bPayAccount.name\"}}),(_vm.$v.bPayAccount.name.$dirty && !_vm.$v.bPayAccount.name.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Name is required.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.bpayPaymentMethod)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bPayAccount.billerCode.$error },attrs:{\"label\":\"Biller Code\",\"label-for\":\"billercode\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bPayAccount.billerCode.length == 0)},attrs:{\"id\":\"billercode\",\"type\":\"text\",\"placeholder\":\"Enter Biller Code\",\"maxlength\":'10',\"required\":\"\",\"disabled\":_vm.isFieldDisable()},on:{\"input\":function($event){return _vm.$v.bPayAccount.billerCode.$touch()}},model:{value:(_vm.bPayAccount.billerCode),callback:function ($$v) {_vm.$set(_vm.bPayAccount, \"billerCode\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bPayAccount.billerCode\"}}),(_vm.$v.bPayAccount.billerCode.$dirty && !_vm.$v.bPayAccount.billerCode.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Biller Code is required.\\n \")]):_vm._e(),(_vm.$v.bPayAccount.billerCode.$dirty && !_vm.$v.bPayAccount.billerCode.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Biller Code.\\n \")]):_vm._e()],1)],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType)?_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{ref:\"reference\",class:{ 'form-group--error': _vm.$v.expenseClaim.reference.$error }},[_c('label',{attrs:{\"label-for\":\"reference\"}},[_vm._v(\"\\n Reference \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"The Reference Number in the Invoice.\"}})])]),_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.expenseClaim.reference ||_vm.expenseClaim.reference.length == 0) },attrs:{\"id\":\"reference\",\"type\":\"text\",\"placeholder\":\"Enter Reference\",\"required\":\"\",\"maxlength\":_vm.expenseClaim.paymentMethodType == _vm.bpayPaymentMethod ? 20 : 18,\"disabled\":_vm.isFieldDisable()},on:{\"input\":function($event){return _vm.$v.expenseClaim.reference.$touch()}},model:{value:(_vm.expenseClaim.reference),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"reference\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaim.reference\"}}),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reference is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.isValidReference)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Reference.\\n \")]):_vm._e()],1)],1)],1):_vm._e()],1):_vm._e(),((_vm.isSupplier || _vm.expenseClaim.submittedByUserRole == _vm.supplierUserRole) && _vm.expenseClaimBankAccountsLoaded)?_c('div',[_c('b-row',[(_vm.expenseClaimBankAccounts.length > 0)?_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Payment Account\",\"label-for\":\"paymentAccount\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.bankAccountID.$error, 'requiredField': (_vm.expenseClaim.accountID == 0)},attrs:{\"id\":\"paymentAccount\",\"plain\":true,\"options\":_vm.expenseClaimBankAccounts,\"required\":\"\",\"disabled\":_vm.isFieldDisable()},on:{\"change\":function($event){return _vm.$v.bankAccountID.$touch()}},model:{value:(_vm.expenseClaim.accountID),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"accountID\", $$v)},expression:\"expenseClaim.accountID\"}},[(_vm.expenseClaim.accountID == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.bankAccountID.$dirty && !_vm.$v.bankAccountID.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Payment account is required.\\n \")]):_vm._e()],1)],1):_c('b-col',{staticClass:\"text-danger\",attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_vm._v(\"\\n No account found. Please contact APEX team.\\n \")])],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{ref:\"reference\",class:{ 'form-group--error': _vm.$v.expenseClaim.reference.$error }},[_c('label',{attrs:{\"label-for\":\"reference\"}},[_vm._v(\"\\n Reference \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Reference on recipient's statement.\"}})])]),_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.expenseClaim.reference ||_vm.expenseClaim.reference.length == 0) },attrs:{\"id\":\"reference\",\"type\":\"text\",\"placeholder\":\"Enter Reference\",\"required\":\"\",\"maxlength\":18,\"disabled\":_vm.isFieldDisable()},on:{\"input\":function($event){return _vm.$v.expenseClaim.reference.$touch()}},model:{value:(_vm.expenseClaim.reference),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"reference\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaim.reference\"}}),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reference is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.isValidReference)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Reference.\\n \")]):_vm._e()],1)],1)],1)],1):_vm._e()])],1)],1):_vm._e()],1),_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"6\"}},[_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Supporting Documents (Invoice/Receipts)\\n \")]),_c('p',{staticClass:\"documentReqText mb-1\"},[_vm._v(\" Please ensure the Supporting Document/s is in focus and meets the \"),_c('b',{staticClass:\"requirementText\",on:{\"click\":function($event){_vm.showDocumentRequirementModal = true;}}},[_vm._v(\" requirements. \")])]),(_vm.expenseClaim.vehicleInsurance && !_vm.isValidInsuranceDocumentsExist())?_c('p',{staticClass:\"documentReqText mt-1 error-text-color\"},[_vm._v(\" \\n Please upload your policy document together with the monthly repayment schedule.\\n \")]):_vm._e(),_c('DragAndDropControl',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.expenseClaim.type == _vm.expenseClaimBillType ? _vm.relatedTable : _vm.expenseClaimLineRelatedTable,\"relatedID\":_vm.expenseClaim.type == _vm.expenseClaimBillType ? _vm.expenseClaimId : _vm.selectedExpenseClaimLineId,\"defaultDocType\":this.selectedDocType,\"isFileMandatory\":true,\"isAcknowledgeEnabled\":this.expenseClaimId == 0 && this.editMode || ((_vm.isClient || _vm.isSupplier) && _vm.expenseClaim.status == _vm.queriedStatus)\n || (_vm.isSupplier && _vm.expenseClaim.status == _vm.clientQueriedStatus),\"accept\":\".pdf,image/*\",\"uploaderEnabled\":!(_vm.isDocumentsAndNotesReadOnly) && ((_vm.isAdmin && (_vm.expenseClaim.expenseClaimCreationMethod == _vm.expenseClaimCreationMethodInsuranceScheduler)) || \n (_vm.isClient && (_vm.expenseClaim.expenseClaimCreationMethod == _vm.expenseClaimCreationMethodInsuranceScheduler && _vm.expenseClaim.type == _vm.expenseClaimBillType || _vm.expenseClaim.submittedByUserRole == _vm.supplierUserRole)) ?\n !(_vm.expenseClaim.status == _vm.pendingClientApprovalStatus || _vm.queriedStatus || _vm.PendingApproval) : true),\"index\":_vm.currentIndex,\"modalMode\":false,\"isDocumentDownloadButtonEnabled\":true},on:{\"documentChangedEvent\":_vm.onCustomDocumentEvent}})],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Claim Notes\\n \")]),_c('NotesCommonControl',{ref:\"notesControl\",attrs:{\"relatedTable\":_vm.expenseClaim.type == _vm.expenseClaimBillType ? _vm.relatedTable : _vm.expenseClaimLineRelatedTable,\"relatedID\":_vm.expenseClaim.type == _vm.expenseClaimBillType ? _vm.expenseClaimId : _vm.selectedExpenseClaimLineId,\"useStore\":true,\"index\":_vm.currentIndex,\"fromSubmitApproveExpenseClaim\":true,\"isReadOnly\":_vm.isDocumentsAndNotesReadOnly},on:{\"onNoteChanged\":_vm.onNoteChanged}})],1)],1)],1),(_vm.isAdmin)?_c('b-row',[_c('b-col',[_c('b-card',{staticClass:\"inner-card\",attrs:{\"id\":\"claimHistory\"}},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"Claim History\\n \")]),_c('div',{staticClass:\"mt-4\"},[_c('ExpenseClaimHistory',{attrs:{\"vehicleId\":_vm.expenseClaim.vehicleId,\"toDate\":_vm.expenseClaim.submittedDate,\"claimId\":_vm.expenseClaim.id,\"catergoryId\":_vm.expenseClaim.category}})],1)])],1)],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{staticClass:\"pr-0\"},[(_vm.expenseClaim.type == _vm.expenseClaimReImbursementType && _vm.expenseClaim.id == 0)?_c('div',{staticClass:\"mt-3 mb-3\"},[_c('b-row',{staticClass:\"mb-3\"},[(_vm.showAddEditReimbursementButton)?_c('b-button',{staticClass:\"primary ml-3 mr-3\",attrs:{\"id\":\"addClaimBtn\",\"disabled\":!_vm.isReImbursementClaimLineDirty() || _vm.isModelInvalidForAddClaim(),\"title\":\"Add new claim record\"},on:{\"click\":_vm.addEditExpenseClaimLine}},[_c('i',{class:_vm.editMode ? '' : 'fas fa-plus',attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.editMode ? 'Update Reimbursement' : 'Add Reimbursement')+\"\\n \")]):_vm._e(),(_vm.editMode)?_c('b-button',{attrs:{\"title\":\"Cancel Update Reimbursement\",\"id\":\"cancelUpdateReimbursement\"},on:{\"click\":_vm.onCancelEditExpenseClaim}},[_vm._v(\"\\n Cancel\\n \")]):_vm._e()],1),_c('b-row',{staticClass:\"mb-3\"},[(_vm.expenseClaim != null && _vm.expenseClaim.expenseClaimLines.length > 0)?_c('b-alert',{staticClass:\"add-reimbursement-background-warning\",attrs:{\"show\":_vm.showPopOverMsg},on:{\"update:show\":function($event){_vm.showPopOverMsg=$event}}},[_vm._v(\"\\n Reimbursement queued. Please scroll down to view and Submit or scroll up to add another reimbursement.\\n \")]):_vm._e()],1)],1):_vm._e()])],1),(_vm.expenseClaim.id == 0 && _vm.showAddEditReimbursementButton)?_c('div',[(_vm.expenseClaim.type == _vm.expenseClaimReImbursementType)?_c('DataTable',{ref:\"expenseClaimRecords\",staticClass:\"mt-3\",attrs:{\"items\":_vm.expenseClaim.expenseClaimLines,\"fields\":_vm.expenseClaimFields,\"customTemplates\":_vm.customTemplateList,\"selectable\":true,\"select-mode\":_vm.selectMode,\"showEmptyBanner\":\"true\",\"emptyBanner\":\"No claims to display.\"},on:{\"customEvent\":_vm.onCustomDataTableEvent}}):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimReImbursementType && _vm.showSubTotalSection)?_c('b-row',{staticClass:\"sub-total-section\"},[_c('b-col',[_c('b-row',[_c('b-col',[_c('b',[_vm._v(\"Subtotal\")])]),_c('b-col',{staticClass:\"text-right\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.expenseClaimSubTotal}})],1)],1),_c('b-row',[_c('b-col',[_c('b',[_vm._v(\"GST\")])]),_c('b-col',{staticClass:\"text-right\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.expenseClaimGSTTotal}})],1)],1),_c('b-row',[_c('b-col',[_c('b',[_vm._v(\"Total\")])]),_c('b-col',{staticClass:\"text-right\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.expenseClaimsTotal}})],1)],1)],1)],1):_vm._e(),(_vm.expenseClaim.id == 0)?_c('b-row',{staticClass:\"col-lg-12 col-md-12 col-sm-12 mt-2\"},[_vm._v(\"\\n \"+_vm._s(_vm.expenseClaimDeclarationText)+\"\\n \")]):_vm._e()],1):_vm._e(),(_vm.expenseClaim.id > 0 && _vm.editMode && ((_vm.isAdmin && _vm.expenseClaim.status == _vm.pendingApprovalStatus)\n || (_vm.isClient && ((_vm.expenseClaim.status == _vm.pendingClientApprovalStatus && _vm.expenseClaim.expenseClaimCreationMethod == _vm.expenseClaimCreationMethodInsuranceScheduler) || _vm.expenseClaim.status == _vm.queriedStatus))))?_c('b-row',{staticClass:\"text-center\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-button',{staticClass:\"primary\",attrs:{\"disabled\":!_vm.isReImbursementClaimLineDirty() || _vm.isModelInvalidForAddClaim(),\"title\":\"Update claim record\",\"id\":\"addClaimBtn\"},on:{\"click\":_vm.updateExistingExpenseClaimLine}},[_vm._v(\"\\n Update Reimbursement\\n \")]),_c('b-button',{staticClass:\"ml-2\",attrs:{\"title\":\"Cancel Update Reimbursement\",\"id\":\"cancelUpdateReimbursement\"},on:{\"click\":_vm.onCancelUpdateReimbursement}},[_vm._v(\"\\n Cancel\\n \")])],1)],1):_vm._e(),((_vm.expenseClaim.id > 0) && _vm.isAdmin)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\" Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.expenseClaim.createdBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.expenseClaim.createdDate))+\")\")]),_vm._v(\"\\n     \\n \"),_c('b',[_vm._v(\" Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.expenseClaim.updatedBy)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.expenseClaim.lastUpdatedDate))+\")\")])]):_vm._e(),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[(_vm.showApproveSection)?_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":_vm.isModelInvalid() || (_vm.editMode && _vm.isReImbursementClaimLineDirty()),\"id\":\"approveExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.notifyExpenseClaimCreatedByScheduledInsuranceAndApprove()}}},[_vm._v(\" Approve \")]):_vm._e(),(_vm.showApproveSection && _vm.showQueryButton)?_c('b-button',{staticClass:\"mr-3 query-button\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":(_vm.editMode && _vm.isReImbursementClaimLineDirty()) || _vm.isInvalidDocument,\"id\":\"queryExpenseClaimBtn\"},on:{\"click\":_vm.onClickQueryExpenseClaim}},[_vm._v(\" Query \")]):_vm._e(),(_vm.showApproveSection || ((this.isAdmin && (this.expenseClaim.status == _vm.expenseClaimApprovedStatus))))?_c('b-button',{staticClass:\"mr-3 reject-button\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":(_vm.editMode && _vm.isReImbursementClaimLineDirty()) || _vm.isInvalidDocument,\"id\":\"rejectExpenseClaimBtn\"},on:{\"click\":_vm.onClickRejectExpenseClaim}},[_vm._v(\" Reject \")]):_vm._e(),(_vm.showDeleteButton)?_c('b-button',{staticClass:\"mr-3 delete-button\",attrs:{\"type\":\"button\",\"size\":\"md\",\"id\":\"deleteExpenseClaimBtn\"},on:{\"click\":_vm.onClickDeleteExpenseClaim}},[_vm._v(\" Delete \")]):_vm._e(),(_vm.showRevertToPendingApproval)?_c('b-button',{staticClass:\"mr-3 query-button\",attrs:{\"type\":\"button\",\"size\":\"md\",\"id\":\"revertToPendingApprovalExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.expenseClaimRevertToPendingApprovalStatus()}}},[_vm._v(\" Revert to Pending Approval\")]):_vm._e(),(_vm.showApproveSection)?_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_vm._v(\" Cancel\")]):_vm._e()],1),((_vm.expenseClaim.status == _vm.queriedStatus && !_vm.isAdmin || (_vm.expenseClaim.status == _vm.clientQueriedStatus || _vm.expenseClaim.status == _vm.queriedStatus) && _vm.isSupplier) && !_vm.expenseClaim.isReadOnly)?_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":((_vm.editMode && _vm.isReImbursementClaimLineDirty()) || _vm.isResubmitButtonDisabled() && (_vm.expenseClaim.type == _vm.expenseClaimBillType || !_vm.expenseClaimLineChanged)),\"title\":\"Resubmit Expense Claim\",\"id\":\"resubmitExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.onExpenseClaimAction()}}},[_vm._v(\"\\n Resubmit\\n \")]),(!((_vm.editMode && _vm.isReImbursementClaimLineDirty()) || _vm.isResubmitButtonDisabled() && (_vm.expenseClaim.type == _vm.expenseClaimBillType\n || !_vm.expenseClaimLineChanged)))?_c('b-popover',{attrs:{\"target\":\"resubmitExpenseClaimBtn\",\"placement\":\"topright\",\"show\":_vm.showResubmitPopOverMsg},on:{\"update:show\":function($event){_vm.showResubmitPopOverMsg=$event}}},[_vm._v(\"\\n Please click here to resubmit the expense claim.\\n \")]):_vm._e(),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_vm._v(\" Cancel\")])],1):_vm._e(),(_vm.showSubmitSection)?_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":_vm.isModelInvalid() || (_vm.editMode && _vm.isReImbursementClaimLineDirty()),\"id\":\"submitExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.onClickedSubmitApprove()}}},[_vm._v(\" \"+_vm._s(_vm.isAdmin ? 'Submit and Approve' : 'Submit for Review'))]),(_vm.expenseClaim.type == _vm.expenseClaimBillType)?_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":_vm.isModelInvalid() || (_vm.editMode && _vm.isReImbursementClaimLineDirty()),\"id\":\"rejectExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.onClickedSubmitApproveAndAddAnother()}}},[_vm._v(\" \"+_vm._s(_vm.isAdmin ? 'Submit and Approve and Add another Claim' : 'Submit for Review and Add another Claim')+\" \")]):_vm._e(),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelSubmitExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_vm._v(\" Cancel\")])],1):_vm._e()],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"3\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"6\",\"md\":\"4\",\"lg\":\"3\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"vehicleSearchFilterTypeId\",\"plain\":true,\"options\":_vm.vehicleSearchFilterTypes},on:{\"input\":_vm.onVehicleSearchFilterTypeChanged},model:{value:(_vm.selectedVehicleSearchFilterType),callback:function ($$v) {_vm.selectedVehicleSearchFilterType=$$v},expression:\"selectedVehicleSearchFilterType\"}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Rest All Filtrations'},on:{\"click\":function($event){return _vm.resetSearchFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('DataTable',{ref:\"vehicleSelectTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"select-mode\":_vm.selectMode,\"selectable\":true,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No matching vehicle record found.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export enum VehicleSearchFilterTypes{\r\n PlateNumber = 1,\r\n VIN = 2,\r\n MVRN = 3,\r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport apiService from '@/shared/services/apiService'\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport {VehicleSearchFilterTypes} from '@/shared/enums/vehicleSearchFilterTypes.enum';\nimport lookupService from '@/shared/services/lookupService';\n\n@Component\n(\n {\n components: {\n DataTable,\n FilterTextInput,\n }\n }\n)\nexport default class MotorVehicleSelectList extends Vue{\n items:any = [];\n fields = [\n {key: 'year', class:'width_20'},\n {key: 'make', class:'width_20'},\n {key: 'model', class:'width_20'},\n {key:'variant', class:'width_20'},\n {key: 'bodyType', class:'width_20', \n formatter: (value, key, item) => {\n return this.getVehicleBodyTypeText(item.bodyType);\n }, \n }\n ];\n sortBy:string = \"year\";\n filter:string = \"\";\n sortDesc:boolean = true;\n showEmptyBanner:boolean = true;\n selectMode = \"single\";\n selectedVehicleSearchFilterType:any = VehicleSearchFilterTypes.MVRN;\n vehicleSearchFilterTypes:[] = [];\n vehicleBodyTypes:any = [];\n resetButtonDisabled:boolean = true;\n\n created(){\n this.loadVehicleSelectFilterTypes();\n this.loadVehicleBodyTypes();\n }\n\n loadVehicleSelectFilterTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleSearchFilterTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleSearchFilterTypes = data;\n this.selectedVehicleSearchFilterType = VehicleSearchFilterTypes.PlateNumber;\n this.onVehicleSearchFilterTypeChanged();\n }); \n }\n\n loadVehicleBodyTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleBodyTypes().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleBodyTypes = data;\n }); \n }\n\n getVehicleBodyTypeText(type:number){\n var vehcileBodyTypeText = \"\";\n this.vehicleBodyTypes.forEach(element => {\n if(element.value == type){\n vehcileBodyTypeText = element.text;\n }\n });\n return vehcileBodyTypeText;\n }\n\n onVehicleSearchFilterTypeChanged()\n {\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:0,SortBy:\"\",SortDesc:true,SearchByString:this.filter,RelatedId:0, Status: this.selectedVehicleSearchFilterType});\n }\n\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Vehicle\",\"VehicleSearchList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n resetSearchFilters() {\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n this.selectedVehicleSearchFilterType = VehicleSearchFilterTypes.PlateNumber;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.onSelectVehicle(data);\n }\n }\n\n filterGrid(filterString:string){\n this.filter = filterString;\n this.resetButtonDisabled = false;\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:0,SortBy:\"\",SortDesc:true,SearchByString:this.filter, RelatedId:0, Status: this.selectedVehicleSearchFilterType});\n }\n\n resetTable(){\n (this.$refs.vehicleSelectTable as DataTable).reset();\n } \n \n @Emit('onSelectVehicle') onSelectVehicle(data:any){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleSelectList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MotorVehicleSelectList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MotorVehicleSelectList.vue?vue&type=template&id=b1001076\"\nimport script from \"./MotorVehicleSelectList.vue?vue&type=script&lang=ts\"\nexport * from \"./MotorVehicleSelectList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MotorVehicleSelectList.vue?vue&type=style&index=0&id=b1001076&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteExpenseClaimConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteExpenseClaimConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Expense Claim\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the expense claim record?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteExpenseClaimConf_CancelButton\"},on:{\"click\":_vm.onCloseDelete}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteExpenseClaimConf_OkButton\"},on:{\"click\":_vm.deleteExpenseClaim}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(!_vm.item.isReadOnly)?_c('b-btn',{staticClass:\"ml-3 grid-large-icon action-btn\",attrs:{\"title\":\"Delete Expense Claim\"},on:{\"click\":_vm.onDeleteClaimLineClick}},[_c('i',{staticClass:\"fas fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { NoteAndDocumentButtonTypes } from '@/shared/enums/buttonTypes.enum';\n\n@Component(\n {\n components: {\n Modal,\n }\n }\n)\nexport default class SubmitExpenseClaimActionButtons extends Vue{\n @Prop() item:any\n\n showDeleteExpenseClaimConfirmationModal = false;\n relatedTable:RelatedTables = RelatedTables.ExpenseClaim;\n deleteExpenseClaim(){\n this.showDeleteExpenseClaimConfirmationModal = false;\n this.onExpenseClaimAction(this.item,DataTableActionTypes.Delete)\n }\n onCloseDelete()\n { \n this.showDeleteExpenseClaimConfirmationModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n onDeleteClaimLineClick()\n {\n this.showDeleteExpenseClaimConfirmationModal = true;\n this.onAction(this.item, DataTableActionTypes.ActionButtonSelect);\n }\n\n @Emit('customEvent') onAction(data:any,type:DataTableActionTypes){\n }\n\n editExpenseClaim(){\n this.onExpenseClaimAction(this.item,DataTableActionTypes.Edit)\n }\n \n @Emit('customEvent') onExpenseClaimAction(id:number,type:DataTableActionTypes){\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitExpenseClaimActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitExpenseClaimActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./submitExpenseClaimActionButtons.vue?vue&type=template&id=1284eb8e&scoped=true\"\nimport script from \"./submitExpenseClaimActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./submitExpenseClaimActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./submitExpenseClaimActionButtons.vue?vue&type=style&index=0&id=1284eb8e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1284eb8e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('DataTable',{ref:\"claimHistoryTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No claim history records to display.\",\"customTemplates\":_vm.customTemplateList},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"ml-2\",attrs:{\"title\":\"View Claim\"},on:{\"click\":_vm.onClick}},[_c('i',{staticClass:\"fas fa-external-link-alt edit-link\",attrs:{\"aria-hidden\":\"true\"}})])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport moment from 'moment';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\n\r\n@Component({})\r\nexport default class expenseClaimHistoryActionButton extends Vue {\r\n @Prop() item:any;\r\n\r\n onClick()\r\n {\r\n let routeData = this.$router.resolve({name: 'View Expense Claim',params:{id:this.item.id}, query:{review:'true'}});\r\n window.open(routeData.href, '_blank');\r\n }\r\n\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimHistoryActionButton.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimHistoryActionButton.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./expenseClaimHistoryActionButton.vue?vue&type=template&id=7f7dfedc&scoped=true\"\nimport script from \"./expenseClaimHistoryActionButton.vue?vue&type=script&lang=ts\"\nexport * from \"./expenseClaimHistoryActionButton.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f7dfedc\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component,Emit, Vue, Prop,Watch } from \"vue-property-decorator\";\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {ExpenseClaimHistoryTableFilterParams} from '@/models/tableFilterParams.model';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport expenseClaimHistoryActionButton from '@/components/admin/expenseClaims/expenseClaimHistoryActionButton.vue'\r\nimport moment from 'moment';\r\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\r\n@Component({\r\n components: {\r\n DataTable,\r\n },\r\n})\r\nexport default class ExpenseClaimHistory extends Vue {\r\n @Prop() vehicleId:number;\r\n @Prop() toDate:any;\r\n @Prop() claimId:number;\r\n @Prop() catergoryId:number;\r\n items:any = [];\r\n fields = [\r\n {key: 'date',\r\n formatter: (value, key, item) => {\r\n return moment(item.date).format(\"DD MMM YYYY\");\r\n },\r\n },\r\n {key: 'gstInclusiveAmount',label:'Total (incl. GST)', class:'width_30'},\r\n {key: 'statusText',label:'Status'}, \r\n {key: 'actions',label:\"\",class:'text-center width_5'}, \r\n ];\r\n customTemplateList:Array = [\r\n {slot:\"actions\", customTemplate:expenseClaimHistoryActionButton},\r\n {slot:\"gstInclusiveAmount\", customTemplate:ApexCurrency}\r\n ];\r\n totalRows:number = 0;\r\n perPage:number = 5;\r\n sortBy:string = \"date\";\r\n commonFilter:string = \"\";\r\n amountFilter:string = \"\";\r\n showEmptyBanner:boolean = false;\r\n selectedExpenseClaimStatus:number = 0;\r\n sortDesc:boolean = true;\r\n\r\n mounted(){\r\n this.checkToRefreshGrid();\r\n }\r\n\r\n @Watch('toDate')\r\n onToDateChanged(val: any, oldVal: any)\r\n {\r\n if(this.claimId == 0){\r\n this.checkToRefreshGrid();\r\n }\r\n }\r\n\r\n @Watch('vehicleId')\r\n onVehicleIdChanged(val: any, oldVal: any)\r\n {\r\n if(this.claimId == 0){\r\n this.checkToRefreshGrid();\r\n }\r\n }\r\n\r\n @Watch('catergoryId')\r\n onCatergoryIdChanged(val: any, oldVal: any)\r\n {\r\n this.checkToRefreshGrid();\r\n }\r\n\r\n checkToRefreshGrid(){\r\n if(this.vehicleId > 0)\r\n {\r\n if(this.claimId > 0)\r\n {\r\n this.refreshGrid({FromIndex:0, Count:this.perPage ,SortBy:\"date\",SortDesc:true,RelatedId: 0, ToDate:this.toDate, CategoryId : this.catergoryId , VehicleId : this.vehicleId , SearchByString: \"\", Status :this.selectedExpenseClaimStatus, ClaimId:this.claimId });\r\n }\r\n else\r\n {\r\n if(this.catergoryId > 0){\r\n this.refreshGrid({FromIndex:0, Count:this.perPage ,SortBy:\"date\",SortDesc:true,RelatedId: 0, ToDate:this.toDate.toISOString(), CategoryId : this.catergoryId , VehicleId : this.vehicleId , SearchByString: \"\", Status :this.selectedExpenseClaimStatus, ClaimId:0 });\r\n }\r\n else {\r\n this.refreshGrid({FromIndex:0, Count:this.perPage ,SortBy:\"date\",SortDesc:true,RelatedId: 0, ToDate:this.toDate.toISOString(), CategoryId : 0 , VehicleId : this.vehicleId , SearchByString: \"\", Status :this.selectedExpenseClaimStatus, ClaimId:0 });\r\n }\r\n }\r\n }\r\n else\r\n {\r\n this.refreshGrid({FromIndex:0, Count:0 ,SortBy:\"date\",SortDesc:true,RelatedId: 0, ToDate:this.toDate.toISOString(), CategoryId : 0 , VehicleId : 0 , SearchByString: \"\", Status :this.selectedExpenseClaimStatus, ClaimId:0 });\r\n }\r\n }\r\n\r\n refreshGrid(tableFilterParams:ExpenseClaimHistoryTableFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"ExpenseClaim\",\"ExpenseClaimHistoryList\",tableFilterParams).then(response =>{\r\n this.items = response.data.resultDto == null ? [] : response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n if(this.items && this.items.length > 0){\r\n this.onExpenseClaimHistoryLoaded(this.items.length)\r\n }\r\n else{\r\n this.onExpenseClaimHistoryLoaded(0);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\r\n if(this.vehicleId > 0)\r\n {\r\n if(this.claimId > 0)\r\n {\r\n this.refreshGrid({FromIndex:fromIndex, Count:this.perPage ,SortBy:\"date\",SortDesc:true,RelatedId: 0, ToDate:this.toDate, CategoryId : this.catergoryId , VehicleId : this.vehicleId , SearchByString: \"\", Status :this.selectedExpenseClaimStatus, ClaimId:this.claimId });\r\n }\r\n else\r\n {\r\n if(this.catergoryId > 0){\r\n this.refreshGrid({FromIndex:fromIndex, Count:this.perPage ,SortBy:\"date\",SortDesc:true,RelatedId: 0, ToDate:this.toDate.toISOString(), CategoryId : this.catergoryId , VehicleId : this.vehicleId , SearchByString: \"\", Status :this.selectedExpenseClaimStatus, ClaimId:0 });\r\n }\r\n }\r\n }\r\n }\r\n\r\n @Emit('onExpenseClaimHistoryLoaded') onExpenseClaimHistoryLoaded(length:number){}\r\n\r\n}\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimHistory.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimHistory.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./expenseClaimHistory.vue?vue&type=template&id=62d08f3d&scoped=true\"\nimport script from \"./expenseClaimHistory.vue?vue&type=script&lang=ts\"\nexport * from \"./expenseClaimHistory.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62d08f3d\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddVehicleInsuranceConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"There are unsaved changes. Do you want to continue?\")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddVehicleInsuranceConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddVehicleInsuranceConf_OkButton\"},on:{\"click\":_vm.closeModal}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"12\"}},[_c('b-form',{staticClass:\"insurance-schedule\",on:{\"submit\":function($event){$event.preventDefault();return _vm.onFormSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.vehicleInsurance.insuranceCompany.$error },attrs:{\"label\":\"Insurance Company\",\"label-for\":\"insuranceCompany\"}},[_c('b-form-input',{class:{\n textInput: true,\n requiredField:\n _vm.vehicleInsurance.insuranceCompany == null ||\n _vm.vehicleInsurance.insuranceCompany.length == 0,\n },attrs:{\"id\":\"insuranceCompany\",\"type\":\"text\",\"placeholder\":\"Enter Insurance Company\"},on:{\"input\":function($event){return _vm.$v.vehicleInsurance.insuranceCompany.$touch()},\"focus\":function($event){return $event.target.select()}},model:{value:(_vm.vehicleInsurance.insuranceCompany),callback:function ($$v) {_vm.$set(_vm.vehicleInsurance, \"insuranceCompany\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"vehicleInsurance.insuranceCompany\"}}),(\n _vm.$v.vehicleInsurance.insuranceCompany.$dirty &&\n !_vm.$v.vehicleInsurance.insuranceCompany.required\n )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Insurance Company is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',{staticClass:\"justify-space-between\"},[_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{staticClass:\"mb-3\",attrs:{\"cols\":\"12\"}},[_c('label',{class:{'form-group--error':\n _vm.$v.vehicleInsurance.nextMonthInsuranceDueDate.$required,\n },attrs:{\"label-for\":\"dueDate\"}},[_vm._v(\"Next Month Insurance Due Date\")]),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info pl-1\",attrs:{\"aria-hidden\":\"true\",\"title\":_vm.getNextMonthDueDatePopoverText()}})]),_c('DatePicker',{key:\"nextMonthInsuranceDueDate\",class:{\n requiredField:\n _vm.vehicleInsurance.nextMonthInsuranceDueDate == null ||\n _vm.vehicleInsurance.nextMonthInsuranceDueDate.length == 0,\n },attrs:{\"highlighted\":{\n dates: [this.todayDateUTC],\n includeDisabled: true,\n },\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"id\":'dueDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Please select a date',\"disabledDates\":_vm.disabledNextMonthInsuranceDueDates,\"disabled\":false},on:{\"input\":function($event){return _vm.changeNextMonthInsuranceDueDate()}},model:{value:(_vm.vehicleInsurance.nextMonthInsuranceDueDate),callback:function ($$v) {_vm.$set(_vm.vehicleInsurance, \"nextMonthInsuranceDueDate\", $$v)},expression:\"vehicleInsurance.nextMonthInsuranceDueDate\"}}),(\n _vm.$v.vehicleInsurance.nextMonthInsuranceDueDate.$dirty &&\n !_vm.$v.vehicleInsurance.nextMonthInsuranceDueDate.required\n )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Next Month Insurance Due Date is required.\\n \")]):_vm._e()],1)],1),_c('b-row',[_c('b-col',{staticClass:\"mb-3\",attrs:{\"cols\":\"12\"}},[_c('label',{class:{'form-group--error':\n _vm.$v.vehicleInsurance.finalMonthInsuranceDueMonthComponent.$error ||\n _vm.$v.vehicleInsurance.finalMonthInsuranceDueYearComponent.$error,\n },attrs:{\"label-for\":\"finalMonthInsuranceDueDate\"}},[_vm._v(\"Final Month Insurance Due (MM | YYYY)\")]),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info pl-1\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Please input the exact Final Month Insurance Due Date based on the policy schedule provided by the insurer\"}})]),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{\n requiredField:\n _vm.vehicleInsurance.finalMonthInsuranceDueMonthComponent == null ||\n _vm.vehicleInsurance.finalMonthInsuranceDueMonthComponent.length == 0,\n },attrs:{\"id\":\"finalMonthInsuranceDueDateMonthSelect\",\"plain\":true,\"options\":_vm.finalMonthInsuranceDueDates},on:{\"change\":function($event){_vm.$v.vehicleInsurance.finalMonthInsuranceDueMonthComponent.$touch();\n _vm.changeFinalInsuranceDueDate();}},model:{value:(_vm.vehicleInsurance.finalMonthInsuranceDueMonthComponent),callback:function ($$v) {_vm.$set(_vm.vehicleInsurance, \"finalMonthInsuranceDueMonthComponent\", $$v)},expression:\"vehicleInsurance.finalMonthInsuranceDueMonthComponent\"}},[(_vm.vehicleInsurance.finalMonthInsuranceDueMonthComponent == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"MM\")])]):_vm._e()],2)],1),(\n _vm.$v.vehicleInsurance.finalMonthInsuranceDueMonthComponent.$dirty &&\n !_vm.$v.vehicleInsurance.finalMonthInsuranceDueMonthComponent.required\n )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Month Insurance Due (MM) is required.\\n \")]):_vm._e(),_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('DatePicker',{key:\"FinalMonthInsuranceDueDates\",class:{\n requiredField:\n _vm.vehicleInsurance.finalMonthInsuranceDueYearComponent == null ||\n _vm.vehicleInsurance.finalMonthInsuranceDueYearComponent.length == 0,\n },attrs:{\"use-utc\":true,\"id\":'year',\"format\":'yyyy',\"input-class\":'form-control textInput',\"highlighted\":{\n dates: [this.todayDateUTC],\n includeDisabled: true,\n },\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"disabledDates\":_vm.disabledFinalMonthInsuranceDueDates,\"wrapper-class\":'textInput',\"placeholder\":'YYYY',\"minimum-view\":'year'},on:{\"input\":function($event){return _vm.changeFinalInsuranceDueDate()}},model:{value:(_vm.vehicleInsurance.finalMonthInsuranceDueYearComponent),callback:function ($$v) {_vm.$set(_vm.vehicleInsurance, \"finalMonthInsuranceDueYearComponent\", $$v)},expression:\"vehicleInsurance.finalMonthInsuranceDueYearComponent\"}})],1),(\n _vm.$v.vehicleInsurance.finalMonthInsuranceDueYearComponent.$dirty &&\n !_vm.$v.vehicleInsurance.finalMonthInsuranceDueYearComponent.required\n )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final Month Insurance Due (YYYY) is required.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label\":\"Monthly Insurance Due (DD)\",\"label-for\":\"monthlyInsuranceDueDate\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'requiredField': (_vm.vehicleInsurance.monthlyInsuranceDueDate == null || _vm.vehicleInsurance.monthlyInsuranceDueDate.length == 0) },attrs:{\"id\":\"monthlyInsuranceDueDate\",\"plain\":true,\"options\":_vm.monthlyInsuranceDueDates},on:{\"change\":function($event){return _vm.$v.vehicleInsurance.monthlyInsuranceDueDate.$touch()}},model:{value:(_vm.vehicleInsurance.monthlyInsuranceDueDate),callback:function ($$v) {_vm.$set(_vm.vehicleInsurance, \"monthlyInsuranceDueDate\", $$v)},expression:\"vehicleInsurance.monthlyInsuranceDueDate\"}},[(_vm.vehicleInsurance.monthlyInsuranceDueDate == null)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":null}},[_vm._v(\"Please select a date\")])]):_vm._e()],2)],1)],1)],1)],1)],1),_c('b-row',{staticClass:\"add-invoice-button\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[(_vm.showInvalidTermErrorMessage)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Final month insurance due date should be greater than next month insurance due\\n date and should have atleast two month gap\\n \")]):_vm._e()])],1),_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('span',{staticClass:\"terms-font\"},[_vm._v(\"Please do not forget to upload your policy document together with the monthly\\n repayment schedule in the Supporting Documents\")])])],1),_c('b-row',[_c('b-col',[_c('div',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":_vm.$v.vehicleInsurance.$invalid || _vm.showInvalidTermErrorMessage || !_vm.isModelDirty()}},[_vm._v(\"\\n \"+_vm._s(_vm.modalSubmitButtonText)+\"\\n \")]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.onCancel()}}},[_vm._v(\"\\n Cancel\")])],1)])],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { validationMixin } from \"vuelidate\";\nimport { required, minValue } from \"vuelidate/lib/validators\";\nimport { Component, Prop, Vue, Emit, Watch } from \"vue-property-decorator\";\nimport Modal from \"@/shared/components/modal/Modal.vue\";\nimport { VehicleInsurance } from \"@/models/vehicleInsurance.model\";\nimport dirtyValidatorService from \"@/shared/services/dirtyValidatorService\";\nimport moment from \"moment\";\nimport fieldValidations from \"@/shared/services/fieldValidationService\";\nimport lookupService from \"@/shared/services/lookupService\";\nimport apiService from \"@/shared/services/apiService\";\nimport { ExpenseClaimTypes } from \"@/shared/enums/expenseClaims.enum\";\n\n@Component({\n mixins: [validationMixin],\n components: {\n Modal,\n },\n validations: {\n vehicleInsurance: {\n insuranceCompany: {\n required,\n },\n nextMonthInsuranceDueDate: {\n required,\n },\n monthlyInsuranceDueDate: {\n required,\n minValue: minValue(1),\n },\n finalMonthInsuranceDueMonthComponent: {\n required,\n minValue: minValue(1),\n },\n finalMonthInsuranceDueYearComponent: {\n required,\n },\n },\n },\n})\nexport default class AddEditInsuranceSchedule extends Vue {\n @Prop() vehicleId: number;\n @Prop() expenseClaimType: number;\n @Prop() currentVehicleInsurance: VehicleInsurance;\n\n vehicleInsurance: VehicleInsurance = {\n id: 0,\n vehicleId: 0,\n insuranceCompany: null,\n nextMonthInsuranceDueDate: null,\n monthlyInsuranceDueDate: null,\n finalMonthInsuranceDueMonthComponent: null,\n finalMonthInsuranceDueYearComponent: null,\n };\n\n expenseClaimReimbursementType:number = ExpenseClaimTypes.Reimbursement;\n todayDate: any = new Date();\n todayDateUTC: any = new Date(\n Date.UTC(\n this.todayDate.getFullYear(),\n this.todayDate.getMonth(),\n this.todayDate.getDate(),\n 0,\n 0,\n 0\n )\n );\n disabledNextMonthInsuranceDueDates = {\n to: this.todayDateUTC,\n from: null,\n };\n disabledFinalMonthInsuranceDueDates = {};\n\n dirtyValidationConfirmation: boolean = false;\n dirtyValidatorRefNo: number = 0;\n saveDisabled = false;\n addDisabled: boolean = false;\n dateChanged: boolean = false;\n finalMonthInsuranceDueDates: number[] = [];\n showInvalidTermErrorMessage: boolean = false;\n monthlyInsuranceDueDates:number[] = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28];\n modalSubmitButtonText: string = \"Create\";\n\n created() {\n if(this.currentVehicleInsurance != null) {\n this.vehicleInsurance = Object.assign({},this.currentVehicleInsurance);\n this.modalSubmitButtonText = \"Update\";\n }\n \n this.loadCalendarMonths();\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(\n this.dirtyValidatorRefNo,\n this.vehicleInsurance\n );\n }\n\n loadCalendarMonths() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n lookupService.GetCalendarMonths().then((data) => {\n this.finalMonthInsuranceDueDates = data;\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(\n this.dirtyValidatorRefNo,\n this.vehicleInsurance\n );\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n getNextMonthDueDatePopoverText(){\n let text = this.expenseClaimType == this.expenseClaimReimbursementType ? \"you\" : \"we\"\n return `Please input the exact date ${text} are paying for currently`;\n }\n\n onCancel() {\n if (dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo) || this.dateChanged) {\n this.dirtyValidationConfirmation = true;\n } else {\n this.closeModal();\n }\n }\n\n onFormSubmit() {\n if (this.vehicleInsurance.id > 0){\n this.updateVehicleInsuranceMetaData();\n }\n else {\n this.validateInsuranceMetaData();\n }\n }\n\n updateVehicleInsuranceMetaData() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n this.vehicleInsurance.vehicleId = this.vehicleId;\n apiService\n .sendPostRequest(\"RecurringPayment\", \"VehicleInsuranceScheduleMetaData\", this.vehicleInsurance)\n .then((response) => {\n if (response.data.isSuccess) {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"success\",\n duration: 5000,\n });\n this.closeModal();\n this.onVehicleInsuranceScheduleUpdate(this.vehicleInsurance);\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n } else {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"error\",\n duration: 5000,\n });\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n validateInsuranceMetaData() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n this.vehicleInsurance.vehicleId = this.vehicleId;\n apiService\n .sendPostRequest(\"RecurringPayment\", \"ValidateInsuranceMetaData\", this.vehicleInsurance)\n .then((response) => {\n if (response.data.isSuccess) {\n this.closeModal();\n this.onVehicleInsuranceCreate(this.vehicleInsurance);\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\n } else {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"error\",\n duration: 5000,\n });\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n changeNextMonthInsuranceDueDate() {\n this.showInvalidTermErrorMessage = false;\n\n if (fieldValidations.isValidDate(this.vehicleInsurance.nextMonthInsuranceDueDate)) {\n this.validateTerm();\n if(this.vehicleInsurance.nextMonthInsuranceDueDate.getDate() > 28){\n this.vehicleInsurance.monthlyInsuranceDueDate = 28;\n } else {\n this.vehicleInsurance.monthlyInsuranceDueDate = this.vehicleInsurance.nextMonthInsuranceDueDate.getDate();\n }\n var startDate = moment(this.vehicleInsurance.nextMonthInsuranceDueDate).toDate();\n this.disabledFinalMonthInsuranceDueDates = { to: startDate };\n }\n }\n\n changeFinalInsuranceDueDate() {\n this.showInvalidTermErrorMessage = false;\n if (\n fieldValidations.isValidDate(this.vehicleInsurance.finalMonthInsuranceDueYearComponent) &&\n fieldValidations.isValidNumber(this.vehicleInsurance.finalMonthInsuranceDueMonthComponent) &&\n fieldValidations.isValidNumber(this.vehicleInsurance.monthlyInsuranceDueDate)\n ) {\n this.validateTerm();\n let finalMonthInsuranceDueYear = moment(\n this.vehicleInsurance.finalMonthInsuranceDueYearComponent\n ).year();\n let startDate = moment(\n new Date(\n this.vehicleInsurance.finalMonthInsuranceDueMonthComponent +\n \"/\" +\n this.vehicleInsurance.monthlyInsuranceDueDate +\n \"/\" +\n finalMonthInsuranceDueYear\n )\n )\n .add(1, \"day\")\n .toDate();\n this.disabledNextMonthInsuranceDueDates.from = startDate;\n } else if (\n fieldValidations.isValidDate(this.vehicleInsurance.finalMonthInsuranceDueYearComponent)\n ) {\n let finalMonthInsuranceDueYear = moment(\n this.vehicleInsurance.finalMonthInsuranceDueYearComponent\n )\n .add(1, \"year\")\n .year();\n let startDate = new Date(\"1/1/\" + finalMonthInsuranceDueYear);\n this.disabledNextMonthInsuranceDueDates.from = startDate;\n }\n }\n\n validateTerm() {\n if (\n this.vehicleInsurance.nextMonthInsuranceDueDate &&\n this.vehicleInsurance.finalMonthInsuranceDueMonthComponent &&\n this.vehicleInsurance.finalMonthInsuranceDueYearComponent\n ) {\n if (\n moment(this.vehicleInsurance.nextMonthInsuranceDueDate)\n .add(1, \"month\")\n .isAfter(\n moment(\n new Date(\n this.vehicleInsurance.finalMonthInsuranceDueMonthComponent +\n \"/\" +\n this.vehicleInsurance.monthlyInsuranceDueDate +\n \"/\" +\n moment(this.vehicleInsurance.finalMonthInsuranceDueYearComponent).year()\n )\n )\n )\n ) {\n this.showInvalidTermErrorMessage = true;\n }\n }\n }\n\n isModelDirty(){\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\n }\n\n @Emit(\"onCloseModal\") closeModal() {}\n @Emit(\"onVehicleInsuranceCreate\") onVehicleInsuranceCreate(vehicleInsurance: VehicleInsurance) {}\n @Emit(\"onVehicleInsuranceScheduleUpdate\") onVehicleInsuranceScheduleUpdate(vehicleInsurance: VehicleInsurance) {}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditInsuranceSchedule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditInsuranceSchedule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditInsuranceSchedule.vue?vue&type=template&id=39d8e7d6&scoped=true\"\nimport script from \"./AddEditInsuranceSchedule.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditInsuranceSchedule.vue?vue&type=script&lang=ts\"\nimport style0 from \"./AddEditInsuranceSchedule.vue?vue&type=style&index=0&id=39d8e7d6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"39d8e7d6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.items && _vm.items.length > 0)?_c('b-table-simple',{attrs:{\"responsive\":\"sm\",\"hover\":\"\"}},[_c('b-thead',[_c('b-tr',[_c('b-th',{staticClass:\"width_30\"},[_vm._v(\"Due Date\")]),_c('b-th',{staticClass:\"width_20 text-right\"},[_vm._v(\"Amount\")]),_c('b-th',{staticClass:\"width_20 text-right\"},[_vm._v(\"GST\")]),_c('b-th',{staticClass:\"width_30 text-right\"},[_vm._v(\"Total Amount\")])],1)],1),_c('b-tbody',[_vm._l((_vm.items),function(item,index){return _c('b-tr',{key:'data_' + index},[_c('b-td',[_vm._v(_vm._s(_vm.getDueDate(item.dueDate)))]),_c('b-td',{staticClass:\"text-right\"},[_c('ApexCurrency',{attrs:{\"value\":item.amount}})],1),_c('b-td',{staticClass:\"text-right\"},[_c('ApexCurrency',{attrs:{\"value\":item.gstAmount}})],1),_c('b-td',{staticClass:\"text-right\"},[_c('ApexCurrency',{attrs:{\"value\":item.totalAmount}})],1)],1)}),_c('b-tr',[_c('b-td',[_c('b',[_vm._v(\"Total\")])]),_c('b-td'),_c('b-td'),_c('b-td',{staticClass:\"text-right font-weight-bold\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.getTotal}})],1)],1)],2)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport moment from \"moment\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport apiService from \"@/shared/services/apiService\";\n\n@Component({\n components: {\n DataTable,\n },\n})\nexport default class InsuranceSchedulePreview extends Vue {\n @Prop() vehicleInsuranceId: number;\n\n fields = [\n {\n key: \"dueDate\",\n label: \"Due Date\",\n class: \"width_10\",\n formatter: (value, key, item) => {\n if (item.dueDate == null) {\n return \"\";\n }\n return moment(item.dueDate).format(\"DD MMM YYYY\");\n },\n },\n {\n key: \"amount\",\n label: \"Amount\",\n class: \"width_10 text-right\",\n },\n {\n key: \"gstAmount\",\n label: \"GST\",\n class: \"width_10 text-right\",\n },\n {\n key: \"totalAmount\",\n label: \"Total\",\n class: \"width_10 text-right\",\n },\n ];\n items: any[] = [];\n\n created(){\n this.loadInsuranceScheduleData();\n }\n\n loadInsuranceScheduleData(){\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendGetRequest(\"RecurringPayment\", \"PreviewVehicleInsuranceSchedule\", {vehicleInsuranceId : this.vehicleInsuranceId}).then((response) =>{\n if (response.data.isSuccess){\n this.items = response.data.vehicleInsuranceSchedules\n }\n else {\n this.items = [];\n this.$notify({\n group: \"modalGrowlNotification\",\n title: response.data.item1.message,\n type: \"error\",\n duration: 5000,\n });\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n getDueDate(dueDate) {\n return moment(dueDate).format(\"DD MMM YYYY\");\n }\n\n get getTotal() {\n return this.items.reduce((acc, item) => acc + item.totalAmount, 0);\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsuranceSchedulePreview.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsuranceSchedulePreview.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InsuranceSchedulePreview.vue?vue&type=template&id=4a3b9ff9&scoped=true\"\nimport script from \"./InsuranceSchedulePreview.vue?vue&type=script&lang=ts\"\nexport * from \"./InsuranceSchedulePreview.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4a3b9ff9\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required,numeric, minValue} from 'vuelidate/lib/validators';\r\nimport { ExpenseClaimModel, ExpenseClaimLinesModel} from '@/models/expenseClaim.model';\r\nimport {ExpenseClaimTypes, ExpenseClaimStatuses, ExpenseCategories, ExpenseClaimCreationMethod} from '@/shared/enums/expenseClaims.enum';\r\nimport {FileTypes} from '@/shared/enums/fileTypes.enum';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport systemSettingsService from '@/shared/services/systemSettingsService';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport Notes from '@/shared/components/notes/Notes.vue';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport {ExpenseClaimActionTypes} from '@/shared/enums/expenseClaimActionTypes.enum';\r\nimport {PaymentMethods} from '@/shared/enums/paymentMethods.enum';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport moment from 'moment';\r\nimport ExpenseClaimsAuditLogsActionButton from './expenseClaimsAuditLogsActionButton.vue';\r\nimport ClientsList from '@/components/admin/clientManagement/ClientsList.vue';\r\nimport MotorVehicleSelectList from '@/components/admin/motorVehicleManagement/MotorVehicleSelectList.vue';\r\nimport {BankAccount} from '@/models/bankAccount.model';\r\nimport DocumentUploaderCommonControl from '@/shared/components/documentUploader/DocumentUploaderCommonControl.vue';\r\nimport NotesCommonControl from '@/shared/components/notes/NotesCommonControl.vue';\r\nimport SubmitExpenseClaimActionButtons from '@/components/admin/expenseClaims/submitExpenseClaimActionButtons.vue';\r\nimport DragAndDropControl from '@/shared/components/dragAndDropControl/DragAndDropControl.vue';\r\nimport ExpenseClaimHistory from '@/components/admin/expenseClaims/expenseClaimHistory.vue';\r\nimport {BPayAccount} from '@/models/bpayAccount.model';\r\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\r\nimport fieldValidations from \"@/shared/services/fieldValidationService\";\r\nimport AddEditInsuranceSchedule from '@/components/admin/expenseClaims/AddEditInsuranceSchedule.vue';\r\nimport { VehicleInsurance } from \"@/models/vehicleInsurance.model\";\r\nimport Filtrations from \"@/shared/filtrations\";\r\nimport SystemTextNotes from \"@/components/shared/SystemTextNotes.vue\";\r\nimport InsuranceSchedulePreview from \"@/components/admin/expenseClaims/InsuranceSchedulePreview.vue\";\r\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\r\nimport AddRecurringScheduledPayment from '@/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue';\r\nimport {ApexMillisecondesToDaysConverter} from '@/filters/dateFilter';\r\nimport ApexConstants from '@/shared/constants';\r\n\r\n@Component({\r\n components:\r\n {\r\n Modal,\r\n DataTable,\r\n Notes,\r\n ExpenseClaimsAuditLogsActionButton,\r\n ClientsList,\r\n DocumentUploaderCommonControl,\r\n NotesCommonControl,\r\n DragAndDropControl,\r\n ExpenseClaimHistory,\r\n MotorVehicleSelectList,\r\n AddEditInsuranceSchedule,\r\n SystemTextNotes,\r\n InsuranceSchedulePreview,\r\n AddRecurringScheduledPayment\r\n },\r\n mixins:[validationMixin],\r\n validations:\r\n {\r\n expenseClaim:\r\n {\r\n submittedDate:\r\n {\r\n required\r\n },\r\n incurredDate:\r\n {\r\n required\r\n },\r\n clientId:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n vehicleId:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n novationId:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n type:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n category:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n period:\r\n {\r\n isRequired: (value, vm) => {\r\n if((vm.category == ExpenseCategories.CTPI || vm.category == ExpenseCategories.Registration )) {\r\n if(value > 0) \r\n return true;\r\n else \r\n return false;\r\n } else {\r\n return true;\r\n }\r\n }\r\n },\r\n description:\r\n {\r\n required\r\n },\r\n regoRenewalDate:\r\n {\r\n required\r\n },\r\n insuranceRenewalDate:\r\n {\r\n required\r\n },\r\n reference:\r\n {\r\n required,\r\n isValidReference : function(value, vm){\r\n return this.isValidReference(value, vm)\r\n }\r\n },\r\n gstInclusiveAmount:\r\n {\r\n required,\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n },\r\n gstAmount:\r\n {\r\n required,\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n },\r\n },\r\n bankAccount:{\r\n accountName:{\r\n required,\r\n isValidAccountName : value => \r\n {\r\n if(/[,]+/.test(value)){\r\n return false;\r\n }\r\n else{\r\n return true;\r\n }\r\n }\r\n },\r\n accountNumber:{\r\n required,\r\n numeric \r\n },\r\n bankAccountBSB:{\r\n required,\r\n numeric\r\n }\r\n },\r\n bPayAccount:{\r\n name:{\r\n required\r\n },\r\n billerCode:{\r\n required, \r\n numeric\r\n }\r\n },\r\n bankAccountID:\r\n {\r\n minValue: minValue(1)\r\n },\r\n rejectOrQueryNoteText:\r\n {\r\n required\r\n },\r\n revertToPendingApprovalNoteText:\r\n {\r\n required\r\n },\r\n }\r\n})\r\nexport default class SubmitApproveExpenseClaim extends Vue{\r\n expenseClaimId:number;\r\n selectedExpenseClaimLineId:number = 0;\r\n relatedTable:RelatedTables = RelatedTables.ExpenseClaim;\r\n expenseClaimLineRelatedTable:RelatedTables = RelatedTables.ExpenseClaimLine;\r\n vehicles:any = [];\r\n expenseClaimBankAccounts:any = [];\r\n isAdmin:boolean = false;\r\n isTenantAdmin:boolean = false;\r\n isSupplier:boolean = false;\r\n isShowResidualDueDateErrorMessage:boolean = false;\r\n residualDueDateErrorMessage:any= \"\";\r\n todayDate: any = new Date();\r\n currentDate: any = new Date().setHours(0,0,0,0);\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n initialExpenseClaim: ExpenseClaimModel = {\r\n id:0, \r\n eCRN:\"\",\r\n category:0,\r\n description:\"\",\r\n reference:\"\",\r\n gstAmount:0,\r\n gstInclusiveAmount:0,\r\n submittedDate: this.todayDateUTC,\r\n incurredDate: null,\r\n type:0,\r\n paymentMethodType:PaymentMethods.EFT,\r\n accountID:0,\r\n status:ExpenseClaimStatuses.PendingApproval,\r\n clientId:0,\r\n clientName:\"\",\r\n vehicleId:0,\r\n novationId:0,\r\n vehicleName:\"\",\r\n notesList:[],\r\n documentList:[],\r\n expenseClaimLines:[],\r\n bankAccount:null,\r\n bPayAccount:null,\r\n isReadOnly:false,\r\n createdBy:\"\",\r\n createdByUserId:0,\r\n createdDate:new Date(),\r\n updatedBy:\"\",\r\n lastUpdatedDate:new Date(),\r\n concurrencyKey:\"\",\r\n regoRenewalDate:new Date(),\r\n insuranceRenewalDate:new Date(),\r\n ctpiProvider:\"\",\r\n period:0,\r\n updateRenewalDates:false,\r\n submittedByUserRole:0,\r\n supplierId:0,\r\n vehicleInsurance: null,\r\n expenseClaimCreationMethod:0,\r\n vehicleInsuranceId: 0,\r\n recurringPaymentScheduleId: 0,\r\n };\r\n intialBankAccount:BankAccount = {\r\n id:0,bankID:null,\r\n accountName:\"\",\r\n accountNumber:undefined,\r\n bankAccountBSB:undefined,\r\n relatedID:0,\r\n relatedTable:RelatedTables.ExpenseClaim,\r\n bankAccountType:null,\r\n isIncludedForBankAPI:null,\r\n concurrencyKey:\"\",\r\n isActive:true,\r\n createdDate:\"\",\r\n createdBy:\"\",\r\n updatedDate:\"\",\r\n updatedBy:\"\"};\r\n initialBPayAccount:BPayAccount = {\r\n id:0,\r\n name:\"\",\r\n billerCode:\"\",\r\n relatedID:0,\r\n relatedTable:RelatedTables.ExpenseClaim,\r\n concurrencyKey:\"\",\r\n isActive:true,\r\n createdDate:\"\",\r\n createdBy:\"\",\r\n updatedDate:\"\",\r\n updatedBy:\"\"};\r\n\r\n newExpenseClaimLine: ExpenseClaimLinesModel = {\r\n id:0,\r\n rowNo:0,\r\n index:-1,\r\n expenseClaimID:0,\r\n incurredDate: null,\r\n category:0,\r\n description:\"\",\r\n gstInclusiveAmount:0,\r\n gstAmount:0,\r\n notesList:[],\r\n documentList:[],\r\n isReadOnly:false,\r\n accountID:0,\r\n ctpiProvider:\"\",\r\n period:0,\r\n rejectOrQueryNote:\"\",\r\n vehicleInsurance: null,\r\n docType:0\r\n }; \r\n bankAccount:BankAccount = Object.assign({}, this.intialBankAccount); \r\n bPayAccount:BPayAccount = Object.assign({}, this.initialBPayAccount); \r\n expenseClaim:ExpenseClaimModel = Object.assign({}, this.initialExpenseClaim);\r\n expenseClaimTypes:any[] = [];\r\n registrationCategory:number = ExpenseCategories.Registration;\r\n insuranceCategory:number = ExpenseCategories.Insurance;\r\n fuelCategory:number = ExpenseCategories.Fuel;\r\n expenseClaimCategoryList:any[] = [];\r\n expenseClaimLinesCategoryList:any[] = [];\r\n expenseClaimStatusList:any[] = [];\r\n expenseClaimReImbursementType:number = ExpenseClaimTypes.Reimbursement;\r\n expenseClaimBillType:number = ExpenseClaimTypes.Bill;\r\n gstRate:number = 0.1;\r\n dirtyValidationRefNo:number = 0;\r\n claimLineDirtyValidationRefNo:number = 0;\r\n clients:any[] = [];\r\n backNavigationConfirmation:boolean = false;\r\n showCancelEditReimbursementLine:boolean = false;\r\n bankAccounts:any[] = [];\r\n showPaymentRecord:boolean = false;\r\n showAddEditPaymentModal:boolean = false;\r\n showAddPaymentRecord:boolean = true;\r\n showClaimHistory:boolean=false;\r\n showAddEditReimbursementButton:boolean=true;\r\n selectMode = \"single\"\r\n expenseClaimFields = [\r\n {key: 'rowNo', label: '#', class:'width_5'},\r\n {key: 'incurredDate', label: 'Incurred Date', class:'width_10',\r\n formatter: (value, key, item) => {\r\n return moment(item.incurredDate).format(\"DD MMM YYYY\")\r\n }\r\n },\r\n {key: 'category', class:'width_10', formatter: (value, key, item) => {\r\n return this.getCategoryName(value);\r\n }\r\n },\r\n {key: 'description'},\r\n {key: 'gstInclusiveAmount', label: 'Total (Incl. GST)', class:'width_15 text-align-right'} \r\n ];\r\n customTemplateList:Array = [{slot:\"gstInclusiveAmount\",customTemplate:ApexCurrency}];\r\n editMode:boolean = false;\r\n recordToEdit:any = {};\r\n currentIndex:number = 0;\r\n showDocumentRequirementModal:boolean = false;\r\n showApproveSection:boolean = false;\r\n showDeleteButton:boolean = false;\r\n showRevertToPendingApproval: boolean = false;\r\n showQueryButton: boolean = true;\r\n showRejectOrQueryExpenseNoteModal:boolean = false;\r\n rejectOrQueryNoteText:string = \"\";\r\n revertToPendingApprovalNoteText:string = \"\";\r\n queriedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.Queried;\r\n clientQueriedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.ClientQueried;\r\n rejectedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.Rejected;\r\n clientRejectedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.ClientRejected;\r\n pendingApprovalStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.PendingApproval; \r\n pendingClientApprovalStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.PendingClientApproval;\r\n rejectOrQueryModalMode:ExpenseClaimStatuses = ExpenseClaimStatuses.Queried;\r\n expenseClaimApprovedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.Approved;\r\n expenseClaimPaidStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.Paid;\r\n expenseClaimCreationMethodInsuranceScheduler:ExpenseClaimCreationMethod = ExpenseClaimCreationMethod.InsuranceScheduleReminder; \r\n rejectOrQueryModalText:string = \"\"; \r\n reviewMode:boolean = false;\r\n expenseClaimStatusDisplayText:string = \"\";\r\n notesChanged:boolean = false;\r\n documentsChanged:boolean = false;\r\n balance:number = 0;\r\n isDocumentsAndNotesReadOnly:boolean = false;\r\n ShowLowLedgerBalance:boolean = false;\r\n showSubmitSection:boolean = false;\r\n showSelectClientModal:boolean = false;\r\n showSelectVehicleModal:boolean = false;\r\n showSetRenewalDatesModal:boolean = false;\r\n showActiveOrPendingInsuranceExistsModal: boolean = false;\r\n showInsuranceScheduleConsentModal: boolean = false;\r\n showInsuranceScheduleModal: boolean = false;\r\n showScheduledInsuranceExpenseClaimApproveConfirmationPopup: boolean = false;\r\n isActiveOrPendingInsuranceExists: boolean = false;\r\n expenseClaimWithInsuranceSchedule: ExpenseClaimModel = null;\r\n selectedClientName:string = \"Selected Client\";\r\n expenseClaimSubTotal:number = 0;\r\n expenseClaimGSTTotal:number = 0;\r\n expenseClaimsTotal:number = 0;\r\n showSubTotalSection:boolean = false;\r\n editRecord:any = null;\r\n clientName:string = \"\";\r\n declarationText:string = \"\";\r\n expenseClaimLineChanged:boolean = false;\r\n disabledDates:any ={};\r\n bpayPaymentMethod:number = PaymentMethods.BPAY;\r\n eftPaymentMethod:number = PaymentMethods.EFT;\r\n typeDisplayText:string = '';\r\n vehicleId:number = 0;\r\n regoRenewalType:boolean = false;\r\n insuranceRenewalType:boolean = false;\r\n addAnotherBill:boolean = false;\r\n modalModeClientListView:ClientsListViewModes = ClientsListViewModes.ModalMode;\r\n ctpiCategory:ExpenseCategories = ExpenseCategories.CTPI;\r\n periodsList:number[] = [1,2,3,4,5,6,7,8,9,10,11,12];\r\n selectedDocType:number = 0;\r\n showPopOverMsg:boolean = false;\r\n isClaimLineBeingUpdated = false;\r\n expenseClaimBankAccountsLoaded = false;\r\n isClient = false;\r\n supplierUserRole:UserRoles = UserRoles.Supplier\r\n submittedByUserId = 0;\r\n supplierId:number = 0;\r\n vehicleNovationList:any = [];\r\n groupedNovationList:any = [];\r\n expenseClaimDeclarationText:string = \"\";\r\n forceUserToResubmit:boolean = false;\r\n showResubmitPopOverMsg:boolean = true;\r\n showMultipleECLinesActionConfirmation:boolean = false;\r\n showDeleteExpenseClaimConfirmation:boolean = false;\r\n showRevertToPendingApprovalStatusConfirmation:boolean = false;\r\n multipleECLinesActionText:string = \"\";\r\n multipleECLinesAction:any = 0;\r\n disabledIncurredDates:any = {}\r\n showInvalidIncurredDateModal: boolean = false\r\n showInvalidIncurredDateWarning: boolean = false;\r\n selectedRelatedEntities:any;\r\n showInsuranceSchedulePreview:boolean = false; \r\n novationLedgerBalance:string = \"\";\r\n claimNote: string = \"\";\r\n isEnabledExpenseClaimCategorySelected:boolean = true;\r\n enabledExpenseClaimCategoryList:any[] = [];\r\n allExpenseClaimCategoryList:any[] = [];\r\n\r\n // used inside reimbursement claim reject or query note modal\r\n expenseClaimLinesRejectOrQueryNoteFields = [\r\n { key: \"rowNo\", label: '#', class: 'width_10 text-align-left' },\r\n { key: 'note', label: 'Reason', class: 'width_90 text-center'},\r\n ];\r\n\r\n created()\r\n {\r\n if(this.$route.query.review){\r\n this.reviewMode = true;\r\n }\r\n if(this.$route.params.type != null && this.$route.params.type == 'bill')\r\n {\r\n this.initialExpenseClaim.type = this.expenseClaim.type = ExpenseClaimTypes.Bill;\r\n this.typeDisplayText = \"Bill\";\r\n }\r\n else if (this.$route.params.type != null && this.$route.params.type == 'reimbursement')\r\n {\r\n this.initialExpenseClaim.type = this.expenseClaim.type = ExpenseClaimTypes.Reimbursement;\r\n this.typeDisplayText = \"Reimbursement\";\r\n }\r\n if(this.$route.query.vehicleId != null && +this.$route.query.vehicleId > 0)\r\n {\r\n this.initialExpenseClaim.vehicleId = this.expenseClaim.vehicleId = this.vehicleId = +this.$route.query.vehicleId;\r\n this.loadLatestVehicleNovations(this.expenseClaim.vehicleId);\r\n }\r\n this.expenseClaimId = +this.$route.params.id ? +this.$route.params.id : 0;\r\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\r\n this.isTenantAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin]);\r\n\r\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n this.isSupplier = this.$store.getters.isAuthorizedRole(UserRoles.Supplier);\r\n this.showSubmitSection = this.expenseClaimId == 0;\r\n this.loadDropDownLists();\r\n this.loadSystemSettings();\r\n this.$store.dispatch('updateNotes',[]);\r\n this.$store.dispatch('updateDocuments',[]);\r\n if(this.isSupplier){ \r\n this.supplierId = this.$store.getters.getToken.relatedEntityId \r\n this.expenseClaim.supplierId = this.supplierId; \r\n this.loadExpenseClaimBankAccounts(RelatedTables.Supplier, this.supplierId );\r\n }else{\r\n if(this.isAdmin){\r\n this.loadClients();\r\n }\r\n else\r\n { \r\n this.isInsuranceScheduleAvailable();\r\n this.onClientSelect(null);\r\n }\r\n }\r\n\r\n if(this.expenseClaimId > 0)\r\n {\r\n this.loadExpenseClaimDetails(); \r\n }\r\n else\r\n {\r\n if(this.isSupplier){\r\n this.GetSubmittedExpenseClaimsCountBySupplierId();\r\n }\r\n this.expenseClaimFields.shift();\r\n this.expenseClaimFields.push({key: 'actions',label:\"\",class:'text-center text-nowrap width_10',formatter:null});\r\n this.customTemplateList.push({slot:\"actions\",customTemplate:SubmitExpenseClaimActionButtons});\r\n }\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.expenseClaim);\r\n }\r\n\r\n loadClaimNote() {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Vehicle', 'ClaimNote', { vehicleId: this.expenseClaim.vehicleId }).then(response => {\r\n this.claimNote = response.data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch((error) => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n viewInsuranceSchedule(){\r\n let route = this.$router.resolve({\r\n name: \"Vehicle Insurance Schedule\",\r\n params: { vehicleId: this.expenseClaim.vehicleId.toString(), vehicleInsuranceId: this.expenseClaim.recurringPaymentScheduleId.toString() },\r\n })\r\n window.open(route.href,'_blank');\r\n }\r\n\r\n isFieldDisable() {\r\n return ( (this.expenseClaim.id > 0) && ((this.isClient && (this.expenseClaim.expenseClaimCreationMethod == ExpenseClaimCreationMethod.InsuranceScheduleReminder || this.expenseClaim.status != this.queriedStatus)) ||\r\n (this.isSupplier && this.expenseClaim.status != this.clientQueriedStatus && this.expenseClaim.status != this.queriedStatus) || \r\n (this.isAdmin && (this.expenseClaim.expenseClaimCreationMethod == ExpenseClaimCreationMethod.InsuranceScheduleReminder || this.expenseClaim.status != this.pendingApprovalStatus))))\r\n }\r\n\r\n isFieldEnableForRecurringPaymentClaims(){\r\n return (this.expenseClaim.expenseClaimCreationMethod == this.expenseClaimCreationMethodInsuranceScheduler && \r\n ((this.isClient && (this.expenseClaim.status == this.pendingClientApprovalStatus || this.expenseClaim.status == this.rejectOrQueryModalMode)) ||\r\n ( this.isAdmin && (this.expenseClaim.status == this.pendingApprovalStatus))))\r\n }\r\n\r\n isCategoryDisable() {\r\n return this.expenseClaim.id > 0 && ((this.expenseClaim.status != this.queriedStatus && this.expenseClaim.status != this.clientQueriedStatus) || (this.expenseClaim.vehicleInsurance != null))\r\n }\r\n\r\n calculateGSTAmount(){\r\n if(fieldValidations.isValidDecimal(this.expenseClaim.gstInclusiveAmount)){\r\n this.expenseClaim.gstAmount = parseFloat((this.expenseClaim.gstInclusiveAmount * (this.gstRate/(1 + this.gstRate))).toFixed(2));\r\n }\r\n }\r\n\r\n isInsuranceScheduleAvailable(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n this.isActiveOrPendingInsuranceExists = false;\r\n apiService.sendGetRequest(\"RecurringPayment\",\"GetExpenseClaimWithActiveOrPendingInsuranceSchedule\",{vehicleId:this.expenseClaim.vehicleId, clientId:this.expenseClaim.clientId}).\r\n then(response =>{\r\n if(response.data){\r\n this.isActiveOrPendingInsuranceExists = true;\r\n this.expenseClaimWithInsuranceSchedule = response.data\r\n }else{\r\n this.isActiveOrPendingInsuranceExists = false;\r\n }\r\n \r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n GetSubmittedExpenseClaimsCountBySupplierId(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var t = this.$store.getters.getToken\r\n apiService.sendGetRequest(\"ExpenseClaim\",\"SupplierSubmittedExpenseClaimsCount\",{supplierId:this.supplierId}).then(response =>{\r\n var expenseClaimsCount = response.data + 1;\r\n this.expenseClaim.reference = (localStorage.loggedInUserName).substr(0,11) + \" \" + expenseClaimsCount.toString().padStart(6,0);\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.expenseClaim);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n get isDescriptionRequired():boolean\r\n {\r\n return this.expenseClaim.category == ExpenseCategories.Other\r\n }\r\n\r\n onClickedSubmitApprove(){\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(this.isSupplier && this.expenseClaim.novationId == 0) {\r\n this.onShowGrowlNotification('error','The selected vehicle does not have an active novation.');\r\n return;\r\n }\r\n if(this.isAdmin){\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType && this.expenseClaim.expenseClaimLines && this.expenseClaim.expenseClaimLines.length > 1){\r\n this.multipleECLinesActionText = \"Approve\";\r\n this.multipleECLinesAction = this.expenseClaimId > 0 ? ExpenseClaimActionTypes.Approve : ExpenseClaimActionTypes.SubmitAndApprove;\r\n this.showMultipleECLinesActionConfirmation = true;\r\n }else{\r\n this.onSubmitAndApproveOrApproveEC();\r\n }\r\n }\r\n else\r\n {\r\n if(this.expenseClaim.vehicleInsurance && !this.isValidInsuranceDocumentsExist()){\r\n this.onShowGrowlNotification('error', 'Please upload your policy document together with the monthly repayment schedule.');\r\n return\r\n }\r\n this.onExpenseClaimAction();\r\n } \r\n }\r\n\r\n validateTotalGSTAmount(){\r\n var gstCalculatedAmount = parseFloat((this.expenseClaim.gstInclusiveAmount * (this.gstRate/(1 + this.gstRate))).toFixed(2));\r\n if (gstCalculatedAmount < this.expenseClaim.gstAmount){\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n onConfirmMultipleECLinesAction(){\r\n this.showMultipleECLinesActionConfirmation = false;\r\n if (this.multipleECLinesAction == ExpenseClaimActionTypes.SubmitAndApprove || this.multipleECLinesAction == ExpenseClaimActionTypes.Approve){\r\n this.onSubmitAndApproveOrApproveEC();\r\n }else if (this.multipleECLinesAction == ExpenseClaimActionTypes.Query){\r\n this.onQueryExpenseClaim();\r\n }else if (this.multipleECLinesAction == ExpenseClaimActionTypes.Reject){\r\n this.onRejectExpenseClaim();\r\n } else if(this.multipleECLinesAction == ExpenseClaimActionTypes.Delete){\r\n this.onDeleteExpenseClaim();\r\n }else{\r\n return;\r\n }\r\n }\r\n\r\n onCancelMultipleECLinesAction(){\r\n this.showMultipleECLinesActionConfirmation = false;\r\n this.multipleECLinesActionText = \"\";\r\n this.multipleECLinesAction = 0;\r\n }\r\n\r\n onSubmitAndApproveOrApproveEC(){\r\n if((this.expenseClaim.type == this.expenseClaimReImbursementType && \r\n (this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.registrationCategory).length > 0 ||\r\n this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.insuranceCategory).length > 0)) ||\r\n (this.expenseClaim.type == this.expenseClaimBillType && \r\n (this.expenseClaim.category == this.registrationCategory || this.expenseClaim.category == this.insuranceCategory ))) {\r\n this.insuranceRenewalType = false;\r\n this.regoRenewalType = false;\r\n if(this.expenseClaim.type == this.expenseClaimBillType){\r\n if(this.expenseClaim.category == this.registrationCategory)\r\n {\r\n this.regoRenewalType = true;\r\n }\r\n if(this.expenseClaim.category == this.insuranceCategory)\r\n { \r\n this.insuranceRenewalType = true;\r\n }\r\n }\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType && this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.registrationCategory).length > 0)\r\n {\r\n this.regoRenewalType = true;\r\n }\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType && this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.insuranceCategory).length > 0)\r\n {\r\n this.insuranceRenewalType = true;\r\n } \r\n this.loadVehicleRenewalDates(this.expenseClaim.vehicleId);\r\n }\r\n else{\r\n this.onExpenseClaimAction();\r\n }\r\n }\r\n\r\n onClickedSubmitApproveAndAddAnother()\r\n {\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(this.isSupplier && this.expenseClaim.novationId == 0) {\r\n this.onShowGrowlNotification('error','The selected vehicle does not have a active novation.');\r\n return;\r\n } \r\n if( this.isAdmin ){\r\n if(this.expenseClaim.category == this.registrationCategory || this.expenseClaim.category == this.insuranceCategory )\r\n {\r\n this.loadVehicleRenewalDates(this.expenseClaim.vehicleId);\r\n this.addAnotherBill = true; \r\n } \r\n else\r\n {\r\n this.onSubmitAndAddAnother();\r\n }\r\n }\r\n else\r\n {\r\n if(this.expenseClaim.vehicleInsurance && !this.isValidInsuranceDocumentsExist()){\r\n this.onShowGrowlNotification('error', 'Please upload your policy document together with the monthly repayment schedule.');\r\n return\r\n }\r\n this.onSubmitAndAddAnother();\r\n }\r\n }\r\n\r\n onSubmitAndAddAnother(){\r\n if(this.expenseClaim.type == ExpenseClaimTypes.Bill && this.expenseClaim.gstInclusiveAmount <= 0){\r\n this.onShowGrowlNotification('error',\"GST Inclusive amount cannot be zero.\");\r\n return;\r\n }\r\n this.submitExpenseClaim().then(response => \r\n {\r\n // Should avoid entering another repayment with insurance schedule\r\n if(this.expenseClaim.vehicleInsurance){\r\n this.isActiveOrPendingInsuranceExists = true;\r\n }\r\n\r\n this.expenseClaim = Object.assign({}, this.initialExpenseClaim);\r\n this.bankAccount = Object.assign({}, this.intialBankAccount); \r\n this.bPayAccount = Object.assign({}, this.initialBPayAccount); \r\n this.expenseClaim.expenseClaimLines = [];\r\n this.expenseClaimSubTotal = 0;\r\n this.expenseClaimGSTTotal = 0;\r\n this.expenseClaimsTotal = 0;\r\n this.showSubTotalSection = false;\r\n this.clearClaimInfoNotesAndDocuments(true);\r\n this.isDocumentsAndNotesReadOnly = false;\r\n this.showSetRenewalDatesModal = false;\r\n if(this.isSupplier){\r\n this.GetSubmittedExpenseClaimsCountBySupplierId(); \r\n }\r\n });\r\n }\r\n ingoreAndOnExpenseClaimAction(){\r\n this.expenseClaim.updateRenewalDates = true;\r\n this.onExpenseClaimAction();\r\n }\r\n\r\n updateAndOnExpenseClaimAction(updateRenewalDate:boolean){\r\n this.expenseClaim.updateRenewalDates = updateRenewalDate;\r\n this.onExpenseClaimAction();\r\n }\r\n\r\n updateAndOnSubmitAndAddAnother(){\r\n this.expenseClaim.updateRenewalDates = true;\r\n this.onSubmitAndAddAnother();\r\n }\r\n ingoreAndOnSubmitAndAddAnother(){\r\n this.expenseClaim.updateRenewalDates = true;\r\n this.onSubmitAndAddAnother();\r\n }\r\n\r\n \r\n onExpenseClaimAction(){\r\n if(this.expenseClaim.type == ExpenseClaimTypes.Bill && this.expenseClaim.gstInclusiveAmount <= 0){\r\n this.onShowGrowlNotification('error',\"GST Inclusive amount cannot be zero.\");\r\n return;\r\n }\r\n if(this.expenseClaimId == 0)\r\n {\r\n if(this.addAnotherBill)\r\n {\r\n this.onSubmitAndAddAnother();\r\n }\r\n else\r\n {\r\n this.submitExpenseClaim().then(response => \r\n {\r\n if(this.isAdmin)\r\n {\r\n this.$router.push({name:'Review Expense Claims'});\r\n }\r\n else\r\n {\r\n this.$router.push({name:'Dashboard'}); \r\n }\r\n });\r\n }\r\n \r\n }\r\n else if(this.expenseClaimId > 0 && (this.expenseClaim.status == ExpenseClaimStatuses.PendingApproval || this.expenseClaim.status == ExpenseClaimStatuses.PendingClientApproval))\r\n {\r\n this.approveExpenseClaim();\r\n }\r\n else if(this.expenseClaimId > 0 && (this.expenseClaim.status == ExpenseClaimStatuses.Queried || this.expenseClaim.status == ExpenseClaimStatuses.ClientQueried))\r\n {\r\n this.onResubmitExpenseClaim();\r\n }\r\n }\r\n\r\n loadVehicleRenewalDates(vehicleID){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Vehicle\",\"RenewalDates\",{id:vehicleID}).then(response =>{\r\n if( response != null)\r\n {\r\n var isInsuranceCategoryPresent = false;\r\n this.expenseClaim.regoRenewalDate = response.data.regoRenewalDate == null ? \"\" : response.data.regoRenewalDate;\r\n this.expenseClaim.insuranceRenewalDate = response.data.insuranceRenewalDate == null ? \"\" \r\n : moment(response.data.insuranceRenewalDate).toDate() >= new Date() ? response.data.insuranceRenewalDate : \"\";\r\n if (this.expenseClaim.type == this.expenseClaimReImbursementType) {\r\n this.expenseClaim.expenseClaimLines.forEach(el => {\r\n if (el.category == ExpenseCategories.Registration && this.expenseClaim.regoRenewalDate) {\r\n let newDate = moment(this.expenseClaim.regoRenewalDate).add(el.period, 'months');\r\n this.expenseClaim.regoRenewalDate = newDate.toDate();\r\n }\r\n if (el.category == ExpenseCategories.Insurance && this.expenseClaim.insuranceRenewalDate) {\r\n isInsuranceCategoryPresent = true;\r\n let newDate = moment(this.expenseClaim.insuranceRenewalDate);\r\n this.expenseClaim.insuranceRenewalDate = newDate.toDate();\r\n }\r\n });\r\n } else if (this.expenseClaim.type == this.expenseClaimBillType) {\r\n if (this.expenseClaim.category == ExpenseCategories.Registration && this.expenseClaim.regoRenewalDate) {\r\n let newDate = moment(this.expenseClaim.regoRenewalDate).add(this.expenseClaim.period, 'months');\r\n this.expenseClaim.regoRenewalDate = newDate.toDate();\r\n }\r\n if (this.expenseClaim.category == ExpenseCategories.Insurance && this.expenseClaim.insuranceRenewalDate) {\r\n let newDate = moment(this.expenseClaim.insuranceRenewalDate)\r\n this.expenseClaim.insuranceRenewalDate = newDate.toDate();\r\n isInsuranceCategoryPresent = true;\r\n }\r\n }\r\n if(isInsuranceCategoryPresent && this.expenseClaim.insuranceRenewalDate){\r\n this.showSetRenewalDatesModal = false;\r\n this.updateAndOnExpenseClaimAction(false);\r\n }\r\n else {\r\n this.showSetRenewalDatesModal = true;\r\n this.showScheduledInsuranceExpenseClaimApproveConfirmationPopup = false;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n });\r\n }\r\n\r\n addEditExpenseClaimLine(){\r\n this.isClaimLineBeingUpdated = false;\r\n var isInvalidDocuments = !(this.$refs.dragDropControl as DragAndDropControl).isValidDocumentsList();\r\n \r\n if(isInvalidDocuments)\r\n {\r\n this.onShowGrowlNotification('error','Invalid Document Types.');\r\n }\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(this.expenseClaim.gstInclusiveAmount <= 0){\r\n this.onShowGrowlNotification('error',\"GST Inclusive amount cannot be zero.\");\r\n return;\r\n }\r\n if(this.editMode)\r\n {\r\n var editExpenseClaimLine = null;\r\n if(this.expenseClaim.id > 0){\r\n editExpenseClaimLine = Object.assign({},this.expenseClaim.expenseClaimLines.filter(obj => obj.id == this.editRecord.id)[0]);\r\n }\r\n else{\r\n editExpenseClaimLine = Object.assign({},this.expenseClaim.expenseClaimLines.filter(obj => obj.index == this.currentIndex)[0]);\r\n }\r\n editExpenseClaimLine.category = this.expenseClaim.category;\r\n editExpenseClaimLine.incurredDate = this.expenseClaim.incurredDate;\r\n editExpenseClaimLine.description = this.expenseClaim.description;\r\n editExpenseClaimLine.gstInclusiveAmount = this.expenseClaim.gstInclusiveAmount;\r\n editExpenseClaimLine.gstAmount = this.expenseClaim.gstAmount;\r\n editExpenseClaimLine.documentList = this.$store.getters.getDocumentsByIndex(this.currentIndex);\r\n editExpenseClaimLine.notesList = this.$store.getters.getNotesByIndex(this.currentIndex);\r\n if(editExpenseClaimLine.category != this.ctpiCategory && editExpenseClaimLine.category != this.registrationCategory && editExpenseClaimLine.category != this.insuranceCategory){\r\n editExpenseClaimLine.ctpiProvider = \"\";\r\n editExpenseClaimLine.period = 0;\r\n }\r\n else{\r\n editExpenseClaimLine.ctpiProvider = this.expenseClaim.ctpiProvider;\r\n editExpenseClaimLine.period = this.expenseClaim.period;\r\n }\r\n this.expenseClaim.expenseClaimLines.splice(this.currentIndex, 1, editExpenseClaimLine);\r\n (this.$refs.expenseClaimRecords as DataTable).clearSelected();\r\n this.currentIndex = this.expenseClaim.expenseClaimLines.length;\r\n this.editMode = false;\r\n this.showPopoverMessage();\r\n this.removeAddedClaimCategoriesFromList();\r\n\r\n if(dirtyValidatorService.isModelDirty(this.claimLineDirtyValidationRefNo)){\r\n this.expenseClaimLineChanged = true;\r\n }\r\n dirtyValidatorService.clearChanges(this.claimLineDirtyValidationRefNo);\r\n }\r\n else\r\n {\r\n let newExpenseClaimLine = Object.assign({},this.newExpenseClaimLine);\r\n newExpenseClaimLine.incurredDate = this.expenseClaim.incurredDate;\r\n newExpenseClaimLine.category = this.expenseClaim.category;\r\n newExpenseClaimLine.description = this.expenseClaim.description;\r\n newExpenseClaimLine.gstInclusiveAmount = this.expenseClaim.gstInclusiveAmount;\r\n newExpenseClaimLine.gstAmount = this.expenseClaim.gstAmount;\r\n newExpenseClaimLine.documentList = this.$store.getters.getDocumentsByIndex(this.currentIndex);\r\n newExpenseClaimLine.notesList = this.$store.getters.getNotesByIndex(this.currentIndex);\r\n newExpenseClaimLine.index = this.currentIndex++;\r\n if(this.expenseClaim.vehicleInsurance){\r\n if(this.isValidInsuranceDocumentsExist()){\r\n newExpenseClaimLine.vehicleInsurance = this.expenseClaim.vehicleInsurance\r\n this.expenseClaim.vehicleInsurance = null\r\n }else{\r\n this.onShowGrowlNotification('error', 'Please upload your policy document together with the monthly repayment schedule.');\r\n return\r\n }\r\n }\r\n if(newExpenseClaimLine.category == this.ctpiCategory || newExpenseClaimLine.category == this.registrationCategory || newExpenseClaimLine.category == this.insuranceCategory){\r\n newExpenseClaimLine.ctpiProvider = this.expenseClaim.ctpiProvider;\r\n newExpenseClaimLine.period = this.expenseClaim.period;\r\n }\r\n this.expenseClaim.expenseClaimLines.push(newExpenseClaimLine);\r\n this.removeAddedClaimCategoriesFromList();\r\n if(newExpenseClaimLine.vehicleInsurance == null) {\r\n this.showPopoverMessage();\r\n } else {\r\n this.showPopOverMsg = false;\r\n }\r\n }\r\n this.showInvalidIncurredDateWarning = false;\r\n this.calculateTotalAmounts();\r\n this.clearClaimInfoNotesAndDocuments();\r\n }\r\n\r\n isValidInsuranceDocumentsExist(){\r\n var docs = (this.$refs.dragDropControl as DragAndDropControl).getDocumentList();\r\n if(docs && docs.length > 0){\r\n var insurancePolicyDocIndex = docs.findIndex(d=> d.fileType == FileTypes.InsurancePolicy);\r\n var repaymentPolicyDocIndex = docs.findIndex(d=> d.fileType == FileTypes.InsuranceMonthlyRepaymentSchedule);\r\n if(insurancePolicyDocIndex > -1 || repaymentPolicyDocIndex > -1){\r\n return true;\r\n }else{\r\n return false;\r\n }\r\n }else{\r\n return false\r\n }\r\n }\r\n\r\n removeAddedClaimCategoriesFromList() {\r\n this.expenseClaimCategoryList = [];\r\n this.expenseClaimCategoryList.push(...this.expenseClaimLinesCategoryList);\r\n this.expenseClaim.expenseClaimLines.forEach(claimLine => {\r\n if(claimLine.category == ExpenseCategories.Registration || claimLine.category == ExpenseCategories.Insurance) {\r\n this.expenseClaimCategoryList = this.expenseClaimCategoryList.filter(catg => catg.value != claimLine.category);\r\n }\r\n });\r\n }\r\n\r\n onCancelEditExpenseClaim()\r\n {\r\n if(this.isReImbursementClaimLineDirty())\r\n {\r\n this.showCancelEditReimbursementLine = true;\r\n }\r\n else\r\n {\r\n this.cancelEditExpenseClaim();\r\n }\r\n }\r\n\r\n onCancelUpdateReimbursement(){\r\n if(this.isReImbursementClaimLineDirty()){\r\n this.showCancelEditReimbursementLine = true;\r\n } else {\r\n this.cancelUpdateReimbursement()\r\n }\r\n }\r\n\r\n cancelUpdateReimbursement(){\r\n this.expenseClaim = Object.assign({},this.initialExpenseClaim);\r\n this.claimLineDirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.claimLineDirtyValidationRefNo, this.expenseClaim);\r\n this.showInvalidIncurredDateWarning = false;\r\n this.showCancelEditReimbursementLine = false;\r\n this.isEnabledExpenseClaimCategorySelected = this.expenseClaimCategoryList.some(obj => obj.value == this.expenseClaim.category);\r\n if (!this.isEnabledExpenseClaimCategorySelected) {\r\n var disabledCategory = this.allExpenseClaimCategoryList.find(obj => obj.value == this.expenseClaim.category);\r\n if (disabledCategory) {\r\n this.expenseClaimCategoryList.push({...disabledCategory});\r\n this.expenseClaimLinesCategoryList.push({...disabledCategory});\r\n }\r\n }\r\n }\r\n\r\n cancelEditExpenseClaim()\r\n {\r\n this.isClaimLineBeingUpdated = false;\r\n this.editMode = false;\r\n this.showInvalidIncurredDateWarning = false;\r\n this.showCancelEditReimbursementLine = false;\r\n if(!this.reviewMode){\r\n if((this.$refs.expenseClaimRecords as DataTable) != undefined){\r\n (this.$refs.expenseClaimRecords as DataTable).clearSelected();\r\n }\r\n }\r\n this.clearClaimInfoNotesAndDocuments();\r\n this.removeAddedClaimCategoriesFromList();\r\n }\r\n\r\n showRegoRenewalDatePicker(){\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType){\r\n if (this.expenseClaim.expenseClaimLines.length > 0 && this.expenseClaim.expenseClaimLines.filter(e => e.category == this.registrationCategory).length > 0)\r\n {\r\n return true;\r\n }\r\n }\r\n else{\r\n if (this.expenseClaim.category == this.registrationCategory)\r\n {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n showInsuranceRenewalDatePicker(){\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType){\r\n if (this.expenseClaim.expenseClaimLines.length > 0 && this.expenseClaim.expenseClaimLines.filter(e => e.category == this.insuranceCategory).length > 0)\r\n {\r\n return true;\r\n }\r\n }\r\n else{\r\n if (this.expenseClaim.category == this.insuranceCategory)\r\n {\r\n return true;\r\n }\r\n }\r\n }\r\n\r\n disableUpdateAndApproveButton(){\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType){\r\n var registrationCount = this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.registrationCategory).length;\r\n var insuaranceCount = this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.insuranceCategory).length;\r\n var countOfRenewal = registrationCount + insuaranceCount;\r\n if(countOfRenewal == 2)\r\n {\r\n if((this.regoRenewalType && this.expenseClaim.regoRenewalDate) && (this.insuranceRenewalType && this.expenseClaim.insuranceRenewalDate))\r\n {\r\n return false;\r\n }\r\n return true;\r\n }\r\n if(countOfRenewal == 1)\r\n {\r\n if((this.regoRenewalType && this.expenseClaim.regoRenewalDate) ||\r\n ( this.insuranceRenewalType && this.expenseClaim.insuranceRenewalDate))\r\n {\r\n return false;\r\n }\r\n if(((this.regoRenewalType && this.$v.expenseClaim.regoRenewalDate.required) || ( this.insuranceRenewalType && this.$v.expenseClaim.insuranceRenewalDate.required ) ) || ((this.regoRenewalType && !this.expenseClaim.regoRenewalDate) || ((this.insuranceRenewalType && !this.expenseClaim.insuranceRenewalDate))))\r\n {\r\n return true;\r\n }\r\n }\r\n }\r\n if(this.expenseClaim.type == this.expenseClaimBillType){\r\n if((this.regoRenewalType && this.expenseClaim.regoRenewalDate) || ( this.insuranceRenewalType && this.expenseClaim.insuranceRenewalDate))\r\n {\r\n return false;\r\n }\r\n if((this.regoRenewalType && !this.expenseClaim.regoRenewalDate) || ( this.insuranceRenewalType && !this.expenseClaim.insuranceRenewalDate))\r\n {\r\n return true;\r\n }\r\n if(this.insuranceRenewalType && (this. $v.expenseClaim.insuranceRenewalDate.required || this.expenseClaim.insuranceRenewalDate == null ))\r\n {\r\n return true;\r\n }\r\n if(this.regoRenewalType && (this.$v.expenseClaim.regoRenewalDate.required || this.expenseClaim.regoRenewalDate == null))\r\n {\r\n return true;\r\n }\r\n }\r\n } \r\n\r\n getCategoryName(id){\r\n var category = this.expenseClaimLinesCategoryList.filter(obj=> obj.value == id);\r\n if(category && category.length > 0)\r\n {\r\n return category[0].text;\r\n }\r\n return \"\";\r\n }\r\n\r\n setNewDocumentType(claimCategory:number){\r\n switch(claimCategory){\r\n case ExpenseCategories.Fuel:\r\n this.selectedDocType= FileTypes.Fuel;\r\n break;\r\n case ExpenseCategories.Registration:\r\n this.selectedDocType= FileTypes.RegistrationPapers;\r\n break;\r\n case ExpenseCategories.CTPI:\r\n this.selectedDocType= FileTypes.CTPI;\r\n break;\r\n case ExpenseCategories.Insurance:\r\n this.selectedDocType= FileTypes.InsurancePolicy;\r\n break;\r\n case ExpenseCategories.RoadSideAssistance:\r\n this.selectedDocType= FileTypes.RoadSideAssistance;\r\n break;\r\n case ExpenseCategories.Washing:\r\n this.selectedDocType= FileTypes.Washing;\r\n break;\r\n case ExpenseCategories.TyresAndService:\r\n this.selectedDocType= FileTypes.TyresAndService;\r\n break;\r\n case ExpenseCategories.Repairs:\r\n this.selectedDocType= FileTypes.Repairs;\r\n break;\r\n case ExpenseCategories.Other:\r\n this.selectedDocType= FileTypes.Other;\r\n break;\r\n }\r\n }\r\n \r\n getClientName(id){\r\n var names = this.clients.filter(obj=> obj.value == id);\r\n if(names && names.length > 0)\r\n {\r\n return names[0].text;\r\n }\r\n return \"\";\r\n }\r\n\r\n getVehicleName(id){\r\n var names = this.vehicles.filter(obj=> obj.value == id);\r\n if(names && names.length > 0)\r\n {\r\n return names[0].text;\r\n }\r\n return \"\";\r\n }\r\n\r\n getRelatedEntityName(id:number){\r\n var novation = this.vehicleNovationList.filter(obj => obj.value == id);\r\n if(novation && novation.length > 0) {\r\n return novation[0].text;\r\n }\r\n return \"\";\r\n }\r\n\r\n getRelatedEntityLedgerBalance(){\r\n lookupService.GetRelatedEntityLedgerBalance(this.expenseClaim.novationId).then(data =>\r\n { \r\n this.novationLedgerBalance = data.inclusiveBalance; \r\n }); \r\n }\r\n\r\n isValidReference(value, vm){\r\n if(vm.paymentMethodType == PaymentMethods.EFT){\r\n if(/[,]+/.test(value)){\r\n return false;\r\n }\r\n else{\r\n return true;\r\n }\r\n }\r\n else{\r\n return !isNaN(value) && (value%1 == 0) && !(/[.]+/.test(value));\r\n }\r\n }\r\n\r\n onClientSelect(item:any){\r\n var id = item == null ? 0 : item.id;\r\n this.expenseClaim.clientId = id\r\n this.expenseClaim.clientName = this.getClientName(id);\r\n this.vehicleNovationList = [];\r\n this.$v.expenseClaim.incurredDate.$reset();\r\n this.loadVehicleList(id);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n this.loadExpenseClaimBankAccounts(RelatedTables.Client, id);\r\n }\r\n this.setSelectedClientName();\r\n this.expenseClaim.vehicleId = 0;\r\n this.expenseClaim.novationId = 0;\r\n this.expenseClaim.incurredDate = null\r\n this.$v.expenseClaim.vehicleId.$reset();\r\n this.showInvalidIncurredDateWarning = false;\r\n this.showSelectClientModal = false;\r\n }\r\n\r\n onSelectVehicle(item:any){\r\n this.expenseClaim.vehicleId = item.id;\r\n this.vehicleNovationList = [];\r\n this.loadLatestVehicleNovations(this.expenseClaim.vehicleId);\r\n this.expenseClaim.clientId = item.clientId;\r\n this.expenseClaim.incurredDate = null;\r\n this.selectedClientName = item.clientName;\r\n this.expenseClaim.vehicleName = item.year + \" \" + item.make + \" \" + item.model;\r\n this.showSelectVehicleModal = false;\r\n }\r\n\r\n isModelInvalid()\r\n {\r\n if(this.expenseClaim.type == this.expenseClaimBillType)\r\n {\r\n if(this.isSupplier || this.expenseClaim.submittedByUserRole == UserRoles.Supplier){ \r\n return this.$v.expenseClaim.submittedDate.$invalid || this.$v.expenseClaim.incurredDate.$invalid || this.$v.expenseClaim.vehicleId.$invalid || this.$v.expenseClaim.reference.$invalid \r\n || this.expenseClaim.accountID <= 0 || this.$v.expenseClaim.clientId.$invalid || this.$v.expenseClaim.gstInclusiveAmount.$invalid\r\n || this.$v.expenseClaim.gstAmount.$invalid || this.isInvalidDocument;\r\n }\r\n else if(this.expenseClaim.paymentMethodType == this.eftPaymentMethod)\r\n {\r\n return this.$v.expenseClaim.submittedDate.$invalid || this.$v.expenseClaim.incurredDate.$invalid || this.$v.expenseClaim.vehicleId.$invalid\r\n || this.$v.expenseClaim.gstInclusiveAmount.$invalid || this.$v.expenseClaim.gstAmount.$invalid || this.$v.expenseClaim.reference.$invalid ||\r\n this.$v.bankAccount.accountName.$invalid || this.$v.bankAccount.accountNumber.$invalid ||\r\n this.$v.bankAccount.bankAccountBSB.$invalid || this.$v.expenseClaim.category.$invalid ||\r\n (this.isAdmin && this.$v.expenseClaim.clientId.$invalid) || (this.$v.expenseClaim.novationId.$invalid) ||\r\n this.$v.expenseClaim.period.$invalid || this.isInvalidDocument || ((this.$refs.dragDropControl as DragAndDropControl).getDocumentCount() < 1);\r\n }\r\n else if(this.expenseClaim.paymentMethodType == this.bpayPaymentMethod)\r\n {\r\n return this.$v.expenseClaim.submittedDate.$invalid || this.$v.expenseClaim.incurredDate.$invalid || this.$v.expenseClaim.vehicleId.$invalid\r\n || this.$v.expenseClaim.gstInclusiveAmount.$invalid || this.$v.expenseClaim.gstAmount.$invalid || this.$v.expenseClaim.reference.$invalid ||\r\n this.$v.bPayAccount.name.$invalid || this.$v.bPayAccount.billerCode.$invalid || \r\n this.$v.expenseClaim.category.$invalid || (this.isAdmin && this.$v.expenseClaim.clientId.$invalid) || (this.$v.expenseClaim.novationId.$invalid) ||\r\n this.$v.expenseClaim.period.$invalid || this.isInvalidDocument || ((this.$refs.dragDropControl as DragAndDropControl).getDocumentCount() < 1);\r\n }\r\n }\r\n else\r\n {\r\n return this.$v.expenseClaim.vehicleId.$invalid ||\r\n this.expenseClaim.accountID <= 0 || (this.isAdmin && this.$v.expenseClaim.clientId.$invalid) \r\n || (this.$v.expenseClaim.novationId.$invalid) \r\n || (this.expenseClaim.vehicleInsurance == null && this.expenseClaim.expenseClaimLines.length == 0)\r\n || (this.expenseClaimId > 0 && this.$v.expenseClaim.incurredDate.$invalid)\r\n || (this.expenseClaim.vehicleInsurance != null && this.$v.expenseClaim.gstInclusiveAmount.$invalid)\r\n || (this.expenseClaim.vehicleInsurance != null && this.$v.expenseClaim.gstAmount.$invalid)\r\n || (this.editMode && this.$v.expenseClaim.gstInclusiveAmount.$invalid && this.$v.expenseClaim.gstAmount.$invalid)\r\n || this.$v.expenseClaim.period.$invalid || this.isInvalidDocument;\r\n }\r\n }\r\n\r\n isReImbursementClaimLineDirty()\r\n { \r\n if(this.editRecord)\r\n {\r\n return this.editRecord.category != this.expenseClaim.category\r\n || this.editRecord.incurredDate != this.expenseClaim.incurredDate\r\n || this.editRecord.description != this.expenseClaim.description\r\n || this.editRecord.gstInclusiveAmount != this.expenseClaim.gstInclusiveAmount \r\n || this.editRecord.gstAmount != this.expenseClaim.gstAmount\r\n || this.editRecord.accountID != this.expenseClaim.accountID \r\n || this.editRecord.ctpiProvider != this.expenseClaim.ctpiProvider\r\n || this.editRecord.period != this.expenseClaim.period;\r\n }\r\n else if(this.expenseClaimId == 0)\r\n {\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo); \r\n }\r\n else\r\n {\r\n return false;\r\n }\r\n }\r\n \r\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.ActionButtonSelect){\r\n if(this.$refs.expenseClaimRecords){\r\n (this.$refs.expenseClaimRecords as DataTable).setLastCustomAction(type);\r\n }\r\n else{\r\n (this.$refs.reviewExpenseClaimRecords as DataTable).setLastCustomAction(type);\r\n }\r\n }\r\n if(type == DataTableActionTypes.ResetActionButtton){\r\n if(this.$refs.expenseClaimRecords){\r\n (this.$refs.expenseClaimRecords as DataTable).resetLastCustomAction();\r\n }\r\n else{\r\n (this.$refs.reviewExpenseClaimRecords as DataTable).resetLastCustomAction();\r\n }\r\n }\r\n if(type == DataTableActionTypes.Delete){\r\n if(this.expenseClaim.id > 0){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendDeleteRequest('ExpenseClaim','ExpenseClaimLine', {id: data.id}).then(\r\n response => {\r\n if(response.data.isSuccess){\r\n this.expenseClaim.expenseClaimLines.splice(data.index,1);\r\n var index = 0;\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n element.index = index++;\r\n });\r\n if(this.expenseClaim.expenseClaimLines.length == 1){\r\n this.expenseClaimFields.pop();\r\n this.customTemplateList.pop();\r\n }\r\n this.calculateTotalAmounts();\r\n this.onShowGrowlNotification('success',response.data.message);\r\n (this.$refs.reviewExpenseClaimRecords as DataTable).resetLastCustomAction();\r\n this.$nextTick(()=>{\r\n if(data.index == 0){\r\n this.onCustomDataTableEvent(this.expenseClaim.expenseClaimLines[0],DataTableActionTypes.Edit);\r\n }else{\r\n (this.$refs.reviewExpenseClaimRecords as DataTable).selectFirstRow();\r\n } \r\n });\r\n }\r\n else{\r\n this.onShowGrowlNotification('error',response.data.message);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n else{\r\n if(this.isClaimLineBeingUpdated){\r\n this.isClaimLineBeingUpdated = false;\r\n this.cancelEditExpenseClaim();\r\n }\r\n this.expenseClaim.expenseClaimLines.splice(data.index,1);\r\n var index = 0;\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n element.index = index++;\r\n });\r\n this.currentIndex = this.expenseClaim.expenseClaimLines.length < 1 ? 0 : this.currentIndex;\r\n this.$store.dispatch('deleteNotesByIndex',data.index);\r\n this.$store.dispatch('deleteDocumentsByIndex', data.index);\r\n (this.$refs.expenseClaimRecords as DataTable).resetLastCustomAction();\r\n this.clearClaimInfoNotesAndDocuments();\r\n this.removeAddedClaimCategoriesFromList();\r\n if(this.expenseClaim.expenseClaimLines.length == 0){\r\n this.showPopOverMsg = false;\r\n }\r\n } \r\n this.calculateTotalAmounts();\r\n }\r\n \r\n if(type == DataTableActionTypes.RowSelect){\r\n if(this.isInvalidDocument && this.editMode){\r\n this.onShowGrowlNotification('error',\"Uploading a supporting document is mandatory.\");\r\n return;\r\n }\r\n if(this.isClaimLineBeingUpdated){\r\n this.cancelEditExpenseClaim();\r\n }\r\n this.isClaimLineBeingUpdated = true;\r\n this.editRecord = data;\r\n this.editRecord.accountID = this.expenseClaim.accountID;\r\n this.editMode = true;\r\n this.currentIndex = this.editRecord.index;\r\n this.selectedExpenseClaimLineId = this.editRecord.id;\r\n this.expenseClaimLinesCategoryList.forEach(catg => {\r\n if (catg.value == this.editRecord.category && (this.editRecord.category == ExpenseCategories.Registration || (this.editRecord.vehicleInsurance == null && this.editRecord.category == ExpenseCategories.Insurance))) {\r\n this.expenseClaimCategoryList.push(catg);\r\n }\r\n });\r\n this.expenseClaim.category = this.editRecord.category;\r\n this.expenseClaim.incurredDate = this.editRecord.incurredDate;\r\n this.expenseClaim.description = this.editRecord.description;\r\n this.expenseClaim.gstInclusiveAmount = this.editRecord.gstInclusiveAmount;\r\n this.expenseClaim.gstAmount = this.editRecord.gstAmount;\r\n this.expenseClaim.ctpiProvider = this.editRecord.ctpiProvider;\r\n this.expenseClaim.period = this.editRecord.period;\r\n this.expenseClaim.vehicleInsurance = this.editRecord.vehicleInsurance;\r\n this.initialExpenseClaim = Object.assign({}, this.expenseClaim);\r\n this.$store.dispatch('updateDocumentsByIndex', { index: this.currentIndex, documents:this.editRecord.documentList});\r\n this.claimLineDirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.claimLineDirtyValidationRefNo, this.expenseClaim);\r\n \r\n if((this.isAdmin && !(this.expenseClaim.status == this.pendingClientApprovalStatus && this.expenseClaim.expenseClaimCreationMethod == this.expenseClaimCreationMethodInsuranceScheduler)) \r\n || (((this.isClient || this.isSupplier) && this.expenseClaim.status == ExpenseClaimStatuses.Queried) \r\n || (this.isSupplier && this.expenseClaim.status == ExpenseClaimStatuses.ClientQueried))){\r\n this.checkIncurredDateIsValid();\r\n }\r\n // var container = this.$el.querySelector(\"#claimInformation\");\r\n if(this.expenseClaimId == 0)\r\n {\r\n this.$nextTick(() => \r\n {\r\n (this.$refs.dragDropControl as DragAndDropControl).setDocumentList();\r\n (this.$refs.notesControl as NotesCommonControl).setNotesList();\r\n \r\n // container.scrollTop = container.scrollHeight;\r\n });\r\n }\r\n }\r\n }\r\n\r\n onSelectClientBtnClicked()\r\n {\r\n this.showSelectClientModal = true;\r\n }\r\n\r\n onSelectVehicleBtnClicked()\r\n {\r\n this.showSelectVehicleModal = true;\r\n }\r\n\r\n\r\n isModelInvalidForAddClaim()\r\n {\r\n return (this.$v.expenseClaim.submittedDate.$invalid || this.$v.expenseClaim.incurredDate.$invalid || this.$v.expenseClaim.vehicleId.$invalid ||\r\n this.$v.expenseClaim.gstInclusiveAmount.$invalid || this.$v.expenseClaim.gstAmount.$invalid || this.$v.expenseClaim.category.$invalid ||\r\n this.expenseClaim.accountID <= 0 ||\r\n (this.isAdmin && this.$v.expenseClaim.clientId.$invalid) || this.$v.expenseClaim.novationId.$invalid) ||\r\n (this.$v.expenseClaim.period.$invalid) || ((this.$refs.dragDropControl as DragAndDropControl).getDocumentCount() < 1);\r\n \r\n }\r\n\r\n isValidTotalAmount(){\r\n return fieldValidations.isValidDecimal(this.expenseClaim.gstInclusiveAmount); \r\n }\r\n \r\n calculateTotalAmounts()\r\n {\r\n var total = 0;\r\n var gstTotal = 0;\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n total = total + parseFloat(element.gstInclusiveAmount);\r\n gstTotal = gstTotal + parseFloat(element.gstAmount);\r\n });\r\n this.expenseClaimSubTotal = total - gstTotal;\r\n this.expenseClaimsTotal = total;\r\n this.expenseClaimGSTTotal = gstTotal;\r\n this.showSubTotalSection = this.expenseClaim.expenseClaimLines != null && this.expenseClaim.expenseClaimLines.length > 0;\r\n }\r\n\r\n loadExpenseClaimDetails()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('ExpenseClaim','ExpenseClaim', {id: this.expenseClaimId}).then(\r\n response => {\r\n this.expenseClaim = response.data;\r\n this.bankAccount = this.expenseClaim.bankAccount;\r\n this.bPayAccount = this.expenseClaim.bPayAccount;\r\n this.loadVehicleList(this.expenseClaim.clientId);\r\n if (!this.isClient) {\r\n this.loadClaimNote();\r\n }\r\n this.loadClaimCategoryList(this.expenseClaim.vehicleId);\r\n this.getRelatedEntityLedgerBalance();\r\n this.loadGroupedNovations(this.expenseClaim.vehicleId, false).then(response=>{\r\n if((this.isAdmin && !(this.expenseClaim.status == this.pendingClientApprovalStatus && this.expenseClaim.expenseClaimCreationMethod == this.expenseClaimCreationMethodInsuranceScheduler)) \r\n || (((this.isClient || this.isSupplier) && this.expenseClaim.status == ExpenseClaimStatuses.Queried) \r\n || (this.isSupplier && this.expenseClaim.status == ExpenseClaimStatuses.ClientQueried))){\r\n this.checkIncurredDateIsValid();\r\n }\r\n });\r\n\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n this.expenseClaim.gstInclusiveAmount = null;\r\n this.expenseClaim.gstAmount = null;\r\n this.typeDisplayText = \"Reimbursement\";\r\n this.loadExpenseClaimBankAccounts(RelatedTables.Client, this.expenseClaim.clientId);\r\n this.expenseClaim.expenseClaimLines.forEach((element,index) => {\r\n element.index = index; \r\n });\r\n }\r\n else{\r\n this.typeDisplayText = \"Bill\";\r\n this.expenseClaimsTotal = this.expenseClaim.gstInclusiveAmount;\r\n if(this.expenseClaim.submittedByUserRole == this.supplierUserRole){\r\n this.getExpenseClaimSubmittedUserDetails();\r\n this.expenseClaimCategoryList = [];\r\n this.expenseClaimLinesCategoryList = [];\r\n this.allExpenseClaimCategoryList.forEach(ca => {\r\n if( ca.value == ExpenseCategories.Washing || ca.value == ExpenseCategories.TyresAndService || ca.value == ExpenseCategories.Repairs || ca.value == ExpenseCategories.Other){\r\n this.expenseClaimCategoryList.push(Object.assign({}, ca));\r\n this.expenseClaimLinesCategoryList.push(Object.assign({}, ca));\r\n }\r\n })\r\n }\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.expenseClaim);\r\n }\r\n if(this.isClient && this.expenseClaim.status == ExpenseClaimStatuses.PendingClientApproval){\r\n this.isDocumentsAndNotesReadOnly = false;\r\n }else{\r\n this.isDocumentsAndNotesReadOnly = this.expenseClaim.isReadOnly;\r\n }\r\n if(this.expenseClaimStatusList && this.expenseClaimStatusList.length > 0){\r\n this.setExpenseClaimStatus();\r\n }\r\n if(this.isAdmin)\r\n {\r\n this.setSelectedClientName();\r\n }\r\n this.showApproveSection = (this.isAdmin && (this.expenseClaim.status == ExpenseClaimStatuses.PendingApproval))\r\n || (this.isClient && (this.expenseClaim.status == ExpenseClaimStatuses.PendingClientApproval));\r\n this.showDeleteButton = this.isTenantAdmin && this.expenseClaim.status != ExpenseClaimStatuses.Paid && this.expenseClaim.id > 0;\r\n this.showRevertToPendingApproval = this.isAdmin && this.expenseClaim.id > 0 && this.expenseClaim.status == ExpenseClaimStatuses.Queried && this.expenseClaim.submittedByUserRole != this.supplierUserRole; \r\n this.showQueryButton = this.isClient && this.expenseClaim.expenseClaimCreationMethod == ExpenseClaimCreationMethod.Manual || this.isAdmin; \r\n \r\n if((this.expenseClaim.type == ExpenseClaimTypes.Reimbursement) && (this.expenseClaim.expenseClaimLines != null) &&\r\n (this.expenseClaim.expenseClaimLines.length > 0)){\r\n this.calculateTotalAmounts();\r\n this.showSubTotalSection = true;\r\n for(var i = 0; i < this.expenseClaim.expenseClaimLines.length; i++){\r\n this.expenseClaim.expenseClaimLines[i].index = i;\r\n }\r\n }\r\n if(((this.expenseClaim.status == this.pendingApprovalStatus && this.isAdmin) || \r\n (this.expenseClaim.status == this.queriedStatus && !this.expenseClaim.isReadOnly && !this.isAdmin)) &&\r\n (this.expenseClaim.expenseClaimLines && this.expenseClaim.expenseClaimLines.length > 1)){\r\n this.expenseClaimFields.push({key: 'actions',label:\"\",class:'text-center text-nowrap width_10',formatter:null});\r\n this.customTemplateList.push({slot:\"actions\",customTemplate:SubmitExpenseClaimActionButtons});\r\n }\r\n \r\n if(this.expenseClaim.expenseClaimLines.length > 0){\r\n this.onCustomDataTableEvent(this.expenseClaim.expenseClaimLines[0],DataTableActionTypes.Edit);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.$nextTick(() => {\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType){\r\n (this.$refs.reviewExpenseClaimRecords as DataTable).selectFirstRow();\r\n }\r\n });\r\n this.setResidualDueDate(this.expenseClaim.residualDueDate , this.expenseClaim.status);\r\n }\r\n );\r\n }\r\n\r\n\r\n setSelectedClientName()\r\n {\r\n var client = this.clients.filter(obj => obj.value == this.expenseClaim.clientId);\r\n if(client && client.length > 0)\r\n {\r\n this.selectedClientName = client[0].text;\r\n }\r\n else\r\n {\r\n this.selectedClientName = 'Selected Client';\r\n }\r\n \r\n }\r\n\r\n setResidualDueDate(residualDueDate: any, status: number){\r\n var dueDate = moment(residualDueDate).toDate();\r\n var differenceInDays = ApexMillisecondesToDaysConverter(dueDate.getTime() - this.todayDateUTC);\r\n this.isShowResidualDueDateErrorMessage =(status == ExpenseClaimStatuses.PendingClientApproval || status == ExpenseClaimStatuses.PendingApproval) && (differenceInDays > 0 && differenceInDays < ApexConstants.DEFAULT_RESIDUAL_DUE_DATE_WARNING_PERIOD);\r\n this.residualDueDateErrorMessage = differenceInDays == 1 ? \"The residual due date is tomorrow.\" : \"The residual due date is within the next \" + differenceInDays + \" days.\"\r\n }\r\n\r\n setExpenseClaimStatus()\r\n {\r\n var status = this.expenseClaimStatusList.filter(obj => obj.value == this.expenseClaim.status);\r\n if(status && status.length > 0)\r\n {\r\n this.expenseClaimStatusDisplayText = status[0].text;\r\n }\r\n else\r\n {\r\n this.expenseClaimStatusDisplayText = '';\r\n }\r\n \r\n }\r\n\r\n getExpenseClaimSubmittedUserDetails(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"ExpenseClaim\",\"ExpenseClaimSubmittedUserDetails\",{expenseClaimId : this.expenseClaim.id, userRole : this.expenseClaim.submittedByUserRole}).then(response =>{\r\n this.submittedByUserId = response.data.userId;\r\n let relatedTableForBanckAccount = this.getRelatedTableByUserRole(this.expenseClaim.submittedByUserRole);\r\n this.loadExpenseClaimBankAccounts(relatedTableForBanckAccount, this.submittedByUserId);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n getRelatedTableByUserRole(userRole : UserRoles){\r\n switch(userRole){\r\n case UserRoles.Supplier:\r\n return RelatedTables.Supplier;\r\n default:\r\n return null;\r\n }\r\n }\r\n\r\n loadClients(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Client\",\"ClientSelectList\",{}).then(response =>{\r\n this.clients = response.data.filter(obj => obj.disabled == false);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadVehicleList(clientID:number){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Vehicle\",\"MotorVehicleSelectList\",{clientID:clientID}).then(response =>{\r\n this.vehicles = response.data.filter(obj => obj.disabled == false);\r\n var isDirty = dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo);\r\n if(this.expenseClaimId == 0 && this.vehicles.length == 1 && this.isAdmin)\r\n {\r\n this.expenseClaim.vehicleId = this.vehicles[0].value;\r\n this.isInsuranceScheduleAvailable();\r\n this.loadLatestVehicleNovations(this.expenseClaim.vehicleId);\r\n }\r\n if(this.vehicleId > 0) //when the vehicle id is passed from the query.\r\n {\r\n this.expenseClaim.vehicleId = this.vehicleId;\r\n }\r\n if(!isDirty && clientID == 0)\r\n {\r\n dirtyValidatorService.clearChanges(this.dirtyValidationRefNo);\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo, this.expenseClaim);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadExpenseClaimBankAccounts(relatedTable: RelatedTables, id:number){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var isExpenseClaimCreated = this.expenseClaimId == 0 ? false : true;\r\n apiService.sendGetRequest(\"BankAccount\",\"BankAccountsSelectList\",{relatedTable:relatedTable, relatedID: id, includeInactiveAccounts: isExpenseClaimCreated}).then(response =>{\r\n if(this.expenseClaimId == 0 )\r\n {\r\n this.expenseClaimBankAccounts = response.data.filter(obj => obj.disabled == false);\r\n if(this.expenseClaimBankAccounts.length == 1)\r\n {\r\n this.expenseClaim.accountID = this.expenseClaimBankAccounts[0].value;\r\n }\r\n }\r\n if(this.expenseClaimId > 0)\r\n {\r\n this.expenseClaimBankAccounts = response.data; \r\n }\r\n this.expenseClaimBankAccountsLoaded = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadDropDownLists()\r\n {\r\n lookupService.GetExpenseClaimTypesList().then(data => \r\n {\r\n this.expenseClaimTypes = data;\r\n });\r\n lookupService.GetExpenseClaimCategoryList().then(data => \r\n {\r\n this.allExpenseClaimCategoryList = data;\r\n });\r\n lookupService.GetExpenseClaimStatusWithoutCountList().then(data => \r\n {\r\n this.expenseClaimStatusList = data;\r\n if(this.expenseClaim.id > 0){\r\n this.setExpenseClaimStatus();\r\n }\r\n });\r\n }\r\n\r\n loadClaimCategoryList(vehicleId: number) {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Vehicle','EnabledExpenseClaimCategories',{vehicleId: vehicleId}).then(response => {\r\n this.enabledExpenseClaimCategoryList = response.data;\r\n if(this.isSupplier){\r\n this.expenseClaimCategoryList = this.enabledExpenseClaimCategoryList.filter(obj => obj.value == ExpenseCategories.Washing || obj.value == ExpenseCategories.TyresAndService || obj.value == ExpenseCategories.Repairs || obj.value == ExpenseCategories.Other);\r\n this.expenseClaimLinesCategoryList = this.expenseClaimCategoryList.slice();\r\n } else {\r\n this.expenseClaimCategoryList = this.enabledExpenseClaimCategoryList.slice();\r\n this.expenseClaimLinesCategoryList = this.enabledExpenseClaimCategoryList.slice();\r\n }\r\n this.isEnabledExpenseClaimCategorySelected = this.expenseClaimCategoryList.some(obj => obj.value == this.expenseClaim.category);\r\n if (!this.isEnabledExpenseClaimCategorySelected) {\r\n var disabledCategory = this.allExpenseClaimCategoryList.find(obj => obj.value == this.expenseClaim.category);\r\n if (disabledCategory) {\r\n this.expenseClaimCategoryList.push({...disabledCategory});\r\n this.expenseClaimLinesCategoryList.push({...disabledCategory});\r\n }\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n loadSystemSettings()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n systemSettingsService.LoadAllSystemSettings().then(data => \r\n {\r\n if(data)\r\n {\r\n this.gstRate = parseFloat(data.GSTRate)/100;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n updateExistingExpenseClaimLine()\r\n {\r\n var isInvalidDocuments = !(this.$refs.dragDropControl as DragAndDropControl).isValidDocumentsList();\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(isInvalidDocuments)\r\n {\r\n this.onShowGrowlNotification('error',\"Invalid Document Types.\");\r\n }\r\n if(this.expenseClaim.gstInclusiveAmount <= 0){\r\n this.onShowGrowlNotification('error',\"GST Inclusive amount cannot be zero.\");\r\n return;\r\n }\r\n \r\n var editExpenseClaimLine = Object.assign({},this.expenseClaim.expenseClaimLines.filter(obj => obj.index == this.currentIndex)[0]);\r\n editExpenseClaimLine.category = this.expenseClaim.category;\r\n editExpenseClaimLine.incurredDate = this.expenseClaim.incurredDate;\r\n editExpenseClaimLine.description = this.expenseClaim.description;\r\n editExpenseClaimLine.gstInclusiveAmount = this.expenseClaim.gstInclusiveAmount;\r\n editExpenseClaimLine.gstAmount = this.expenseClaim.gstAmount;\r\n editExpenseClaimLine.accountID = this.expenseClaim.accountID;\r\n if(editExpenseClaimLine.category != this.ctpiCategory && editExpenseClaimLine.category != this.registrationCategory && editExpenseClaimLine.category != this.insuranceCategory){\r\n editExpenseClaimLine.ctpiProvider = \"\";\r\n editExpenseClaimLine.period = 0;\r\n }\r\n else{\r\n editExpenseClaimLine.ctpiProvider = this.expenseClaim.ctpiProvider;\r\n editExpenseClaimLine.period = this.expenseClaim.period;\r\n }\r\n apiService.sendPostRequest('ExpenseClaim','ExpenseClaimLine', editExpenseClaimLine).then(\r\n response => { \r\n if(response.data.isSuccess)\r\n {\r\n this.onShowGrowlNotification('success',response.data.message);\r\n editExpenseClaimLine.concurrencyKey = response.data.claimLineConcurrencyKey;\r\n this.expenseClaim.concurrencyKey = response.data.concurrencyKey;\r\n this.expenseClaim.expenseClaimLines.splice(this.currentIndex, 1, editExpenseClaimLine);\r\n this.editRecord = this.expenseClaim.expenseClaimLines[this.currentIndex];\r\n if(dirtyValidatorService.isModelDirty(this.claimLineDirtyValidationRefNo)){\r\n this.expenseClaimLineChanged = true;\r\n }\r\n dirtyValidatorService.clearChanges(this.claimLineDirtyValidationRefNo);\r\n this.initialExpenseClaim = Object.assign({}, this.expenseClaim);\r\n this.calculateTotalAmounts();\r\n }\r\n else\r\n {\r\n this.onShowGrowlNotification('error',response.data.message);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n this.forceUserToResubmit = false;\r\n }\r\n\r\n\r\n clearClaimInfoNotesAndDocuments(addAnotherClaim:boolean = false)\r\n {\r\n this.expenseClaim.category = 0;\r\n this.expenseClaim.incurredDate = null;\r\n this.expenseClaim.description = \"\";\r\n this.expenseClaim.gstInclusiveAmount = 0;\r\n this.expenseClaim.gstAmount = 0;\r\n this.expenseClaim.ctpiProvider = \"\";\r\n this.expenseClaim.period = 0;\r\n this.selectedExpenseClaimLineId = 0\r\n this.editRecord = null;\r\n if(addAnotherClaim){\r\n (this.$refs.dragDropControl as DragAndDropControl).ClearDocumentListWithoutValidation();\r\n (this.$refs.notesControl as NotesCommonControl).clearNotesWithoutValidation();\r\n }else{\r\n (this.$refs.dragDropControl as DragAndDropControl).ClearDocumentList();\r\n (this.$refs.notesControl as NotesCommonControl).clearNotesList();\r\n }\r\n this.$v.expenseClaim.$reset();\r\n this.$v.bankAccount.$reset();\r\n }\r\n\r\n submitExpenseClaim(){\r\n return new Promise((resolve,reject) => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n if(this.expenseClaimId == 0)\r\n {\r\n if(this.expenseClaim.vehicleInsurance != null){\r\n this.addEditExpenseClaimLine();\r\n }\r\n\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n element.documentList = this.$store.getters.getDocumentsByIndex(element.index);\r\n element.notesList = this.$store.getters.getNotesByIndex(element.index);\r\n });\r\n }\r\n\r\n this.expenseClaim.bankAccount = null;\r\n\r\n }\r\n else if (this.expenseClaim.type == this.expenseClaimBillType)\r\n {\r\n this.expenseClaim.bankAccount = this.expenseClaim.paymentMethodType == this.eftPaymentMethod ? this.bankAccount : null;\r\n this.expenseClaim.bPayAccount = this.expenseClaim.paymentMethodType == this.bpayPaymentMethod ? this.bPayAccount : null;\r\n if(this.expenseClaimId == 0)\r\n {\r\n this.expenseClaim.documentList = this.$store.getters.getDocumentsByIndex(this.currentIndex);\r\n this.expenseClaim.notesList = this.$store.getters.getNotesByIndex(this.currentIndex);\r\n }\r\n }\r\n\r\n var submitExpenseClaim = Object.assign({}, this.expenseClaim);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n submitExpenseClaim.category = submitExpenseClaim.expenseClaimLines[0].category;\r\n submitExpenseClaim.incurredDate = this.todayDateUTC;\r\n submitExpenseClaim.gstInclusiveAmount = this.expenseClaimsTotal;\r\n submitExpenseClaim.gstAmount = this.expenseClaimGSTTotal;\r\n }\r\n\r\n if(submitExpenseClaim.category != this.ctpiCategory && submitExpenseClaim.category != this.registrationCategory && submitExpenseClaim.category != this.insuranceCategory){\r\n submitExpenseClaim.ctpiProvider = \"\";\r\n submitExpenseClaim.period = 0;\r\n }\r\n\r\n this.$store.dispatch('uploadDocuments').then(response => {\r\n apiService.sendPutRequest('ExpenseClaim','ExpenseClaim', submitExpenseClaim).then(\r\n response => { \r\n if(response.data.isSuccess)\r\n {\r\n this.onShowGrowlNotification('success',response.data.message);\r\n this.expenseClaim.status = ExpenseClaimStatuses.PendingApproval;\r\n this.setExpenseClaimStatus();\r\n this.expenseClaim.isReadOnly = this.isDocumentsAndNotesReadOnly = true;\r\n resolve();\r\n }\r\n else\r\n {\r\n this.onShowGrowlNotification('error',response.data.message);\r\n reject();\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }).catch(error => {\r\n console.log(error); // to find error in uploading documents from email app\r\n this.onShowGrowlNotification('error','Error uploading documents.');\r\n reject();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }); \r\n }\r\n\r\n onResubmitExpenseClaim(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n element.documentList = this.$store.getters.getDocumentsByIndex(element.index);\r\n element.notesList = this.$store.getters.getNotesByIndex(element.index);\r\n });\r\n this.expenseClaim.bankAccount = null;\r\n }\r\n else if (this.expenseClaim.type == this.expenseClaimBillType)\r\n {\r\n this.expenseClaim.bankAccount = this.expenseClaim.paymentMethodType == this.eftPaymentMethod ? this.bankAccount : null;\r\n this.expenseClaim.bPayAccount = this.expenseClaim.paymentMethodType == this.bpayPaymentMethod ? this.bPayAccount : null;\r\n this.expenseClaim.documentList = this.$store.getters.getDocumentsByIndex(this.currentIndex);\r\n this.expenseClaim.notesList = this.$store.getters.getNotesByIndex(this.currentIndex);\r\n }\r\n\r\n var resubmitExpenseClaim = Object.assign({}, this.expenseClaim);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n resubmitExpenseClaim.category = resubmitExpenseClaim.expenseClaimLines[0].category;\r\n if(this.expenseClaim.expenseClaimCreationMethod == this.expenseClaimCreationMethodInsuranceScheduler){\r\n resubmitExpenseClaim.gstInclusiveAmount = this.expenseClaim.gstInclusiveAmount;\r\n resubmitExpenseClaim.gstAmount = this.expenseClaim.gstAmount;\r\n resubmitExpenseClaim.expenseClaimLines[0].gstInclusiveAmount = this.expenseClaim.gstInclusiveAmount;\r\n resubmitExpenseClaim.expenseClaimLines[0].gstAmount = this.expenseClaim.gstAmount;\r\n }\r\n else{\r\n resubmitExpenseClaim.gstInclusiveAmount = this.expenseClaimsTotal;\r\n resubmitExpenseClaim.gstAmount = this.expenseClaimGSTTotal;\r\n }\r\n }\r\n\r\n if(resubmitExpenseClaim.category != this.ctpiCategory && resubmitExpenseClaim.category != this.registrationCategory && resubmitExpenseClaim.category != this.insuranceCategory){\r\n resubmitExpenseClaim.ctpiProvider = \"\";\r\n resubmitExpenseClaim.period = 0;\r\n }\r\n\r\n if(this.expenseClaim.submittedByUserRole == this.supplierUserRole && this.isSupplier){\r\n this.expenseClaim.supplierId = this.submittedByUserId;\r\n }\r\n\r\n apiService.sendPostRequest('ExpenseClaim','ResubmitExpenseClaim', resubmitExpenseClaim).then(\r\n response => { \r\n if(response.data.isSuccess)\r\n {\r\n this.onShowGrowlNotification('success',response.data.message);\r\n this.expenseClaim.status = this.isSupplier ? ExpenseClaimStatuses.PendingClientApproval : ExpenseClaimStatuses.PendingApproval;\r\n this.setExpenseClaimStatus();\r\n this.expenseClaim.isReadOnly = this.isDocumentsAndNotesReadOnly = true;\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo, this.expenseClaim);\r\n }\r\n else\r\n {\r\n this.onShowGrowlNotification('error',response.data.message);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n\r\n approveExpenseClaim()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n element.documentList = this.$store.getters.getDocumentsByIndex(element.index);\r\n element.notesList = this.$store.getters.getNotesByIndex(element.index);\r\n });\r\n this.expenseClaim.bankAccount = null;\r\n }\r\n else if (this.expenseClaim.type == this.expenseClaimBillType)\r\n {\r\n this.expenseClaim.bankAccount = this.expenseClaim.paymentMethodType == this.eftPaymentMethod ? this.bankAccount : null;\r\n this.expenseClaim.bPayAccount = this.expenseClaim.paymentMethodType == this.bpayPaymentMethod ? this.bPayAccount : null;\r\n this.expenseClaim.documentList = this.$store.getters.getDocumentsByIndex(this.currentIndex);\r\n this.expenseClaim.notesList = this.$store.getters.getNotesByIndex(this.currentIndex);\r\n }\r\n\r\n var appoveExpenseClaim = Object.assign({}, this.expenseClaim);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n appoveExpenseClaim.category = appoveExpenseClaim.expenseClaimLines[0].category;\r\n appoveExpenseClaim.gstInclusiveAmount = this.expenseClaimsTotal;\r\n appoveExpenseClaim.gstAmount = this.expenseClaimGSTTotal;\r\n }\r\n\r\n apiService.sendPostRequest('ExpenseClaim','ApproveExpenseClaim', appoveExpenseClaim).then(\r\n response => { \r\n if(response.data.isSuccess)\r\n {\r\n this.onShowGrowlNotification('success',response.data.message);\r\n this.onOkayToGoBack();\r\n }\r\n else\r\n {\r\n this.onShowGrowlNotification('error',response.data.message);\r\n }\r\n this.showRejectOrQueryExpenseNoteModal = false;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n\r\n onClickRejectExpenseClaim()\r\n {\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(this.isAdmin && this.expenseClaim.type == this.expenseClaimReImbursementType && this.expenseClaim.expenseClaimLines && this.expenseClaim.expenseClaimLines.length > 1){\r\n this.multipleECLinesActionText = \"Reject\";\r\n this.multipleECLinesAction = ExpenseClaimActionTypes.Reject;\r\n this.showMultipleECLinesActionConfirmation = true;\r\n }else{\r\n this.onRejectExpenseClaim();\r\n }\r\n }\r\n\r\n onRejectExpenseClaim()\r\n {\r\n this.$v.rejectOrQueryNoteText.$reset();\r\n this.rejectOrQueryModalText = \"Reject\";\r\n this.rejectOrQueryNoteText = \"\";\r\n this.rejectOrQueryModalMode = ExpenseClaimStatuses.Rejected;\r\n this.showRejectOrQueryExpenseNoteModal = true;\r\n }\r\n\r\n onClickQueryExpenseClaim()\r\n {\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(this.isAdmin && this.expenseClaim.type == this.expenseClaimReImbursementType && this.expenseClaim.expenseClaimLines && this.expenseClaim.expenseClaimLines.length > 1){\r\n this.multipleECLinesActionText = \"Query\";\r\n this.multipleECLinesAction = ExpenseClaimActionTypes.Query;\r\n this.showMultipleECLinesActionConfirmation = true;\r\n }else{\r\n this.onQueryExpenseClaim();\r\n }\r\n }\r\n\r\n onQueryExpenseClaim(){\r\n this.$v.rejectOrQueryNoteText.$reset();\r\n this.rejectOrQueryNoteText = \"\";\r\n this.rejectOrQueryModalText = \"Query\";\r\n this.rejectOrQueryModalMode = ExpenseClaimStatuses.Queried;\r\n this.showRejectOrQueryExpenseNoteModal = true;\r\n }\r\n\r\n rejectOrQueryExpenseClaim(){\r\n if(this.rejectOrQueryModalMode == ExpenseClaimStatuses.Rejected){\r\n this.rejectExpenseClaim();\r\n } else if(this.rejectOrQueryModalMode == ExpenseClaimStatuses.Queried){\r\n this.queryExpenseClaim();\r\n }\r\n\r\n }\r\n\r\n rejectExpenseClaim()\r\n {\r\n if(this.$v.rejectOrQueryNoteText.$invalid && this.expenseClaim.type == this.expenseClaimBillType)\r\n {\r\n this.$v.rejectOrQueryNoteText.$touch();\r\n }\r\n else\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var rejectExpenseClaim = Object.assign({},this.expenseClaim);\r\n rejectExpenseClaim.gstInclusiveAmount = this.expenseClaimsTotal;\r\n rejectExpenseClaim.gstAmount = this.expenseClaimGSTTotal;\r\n apiService.sendPostRequest('ExpenseClaim','RejectExpenseClaim', {expenseClaim: rejectExpenseClaim, rejectOrQueryNote:this.rejectOrQueryNoteText}).then(\r\n response => { \r\n if(response.data.isSuccess)\r\n {\r\n this.onShowGrowlNotification('success',response.data.message);\r\n this.notesChanged = false;\r\n this.documentsChanged = false;\r\n this.onOkayToGoBack();\r\n }\r\n else\r\n {\r\n this.onShowGrowlNotification('error',response.data.message);\r\n }\r\n this.onClickCancelRejectOrQueryExpenseClaim();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n }\r\n\r\n queryExpenseClaim(){\r\n if(this.$v.rejectOrQueryNoteText.$invalid && this.expenseClaim.type == this.expenseClaimBillType)\r\n {\r\n this.$v.rejectOrQueryNoteText.$touch();\r\n return\r\n }\r\n else\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var queryExpenseClaim = Object.assign({},this.expenseClaim);\r\n queryExpenseClaim.gstInclusiveAmount = this.expenseClaimsTotal;\r\n queryExpenseClaim.gstAmount = this.expenseClaimGSTTotal;\r\n apiService.sendPostRequest('ExpenseClaim','QueryExpenseClaim', {expenseClaim: queryExpenseClaim, rejectOrQueryNote:this.rejectOrQueryNoteText}).then(\r\n response => { \r\n if(response.data.isSuccess)\r\n {\r\n this.onShowGrowlNotification('success',response.data.message);\r\n this.notesChanged = false;\r\n this.documentsChanged = false;\r\n this.onOkayToGoBack();\r\n }\r\n else\r\n {\r\n this.onShowGrowlNotification('error',response.data.message);\r\n }\r\n this.onClickCancelRejectOrQueryExpenseClaim();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n } \r\n }\r\n\r\n routerNavigateBack()\r\n {\r\n if(this.expenseClaim.type == this.expenseClaimBillType)\r\n {\r\n if(((this.expenseClaim.status == this.pendingApprovalStatus || this.expenseClaim.status == this.pendingClientApprovalStatus || this.expenseClaim.status == this.clientQueriedStatus \r\n || this.expenseClaim.status == this.queriedStatus) && dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo))\r\n || ((((this.isClient || this.isSupplier) && this.expenseClaim.status == this.queriedStatus) || (this.isSupplier && this.expenseClaim.status == this.clientQueriedStatus))\r\n && this.forceUserToResubmit))\r\n {\r\n this.backNavigationConfirmation = true;\r\n }\r\n else\r\n {\r\n this.onOkayToGoBack();\r\n } \r\n }\r\n else\r\n {\r\n if(((this.expenseClaim.status == this.pendingApprovalStatus || this.expenseClaim.status == this.queriedStatus) && this.isReImbursementClaimLineDirty())\r\n || ((((this.isClient || this.isSupplier) && this.expenseClaim.status == this.queriedStatus) || (this.isSupplier && this.expenseClaim.status == this.clientQueriedStatus))\r\n && this.forceUserToResubmit))\r\n {\r\n this.backNavigationConfirmation = true;\r\n }\r\n else\r\n {\r\n this.onOkayToGoBack();\r\n } \r\n }\r\n }\r\n\r\n onOkayToGoBack()\r\n {\r\n this.backNavigationConfirmation = false;\r\n if(this.isAdmin)\r\n {\r\n var queryData = {};\r\n if(Object.keys(this.$route.query).length > 0){\r\n if (this.$route.query.filter) queryData[Filtrations.EXPENSE_CLAIM_FILTER] = this.$route.query.filter;\r\n if (this.$route.query.status && fieldValidations.isValidDecimal(+this.$route.query.status)) queryData[Filtrations.EXPENSE_CLAIM_STATUS] = this.$route.query.status;\r\n if (this.$route.query.type && fieldValidations.isValidDecimal(+this.$route.query.type)) queryData[Filtrations.EXPENSE_CLAIM_TYPE] = this.$route.query.type;\r\n if (this.$route.query.transactionCategoryList) queryData[Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST] = this.$route.query.transactionCategoryList;\r\n if (this.$route.query.fromDate != String(null) && fieldValidations.isValidDate(this.$route.query.fromDate)) queryData[Filtrations.EXPENSE_CLAIM_FROM_DATE] = this.$route.query.fromDate;\r\n if (this.$route.query.toDate != String(null) && fieldValidations.isValidDate(this.$route.query.toDate)) queryData[Filtrations.EXPENSE_CLAIM_TO_DATE] = this.$route.query.toDate;\r\n }\r\n if(this.reviewMode)\r\n {\r\n this.$router.push({name:'Review Expense Claims', query: queryData}); \r\n }\r\n else\r\n {\r\n this.$router.push({name:'Edit Vehicle', params: { vehicleID: this.expenseClaim.vehicleId.toString(),topRouteDisplayName:'vehicles', routerDisplayName: 'expenseclaims'}, query: queryData}); \r\n }\r\n }\r\n else\r\n {\r\n this.isClient ? this.$router.push({name:'Main Vehicle UI',params:{vehicleID:this.expenseClaim.vehicleId.toString()}}) : this.$router.push({name:'Dashboard'});\r\n }\r\n }\r\n\r\n isResubmitButtonDisabled(){\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo)){\r\n if((this.$v.expenseClaim.submittedDate.$invalid ||\r\n this.$v.expenseClaim.type.$invalid || \r\n this.$v.expenseClaim.category.$invalid ||\r\n this.$v.expenseClaim.gstInclusiveAmount.$invalid ||\r\n this.$v.expenseClaim.gstAmount.$invalid ||\r\n this.$v.expenseClaim.period.$invalid ||\r\n this.isInvalidDocument ||\r\n (this.expenseClaim.category && (this.expenseClaim.category == ExpenseCategories.Other) && this.$v.expenseClaim.description.$invalid)))\r\n {\r\n return true;\r\n }\r\n return false;\r\n }\r\n else{\r\n return (this.documentsChanged || this.notesChanged) ? false : true;\r\n }\r\n }\r\n\r\n onDocumentChanged(){\r\n this.documentsChanged = true;\r\n this.forceUserToResubmit = true;\r\n }\r\n\r\n onNoteChanged(){\r\n this.notesChanged = true;\r\n this.forceUserToResubmit = true;\r\n }\r\n\r\n onVehicleNameClick()\r\n {\r\n if (this.isAdmin){\r\n let routeData = this.$router.resolve({name:'Edit Vehicle', params:{ vehicleID: this.expenseClaim.vehicleId.toString(),topRouteDisplayName:'vehicles', routerDisplayName:'details'}});\r\n window.open(routeData.href, '_blank');\r\n }else if (this.isClient){\r\n let routeData = this.$router.resolve({name:'Main Vehicle UI', params:{ vehicleID: this.expenseClaim.vehicleId.toString(),topRouteDisplayName:'vehicles', routerDisplayName:'details'}});\r\n window.open(routeData.href, '_blank');\r\n }\r\n \r\n }\r\n\r\n showPopoverMessage()\r\n {\r\n this.$nextTick(() => {\r\n this.showPopOverMsg = true;\r\n })\r\n }\r\n\r\n onChangeVehicle(){\r\n this.$v.expenseClaim.vehicleId.$touch();\r\n this.expenseClaimDeclarationText = \"\";\r\n this.expenseClaim.novationId = 0;\r\n this.expenseClaim.incurredDate = null;\r\n this.vehicleNovationList = [];\r\n this.showInvalidIncurredDateWarning = false;\r\n this.$v.expenseClaim.incurredDate.$reset();\r\n this.loadLatestVehicleNovations(this.expenseClaim.vehicleId);\r\n this.isInsuranceScheduleAvailable();\r\n }\r\n\r\n onCategoryChange(){\r\n this.expenseClaim.period = 0;\r\n this.$v.expenseClaim.period.$reset();\r\n // When category changes vehicle insurance value should be set to empty\r\n this.expenseClaim.vehicleInsurance = null;\r\n if (!this.isEnabledExpenseClaimCategorySelected) {\r\n this.expenseClaimCategoryList = this.enabledExpenseClaimCategoryList.slice();\r\n }\r\n if(this.expenseClaim.category == ExpenseCategories.Insurance){\r\n if(this.isActiveOrPendingInsuranceExists){\r\n this.showActiveOrPendingInsuranceExistsModal = true;\r\n this.$nextTick(()=>{\r\n this.expenseClaim.category = 0;\r\n }); \r\n }else{\r\n if((this.expenseClaim.type == this.expenseClaimReImbursementType) && (this.isClient || this.isAdmin)){\r\n this.showInsuranceScheduleConsentModal = true;\r\n }\r\n }\r\n } else {\r\n this.showAddEditReimbursementButton = true;\r\n }\r\n }\r\n\r\n getInsuranceScheduleExistText(){\r\n if(this.expenseClaimWithInsuranceSchedule){\r\n if(this.isClient){\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType && this.expenseClaimWithInsuranceSchedule.type != this.expenseClaimReImbursementType){\r\n return \"Our system shows that you have already subscribed for monthly insurance repayment. You are at the wrong expense claim. Press OK to proceed. Do call our support team if you have any queries.\"\r\n }else if(this.expenseClaim.type == this.expenseClaimReImbursementType && this.expenseClaimWithInsuranceSchedule.type == this.expenseClaimReImbursementType){\r\n return \"Our system shows that you have already subscribed for monthly insurance reimbursement. Press OK to proceed. Do call our support team if you have any queries.\"\r\n }else if(this.expenseClaim.type != this.expenseClaimReImbursementType && this.expenseClaimWithInsuranceSchedule.type == this.expenseClaimReImbursementType){\r\n return \"Our system shows that you have already subscribed for monthly insurance reimbursement. You are at the wrong expense claim. Press OK to proceed. Do call our support team if you have any queries.\"\r\n }else{\r\n return \"Our system shows that you have already subscribed for monthly insurance repayment. Press OK to proceed. Do call our support team if you have any queries.\"\r\n }\r\n } else {\r\n if(this.expenseClaimWithInsuranceSchedule.type != this.expenseClaimReImbursementType){\r\n return \"Our system shows that the client has already subscribed for monthly insurance repayment schedule.\"\r\n }else{\r\n return \"Our system shows that the client has already subscribed for monthly insurance reimbursement schedule.\"\r\n }\r\n }\r\n }\r\n }\r\n\r\n onInsuranceScheduleConsentModalYesClick(){\r\n this.showInsuranceScheduleConsentModal = false;\r\n this.showInsuranceScheduleModal = true;\r\n }\r\n\r\n onVehicleInsuranceCreate(vehicleInsurance: VehicleInsurance){\r\n this.expenseClaim.vehicleInsurance = vehicleInsurance;\r\n // since only one expense claim allowed with insurance schedule making the edit mode to false and clearing\r\n // out the expenseclaimLines field\r\n this.expenseClaim.expenseClaimLines = [];\r\n this.editMode = false;\r\n this.editRecord = null;\r\n this.showAddEditReimbursementButton = false;\r\n }\r\n\r\n onVehicleInsuranceScheduleUpdate(vehicleInsurance: VehicleInsurance){\r\n this.expenseClaim.vehicleInsurance = vehicleInsurance;\r\n this.expenseClaim.vehicleInsurance.finalMonthInsuranceDueYearComponent = moment(vehicleInsurance.finalMonthInsuranceDueYearComponent).toISOString();\r\n this.expenseClaim.vehicleInsurance.nextMonthInsuranceDueDate = moment(vehicleInsurance.nextMonthInsuranceDueDate).toISOString();\r\n }\r\n\r\n loadLatestVehicleNovations(vehicleId){\r\n this.loadGroupedNovations(vehicleId, true);\r\n }\r\n\r\n loadGroupedNovations(vehicleId : number, isLatest : boolean){\r\n this.vehicleNovationList = [];\r\n return new Promise((resolve, reject)=>{\r\n var params = { vehicleId: vehicleId, onlyActiveNovations: true, getLatestNovations: isLatest };\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Novation','NovationsGroupedByLease',params).then(response => {\r\n if(response.data){\r\n this.groupedNovationList = response.data;\r\n if(this.groupedNovationList.length > 0){\r\n this.groupedNovationList.forEach(groupList => {\r\n if (groupList.options != null && groupList.options.length > 0){\r\n this.vehicleNovationList.push(...groupList.options);\r\n }\r\n });\r\n resolve(this.vehicleNovationList);\r\n }\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n })\r\n }\r\n\r\n onChangeVehicleNovation(){\r\n this.getExpenseClaimsDeclaration();\r\n this.expenseClaim.incurredDate = null;\r\n this.$v.expenseClaim.incurredDate.$reset();\r\n this.showInvalidIncurredDateWarning = false;\r\n }\r\n\r\n onIncurredDateChange(){\r\n this.$v.expenseClaim.incurredDate.$touch();\r\n this.selectedRelatedEntities = [];\r\n if(this.expenseClaim.incurredDate && this.expenseClaim.vehicleId && this.vehicleNovationList && this.vehicleNovationList.length > 0){\r\n let novation = null;\r\n if(!this.isAdmin){\r\n this.expenseClaim.novationId = 0;\r\n this.selectedRelatedEntities = this.getValidNovation();\r\n } \r\n\r\n this.checkIncurredDateIsValid();\r\n }else{\r\n this.showInvalidIncurredDateWarning = false;\r\n this.showInvalidIncurredDateModal = true;\r\n }\r\n }\r\n\r\n checkIncurredDateIsValid(){\r\n if(this.expenseClaim.novationId != 0){\r\n this.selectedRelatedEntities = [];\r\n // Since from backend we send the orderd array sorted by start date in decending order\r\n this.selectedRelatedEntities = this.vehicleNovationList.filter(n=> n.value == this.expenseClaim.novationId);\r\n }\r\n\r\n if(this.selectedRelatedEntities.length == 1 && this.isIncurredDateValid()){\r\n this.expenseClaim.novationId = this.selectedRelatedEntities[0].value;\r\n if(!this.isAdmin){\r\n this.getExpenseClaimsDeclaration();\r\n }\r\n this.showInvalidIncurredDateWarning = false;\r\n this.showInvalidIncurredDateModal = false;\r\n }else{\r\n this.showInvalidIncurredDateWarning = true;\r\n this.showInvalidIncurredDateModal = true; \r\n }\r\n }\r\n\r\n isIncurredDateValid(){\r\n return ((!this.selectedRelatedEntities[0].endDate && this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.expenseClaim.incurredDate)) ||\r\n (this.selectedRelatedEntities[0].endDate && this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.currentDate) && \r\n this.getFormattedDate(this.selectedRelatedEntities[0].endDate) >= this.getFormattedDate(this.currentDate) && \r\n this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.expenseClaim.incurredDate) && \r\n this.getFormattedDate(this.selectedRelatedEntities[0].endDate) >= this.getFormattedDate(this.expenseClaim.incurredDate)));\r\n }\r\n\r\n getFormattedDate(date:any) {\r\n return moment(new Date(date).setHours(0, 0, 0, 0)).toDate();\r\n }\r\n\r\n getValidNovation(){\r\n return this.vehicleNovationList.filter(novation => (novation != null && (!novation.endDate && moment(novation.startDate).toDate() <= moment(this.expenseClaim.incurredDate).toDate())) || \r\n (novation.endDate && moment(novation.startDate).toDate() <= moment(this.expenseClaim.incurredDate).toDate() && \r\n moment(novation.endDate).toDate() >= moment(this.expenseClaim.incurredDate).toDate()));\r\n }\r\n\r\n onCloseInvalidIncurredDateModal(){\r\n this.expenseClaim.novationId = 0;\r\n this.expenseClaim.incurredDate = null;\r\n this.showInvalidIncurredDateModal = false;\r\n }\r\n\r\n getExpenseClaimsDeclaration(){\r\n if(this.expenseClaim.vehicleId > 0 && this.expenseClaim.novationId > 0) {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = { vehicleId:this.expenseClaim.vehicleId, novationId: this.expenseClaim.novationId }\r\n apiService.sendGetRequest(\"ExpenseClaim\",\"ExpenseClaimDeclarationText\",params).then(response => {\r\n if(response.data.isSuccess){\r\n this.expenseClaimDeclarationText = response.data.message;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n }\r\n\r\n onValidateExpenseClaimAmount(gstInclusiveAmount:any){\r\n return +gstInclusiveAmount > 0\r\n }\r\n\r\n get isInvalidDocument() {\r\n if(this.expenseClaim.type == ExpenseClaimTypes.Bill){\r\n return ((this.$refs.dragDropControl as DragAndDropControl).getDocumentCount() <= 0 && this.isDocumentCountNull)\r\n } \r\n if(this.expenseClaim.type == ExpenseClaimTypes.Reimbursement && this.expenseClaim.vehicleInsurance){\r\n return ((this.$refs.dragDropControl as DragAndDropControl).getDocumentCount() <= 0 && this.isDocumentCountNull)\r\n } \r\n else {\r\n if(this.expenseClaim.id == 0 && this.expenseClaim.expenseClaimLines.length > 0){\r\n var isDocumentAvailable = true;\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n var documentList = this.$store.getters.getDocumentsByIndex(element.index);\r\n if(documentList.length == 0 || documentList == null || documentList == undefined){\r\n isDocumentAvailable = false;\r\n }\r\n });\r\n return !isDocumentAvailable;\r\n }\r\n if(this.expenseClaim.id > 0){\r\n \r\n return ((this.$refs.dragDropControl as DragAndDropControl).getDocumentCount() <= 0 && this.isDocumentCountNull) \r\n }\r\n return true;\r\n }\r\n \r\n }\r\n\r\n get isDocumentCountNull(){\r\n if (this.expenseClaim.id > 0 && this.expenseClaim.expenseClaimLines.length > 0){\r\n var isDocumentAvailable = true;\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n if(element.documentCount <= 0){\r\n isDocumentAvailable = false;\r\n }\r\n });\r\n return !isDocumentAvailable;\r\n }\r\n }\r\n\r\n onShowGrowlNotification(messageType:string, messageTitle:string){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: messageTitle,\r\n type: messageType,\r\n duration: 5000\r\n });\r\n }\r\n\r\n onCustomDocumentEvent(type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.Delete){\r\n this.onShowGrowlNotification('success',\"Document successfully deleted.\");\r\n } else if(type == DataTableActionTypes.Save){\r\n this.onShowGrowlNotification('success',\"Document successfully added.\");\r\n } else if(type == DataTableActionTypes.Edit){\r\n this.onShowGrowlNotification('success',\"Document successfully updated.\");\r\n } \r\n this.onDocumentChanged();\r\n }\r\n\r\n onClearExpenseClaimLineRejectOrQueryNote(){\r\n this.expenseClaim.expenseClaimLines.forEach((element) => {\r\n element.rejectOrQueryNote = \"\"; \r\n });\r\n }\r\n\r\n onDisableRejectOrQueryBtn(){\r\n if(this.expenseClaim.expenseClaimLines && this.expenseClaim.expenseClaimLines.length > 0){\r\n var exLines = this.expenseClaim.expenseClaimLines.filter(obj => obj.rejectOrQueryNote == \"\" || obj.rejectOrQueryNote == null);\r\n if(exLines && exLines.length == this.expenseClaim.expenseClaimLines.length){\r\n return true;\r\n }\r\n return false\r\n }\r\n }\r\n\r\n onDeleteExpenseClaim(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendDeleteRequest(\"ExpenseClaim\",\"ExpenseClaim\",{expenseClaimId:this.expenseClaim.id}).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.onShowGrowlNotification('success',response.data.message);\r\n this.onOkayToGoBack();\r\n }\r\n else{\r\n this.onShowGrowlNotification('error',response.data.message);\r\n }\r\n this.showDeleteExpenseClaimConfirmation = false;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n ); \r\n } \r\n\r\n onClickCancelRejectOrQueryExpenseClaim(){\r\n this.onClearExpenseClaimLineRejectOrQueryNote();\r\n this.showRejectOrQueryExpenseNoteModal = false;\r\n }\r\n\r\n onClickDeleteExpenseClaim(){\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(this.expenseClaim.type == ExpenseClaimTypes.Reimbursement && this.expenseClaim.expenseClaimLines && this.expenseClaim.expenseClaimLines.length > 1) {\r\n this.multipleECLinesActionText = \"Delete\";\r\n this.multipleECLinesAction = ExpenseClaimActionTypes.Delete;\r\n this.showMultipleECLinesActionConfirmation = true;\r\n } else {\r\n this.showDeleteExpenseClaimConfirmation = true;\r\n }\r\n }\r\n\r\n expenseClaimRevertToPendingApprovalStatus() {\r\n this.showRevertToPendingApprovalStatusConfirmation = true;\r\n }\r\n\r\n onClickCancelRevertToPendingApprovalStatusExpenseClaim() {\r\n this.revertToPendingApprovalNoteText = \"\";\r\n this.$v.revertToPendingApprovalNoteText.$reset()\r\n this.showRevertToPendingApprovalStatusConfirmation = false;\r\n }\r\n\r\n onRevertToPendingApprovalStatusExpenseClaim(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendPostRequest(\"ExpenseClaim\",\"RevertToPendingApprovalStatusExpenseClaim\",{ expenseClaimId:this.expenseClaim.id, reason:this.revertToPendingApprovalNoteText }).then(\r\n response =>{\r\n if(response.data.isSuccess){\r\n this.onShowGrowlNotification('success',response.data.message);\r\n this.onOkayToGoBack();\r\n }\r\n else{\r\n this.onShowGrowlNotification('error',response.data.message);\r\n }\r\n this.showRevertToPendingApprovalStatusConfirmation = false;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n ); \r\n } \r\n\r\n notifyExpenseClaimCreatedByScheduledInsuranceAndApprove() {\r\n if(this.isAdmin && (this.expenseClaim.expenseClaimCreationMethod == ExpenseClaimCreationMethod.InsuranceScheduleReminder || this.expenseClaim.vehicleInsurance)) {\r\n this.showScheduledInsuranceExpenseClaimApproveConfirmationPopup = true;\r\n } else {\r\n this.showScheduledInsuranceExpenseClaimApproveConfirmationPopup = false;\r\n this.onClickedSubmitApprove()\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitApproveExpenseClaim.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitApproveExpenseClaim.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./submitApproveExpenseClaim.vue?vue&type=template&id=24a499c3&scoped=true\"\nimport script from \"./submitApproveExpenseClaim.vue?vue&type=script&lang=ts\"\nexport * from \"./submitApproveExpenseClaim.vue?vue&type=script&lang=ts\"\nimport style0 from \"./submitApproveExpenseClaim.vue?vue&type=style&index=0&id=24a499c3&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"24a499c3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",staticClass:\"responsive-search\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":\"From\",\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"6\",\"md\":\"2\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":\"To\",\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"6\",\"md\":\"2\",\"lg\":\"1\",\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"companyBankAccounSelectList\",\"plain\":true,\"options\":_vm.expenseClaimTypes},on:{\"input\":_vm.onExpenseClaimTypeChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.selectedExpenseClaimType),callback:function ($$v) {_vm.selectedExpenseClaimType=$$v},expression:\"selectedExpenseClaimType\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Types\")])])],2)],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"10\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput selectListHeight\",attrs:{\"id\":\"companyBankAccounSelectList\",\"plain\":true,\"options\":_vm.expenseClaimStatuses},on:{\"input\":_vm.onExpenseClaimStatusChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.selectedExpenseClaimStatus),callback:function ($$v) {_vm.selectedExpenseClaimStatus=$$v},expression:\"selectedExpenseClaimStatus\"}},[_c('template',{slot:\"first\"},[_c('option',{domProps:{\"value\":0}},[_vm._v(\"All Statuses\")])])],2)],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"10\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"catagorySelectList\"}},[_c('multiselect',{ref:\"multiselect\",attrs:{\"id\":\"catogorySelect\",\"options\":_vm.expenseClaimCategoryList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onTransactionCategoryChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(_vm._s(_vm.expenseClaimCategoryList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Category\" : \"Categories\")+\"\\r\\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedExpenseClaimCategoryList),callback:function ($$v) {_vm.selectedExpenseClaimCategoryList=$$v},expression:\"selectedExpenseClaimCategoryList\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('div',{staticClass:\"pt-4\"},[_c('DataTable',{ref:\"reviewExpenseClaimsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"selectable\":true,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No expense claims to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Review Expense Claims\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\r\nimport moment from 'moment';\r\nimport ExpenseClaimLink from '@/components/admin/expenseClaims/expenseClaimLink.vue';\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\nimport {ReviewExpenseClaimTableFilterParams} from '@/models/tableFilterParams.model';\r\nimport AppSettings from '@/app.config';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport { ExpenseClaimStatuses } from '@/shared/enums/expenseClaims.enum';\r\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\r\nimport ExpenseClaimsAuditLogsActionButton from './expenseClaimsAuditLogsActionButton.vue';\r\nimport Filtrations from \"@/shared/filtrations\";\r\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n FilterTextInput\r\n }\r\n})\r\nexport default class ReviewExpenseClaims extends Vue{\r\n items:any[] = [];\r\n showEmptyBanner:boolean = false;\r\n todayDate: any = new Date();\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n fields = [\r\n {key: 'ecrn',label:'ECRN', class:'width_15', sortable:true},\r\n {key: 'date',label:'Submitted', class:'width_15', sortable:true, \r\n formatter: (value, key, item) => {\r\n return moment(item.date).format(\"DD MMM YYYY\");\r\n }, \r\n },\r\n {key: 'clientName',label:'Client', class:'width_15', sortable:true},\r\n {key: 'vehicleName',label:'Vehicle', class:'width_15', sortable:true},\r\n {key: 'typeText',label:'Type', class:'width_10', sortable:true },\r\n {key: 'categoryText', label:'Category', class:'width_10', sortable:true},\r\n {key: 'statusText',label:'Status', class:'width_10', sortable:true},\r\n {key: 'totalAmount',label:'Total', class:'text-right width_10', sortable:true},\r\n {key: 'actions',label:\"\",class:'text-center text-nowrap width_10'} \r\n ]; \r\n customTemplateList:Array = [\r\n {slot:\"ecrn\",customTemplate : ExpenseClaimLink},\r\n {slot:\"actions\",customTemplate: ExpenseClaimsAuditLogsActionButton},\r\n {slot:\"totalAmount\",customTemplate: ApexCurrency}\r\n ];\r\n fromDate:any = null;\r\n toDate:any = null;\r\n disabledFromDates:any ={};\r\n disabledToDates:any ={};\r\n perPage:number = AppSettings.defaultGridSize;\r\n expenseClaimTypes:any = [];\r\n expenseClaimStatuses: any = [];\r\n selectedExpenseClaimType:number = 0;\r\n selectedExpenseClaimStatus:number = 0;\r\n sortBy:string = \"date\";\r\n sortDesc:boolean = true;\r\n totalRows:number = 0;\r\n filter:string = \"\";\r\n expenseClaimCategoryList:any = [];\r\n selectedExpenseClaimCategoryList:any = [];\r\n isPanelOpen= false \r\n resetButtonDisabled:boolean = true;\r\n convertedFrom:any = null;\r\n convertedTo:any = null;\r\n\r\n created()\r\n {\r\n this.selectedExpenseClaimStatus = ExpenseClaimStatuses.PendingApproval;\r\n var promise1 = this.loadExpenseClaimTypes();\r\n var promise2 = this.loadExpenseClaimStatusList();\r\n var promise3 = this.loadTransactionCatogoryList();\r\n\r\n Promise.all([promise1, promise2,promise3]).then(response => {\r\n if(Object.keys(this.$route.query).length > 0){\r\n this.validateAndAssignQueryParams();\r\n this.convertFromAndToDates();\r\n }\r\n\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }); \r\n }\r\n\r\n removeSelectedList(){\r\n this.selectedExpenseClaimCategoryList = [];\r\n if(!this.isPanelOpen){\r\n this.resetTable();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n }\r\n \r\n fromDateChanged(){\r\n if(fieldValidations.isValidDate(this.fromDate)){\r\n var from = moment(this.fromDate).toDate();\r\n this.disabledToDates = {to:from};\r\n }\r\n else{\r\n this.disabledToDates = {};\r\n }\r\n this.dateChanged();\r\n }\r\n\r\n toDateChanged(){\r\n if(fieldValidations.isValidDate(this.toDate)){\r\n var to = moment(this.toDate).toDate();\r\n this.disabledFromDates = {from:to};\r\n }\r\n else{\r\n this.disabledFromDates = {};\r\n }\r\n this.dateChanged();\r\n }\r\n\r\n dateChanged(){\r\n this.convertFromAndToDates();\r\n this.updateURL(); \r\n this.resetTable();\r\n this.resetButtonDisabled = false;\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n \r\n refreshGrid(tableFilterParams:ReviewExpenseClaimTableFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"ExpenseClaim\",\"ReviewExpenseClaimList\",tableFilterParams).then(response =>{\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadExpenseClaimTypes()\r\n {\r\n return new Promise((resolve,reject) => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetExpenseClaimTypesList().then(data => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.expenseClaimTypes = data;\r\n resolve();\r\n });\r\n });\r\n }\r\n \r\n loadExpenseClaimStatusList()\r\n {\r\n return new Promise((resolve,reject) => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetExpenseClaimStatusWithCountList().then(data => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n this.expenseClaimStatuses = data;\r\n this.expenseClaimStatuses = [{label: 'Approval', options: [this.expenseClaimStatuses[4] ,this.expenseClaimStatuses[0]]},\r\n this.expenseClaimStatuses[1], this.expenseClaimStatuses[3],\r\n {label: 'Queried', options: [this.expenseClaimStatuses[2], this.expenseClaimStatuses[5]]},\r\n {label: 'Rejected', options: [this.expenseClaimStatuses[6], this.expenseClaimStatuses[7]]}];\r\n resolve();\r\n });\r\n });\r\n }\r\n\r\n loadTransactionCatogoryList(){\r\n return new Promise ((resolve,reject) => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n lookupService.GetExpenseClaimCategoryList().then(data => {\r\n this.expenseClaimCategoryList = data;\r\n this.selectedExpenseClaimCategoryList = this.expenseClaimCategoryList;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n resolve();\r\n });\r\n });\r\n }\r\n\r\n get selecetedCategoryList(){\r\n return this.selectedExpenseClaimCategoryList.map(a => a.value);\r\n }\r\n\r\n resetFilters(){\r\n this.filter = '';\r\n this.resetTable();\r\n this.resetButtonDisabled = true;\r\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\r\n this.fromDate = null;\r\n this.toDate = null;\r\n this.selectedExpenseClaimType = 0;\r\n this.selectedExpenseClaimStatus = 1;\r\n this.selectedExpenseClaimCategoryList = this.expenseClaimCategoryList;\r\n this.updateURL();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.fromDate,ToDate:this.toDate, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList}); \r\n }\r\n \r\n filterGrid(filterString:string){\r\n this.convertFromAndToDates();\r\n this.filter = filterString;\r\n this.resetButtonDisabled = false;\r\n this.updateURL();\r\n this.resetTable();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n\r\n resetTable(){\r\n this.sortBy = \"date\";\r\n (this.$refs.reviewExpenseClaimsTable as DataTable).reset(true);\r\n }\r\n\r\n onSortingChange(ctx:any)\r\n {\r\n if(ctx.sortBy){\r\n this.sortDesc = ctx.sortDesc;\r\n this.sortBy = ctx.sortBy;\r\n if(this.sortBy == \"ecrn\"){\r\n this.sortBy = this.sortBy.toUpperCase();\r\n }\r\n this.convertFromAndToDates();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus,TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n }\r\n\r\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number)\r\n {\r\n this.convertFromAndToDates();\r\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus,TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n\r\n onExpenseClaimTypeChanged()\r\n {\r\n this.convertFromAndToDates();\r\n this.updateURL();\r\n this.resetTable();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus,TransactionCategoryList:this.selecetedCategoryList});\r\n }\r\n\r\n onExpenseClaimStatusChanged()\r\n { \r\n this.convertFromAndToDates();\r\n this.updateURL();\r\n this.resetTable();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus,TransactionCategoryList:this.selecetedCategoryList}); \r\n }\r\n\r\n onChangeResetButton()\r\n {\r\n this.resetTable();\r\n this.resetButtonDisabled = false;\r\n }\r\n\r\n onTransactionCategoryChanged(){\r\n this.convertFromAndToDates();\r\n this.updateURL();\r\n this.resetTable();\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId: 0, FromDate:this.convertedFrom,ToDate:this.convertedTo, Type: this.selectedExpenseClaimType, Status: this.selectedExpenseClaimStatus, TransactionCategoryList:this.selecetedCategoryList});\r\n this.isPanelOpen = false;\r\n this.resetButtonDisabled = false;\r\n }\r\n\r\n convertFromAndToDates(){\r\n this.convertedFrom = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\r\n this.convertedTo = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\r\n }\r\n\r\n updateURL(){\r\n let qp = new URLSearchParams();\r\n if(String(this.selectedExpenseClaimType) != '') qp.set(Filtrations.EXPENSE_CLAIM_TYPE, String(this.selectedExpenseClaimType));\r\n if(String(this.selectedExpenseClaimStatus) != '') qp.set(Filtrations.EXPENSE_CLAIM_STATUS,String(this.selectedExpenseClaimStatus));\r\n this.selecetedCategoryList.length > 0 ? qp.set(Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST, this.selecetedCategoryList) :qp.set(Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST, null);\r\n if(this.filter != \"\") qp.set(Filtrations.EXPENSE_CLAIM_FILTER, this.filter);\r\n if(this.fromDate != null) qp.set(Filtrations.EXPENSE_CLAIM_FROM_DATE, this.fromDate);\r\n if(this.toDate != null) qp.set(Filtrations.EXPENSE_CLAIM_TO_DATE, this.toDate);\r\n history.replaceState(null, null, \"?\"+qp.toString());\r\n }\r\n\r\n validateAndAssignQueryParams(){\r\n if (fieldValidations.isValidDecimal(+this.$route.query.type)){\r\n this.selectedExpenseClaimType = +this.$route.query.type;\r\n }\r\n if (fieldValidations.isValidDecimal(+this.$route.query.status)){\r\n this.selectedExpenseClaimStatus = +this.$route.query.status;\r\n }\r\n if(this.$route.query.transactionCategoryList && this.$route.query.transactionCategoryList.length > 0 && fieldValidations.isValidCommaSeparatedList(this.$route.query.transactionCategoryList)){\r\n this.selectedExpenseClaimCategoryList = [];\r\n let queryTransactionCategoryList = String(this.$route.query.transactionCategoryList).split(',');\r\n let expCategory = 0;\r\n queryTransactionCategoryList.forEach(category => {\r\n expCategory = this.expenseClaimCategoryList.find(element => element.value == +category)\r\n if(expCategory != null){\r\n this.selectedExpenseClaimCategoryList.push(expCategory);\r\n }\r\n });;\r\n }\r\n this.filter = this.$route.query.filter? String(this.$route.query.filter) : \"\";\r\n (this.$refs.filterTextInput as FilterTextInput).filter = this.$route.query.filter? String(this.$route.query.filter) : \"\"\r\n this.fromDate = this.$route.query.fromDate != String(null) && fieldValidations.isValidDate(this.$route.query.fromDate) ? new Date(String(this.$route.query.fromDate)) : null;\r\n this.toDate = this.$route.query.toDate != String(null) && fieldValidations.isValidDate(this.$route.query.toDate) ? new Date(String(this.$route.query.toDate)) : null;\r\n\r\n if(this.filter != \"\" || this.toDate != null || this.fromDate != null || this.selectedExpenseClaimType != 0 || this.selectedExpenseClaimStatus != ExpenseClaimStatuses.PendingApproval || this.selectedExpenseClaimCategoryList.length != this.expenseClaimCategoryList.length) {\r\n this.resetButtonDisabled = false;\r\n }\r\n }\r\n\r\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\r\n if(type == DataTableActionTypes.ActionButtonSelect){\r\n (this.$refs.reviewExpenseClaimsTable as DataTable).setLastCustomAction(type);\r\n }\r\n if(type == DataTableActionTypes.ResetActionButtton){\r\n (this.$refs.reviewExpenseClaimsTable as DataTable).resetLastCustomAction();\r\n }\r\n if(type == DataTableActionTypes.RowSelect){\r\n var queryData = {};\r\n queryData[Filtrations.EXPENSE_CLAIM_REVIEW] = 'true';\r\n if (String(this.selectedExpenseClaimStatus) != '') queryData[Filtrations.EXPENSE_CLAIM_STATUS] = String(this.selectedExpenseClaimStatus);\r\n if(String(this.selectedExpenseClaimType) != '') queryData[Filtrations.EXPENSE_CLAIM_TYPE] = String(this.selectedExpenseClaimType);\r\n\r\n this.selecetedCategoryList.length > 0 ? queryData[Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST] = this.selecetedCategoryList : queryData[Filtrations.EXPENSE_CLAIM_TRANSACTION_CATEGORY_LIST] = null;\r\n8\r\n if (this.filter != \"\") queryData[Filtrations.EXPENSE_CLAIM_FILTER] = this.filter;\r\n if (this.fromDate != null) queryData[Filtrations.EXPENSE_CLAIM_FROM_DATE] = String(this.fromDate);\r\n if (this.toDate != null) queryData[Filtrations.EXPENSE_CLAIM_TO_DATE] = String(this.toDate);\r\n this.$router.push({name:\"View Expense Claim\",params:{id:data.id}, query: queryData });\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reviewExpenseClaims.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./reviewExpenseClaims.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./reviewExpenseClaims.vue?vue&type=template&id=38313972&scoped=true\"\nimport script from \"./reviewExpenseClaims.vue?vue&type=script&lang=ts\"\nexport * from \"./reviewExpenseClaims.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"38313972\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":_vm.routeName}},[_c('Tab',{attrs:{\"name\":\"Summary\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"summary\"}},[_c('ApplicationSummary')],1),_c('Tab',{attrs:{\"name\":\"Applications List\",\"index\":1,\"routerDisplayName\":\"applicationsList\"}},[_c('ApplicationsList',{attrs:{\"DefaultApplicationStatus\":_vm.defaultApplicationStatus}})],1),_c('Tab',{attrs:{\"name\":\"Pending Reconciliation\",\"index\":2,\"routerDisplayName\":\"pendingReconciliation\"}},[_c('BrokerageReconcilation',{attrs:{\"DisplayMode\":_vm.pendingReconciliationMode}})],1),_c('Tab',{attrs:{\"name\":\"Reconciled\",\"index\":3,\"routerDisplayName\":\"reconciled\"}},[_c('BrokerageReconcilation',{attrs:{\"DisplayMode\":_vm.reconciledMode}})],1),_c('b-row',{staticClass:\"float-right mr-1\",attrs:{\"slot\":\"tabs-buttons\"},slot:\"tabs-buttons\"},[_c('b-button',{staticClass:\"pull-right primary\",attrs:{\"title\":\"Add New Application\"},on:{\"click\":function($event){_vm.showSelectClientPopup = true}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add Application\\n \")])],1)],1)],1)],1)],1)],1),(_vm.showSelectClientPopup)?_c('Modal',{attrs:{\"title\":\"Select Client\",\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Client\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":function($event){_vm.showSelectClientPopup = false}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ClientsList',{attrs:{\"viewMode\":_vm.modalModeClientListView},on:{\"onSelectClient\":_vm.onClientSelect}})],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"pb-2\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"2\",\"lg\":\"3\",\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"showInactiveCheckbox\"},on:{\"input\":_vm.onShowInactiveChanged},model:{value:(_vm.showInactive),callback:function ($$v) {_vm.showInactive=$$v},expression:\"showInactive\"}},[_c('span',[_vm._v(\"Show Inactive Statuses\")])])],1)],1),_c('DataTable',{ref:\"applicationSummaryTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No details to display.\",\"selectable\":true,\"customTemplates\":_vm.customTemplatesList},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Submitted Finance Application Summary\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n@Component\n(\n {\n components: {\n DataTable\n },\n computed:{\n offsetClass(){\n return { 'offset-md-3':(this.selectedStatus < 0 || this.selectedStatus > 0),'offset-lg-4':(this.selectedStatus < 0 || this.selectedStatus > 0)}\n }\n }\n }\n)\nexport default class ApplicationSummary extends Vue{\n items:any = [];\n fields = [\n {key: 'statusName', label: 'Status',class:'width_20'},\n {key: 'count',class:'width_20 text-right'},\n {key: 'invoicedAmount',class:'width_20 text-right'}\n ];\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n showEmptyBanner:boolean = true;\n showInactive:boolean = false;\n customTemplatesList: Array = [{slot: 'invoicedAmount', customTemplate: ApexCurrency}]\n \n mounted(){\n this.loadApplicationSummary();\n }\n\n loadApplicationSummary(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Application\",\"FinanceApplicationSummary\",{showInactive:this.showInactive}).then(response =>{\n this.items = response.data;\n this.totalRows = response.data.length;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.$store.dispatch('storeSelectedStatusValue',data.status);\n this.$router.push({name:'Finance Application',params:{routerDisplayName:'applicationsList'}});\n }\n }\n\n onShowInactiveChanged(){\n this.loadApplicationSummary();\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationSummary.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationSummary.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationSummary.vue?vue&type=template&id=e6e970f8\"\nimport script from \"./ApplicationSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationSummary.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationSummary.vue?vue&type=style&index=0&id=e6e970f8&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search pl-0\",attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"3\",\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput status-filter selectListHeight\",attrs:{\"id\":\"applicationStatusFilter\",\"plain\":true,\"options\":_vm.statusWithCountList,\"required\":\"\"},on:{\"change\":_vm.onChangeResetButton,\"input\":_vm.onStatusChanged},model:{value:(_vm.selectedStatus),callback:function ($$v) {_vm.selectedStatus=$$v},expression:\"selectedStatus\"}},[(_vm.selectedStatus == -1)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":-1}},[_vm._v(\"-- Please select --\")])]):_vm._e()],2)],1),(_vm.selectedStatus == 0)?_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"3\",\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"showInactiveCheckbox\"},on:{\"input\":_vm.onShowInactiveChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.showInactive),callback:function ($$v) {_vm.showInactive=$$v},expression:\"showInactive\"}},[_c('span',[_vm._v(\"Show Inactive Applications\")])])],1):_vm._e(),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('DataTable',{ref:\"applicationTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"selectable\":true,\"showEmptyBanner\":_vm.showEmptyBanner,\"customTemplates\":_vm.customTemplateList,\"emptyBanner\":\"No applications to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent,\"onSortingChanged\":_vm.onSortingChange}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Submitted Finance Applications\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{staticClass:\"dot\",class:[(_vm.item.mandatoryFieldsFilled)?'backgroundSuccess':'backgroundAmber'],attrs:{\"title\":_vm.item.mandatoryFieldsFilled?'All the mandatory fields are filled':'Some mandatory fields are missing'}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n\n@Component\nexport default class ApplicationStatusTrafficLight extends Vue{\n @Prop() item:any;\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationStatusTrafficLight.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationStatusTrafficLight.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationStatusTrafficLight.vue?vue&type=template&id=3aeef430&scoped=true\"\nimport script from \"./ApplicationStatusTrafficLight.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationStatusTrafficLight.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationStatusTrafficLight.vue?vue&type=style&index=0&id=3aeef430&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3aeef430\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit, Prop, Watch } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams,ApplicationTableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport moment from 'moment';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport ApplicationStatusTrafficLight from './ApplicationStatusTrafficLight.vue';\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\n\n@Component\n(\n {\n components: {\n DataTable,\n FilterTextInput\n },\n computed:{\n offsetClass(){\n return { 'offset-md-4':(this.selectedStatus < 0 || this.selectedStatus > 0),'offset-lg-5':(this.selectedStatus < 0 || this.selectedStatus > 0)}\n }\n }\n }\n)\nexport default class ApplicationsList extends Vue{\n @Prop() DefaultApplicationStatus:any;\n \n @Watch('DefaultApplicationStatus')\n onApplicationStatusChanged(val: any, oldVal: any)\n {\n this.selectedStatus = val; \n }\n\n items:any = [];\n fields = [\n {key: 'statusTrafficLight',label:'',class:'width_5'},\n {key: 'clientName',sortable:'true',class:'width_20'},\n {key: 'status',sortable:'true',class:'width_20',\n formatter: (value, key, item) => {\n return this.getStatusText(item.status)\n }\n },\n {key: 'assignApplicationTo',label:'Assigned Staff Member',sortable:'true',class:'width_20'},\n {key:'lastUpdatedBy',sortable:'true',class:'width_20'},\n {key: 'lastUpdatedDate',sortable:'true',class:'width_20',\n formatter: (value, key, item) => {\n return moment(item.lastUpdatedDate).format(\"DD MMM YYYY\")\n }\n } \n ];\n customTemplateList:Array = [\n {slot:\"statusTrafficLight\", customTemplate:ApplicationStatusTrafficLight}\n ]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"clientName\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = true;\n selectedStatus:number = -1;\n selectedType:number = 1;\n typeList:any[] = [];\n statusWithoutCountList:any[] = [];\n statusWithCountList:any[] = [];\n showInactive:boolean = false;\n showGrid:boolean = false;\n resetButtonDisabled:boolean = true;\n stepNames:string[] = ['initialDetails','vehicleDetails','requestInvoice','reviseApplication','signatureAndSubmission','leaseAndEmployment'];\n\n created() {\n if(this.$route.params.showInactive){\n this.showInactive = this.$route.params.showInactive === \"true\";\n }\n if(this.$route.params.clickedBarIndex) {\n let receivedStatus = +this.$route.params.clickedBarIndex;\n if (receivedStatus >= FinanceApplicationStates.Completed) {\n receivedStatus === FinanceApplicationStates.Rejected ? receivedStatus = FinanceApplicationStates.Withdrawn : receivedStatus === FinanceApplicationStates.Withdrawn ? receivedStatus = FinanceApplicationStates.Rejected : receivedStatus;\n }\n this.selectedStatus = receivedStatus;\n }\n }\n\n mounted(){\n if(!this.$route.params.clickedBarIndex) {\n this.selectedStatus = this.$store.getters.getSelectedStatus;\n } else {\n this.onStatusChanged();\n }\n\n if(this.selectedStatus > 0){\n this.$store.dispatch('storeSelectedStatusValue',0);\n }\n this.loadApplicationTypes();\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:this.selectedStatus,Type:this.selectedType,ShowInactive:this.showInactive});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:this.selectedStatus,Type:this.selectedType,ShowInactive:this.showInactive});\n }\n }\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n var routerDisplayName = data.status>this.stepNames.length ? this.stepNames[0] :this.stepNames[data.status-1];\n if(type == DataTableActionTypes.RowSelect){ \n this.$router.push({ name: 'Edit Finance Application', params: { id: data.id,routerDisplayName:routerDisplayName,clientId:data.clientId}});\n }\n }\n }\n\n refreshGrid(tableFilterParams:ApplicationTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Application\",\"ApplicationList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n resetFilters(){\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.selectedStatus = 0;\n this.showInactive = false;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"clientName\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:this.selectedStatus,Type:this.selectedType,ShowInactive:this.showInactive});\n }\n\n addApplication(){\n var rawLocation = {name:'Add Client',params:{id:\"0\",routerDisplayName:\"personal\"}} \n this.$router.push(rawLocation);\n }\n\n filterGrid(filterString:string){\n this.resetTable();\n this.resetButtonDisabled = false;\n this.filter = filterString;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:filterString,RelatedId:0,Status:this.selectedStatus,Type:this.selectedType,ShowInactive:this.showInactive});\n }\n\n resetTable(){\n this.sortBy = \"clientName\";\n (this.$refs.applicationTable as DataTable).reset();\n }\n\n loadApplicationTypes(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Application\",\"ApplicationTypes\",{}).then(response =>{\n this.typeList = response.data;\n this.loadApplicationStatus(this.typeList[0].value);\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n } \n\n loadApplicationStatus(type:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Application\",\"ApplicationStatus\",{type:type}).then(response =>{\n this.statusWithCountList = response.data.item1;\n this.statusWithoutCountList = response.data.item2;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onTypeChanged(){\n this.items = [];\n this.resetTable();\n this.loadApplicationStatus(this.selectedType);\n }\n\n onStatusChanged(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter,RelatedId:0,Status:this.selectedStatus,Type:this.selectedType,ShowInactive:this.showInactive});\n }\n\n onChangeResetButton(){\n this.resetTable();\n this.resetButtonDisabled = false;\n }\n\n onShowInactiveChanged(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter,RelatedId:0,Status:this.selectedStatus,Type:this.selectedType,ShowInactive:this.showInactive});\n }\n\n\n getStatusText(index){\n if(this.statusWithoutCountList[index]){\n return this.statusWithoutCountList[index].text\n }\n return \"\";\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationsList.vue?vue&type=template&id=7fd128eb\"\nimport script from \"./ApplicationsList.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationsList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationsList.vue?vue&type=style&index=0&id=7fd128eb&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showSetBrokerageReceivedDateModal)?_c('Modal',{attrs:{\"minHeight\":\"365px\",\"maxWidth\":\"400px\",\"centered\":\"\",\"id\":\"BrokerageReceivedDateModalConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Set Brokerage Received Date \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"lg\":\"12\",\"md\":\"12\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Brokerage Received Date'},on:{\"input\":function($event){return _vm.$v.selectedBrokerageReceivedDate.$touch()}},model:{value:(_vm.selectedBrokerageReceivedDate),callback:function ($$v) {_vm.selectedBrokerageReceivedDate=$$v},expression:\"selectedBrokerageReceivedDate\"}}),(_vm.$v.selectedBrokerageReceivedDate.$dirty && !_vm.$v.selectedBrokerageReceivedDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Brokerage Received date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"mt-3\",attrs:{\"sm\":\"12\",\"lg\":\"12\",\"md\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"markApplicationComplete\",\"disabled\":_vm.showBrokerageReceivedDateErrorMessage},model:{value:(_vm.shouldMarkApplicationsComplete),callback:function ($$v) {_vm.shouldMarkApplicationsComplete=$$v},expression:\"shouldMarkApplicationsComplete\"}},[_c('span',[_vm._v(\"Mark Application(s) as Completed\")])])],1)],1),(_vm.showBrokerageReceivedDateErrorMessage)?_c('b-row',[_c('b-col',{staticClass:\"mt-3 apex-text-error\",attrs:{\"sm\":\"12\",\"lg\":\"12\",\"md\":\"12\"}},[_c('p',[_c('i',{staticClass:\"fas fa-info-circle pr-2\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"Incomplete application(s) cannot be marked as Completed. Please untick applications with amber colour to enable the tickbox. \")])])],1):_vm._e()],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"BrokerageReceivedDateModalConf_CancelButton\"},on:{\"click\":_vm.onCancelSetBrokerageReceivedDate}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":_vm.brokerageReceivedDateInValid(),\"id\":\"BrokerageReceivedDateModalConf_OkButton\"},on:{\"click\":_vm.setBrokerageReceivedDate}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pb-2 pl-0 filter-input\",attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"2\"}},[_c('b-form-group',{attrs:{\"label\":_vm.DisplayMode == _vm.pendingReconciliationMode ? 'From Settlement Date': 'From Brokerage Received Date',\"label-for\":\"fromDate\"}},[_c('DatePicker',{attrs:{\"id\":\"fromDate\",\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":_vm.DisplayMode == _vm.pendingReconciliationMode ? 'From Settlement Date': 'From Brokerage Received Date',\"disabledDates\":_vm.disabledFromDates},on:{\"input\":_vm.fromDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"2\"}},[_c('b-form-group',{attrs:{\"label\":_vm.DisplayMode == _vm.pendingReconciliationMode ? 'To Settlement Date': 'To Brokerage Received Date',\"label-for\":\"toDate\"}},[_c('DatePicker',{attrs:{\"id\":\"toDate\",\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":_vm.DisplayMode == _vm.pendingReconciliationMode ? 'To Settlement Date': 'To Brokerage Received Date',\"disabledDates\":_vm.disabledToDates},on:{\"input\":_vm.toDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"2\"}},[_c('b-form-group',{attrs:{\"label\":\"Status\",\"label-for\":\"statusSelect\"}},[_c('multiselect',{attrs:{\"id\":\"statusSelect\",\"options\":_vm.appliationStatusList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"taggable\":false,\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"track-by\":\"value\",\"preselect-first\":false},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(_vm._s(values.length)+\" \"+_vm._s(values.length == 1 ? \"option\": \"options\")+\" selected\")]):_vm._e()]}}]),model:{value:(_vm.selectedApplicationStatuses),callback:function ($$v) {_vm.selectedApplicationStatuses=$$v},expression:\"selectedApplicationStatuses\"}},[_c('template',{slot:\"noResult\"},[_c('span',[_vm._v(\"No results.\")])])],2)],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"2\"}},[_c('b-form-group',{attrs:{\"label\":\"Assigned To\",\"label-for\":\"ownerSelect\"}},[_c('multiselect',{attrs:{\"id\":\"ownerSelect\",\"options\":_vm.assigneeList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"taggable\":false,\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"track-by\":\"value\",\"preselect-first\":false},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(_vm._s(values.length)+\" \"+_vm._s(values.length == 1 ? \"user\" : \"users\")+\" selected \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"click\":function($event){_vm.selecetedAssigneeList = [];}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selecetedAssigneeList),callback:function ($$v) {_vm.selecetedAssigneeList=$$v},expression:\"selecetedAssigneeList\"}},[_c('template',{slot:\"noResult\"},[_c('span',[_vm._v(\"No results.\")])])],2)],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 select-input\",class:{'select-input-small':_vm.DisplayMode == _vm.pendingReconciliationMode, 'select-input-large': _vm.DisplayMode == _vm.reconciledMode },attrs:{\"sm\":\"12\",\"md\":\"6\",\"lg\":\"1\"}},[_c('b-form-group',{attrs:{\"label\":_vm.DisplayMode == _vm.pendingReconciliationMode ? 'Group By (Settlement Date)': 'Group By (Brokerage Received Date)',\"label-for\":\"groupByDateOption\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput select-list selectListHeight\",attrs:{\"id\":\"groupByDateOption\",\"plain\":true,\"options\":_vm.groupByDateSelectList,\"required\":\"\"},model:{value:(_vm.groupByDateOption),callback:function ($$v) {_vm.groupByDateOption=$$v},expression:\"groupByDateOption\"}})],1)],1),_c('b-col',{staticClass:\"pr-0 pl-0 pb-2 filter\",attrs:{\"sm\":\"12\",\"md\":\"12\",\"lg\":\"\"}},[_c('b-form-group',[_c('label',{staticClass:\"lblbtnSearch\",attrs:{\"label-for\":\"btnsearch\"}},[_vm._v(\" \\n \")]),_c('b-button',{staticClass:\"mb-3 primary\",attrs:{\"id\":\"btnsearch\"},on:{\"click\":_vm.refreshGrid}},[_c('i',{staticClass:\"fas fa-search\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"  Filter\\n \")])],1)],1)],1),_c('b-row',{staticClass:\"top-button-row pb-3\"},[_c('b-col',{staticClass:\"pl-0 \",attrs:{\"sm\":\"12\",\"md\":\"12\"}},[(_vm.DisplayMode == _vm.pendingReconciliationMode)?_c('b-button',{staticClass:\"mb-3 primary mr-3\",attrs:{\"id\":\"search\",\"disabled\":_vm.selectedApplicationList.length == 0},on:{\"click\":_vm.onSetBrokerageReceivedDateBtnClicked}},[_vm._v(\"\\n Set Brokerage Received Date\\n \")]):_vm._e(),_c('b-dropdown',{staticClass:\"mb-3 \",attrs:{\"id\":\"ddGenerateReport\",\"text\":\"Export As\",\"disabled\":!_vm.items || _vm.items.length <= 0}},[_c('b-dropdown-item',{on:{\"click\":_vm.generateCSVReport}},[_vm._v(\"CSV\")]),_c('b-dropdown-item',{on:{\"click\":_vm.generatePDFReport}},[_vm._v(\"PDF\")])],1)],1)],1),_c('div',[_c('GroupedDataTable',{attrs:{\"items\":_vm.items,\"frontHeaderActionSlots\":_vm.frontHeaderActionSlots,\"fields\":_vm.fields,\"showHeaderTemplate\":true,\"showEmptyBanner\":true,\"emptyBanner\":\"No records to display.\"},scopedSlots:_vm._u([{key:\"actions\",fn:function(slotProps){return [_c('b-form-checkbox',{attrs:{\"id\":'item_id_' + slotProps.data.id},on:{\"change\":function($event){return _vm.onCheckBoxChanged(slotProps.data, $event)}}})]}},{key:\"applicationNameLink\",fn:function(slotProps){return [_c('router-link',{staticClass:\"primary-text\",attrs:{\"to\":{ name: 'Edit Finance Application', params: { id: slotProps.data.id,clientId:slotProps.data.clientId,routerDisplayName:_vm.routerDisplayName(slotProps.data.status)}},\"target\":\"_blank\"}},[_vm._v(_vm._s(slotProps.data.applicationName))])]}},{key:\"totalFinancedAmountText\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.data.totalFinancedAmount}})]}},{key:\"totalInvoicedAmountText\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.data.totalInvoicedAmount}})]}},{key:\"statusTrafficLight\",fn:function(slotProps){return [_c('span',{staticClass:\"dot cursor-pointer\",class:[(slotProps.data.mandatoryFieldsFilled)?'backgroundSuccess':'backgroundAmber'],attrs:{\"title\":slotProps.data.mandatoryFieldsFilled?'All the mandatory fields are filled':'Some mandatory fields are missing'}})]}},{key:\"headerSlot\",fn:function(slotProps){return [_vm._v(\"\\n Total Financed Amount : \"),_c('ApexCurrency',{attrs:{\"value\":slotProps.data.totalFinancedAmount}}),_vm._v(\"      Total Invoiced Amount : \"),_c('ApexCurrency',{attrs:{\"value\":slotProps.data.totalInvoicedAmount}})]}}])},[_c('template',{slot:\"header_groupedDateColumn\"},[_c('span',[_vm._v(_vm._s(_vm.searchedGroupByDateOption))])])],2)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport AppSettings from '@/app.config';\nimport apiService from '@/shared/services/apiService';\nimport lookupService from '@/shared/services/lookupService';\nimport GroupedDataTable from '@/shared/components/dataTable/GroupedDataTable.vue';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport moment from 'moment';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport {FileExtensionTypes} from '@/shared/enums/fileExtensionTypes.enum'\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\nimport { validationMixin } from 'vuelidate';\nimport { required} from 'vuelidate/lib/validators';\nimport {BrokerageReconciliationViewModes} from '@/shared/enums/viewModes.enum';\n\n@Component({\n mixins:[validationMixin],\n components: {\n GroupedDataTable, Modal\n },\n validations:{\n selectedBrokerageReceivedDate:{\n required\n }\n }\n})\nexport default class BrokerageReconciliation extends Vue {\n @Prop() DisplayMode:BrokerageReconciliationViewModes;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n fromDate:any = \"\";\n toDate:any = \"\";\n disabledFromDates:any ={};\n disabledToDates:any ={};\n applicationStatusList:any[] = [];\n selectedApplicationStatus:number = 0;\n groupByDateSelectList:any[] = [{text:\"Month\", value:\"month\"}, {text:\"Year\", value:\"year\"}];\n groupByDateOption:string = \"month\";\n searchedGroupByDateOption:string = \"\";\n totalRows:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"date\";\n sortDesc:boolean = true;\n items:any[] = [];\n fields = [\n {key: 'actions',label:'',useCustomHeader:false, isAction:true},\n {key: 'statusTrafficLight',label:'',sortable:'false',class:'width_5'},\n {key: 'settlementDate',label:'Settlement Date',useCustomHeader:false,class:'width_10', isAction:false, \n formatter: (value,key,item) => {\n return this.getDate(value);\n }\n },\n {key: 'applicationNameLink',label:'Application Name',useCustomHeader:false, isAction:true},\n {key: 'statusDisplayText',label:'Status',useCustomHeader:false,class:'width_10', isAction:false},\n {key: 'ownerName',label:'Owner',useCustomHeader:false,class:'width_10', isAction:false},\n {key: 'groupedDateColumn',label:'Year/Month',useCustomHeader:true,class:'width_10', isAction:false},\n {key: 'totalFinancedAmountText',label:'Total Financed Amount',useCustomHeader:false, class:'width_15 text-right', isAction:false},\n {key: 'totalInvoicedAmountText',label:'Total Invoiced Amount',useCustomHeader:false, class:'width_15 text-right', isAction:false},\n {key: 'brokeragePercentage',label:'Brokerage%',useCustomHeader:false, class:'width_10 text-right', isAction:false,\n formatter: (value, key, item) => {\n return parseFloat(value).toFixed(4) + '%';\n }\n }\n ];\n showEmptyBanner:boolean = false;\n frontHeaderActionSlots:any[] = [\"\"];\n selectedApplicationStatuses:any = [];\n appliationStatusList:any[] = [];\n includeWithBrokerageReceivedDate:boolean = false;\n defaultSelectedStatuses:number[] = [FinanceApplicationStates.SignatureAndSubmission , FinanceApplicationStates.LeaseAndEmployment,FinanceApplicationStates.Completed];\n stepNames:string[] = ['initialDetails','vehicleDetails','requestInvoice','reviseApplication','signatureAndSubmission','leaseAndEmployment'];\n selectedApplicationList:any[] = [];\n showSetBrokerageReceivedDateModal:boolean = false;\n selectedBrokerageReceivedDate:any = \"\";\n shouldMarkApplicationsComplete:boolean = false;\n assigneeList:any = [];\n selecetedAssigneeList:any = [];\n pendingReconciliationMode:BrokerageReconciliationViewModes = BrokerageReconciliationViewModes.Pending;\n reconciledMode:BrokerageReconciliationViewModes = BrokerageReconciliationViewModes.Reconciled;\n showBrokerageReceivedDateErrorMessage:boolean = false;\n\n created()\n {\n var promise1 = this.loadAssignees();\n var promise2 = this.loadApplicationStatusList();\n if(this.DisplayMode == BrokerageReconciliationViewModes.Reconciled)\n {\n this.fromDate = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), 1, 0, 0, 0));;\n this.toDate = this.todayDateUTC;\n var brokerageReceivedDateField = {key: 'brokerageReceivedDateDisplayText',label:'Brokerage Received Date',useCustomHeader:false,class:'width_10', isAction:false};\n this.fields.splice(3,0, brokerageReceivedDateField);\n }\n Promise.all([promise1, promise2]).then(response => {\n this.refreshGrid();\n });\n }\n \n loadAssignees()\n {\n return new Promise((resolve, reject) => {\n lookupService.GetStandardUserList().then(data => {\n this.assigneeList = data;\n this.selecetedAssigneeList = data.slice();\n resolve();\n });\n }); \n }\n\n loadApplicationStatusList()\n { \n return new Promise((resolve,reject) => {\n lookupService.GetFinanceApplicationStatusList().then(data =>{\n this.appliationStatusList = data.filter(obj => obj.value != 0); \n this.selectedApplicationStatuses = data.filter(obj=> obj.value != 0 && this.defaultSelectedStatuses.includes(obj.value)); \n resolve();\n });\n });\n }\n\n get SelectedApplicationStatusList()\n {\n return this.selectedApplicationStatuses.map(a => a.value);\n }\n \n get SelectedAssigneeList()\n {\n return this.selecetedAssigneeList.map(a => a.value);\n }\n\n fromDateChanged(){\n if(fieldValidations.isValidDate(this.fromDate)){\n var from = moment(this.fromDate).toDate();\n this.disabledToDates = {to:from};\n }\n else{\n this.disabledToDates = {};\n }\n }\n\n toDateChanged(){\n if(fieldValidations.isValidDate(this.toDate)){\n var to = moment(this.toDate).toDate();\n this.disabledFromDates = {from:to};\n }\n else{\n this.disabledFromDates = {};\n }\n }\n\n routerDisplayName(status){\n if(status>this.stepNames.length){ \n return this.stepNames[0];\n }\n return this.stepNames[status-1];\n }\n\n getDate(date){\n return date ? moment(date).format(\"DD MMM YYYY\"):\"\";\n }\n\n getGroupByDateColumn(value)\n {\n return this.groupByDateOption == \"year\" ? value.settlementDateYear : value.settlementDateMonth;\n }\n \n onCheckBoxChanged(item, value)\n {\n if(value)\n {\n this.selectedApplicationList.push(item.id);\n this.showBrokerageReceivedDateErrorMessage = this.showBrokerageReceivedDateErrorMessage || !item.mandatoryFieldsFilled;\n }\n else\n {\n var index = this.selectedApplicationList.findIndex(obj => obj == item.id);\n this.selectedApplicationList.splice(index, 1);\n this.showBrokerageReceivedDateErrorMessage = false;\n for(var i = 0; i < this.selectedApplicationList.length; i++){\n var application = this.items.find(obj => obj.id == this.selectedApplicationList[i]);\n if(application){\n this.showBrokerageReceivedDateErrorMessage = this.showBrokerageReceivedDateErrorMessage || !application.mandatoryFieldsFilled;\n }\n if(this.showBrokerageReceivedDateErrorMessage){\n break;\n }\n }\n }\n }\n\n brokerageReceivedDateInValid()\n {\n return this.$v.selectedBrokerageReceivedDate.$invalid;\n }\n\n setBrokerageReceivedDate()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n applicationListIds : this.selectedApplicationList,\n brokerageReceivedDate : this.selectedBrokerageReceivedDate,\n setApplicationsComplete : this.shouldMarkApplicationsComplete\n }\n apiService.sendPostRequest(\"Application\",\"SetFinanceApplicationBrokerageReceivedDate\",params).then(response => {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.selectedApplicationList = [];\n this.refreshGrid();\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n } \n this.selectedBrokerageReceivedDate = \"\";\n this.$v.selectedBrokerageReceivedDate.$reset();\n this.showSetBrokerageReceivedDateModal = false; \n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n refreshGrid()\n {\n this.includeWithBrokerageReceivedDate = this.DisplayMode == BrokerageReconciliationViewModes.Reconciled;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n var tableFilterParams = {FromIndex:0,Count:this.perPage,RelatedId:0,Status:null,FromDate:from,ToDate:to, GroupByDateOption:this.groupByDateOption, \n IncludeWithBrokerageReceivedDate: this.includeWithBrokerageReceivedDate,StatusList: this.SelectedApplicationStatusList,\n AssigneeList:this.SelectedAssigneeList, SortBy:\"\",SortDesc:true,SearchByString:\"\"}\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Application\",\"BrokerageReconciliationFinanceApplicationsList\",tableFilterParams).then(response => {\n this.searchedGroupByDateOption = tableFilterParams.GroupByDateOption == 'year' ? \"Year\" : \"Month\";\n this.items = [];\n this.selectedApplicationList = [];\n this.selectedApplicationList\n this.$nextTick(() => {\n this.items = response.data.resultDto;\n });\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n generateCSVReport(){\n this.generateReport(FileExtensionTypes.CSV);\n }\n\n generatePDFReport(){\n this.generateReport(FileExtensionTypes.PDF);\n }\n\n generateReport(type:FileExtensionTypes){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null; \n var tableFilterParams = {fromIndex:0,count:this.perPage,relatedId:0,status:null,fromDate:from,toDate:to, groupByDateOption:this.groupByDateOption, \n includeWithBrokerageReceivedDate: this.includeWithBrokerageReceivedDate,statusList: this.SelectedApplicationStatusList.join(),\n AssigneeList:this.SelectedAssigneeList.join(), sortBy:\"\",sortDesc:true,searchByString:\"\"}\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {\n FilterParams:tableFilterParams,\n FileType:type\n }\n apiService.sendPostRequest(\"Application\",\"FinanceApplicationBrokerageReconciliationReport\",params).then(response => \n {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\"\",false);\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onSetBrokerageReceivedDateBtnClicked(){\n if(!this.showBrokerageReceivedDateErrorMessage){\n this.shouldMarkApplicationsComplete = true; \n }\n this.showSetBrokerageReceivedDateModal = true;\n }\n\n onCancelSetBrokerageReceivedDate(){\n this.selectedBrokerageReceivedDate = '';\n this.$v.selectedBrokerageReceivedDate.$reset(); \n this.showSetBrokerageReceivedDateModal = false;\n this.shouldMarkApplicationsComplete = false;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrokerageReconcilation.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BrokerageReconcilation.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BrokerageReconcilation.vue?vue&type=template&id=46e7a285\"\nimport script from \"./BrokerageReconcilation.vue?vue&type=script&lang=ts\"\nexport * from \"./BrokerageReconcilation.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BrokerageReconcilation.vue?vue&type=style&index=0&id=46e7a285&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport apiService from '@/shared/services/apiService';\nimport ApplicationSummary from '@/components/admin/applications/financeApplication/ApplicationSummary.vue';\nimport ApplicationsList from '@/components/admin/applications/financeApplication/ApplicationsList.vue';\nimport BrokerageReconcilation from '@/components/admin/applications/financeApplication/BrokerageReconcilation.vue';\nimport Modal from '@/shared/components/modal/Modal.vue'\nimport ClientsList from '@/components/admin/clientManagement/ClientsList.vue';\nimport {BrokerageReconciliationViewModes, ClientsListViewModes} from '@/shared/enums/viewModes.enum';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n ApplicationSummary,\n ApplicationsList,\n BrokerageReconcilation,\n Modal,\n ClientsList\n }\n }\n)\nexport default class ApplicationDetails extends Vue{\n @Prop() RouteName:any;\n\n clientId:number = 0;\n selectedTabRouteName:string = 'summary';\n dirtyValidationRefNumbers:number[] =[0,0];\n dirtyValidationConfirmation:boolean = false;\n routeName:string = \"Finance Application\";\n defaultApplicationStatus:number = 0;\n showSelectClientPopup:boolean = false;\n hideFooter:boolean = true;\n pendingReconciliationMode:BrokerageReconciliationViewModes = BrokerageReconciliationViewModes.Pending;\n reconciledMode:BrokerageReconciliationViewModes = BrokerageReconciliationViewModes.Reconciled;\n modalModeClientListView:ClientsListViewModes = ClientsListViewModes.ModalMode;\n\n created(){\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n }\n \n onClientSelect(item:any){\n this.showSelectClientPopup = false;\n let route = this.$router.resolve({name:'Edit Finance Application',params:{id:\"0\",routerDisplayName:\"initialDetails\",clientId:item.id.toString()}});\n window.open(route.href,'_blank');\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationDetails.vue?vue&type=template&id=3aabb928&scoped=true\"\nimport script from \"./ApplicationDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationDetails.vue?vue&type=style&index=0&id=3aabb928&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3aabb928\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":_vm.routeName}},[_c('Tab',{attrs:{\"name\":\"Summary\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"summary\"}},[_c('ApplicationSummary')],1),_c('Tab',{attrs:{\"name\":\"Applications List\",\"index\":1,\"routerDisplayName\":\"applicationsList\",\"queryData\":_vm.queryData}},[_c('ApplicationsList',{attrs:{\"DefaultApplicationStatus\":_vm.defaultApplicationStatus}})],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"pb-2\"},[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"2\",\"lg\":\"3\",\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"showInactiveCheckbox\"},on:{\"input\":_vm.onShowInactiveChanged},model:{value:(_vm.showInactive),callback:function ($$v) {_vm.showInactive=$$v},expression:\"showInactive\"}},[_c('span',[_vm._v(\"Show Inactive Statuses\")])])],1)],1),_c('DataTable',{ref:\"applicationSummaryTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"select-mode\":\"single\",\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No details to display.\",\"selectable\":true},on:{\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Pending Finance Application Summary\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\n\n@Component\n(\n {\n components: {\n DataTable\n },\n computed:{\n offsetClass(){\n return { 'offset-md-3':(this.selectedStatus < 0 || this.selectedStatus > 0),'offset-lg-4':(this.selectedStatus < 0 || this.selectedStatus > 0)}\n }\n }\n }\n)\nexport default class ApplicationSummary extends Vue{\n items:any = [];\n fields = [\n {key: 'statusName', label: 'Status'},\n {key: 'count',class:'text-right'},\n ];\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n showEmptyBanner:boolean = true;\n showInactive:boolean = false;\n \n mounted(){\n this.loadApplicationSummary();\n }\n\n //Assign an id to item because response not contains id to distinguish selected row, which is used by our internal logic to find a selected row\n attachIdWithItem(){\n if(this.items && this.items.length > 0) {\n let counter = 0;\n this.items.forEach(item => {\n if( item.id == undefined || item.id == null || item.id == 0 ){\n item.id = ++ counter;\n }\n });\n }\n }\n\n loadApplicationSummary(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"ClientFinanceApplication\",\"ClientFinanceApplicationSummary\",{ showInactive:this.showInactive }).then(response =>{\n this.items = response.data;\n this.attachIdWithItem();\n this.totalRows = response.data.length;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){\n this.$store.dispatch('storeSelectedStatusValue',data.status);\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'applicationsList'}});\n }\n }\n\n onShowInactiveChanged(){\n this.loadApplicationSummary();\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationSummary.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationSummary.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationSummary.vue?vue&type=template&id=c971f48e\"\nimport script from \"./ApplicationSummary.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationSummary.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationSummary.vue?vue&type=style&index=0&id=c971f48e&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"search pl-0\",attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 pb-2\",attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput status-filter selectListHeight\",attrs:{\"id\":\"clientApplicationStatusFilter\",\"plain\":true,\"options\":_vm.statusWithCountList,\"required\":\"\"},on:{\"change\":_vm.onChangeResetButton,\"input\":_vm.onStatusChanged},model:{value:(_vm.selectedStatus),callback:function ($$v) {_vm.selectedStatus=$$v},expression:\"selectedStatus\"}},[(_vm.selectedStatus == -1)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":-1}},[_vm._v(\"-- Please select --\")])]):_vm._e()],2)],1),(_vm.selectedStatus == 0)?_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"3\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"showInactiveCheckbox\"},on:{\"input\":_vm.onShowInactiveChanged,\"change\":_vm.onChangeResetButton},model:{value:(_vm.showInactive),callback:function ($$v) {_vm.showInactive=$$v},expression:\"showInactive\"}},[_c('span',[_vm._v(\"Show Inactive Applications\")])])],1):_vm._e(),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1)],1),_c('DataTable',{ref:\"clientFinanceApplicationTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"selectable\":true,\"selectMode\":\"single\",\"trClass\":_vm.trClass,\"showEmptyBanner\":_vm.showEmptyBanner,\"customTemplates\":_vm.customTemplateList,\"emptyBanner\":\"No applications to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent,\"onSortingChanged\":_vm.onSortingChange}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Pending Finance Applications\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.onShowSubmittedToBankModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"SubmittedToBankConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Submitted to Bank\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to change the status of the client finance application to Awaiting Financier Approval?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"SubmittedToBankConf_CancelButton\"},on:{\"click\":function($event){_vm.onShowSubmittedToBankModal = false;}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"SubmittedToBankConf_OkButton\"},on:{\"click\":_vm.onSubmittedToBankCFA}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.item.status == _vm.readyForSubmissionStatus)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":\"Submitted to Bank\"},on:{\"click\":_vm.onClickSubmittedToBank}},[_c('i',{staticClass:\"fas fa-file-invoice-dollar bank-submit-button grid-large-icon\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport apiService from '@/shared/services/apiService';\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\n\n@Component(\n {\n components: {\n Modal\n }\n }\n)\n\nexport default class ApplicationListActionButtons extends Vue{\n @Prop() item:any \n onShowSubmittedToBankModal:boolean = false;\n readyForSubmissionStatus:ClientFinanceApplicationStates = ClientFinanceApplicationStates.ReadyForSubmission;\n\n onClickSubmittedToBank(){\n this.onShowSubmittedToBankModal = true;\n }\n\n onSubmittedToBankCFA(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPutRequest('ClientFinanceApplication','BankSubmitClientFinanceApplication',this.item.id).then(response=>{\n if(response.data.isSuccess)\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n this.$router.push({name:'Client Finance Application',params:{routerDisplayName:'summary'}});\n });\n }\n\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationsListActionButtons.vue?vue&type=template&id=464af666&scoped=true\"\nimport script from \"./ApplicationsListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationsListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationsListActionButtons.vue?vue&type=style&index=0&id=464af666&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"464af666\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {ApplicationTableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport moment from 'moment';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport { ClientFinanceApplicationStates} from '@/shared/enums/clientFinanceApplicationStates.enum'\nimport ApplicationListActionButtons from '@/components/admin/applications/clientFinanceApplication/ApplicationsListActionButtons.vue';\nimport Filtrations from '@/shared/filtrations';\n\n@Component\n(\n {\n components: {\n DataTable,\n FilterTextInput,\n ApplicationListActionButtons\n },\n computed:{\n offsetClass(){\n return { 'offset-md-4':(this.selectedStatus < 0 || this.selectedStatus > 0),'offset-lg-5':(this.selectedStatus < 0 || this.selectedStatus > 0)}\n }\n }\n }\n)\nexport default class ApplicationsList extends Vue{\n @Prop() DefaultApplicationStatus:any;\n \n @Watch('DefaultApplicationStatus')\n onApplicationStatusChanged(val: any, oldVal: any)\n {\n this.selectedStatus = val; \n }\n\n items:any = [];\n fields = [\n {key: 'clientName',sortable:'true',class:'width_20'},\n {key: 'arn', label:\"ARN\",class:'width_15'},\n {key: 'statusText', label:\"Status\",sortable:'true',class:'width_15'},\n {key:'lastUpdatedBy',sortable:'true',class:'width_15'},\n {key: 'lastUpdatedDate',sortable:'true',class:'width_15',\n formatter: (value, key, item) => {\n return moment(item.lastUpdatedDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'actions',label:\"\",class:'text-center width_10'} \n ];\n customTemplateList:Array = [ {slot:\"actions\",customTemplate:ApplicationListActionButtons}]\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"clientName\";\n filter:string = \"\";\n sortDesc:boolean = false;\n showEmptyBanner:boolean = true;\n selectedStatus:number = -1;\n selectedType:number = 1;\n typeList:any[] = [];\n statusWithoutCountList:any[] = [];\n statusWithCountList:any[] = [];\n showInactive:boolean = false;\n showGrid:boolean = false;\n resetButtonDisabled:boolean = true;\n stepNames:string[] = ['personalDetails','address','employment','income','assets','liabilities','motorVehicleDetailsAndFinancedAmount','changeInCircumstances'];\n\n mounted(){\n this.selectedStatus = this.$store.getters.getSelectedStatus;\n if(this.selectedStatus > 0){\n this.$store.dispatch('storeSelectedStatusValue',0);\n }\n this.loadApplicationStatusList();\n if(Object.keys(this.$route.query).length > 0) {\n this.validateAndAssignQueryParams();\n }\n }\n\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:this.selectedStatus,Type:0,ShowInactive:this.showInactive});\n }\n\n onSortingChange(ctx:any){\n if(ctx.sortBy){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:this.selectedStatus,Type:0,ShowInactive:this.showInactive});\n }\n }\n \n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.RowSelect){ \n if(data.status != ClientFinanceApplicationStates.InformationQueried && data.status != ClientFinanceApplicationStates.DocumentQueried){ \n var queryData = {};\n if (this.filter != \"\") {\n queryData[Filtrations.APPLICATION_FILTER] = this.filter;\n }\n if (this.selectedStatus != -1){\n queryData[Filtrations.APPLICATION_STATUS] = this.selectedStatus;\n }\n if (this.showInactive){\n queryData[Filtrations.APPLICATION_SHOW_INACTIVE] = this.showInactive;\n }\n var routerDisplayName = data.status>this.stepNames.length ? this.stepNames[0] :this.stepNames[data.status-1];\n this.$router.push({ name: 'Edit Client Finance Application', params: { id: data.id,routerDisplayName:routerDisplayName,clientId:data.clientId}, query : queryData});\n }\n }\n }\n\n refreshGrid(tableFilterParams:ApplicationTableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"ClientFinanceApplication\",\"ClientFinanceApplicationList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n resetFilters(){\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.selectedStatus = 0;\n this.showInactive = false;\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"clientName\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,Status:this.selectedStatus,Type:0,ShowInactive:this.showInactive});\n }\n\n\n filterGrid(filterString:string){\n this.resetTable();\n this.resetButtonDisabled = false;\n this.filter = filterString;\n this.updateURL();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:filterString,RelatedId:0,Status:this.selectedStatus,Type:0,ShowInactive:this.showInactive});\n }\n\n resetTable(){\n this.sortBy = \"clientName\";\n (this.$refs.clientFinanceApplicationTable as DataTable).reset();\n } \n\n loadApplicationStatusList(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest('ClientFinanceApplication','ClientFinanceApplicationStatuses').then(response=> {\n if(response.data)\n {\n this.statusWithCountList = response.data.item1;\n this.statusWithoutCountList = response.data.item2;\n }\n });\n this.$store.dispatch('storeIsBusyValue',false);\n }\n\n onStatusChanged(){\n this.updateURL();\n (this.$refs.clientFinanceApplicationTable as DataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter,RelatedId:0,Status:this.selectedStatus,Type:0,ShowInactive:this.showInactive});\n }\n\n onShowInactiveChanged(){\n this.updateURL();\n (this.$refs.clientFinanceApplicationTable as DataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter,RelatedId:0,Status:this.selectedStatus,Type:0,ShowInactive:this.showInactive});\n }\n\n onChangeResetButton(){\n this.resetTable();\n this.resetButtonDisabled = false;\n }\n\n validateAndAssignQueryParams(){\n let applicationFilter = this.$route.query[Filtrations.APPLICATION_FILTER];\n let applicationStatus = this.$route.query[Filtrations.APPLICATION_STATUS] ? this.$route.query[Filtrations.APPLICATION_STATUS] : 0;\n let applicationShowInactive = this.$route.query[Filtrations.APPLICATION_SHOW_INACTIVE] ? this.$route.query[Filtrations.APPLICATION_SHOW_INACTIVE] : false;\n this.filter = applicationFilter ? String(applicationFilter) : \"\";\n if(this.filter != \"\" || this.selectedStatus != +applicationStatus || applicationShowInactive) {\n this.resetButtonDisabled = false;\n };\n this.selectedStatus = applicationStatus != 0 ? +applicationStatus : 0;\n this.showInactive = this.$route.query[Filtrations.APPLICATION_SHOW_INACTIVE] ? true : false;\n this.$nextTick(()=>{\n (this.$refs.filterTextInput as FilterTextInput).filter = applicationFilter ? String(applicationFilter) : \"\"\n });\n }\n\n updateURL(){\n let qp = new URLSearchParams();\n if(this.filter != \"\") qp.set(Filtrations.APPLICATION_FILTER, this.filter);\n if(this.selectedStatus != -1) qp.set(Filtrations.APPLICATION_STATUS, String(this.selectedStatus));\n if(this.showInactive) qp.set(Filtrations.APPLICATION_SHOW_INACTIVE, String(this.selectedStatus));\n history.replaceState(null, null, \"?\"+qp.toString());\n }\n\n trClass(item){\n if(item.status == ClientFinanceApplicationStates.InformationQueried || item.status == ClientFinanceApplicationStates.DocumentQueried){\n return 'tr-row-non-selectable';\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationsList.vue?vue&type=template&id=4e0c8ab7\"\nimport script from \"./ApplicationsList.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationsList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationsList.vue?vue&type=style&index=0&id=4e0c8ab7&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport ApplicationSummary from '@/components/admin/applications/clientFinanceApplication/ApplicationSummary.vue';\nimport ApplicationsList from '@/components/admin/applications/clientFinanceApplication/ApplicationsList.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n ApplicationSummary,\n ApplicationsList,\n }\n }\n)\nexport default class ApplicationDetails extends Vue{\n @Prop() RouteName:any;\n\n clientId:number = 0;\n selectedTabRouteName:string = 'summary';\n dirtyValidationRefNumbers:number[] =[0,0];\n dirtyValidationConfirmation:boolean = false;\n routeName:string = \"Client Finance Application\";\n defaultApplicationStatus:number = 0;\n queryData:any = {};\n\n created(){\n if(Object.keys(this.$route.query).length > 0) {\n this.queryData = this.$route.query;\n }\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ApplicationDetails.vue?vue&type=template&id=003870fb&scoped=true\"\nimport script from \"./ApplicationDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./ApplicationDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ApplicationDetails.vue?vue&type=style&index=0&id=003870fb&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"003870fb\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"md\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{staticClass:\"header cursor-pointer\",attrs:{\"slot\":\"header\"},on:{\"click\":function($event){return _vm.navigateDashboard()}},slot:\"header\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"text-muted text-uppercase db-item-name displayNameText\"},[_vm._v(_vm._s(_vm.year)+\" \"+_vm._s(_vm.vehicleName))]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go to dashboard\"}},[_c('i',{staticClass:\"cui-chevron-left\"})])])],1)],1),_c('b-card-body',[_c('b-row',[_c('b-col',{staticClass:\"current-novation-widget\",attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('CurrentNovationWidget',{attrs:{\"vehicleId\":this.vehicleID}})],1),(_vm.leaseType == _vm.novatedFullyMaintained)?_c('b-col',{staticClass:\"current-lease-widget\",attrs:{\"md\":\"6\",\"sm\":\"12\"}},[_c('CurrentLeaseWidget',{attrs:{\"vehicleId\":this.vehicleID}})],1):_vm._e()],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('ExpenseClaimsWidget',{attrs:{\"leaseActive\":_vm.hasActiveLease,\"vehicleId\":_vm.vehicleID}})],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('ScheduledPaymentsWidget',{attrs:{\"vehicleId\":this.vehicleID}})],1)],1),_c('b-row',[(_vm.vehicleID > 0)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('MyExpensesWidget',{attrs:{\"vehicleId\":_vm.vehicleID}})],1):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"card card-widget-active\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.goToSchedule}},[_c('div',{staticClass:\"card-header content-center text-white p-0\"},[_vm._t(\"default\",function(){return [_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name widgetHeaderText text-left\"},[_vm._v(\"Current Lease\")])]})],2),_vm._t(\"body\",function(){return [(_vm.busy)?_c('CRow',[_c('CCol',[_c('WidgetBusyIndicator',{attrs:{\"busy\":_vm.busy}})],1)],1):_c('div',{staticClass:\"card-body cl-widget\"},[(_vm.data)?_c('CRow',{staticClass:\"text-center\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-muted text-uppercase widgetLeaseTrackerText text-left\"},[_vm._v(\"Lease Payment Tracker\")]),_c('CRow',[_c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"text-value-lg\"},[(_vm.data)?_c('ApexCurrency',{attrs:{\"value\":_vm.data.leasePaymentAmount}}):_vm._e()],1),_c('div',{staticClass:\"text-uppercase text-muted small text-footer\"},[_vm._v(\"\\n Lease Payment Amount\\n \")])]),_c('div',{staticClass:\"c-vr\"}),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-value-lg\"},[_vm._v(\"\\n \"+_vm._s(_vm.data? _vm.data.nextLeasePaymentDate : '')+\"\\n \")]),_c('div',{staticClass:\"text-uppercase text-muted small text-footer\"},[_vm._v(\"\\n Next Lease Payment Date\\n \")])])]),_c('CRow',[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"progress-percentage\"},[_vm._v(_vm._s(_vm.data? _vm.getProgressPercentageLabel(): ''))]),_c('div',{staticClass:\"text-uppercase text-muted progress-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.data ? _vm.data.matchedTransactions : 0)+\" Months of \"+_vm._s(_vm.data ? _vm.data.totalTransactions : 0)+\" Months\\n \")]),_vm._t(\"default\",function(){return [_c('CProgress',{staticClass:\"progress-xs my-2\",attrs:{\"value\":_vm.data? _vm.progressPercentageValue : 0}})]})],2)])],1),_c('div',{staticClass:\"c-vr\"}),_c('div',{staticClass:\"col\"},[_c('CRow',{staticClass:\"residual-body\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"residual-text\"},[_vm._v(\"\\n \"+_vm._s(_vm.data? _vm.data.residualDueDate : '')+\"\\n \")]),_c('div',{staticClass:\"text-uppercase text-muted small text-footer\"},[_vm._v(\"\\n Residual Due Date\\n \")])]),_c('div',{staticClass:\"c-vr\"}),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"residual-text\"},[(_vm.data)?_c('ApexCurrency',{attrs:{\"value\":_vm.data.residualAmount}}):_vm._e()],1),_c('div',{staticClass:\"text-uppercase text-muted small text-footer\"},[_vm._v(\"\\n Residual Due Amount\\n \")])])])],1)]):_vm._e(),(!_vm.data)?_c('CRow',[_c('CCol',[_c('div',{staticClass:\"text-muted lease-available text-center\"},[_vm._v(\"No available lease found\")])])],1):_vm._e()],1)]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from \"vue-property-decorator\";\nimport apiService from \"@/shared/services/apiService\";\nimport WidgetBusyIndicator from \"@/shared/components/busyIndicator/WidgetBusyIndicator.vue\";\nimport {CRow, CCol, CProgress} from \"@coreui/vue\";\n\n@Component({\n components: {\n WidgetBusyIndicator,\n CRow, CCol, CProgress\n }\n})\nexport default class CurrentLeaseWidget extends Vue {\n @Prop() vehicleId: number;\n vehicleID: number = 0;\n leaseID: number =0;\n busy: boolean = true;\n data: any = {};\n progressPercentageValue:number = 0;\n\n created() {\n this.vehicleID = this.vehicleId;\n this.loadWidgetData();\n }\n\n loadWidgetData() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendGetRequest(\"Utility\", \"LeasePaymentTrackerWidget\", {vehicleId: this.vehicleId}).then(response => {\n this.data = response.data;\n this.busy = false;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n getProgressPercentageLabel() {\n if (this.data && this.data.totalTransactions > 0) {\n this.progressPercentageValue = ((this.data.matchedTransactions / this.data.totalTransactions) * 100);\n return this.progressPercentageValue.toFixed(0).toString() + \"%\";\n }\n return \"0%\";\n } \n\n goToSchedule() {\n if (this.data && this.data.leaseId){\n this.leaseID = this.data.leaseId;\n this.$router.push({name:'Client Lease Schedule', params:{vehicleID:this.vehicleID.toString(),leaseID:this.leaseID.toString()}});\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CurrentLeaseWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CurrentLeaseWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CurrentLeaseWidget.vue?vue&type=template&id=4d483e5a&scoped=true\"\nimport script from \"./CurrentLeaseWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./CurrentLeaseWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CurrentLeaseWidget.vue?vue&type=style&index=0&id=4d483e5a&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4d483e5a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"card card-widget-active\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.onClickNovationReports}},[_c('div',{staticClass:\"card-header content-center text-white p-0\"},[_vm._t(\"default\",function(){return [_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name widgetHeaderText text-left\"},[_vm._v(\"Current Novation\")])]})],2),_vm._t(\"body\",function(){return [(_vm.busy)?_c('CRow',[_c('CCol',[_c('WidgetBusyIndicator',{attrs:{\"busy\":_vm.busy}})],1)],1):_c('div',{staticClass:\"card-body cn-widget current-novation-widget-body space\"},[(_vm.data)?_c('CRow',{staticClass:\"text-center\"},[_c('CCol',[_c('div',{staticClass:\"text-value-lg\"},[_vm._v(\"\\n \"+_vm._s(_vm.data? _vm.data.employer: '')+\"\\n \")]),_c('div',{staticClass:\"text-uppercase text-muted small text-footer\"},[_vm._v(\"\\n Entity\\n \")])]),_c('div',{staticClass:\"c-vr\"}),_c('CCol',[_c('div',{staticClass:\"text-value-lg\"},[_vm._v(\"\\n \"+_vm._s(_vm.data ? _vm.data.startDate: '')+\"\\n \")]),_c('div',{staticClass:\"text-uppercase text-muted small text-footer\"},[_vm._v(\"\\n Novation Start Date\\n \")])]),_c('div',{staticClass:\"c-vr\"}),_c('CCol',[_c('div',{staticClass:\"text-value-lg\"},[(_vm.data)?_c('ApexCurrency',{attrs:{\"value\":_vm.data.availableBalance}}):_vm._e()],1),_c('div',{staticClass:\"text-uppercase text-muted small text-footer\"},[_vm._v(\"\\n Balance\\n \")])])],1):_vm._e(),(!_vm.data)?_c('CRow',[_c('CCol',[_c('div',{staticClass:\"text-muted novation-available text-center\"},[_vm._v(\"No available novation found\")])])],1):_vm._e()],1)]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport WidgetBusyIndicator from \"@/shared/components/busyIndicator/WidgetBusyIndicator.vue\";\r\nimport {CRow, CCol} from \"@coreui/vue\";\r\n\r\n@Component({\r\n components: {\r\n WidgetBusyIndicator,\r\n CRow, CCol\r\n }\r\n})\r\nexport default class CurrentNovationWidget extends Vue {\r\n @Prop() vehicleId: number;\r\n vehicleID: number = 0;\r\n showProgress: boolean = true;\r\n busy: boolean = true;\r\n data: any = {};\r\n novationId:number= 0;\r\n\r\n created() {\r\n this.vehicleID = this.vehicleId;\r\n this.loadNovationDetailsByVehicleID();\r\n }\r\n\r\n loadNovationDetailsByVehicleID() {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n var params = { vehicleId: this.vehicleID };\r\n apiService.sendGetRequest(\"Novation\", \"NovationByVehicleID\", params).then(response => {\r\n this.data = response.data;\r\n this.busy = false;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n onClickNovationReports() {\r\n if (this.data && this.data.novationId){\r\n this.novationId = this.data.novationId;\r\n this.$router.push({name:'Client Novation', params:{vehicleID:this.vehicleID.toString(),novationID:this.novationId.toString(),routerDisplayName:\"ledger\"}});\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CurrentNovationWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CurrentNovationWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./CurrentNovationWidget.vue?vue&type=template&id=0ea7edcc&scoped=true\"\nimport script from \"./CurrentNovationWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./CurrentNovationWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./CurrentNovationWidget.vue?vue&type=style&index=0&id=0ea7edcc&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0ea7edcc\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header-style content-left text-white p-0\"},[_vm._t(\"default\",function(){return [_c('CRow',[_c('CCol',{attrs:{\"md\":\"12\",\"lg\":\"6\"}},[(_vm.isFBTPeriodAvailable)?_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name widgetHeaderText text-left\"},[_vm._v(\"Expenses for \"+_vm._s(_vm.fromYear())+\" - \"+_vm._s(_vm.toYear())+\" FBT Period\")]):_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name widgetHeaderText text-left\"},[_vm._v(\"FBT period is unavailable\")])]),_c('CCol',{attrs:{\"md\":\"12\",\"lg\":\"6\"}},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"w-100 m-1 p-2\"},[(!_vm.showEmptyBanner)?_c('b-progress',{attrs:{\"height\":\"12px\"}},[_c('b-progress-bar',{staticClass:\"year-progress-bar\",attrs:{\"value\":_vm.yearPercentage(),\"max\":100,\"label\":_vm.progressBarLable(),\"show-progress\":_vm.showProgress}})],1):_vm._e()],1)])])],1)]})],2),_vm._t(\"body\",function(){return [(_vm.busy)?_c('CRow',[_c('CCol',[_c('WidgetBusyIndicator',{attrs:{\"busy\":_vm.busy}})],1)],1):_c('div',{staticClass:\"card-body\"},[_c('CRow',{staticClass:\"pb-2\"},[_c('CCol',[(_vm.previousEndDate != null)?_c('span',{staticClass:\"navigation-year cursor-pointer\",on:{\"click\":_vm.goToPreviousYear}},[_c('span',{attrs:{\"title\":\"Go to previous year\"}},[_c('i',{staticClass:\"cui-chevron-left\"})]),_c('span',[_vm._v(\"\\n Previous Year\\n \")])]):_vm._e()]),_c('CCol',{staticClass:\"navigation-year\"},[(_vm.nextStartDate != null)?_c('span',{staticClass:\"cursor-pointer float-right\",on:{\"click\":_vm.goToNextYear}},[_c('span',{staticClass:\"mb-1\"},[_vm._v(\"\\n Next Year\\n \")]),_c('span',{attrs:{\"title\":\"Go to previous year\"}},[_c('i',{staticClass:\"cui-chevron-right\"})])]):_vm._e()])],1),_c('CRow',{staticClass:\"mt-3\"},[_c('CCol',{attrs:{\"cols\":\"12\"}},[_c('DataTable',{ref:\"expensesTable\",attrs:{\"id\":\"expenseTableId\",\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"customTemplateSlots\":['budget', 'actualAmount', 'difference'],\"customHeaderTemplates\":_vm.customHeaderTemplateList,\"emptyBanner\":\"No vehicle details to display.\",\"showEmptyBanner\":_vm.showEmptyBanner},scopedSlots:_vm._u([{key:\"budget\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.budget}})]}},{key:\"actualAmount\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.actualAmount}})]}},{key:\"difference\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.budget - slotProps.item.actualAmount}})]}}])})],1)],1)],1)]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',[_vm._v(\"Spent \"),_c('i',{staticClass:\"fas fa-info-circle text-info cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":_vm.data.title}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\nimport { Component, Vue, Prop} from 'vue-property-decorator';\n\n@Component\nexport default class ActualSpentAmountCustomHeader extends Vue{\n @Prop() data:any;\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActualSpentAmountCustomHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActualSpentAmountCustomHeader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ActualSpentAmountCustomHeader.vue?vue&type=template&id=e254ecac&scoped=true\"\nimport script from \"./ActualSpentAmountCustomHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./ActualSpentAmountCustomHeader.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e254ecac\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-progress',{attrs:{\"height\":\"20px\"}},[_c('b-progress-bar',{class:[(_vm.item.actualAmount > _vm.item.budget)?'progress-bar-overbudget':'progress-bar-underbudget'],attrs:{\"value\":_vm.item? _vm.item.actualAmount : 0,\"max\":_vm.item? (_vm.item.budget && _vm.item.budget > 0 ? _vm.item.budget :1) : 1,\"label\":_vm.getLabel,\"show-progress\":_vm.showProgress}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\n@Component\nexport default class BudgetPercentage extends Vue{\n @Prop() item:any;\n showProgress:boolean = true;\n\n get getLabel(){\n if(this.item && this.item.budget > 0){\n return ((this.item.actualAmount/this.item.budget)*100).toFixed(0).toString() + '%';\n }\n return ' ';\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetPercentage.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetPercentage.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./BudgetPercentage.vue?vue&type=template&id=0245c5c8&scoped=true\"\nimport script from \"./BudgetPercentage.vue?vue&type=script&lang=ts\"\nexport * from \"./BudgetPercentage.vue?vue&type=script&lang=ts\"\nimport style0 from \"./BudgetPercentage.vue?vue&type=style&index=0&id=0245c5c8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0245c5c8\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport WidgetBusyIndicator from '@/shared/components/busyIndicator/WidgetBusyIndicator.vue';\nimport ActialSpentAmountCustomHeader from '@/components/client/widgets/ActualSpentAmountCustomHeader.vue';\nimport apiService from '@/shared/services/apiService';\nimport {TableTemplate, TableHeaderTemplate} from '@/models/tableCustomTemplate.model';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport BudgetPercentage from './BudgetPercentage.vue'\nimport { ApexDateFormat } from '@/filters/dateFilter';\nimport moment from 'moment';\nimport {CRow, CCol} from \"@coreui/vue\";\n\n@Component({\n components:\n {\n WidgetBusyIndicator,\n DataTable,\n ActialSpentAmountCustomHeader,\n CRow, CCol\n }\n})\nexport default class MyExpensesWidget extends Vue{\n @Prop() vehicleId:any;\n showProgress:boolean = true;\n busy:boolean = true;\n items:any = [];\n clientID: number = 0;\n fields = [\n {key: 'categoryDisplayText', label:'Category',class:'width_15'},\n\n {key: 'budget',class:'width_20 text-right'},\n {key: 'actualAmount',class:'width_20 text-right'},\n {key: 'difference',class:'width_20 text-right'},\n {key: 'percentage', label:'% of Budget',class:'width_25 text-center'} \n ];\n customTemplateList:Array = [\n {slot:\"percentage\",customTemplate:BudgetPercentage},\n ];\n customHeaderTemplateList:Array = [{slot:\"actualAmount\",customTemplate:ActialSpentAmountCustomHeader,data:{title:\"The total amount spent in the current FBT period in the category\"}} ];\n sortBy:string = \"mvrn\";\n filter:string = \"\";\n sortDesc:boolean = false;\n minFBTYear:Date = null;\n maxFBTYear:Date = null;\n novationStartDate:Date = null;\n novationEndDate:Date = null;\n nextStartDate:Date = null;\n previousEndDate:Date = null; \n today:string = moment().format('YYYY-MM-DDTHH:mm:ss');\n currentStartDate:Date = null;\n currentEndDate:Date = null;\n isFBTPeriodAvailable:boolean = true;\n showEmptyBanner:boolean = false\n created(){\n this.loadWidgetData(false, true);\n this.loadMinMaxFBTYears();\n }\n\n loadWidgetData(goToNext:boolean, presentPeriod:boolean){\n var clientId = this.$store.getters.getToken.relatedEntityId;\n var params = \n {\n vehicleId : this.vehicleId,\n clientId : clientId,\n startDate : goToNext ? moment(this.nextStartDate).toDate().getTime() : null,\n endDate : goToNext ? null : (presentPeriod ? null : moment(this.previousEndDate).toDate().getTime())\n }\n apiService.sendGetRequest('Finance','VehicleBudgetPerYear',params).then(response => {\n if(response.data){\n this.showEmptyBanner = false;\n this.items = response.data.vehicleBudgetLines;\n this.previousEndDate = response.data.previousPeriodEndDate ? response.data.previousPeriodEndDate : null;\n this.nextStartDate = response.data.nextPeriodStartDate ? response.data.nextPeriodStartDate : null;\n this.currentStartDate = response.data.currentPeriodStartDate ? response.data.currentPeriodStartDate : null;\n this.currentEndDate = response.data.currentPeriodEndDate ? response.data.currentPeriodEndDate : null;\n if(this.novationEndDate != null && (this.currentEndDate >= this.novationEndDate && this.maxFBTYear < this.novationEndDate)){\n this.isFBTPeriodAvailable = false;\n } else {\n this.isFBTPeriodAvailable = true;\n }\n this.busy = false;\n } else {\n this.busy = false;\n this.showEmptyBanner = true;\n }\n });\n }\n\n loadMinMaxFBTYears()\n {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = { vehicleId: this.vehicleId };\n apiService.sendGetRequest('Finance','MinMaxFBTYearsforVehicle', params).then(response=>{\n if(response.data){\n this.minFBTYear = response.data.minBudgetPeriodStartDate ? response.data.minBudgetPeriodStartDate : null;\n this.maxFBTYear = response.data.maxBudgetPeriodEndDate ? response.data.maxBudgetPeriodEndDate : null;\n this.novationStartDate = response.data.novationStartDate ? response.data.novationStartDate: null,\n this.novationEndDate = response.data.novationEndDate ? response.data.novationEndDate : null\n\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n goToNextYear(){\n this.loadWidgetData(true,false);\n }\n\n goToPreviousYear(){\n this.loadWidgetData(false,false);\n }\n\n fromYear(){\n return this.currentStartDate? ApexDateFormat(this.currentStartDate) : '';\n }\n\n toYear(){\n return this.currentEndDate? ApexDateFormat(this.currentEndDate) : '';\n }\n\n yearPercentage(){\n var todayDateTime = moment(this.today).toDate().getTime()\n var currentDateTime = moment(this.currentStartDate).toDate().getTime()\n if(currentDateTime && currentDateTime < todayDateTime){\n \n var dateDiff = todayDateTime - currentDateTime;\n var percentage = +(dateDiff/(24*3600*10*365)).toFixed(0);\n return percentage <= 100 ? percentage : 100;\n }\n else if(currentDateTime > todayDateTime){\n return 0;\n }\n return 100;\n }\n\n progressBarLable(){\n return this.yearPercentage().toString() + '%';\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyExpensesWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyExpensesWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MyExpensesWidget.vue?vue&type=template&id=f030938c\"\nimport script from \"./MyExpensesWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./MyExpensesWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MyExpensesWidget.vue?vue&type=style&index=0&id=f030938c&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showRecurringScheduledPaymentPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"recurringScheduledPaymentModalId\",\"maxWidth\":\"1890px\",\"minHeight\":\"650px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Add Recurring Scheduled Payment\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"recurringScheduledPaymentModal_CloseButton\"},on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddRecurringScheduledPayment',{attrs:{\"vehicleId\":_vm.vehicleId},on:{\"onCloseModal\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"recurringScheduledPaymentModal_CloseButton\"},on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = false}}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header widget-card-header content-center text-white p-0\"},[_vm._t(\"default\",function(){return [_c('CRow',[_c('CCol',{staticClass:\"lg-10\"},[_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name widgetHeaderText text-left\"},[_vm._v(\"Scheduled Recurring Payments\")])]),_c('CCol',[_c('CButton',{staticClass:\"rc-payment-add-button\",attrs:{\"title\":\"Add Recurring Scheduled Payment\"},on:{\"click\":function($event){_vm.showRecurringScheduledPaymentPopup = true}}},[_c('i',{staticClass:\"fas fa-plus fa-lg\"})])],1)],1),_c('CRow',[_c('CCol',{staticClass:\"lg-10\"},[_c('div',[_c('label',{staticClass:\"text-bold text-uppercase db-item-name widgetHeaderText float-left mb-0 mr-2 ml-2\",attrs:{\"id\":\"filters\"}},[_vm._v(\"Filters\")]),_c('label',{staticClass:\"toggle-label db-item-name widgetHeaderText float-left mb-0 mr-2 ml-2\",attrs:{\"label-for\":\"reference\",\"id\":\"toggle_label\"}},[_vm._v(\"Show Inactive Schedules \")]),_c('b-form-checkbox',{staticClass:\"float-left\",attrs:{\"id\":\"reference\",\"name\":\"check-button\",\"switch\":\"\"},model:{value:(_vm.showInactive),callback:function ($$v) {_vm.showInactive=$$v},expression:\"showInactive\"}})],1)])],1)]})],2),_vm._t(\"body\",function(){return [_c('ScheduledPayment',{attrs:{\"vehicleId\":_vm.vehicleId,\"showInactive\":_vm.showInactive}})]})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport WidgetBusyIndicator from \"@/shared/components/busyIndicator/WidgetBusyIndicator.vue\";\r\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\r\nimport { CRow, CCol, CDropdown ,CDropdownItem, CSwitch, CButton} from \"@coreui/vue\";\r\nimport ScheduledPayment from \"@/components/admin/vehicleLeaseManagement/ScheduledPayment.vue\";\r\nimport Modal from \"@/shared/components/modal/Modal.vue\";\r\nimport AddRecurringScheduledPayment from \"@/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue\";\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n WidgetBusyIndicator,\r\n CRow, CCol, CDropdown, CSwitch, CDropdownItem, CButton,\r\n ScheduledPayment,\r\n Modal,\r\n AddRecurringScheduledPayment\r\n },\r\n})\r\nexport default class ScheduledPaymentsWidget extends Vue{\r\n @Prop() vehicleId: number;\r\n showInactive = false;\r\n showRecurringScheduledPaymentPopup:boolean = false;\r\n hideFooter:boolean = true;\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentsWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentsWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ScheduledPaymentsWidget.vue?vue&type=template&id=1f4642b6&scoped=true\"\nimport script from \"./ScheduledPaymentsWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./ScheduledPaymentsWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ScheduledPaymentsWidget.vue?vue&type=style&index=0&id=1f4642b6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f4642b6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header widget-card-header content-center text-white p-0\"},[_vm._t(\"default\",function(){return [_c('CRow',[_c('CCol',{staticClass:\"lg-10\"},[_c('div',{staticClass:\"p-2 text-bold text-uppercase db-item-name widgetHeaderText text-left\"},[_vm._v(\"Expense Claims\")])]),_c('CCol',[_c('div',[(_vm.leaseActive)?_c('CDropdown',{staticClass:\"expense-claims-drop-button\",attrs:{\"caret\":false,\"id\":\"ddExpenseClaims\",\"title\":\"Submit Expense Claim\",\"no-caret\":\"\",\"aria-hidden\":\"true\",\"aria-expanded\":\"false\"},scopedSlots:_vm._u([{key:\"toggler-content\",fn:function(){return [_c('i',{staticClass:\"fas fa-plus fa-lg\"})]},proxy:true}],null,false,2060521126)},[_c('CDropdownItem',{on:{\"click\":_vm.goToBillExpenseClaim}},[_vm._v(\"Bill\")]),_c('CDropdownItem',{on:{\"click\":_vm.goToReimbursementClaim}},[_vm._v(\"Reimbursement\")])],1):_vm._e()],1)])],1),_c('CRow',[_c('CCol',{staticClass:\"lg-10\"},[_c('div',[_c('label',{staticClass:\"text-bold text-uppercase db-item-name widgetHeaderText float-left mb-0 mr-2 ml-2\",attrs:{\"id\":\"filters\"}},[_vm._v(\"Filters\")]),_c('label',{staticClass:\"toggle-label db-item-name widgetHeaderText float-left mb-0 mr-2 ml-2\",attrs:{\"label-for\":\"exp\",\"id\":\"toggle_label\"}},[_vm._v(\"Unapproved Expenses\")]),_c('b-form-checkbox',{staticClass:\"float-left\",attrs:{\"id\":\"exp\",\"name\":\"check-button\",\"switch\":\"\"},on:{\"input\":_vm.onShowUnApprovedExpClaims},model:{value:(_vm.showUnApprovedExpClaims),callback:function ($$v) {_vm.showUnApprovedExpClaims=$$v},expression:\"showUnApprovedExpClaims\"}})],1)])],1)]})],2),_vm._t(\"body\",function(){return [(_vm.busy)?_c('CRow',[_c('CCol',[_c('WidgetBusyIndicator',{attrs:{\"busy\":_vm.busy}})],1)],1):_c('div',{staticClass:\"card-body expense-claims-widget\"},[_c('CRow',[_c('CCol',{attrs:{\"cols\":\"12\"}},[_c('DataTable',{ref:\"expenseClaimsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"paginationColor\":\"expense-claim-widget-paginator\",\"emptyBanner\":\"No expense claims to display.\",\"selectable\":true},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)],1)],1)]})],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport WidgetBusyIndicator from \"@/shared/components/busyIndicator/WidgetBusyIndicator.vue\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport moment from \"moment\";\r\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\r\nimport ExpenseClaimLink from \"@/components/admin/expenseClaims/expenseClaimLink.vue\";\r\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\r\nimport { ClientExpenseClaimTableFilterParams } from \"@/models/tableFilterParams.model\";\r\nimport { DataTableActionTypes } from \"@/shared/enums/dataTableActionTypes.enum\";\r\nimport {CRow, CCol, CDropdown, CDropdownItem} from \"@coreui/vue\";\r\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n WidgetBusyIndicator,\r\n CRow, CCol, CDropdown, CDropdownItem\r\n },\r\n})\r\nexport default class ExpenseClaimsWidget extends Vue{\r\n @Prop() vehicleId: number;\r\n @Prop() leaseActive:boolean;\r\n busy: boolean = true;\r\n items:any[] = [];\r\n showEmptyBanner:boolean = false;\r\n fields = [\r\n {key: 'date',label:'Date Submitted', class:'width_25', sortable:true, \r\n formatter: (value, key, item) => {\r\n return moment(item.date).format(\"DD MMM YYYY\");\r\n }, \r\n },\r\n {key: 'categoryText',label:'Category', class:'width_20', sortable:false},\r\n {key: 'statusText',label:'Date Paid', class:'width_20', sortable:true,\r\n formatter: (value,key,item) => {\r\n if(item.statusText == \"Paid\"){\r\n return moment(item.paymentDate).format(\"DD MMM YYYY\");\r\n }else{\r\n return item.statusText;\r\n }\r\n },\r\n },\r\n {key: 'totalAmount',label:'Total (Incl. GST)', class:'text-right', sortable:true}\r\n ]; \r\n sortBy:string = \"date\";\r\n sortDesc:boolean = true;\r\n totalRows:number = 0; \r\n customTemplateList:Array = [{slot:\"ecrn\",customTemplate : ExpenseClaimLink},\r\n {slot: 'totalAmount', customTemplate: ApexCurrency}];\r\n perPage:number = 5;\r\n showUnApprovedExpClaims:boolean = true;\r\n\r\n created() {\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: \"date\",\r\n SortDesc: true,\r\n SearchByString: \"\",\r\n RelatedId: 0,\r\n VehicleId: this.vehicleId,\r\n ClientId: this.$store.getters.getToken.relatedEntityId,\r\n Status: 0,\r\n ShowUnApprovedExpClaims: this.showUnApprovedExpClaims\r\n });\r\n }\r\n\r\n onShowUnApprovedExpClaims(){\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: \"date\",\r\n SortDesc: true,\r\n SearchByString: \"\",\r\n RelatedId: 0,\r\n VehicleId: this.vehicleId,\r\n ClientId: this.$store.getters.getToken.relatedEntityId,\r\n Status: 0,\r\n ShowUnApprovedExpClaims: this.showUnApprovedExpClaims\r\n });\r\n }\r\n\r\n refreshGrid(params: ClientExpenseClaimTableFilterParams) {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n apiService\r\n .sendGetRequest(\"ExpenseClaim\", \"ClientExpenseClaimList\", params)\r\n .then((response) => {\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.busy = false;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n })\r\n .catch((error) => {\r\n this.busy = false;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n goToReimbursementClaim() {\r\n this.$router.push({\r\n name: \"Submit Expense Claims\",\r\n params: { type: \"reimbursement\" },\r\n query: { vehicleId: this.vehicleId.toString() },\r\n });\r\n }\r\n\r\n goToBillExpenseClaim() {\r\n this.$router.push({\r\n name: \"Submit Expense Claims\",\r\n params: { type: \"bill\" },\r\n query: { vehicleId: this.vehicleId.toString() },\r\n });\r\n }\r\n\r\n onPageChange(sortBy: string, sortDesc: boolean, fromIndex: number) {\r\n this.refreshGrid({\r\n FromIndex: fromIndex,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: this.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: 0,\r\n VehicleId: this.vehicleId,\r\n ClientId: this.$store.getters.getToken.relatedEntityId,\r\n Status: 0,\r\n ShowUnApprovedExpClaims: this.showUnApprovedExpClaims\r\n });\r\n }\r\n\r\n onSortingChange(ctx: any) {\r\n if (ctx.sortBy) {\r\n this.sortDesc = ctx.sortDesc;\r\n this.sortBy = ctx.sortBy == \"ecrn\" ? \"ECRN\" : ctx.sortBy;\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: this.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: 0,\r\n VehicleId: this.vehicleId,\r\n ClientId: this.$store.getters.getToken.relatedEntityId,\r\n Status: 0,\r\n ShowUnApprovedExpClaims: this.showUnApprovedExpClaims\r\n });\r\n }\r\n }\r\n\r\n onCustomDataTableEvent(data: any, type: DataTableActionTypes) {\r\n if (type == DataTableActionTypes.ActionButtonSelect) {\r\n (this.$refs.expenseClaimsTable as DataTable).setLastCustomAction(type);\r\n }\r\n if (type == DataTableActionTypes.ResetActionButtton) {\r\n (this.$refs.expenseClaimsTable as DataTable).resetLastCustomAction();\r\n }\r\n if (type == DataTableActionTypes.RowSelect) {\r\n this.$router.push({\r\n name: \"View Expense Claim\",\r\n params: { id: data.id },\r\n });\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExpenseClaimsWidget.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExpenseClaimsWidget.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ExpenseClaimsWidget.vue?vue&type=template&id=5afc736e&scoped=true\"\nimport script from \"./ExpenseClaimsWidget.vue?vue&type=script&lang=ts\"\nexport * from \"./ExpenseClaimsWidget.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ExpenseClaimsWidget.vue?vue&type=style&index=0&id=5afc736e&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5afc736e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport apiService from \"@/shared/services/apiService\";\nimport CurrentLeaseWidget from \"@/components/client/widgets/CurrentLeaseWidget.vue\";\nimport CurrentNovationWidget from \"@/components/client/widgets/CurrentNovationWidget.vue\";\nimport MyExpensesWidget from \"@/components/client/widgets/MyExpensesWidget.vue\";\nimport ScheduledPaymentsWidget from \"@/components/client/widgets/ScheduledPaymentsWidget.vue\";\nimport ExpenseClaimsWidget from \"@/components/client/widgets/ExpenseClaimsWidget.vue\";\nimport { VehicleLeaseTypes } from '@/shared/enums/vehicleLeaseTypes.enum';\n\n@Component({\n components: {\n CurrentLeaseWidget,\n CurrentNovationWidget,\n MyExpensesWidget,\n ExpenseClaimsWidget,\n ScheduledPaymentsWidget\n },\n})\nexport default class MainVehicleUI extends Vue {\n vehicleID: number = 0;\n vehicleName: string = \"\";\n year: number = 0;\n leaseID: number = 0;\n hasActiveLease: boolean = false;\n leaseType: VehicleLeaseTypes = null;\n leaseTypes = VehicleLeaseTypes;\n novatedFullyMaintained: VehicleLeaseTypes = VehicleLeaseTypes.NovatedFullyMaintained;\n\n created() {\n this.vehicleID = +this.$route.params.vehicleID ? +this.$route.params.vehicleID : 0;\n this.loadVehicleDetailsByVehicleID();\n }\n\n loadVehicleDetailsByVehicleID() {\n var params = { id: this.vehicleID };\n apiService.sendGetRequest(\"Vehicle\", \"Vehicle\", params).then((response) => {\n this.year = response.data.item2.year;\n this.leaseType = response.data.item2.leaseType;\n this.hasActiveLease = this.leaseType != null && this.leaseType > 0;\n this.vehicleName = \" \" + response.data.item2.make + \" \" + response.data.item2.model + \" \" + response.data.item2.variant;\n });\n }\n\n navigateDashboard() {\n this.$router.push({ name: \"Dashboard\", params: {} });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainVehicleUI.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainVehicleUI.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./MainVehicleUI.vue?vue&type=template&id=7d56dc57&scoped=true\"\nimport script from \"./MainVehicleUI.vue?vue&type=script&lang=ts\"\nexport * from \"./MainVehicleUI.vue?vue&type=script&lang=ts\"\nimport style0 from \"./MainVehicleUI.vue?vue&type=style&index=0&id=7d56dc57&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7d56dc57\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pr-0\",attrs:{\"sm\":\"6\",\"md\":\"6\",\"offset-lg\":\"6\",\"offset-md\":\"6\"}},[_c('b-button',{staticClass:\"mb-3 pull-right primary\",on:{\"click\":function($event){return _vm.navigateToAddPeriod()}}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add FBT Period\\n \")])],1)],1),_c('DataTable',{ref:\"fbtPeriodTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"selectable\":true,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No FBT periods to display.\",\"customTemplates\":_vm.customTemplateList},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange,\"customEvent\":_vm.onCustomDataTableEvent}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Fringe Benefits Tax Rates\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Emit } from 'vue-property-decorator';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService'\nimport AppSettings from '@/app.config'\nimport {FilterStatus} from '@/shared/enums/filterStatus.enum';\nimport {FrequencyTypes} from '@/shared/enums/frequencyTypes.enum';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport moment from 'moment'\n\n@Component\n(\n {\n components: {\n DataTable,\n }\n }\n)\nexport default class FBTPeriodList extends Vue{\n items:any = [];\n showEmptyBanner:boolean = true;\n fields = [\n {key: 'startDate',label:'FBT Period Start Date',sortable:'true',class:'width_15',\n formatter: (value, key, item) => {\n return moment(item.startDate).format(\"DD MMM YYYY\")\n }},\n {key: 'endDate',label:'FBT Period End Date',sortable:'true',class:'width_15',\n formatter: (value, key, item) => {\n return moment(item.endDate).format(\"DD MMM YYYY\")\n }},\n {key: 'taxRate',label:'FBT rate of Tax', sortable:'true',class:'width_10',\n formatter: (value, key, item) => {\n return (Math.round(item.taxRate * 100) / 100).toString().concat(\"%\");\n }},\n {key: 'type1GrossUpRate', label:'Type 1 Gross-Up Rate', sortable:'true',class:'width_10'},\n {key: 'type2GrossUpRate', label:'Type 2 Gross-Up Rate',sortable:'true',class:'width_10' }, \n ];\n\n totalRows:number =0;\n perPage:number = AppSettings.defaultGridSize;\n sortBy:string = \"startDate\";\n filter:string = \"\";\n sortDesc:boolean = true;\n showInactive:boolean = false;\n customTemplateList:Array = []\n\n mounted(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"startDate\",SortDesc:true,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0});\n }\n refreshGrid(tableFilterParams:TableFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"System\",\"FBTPeriodList\",tableFilterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n onCustomDataTableEvent(data:any,type:DataTableActionTypes){\n if(type == DataTableActionTypes.ActionButtonSelect){\n (this.$refs.fbtPeriodTable as DataTable).setLastCustomAction(type);\n }\n if(type == DataTableActionTypes.ResetActionButtton){\n (this.$refs.fbtPeriodTable as DataTable).resetLastCustomAction();\n }\n if(type == DataTableActionTypes.RowSelect){\n this.onViewFBTRecord(data);\n }\n }\n\n \n onViewFBTRecord(data:any){\n this.$router.push({ name: 'Edit FBT Period', params: { id: data.id}});\n }\n\n refreshAndReset(id:number){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendDeleteRequest(\"FBT Period\",\"FBT Rates\",{id:id}).then(\n response =>{\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.resetTable();\n \n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n (this.$refs.fbtPeriodTable as DataTable).resetLastCustomAction();\n }) \n }\n \n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number){\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0});\n }\n onSortingChange(ctx:any){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0});\n }\n onShowInactiveChanged(){\n (this.$refs.fbtPeriodTable as DataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",Status:0,RelatedId:0});\n }\n navigateToAddPeriod(){\n var rawLocation = {name:'Add FBT Rate'}\n this.$router.push(rawLocation);\n }\n resetTable(){\n (this.$refs.fbtPeriodTable as DataTable).reset();\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTPeriodList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTPeriodList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FBTPeriodList.vue?vue&type=template&id=61d70254\"\nimport script from \"./FBTPeriodList.vue?vue&type=script&lang=ts\"\nexport * from \"./FBTPeriodList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./FBTPeriodList.vue?vue&type=style&index=0&id=61d70254&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelAddEditFBTRecordConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"There are unsaved changes. Do you want to continue?\")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelAddEditFBTRecordConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelAddEditFBTRecordConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\")])],1)]):_vm._e(),_c('div',{staticClass:\"mt-3\"},[_c('b-container',[_c('b-row',{attrs:{\"align-h\":\"center\"}},[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"4\"}},[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('strong',[_vm._v(_vm._s(_vm.actionType)+\" FBT Period\")]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to FBT Period Records\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Start Date\",\"label-for\":\"startDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.fbtPeriod.startDate || _vm.fbtPeriod.startDate.length == 0) },attrs:{\"required\":\"\",\"use-utc\":true,\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"id\":'startDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"disabledDates\":_vm.disabledStartDates,\"placeholder\":'Enter FBT Period Start Date'},on:{\"input\":function($event){_vm.$v.fbtPeriod.startDate.$touch();_vm.startDateChanged()}},model:{value:(_vm.fbtPeriod.startDate),callback:function ($$v) {_vm.$set(_vm.fbtPeriod, \"startDate\", $$v)},expression:\"fbtPeriod.startDate\"}}),(_vm.$v.fbtPeriod.startDate.$dirty && !_vm.$v.fbtPeriod.startDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n FBT Period Start Date is required.\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"End Date\",\"label-for\":\"endDate\"}},[_c('DatePicker',{class:{ 'requiredField': (!_vm.fbtPeriod.endDate || _vm.fbtPeriod.endDate.length == 0) },attrs:{\"required\":\"\",\"use-utc\":true,\"calendar-button\":true,\"clear-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"bootstrap-styling\":true,\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"id\":'startDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter FBT Period End Date',\"disabledDates\":_vm.disabledEndDates},on:{\"input\":function($event){_vm.$v.fbtPeriod.endDate.$touch();_vm.endDateChanged()}},model:{value:(_vm.fbtPeriod.endDate),callback:function ($$v) {_vm.$set(_vm.fbtPeriod, \"endDate\", $$v)},expression:\"fbtPeriod.endDate\"}}),(_vm.$v.fbtPeriod.endDate.$dirty && !_vm.$v.fbtPeriod.endDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n FBT Period End Date is required.\")]):_vm._e(),(_vm.$v.fbtPeriod.endDate.$dirty && _vm.fbtPeriod.endDate <= _vm.fbtPeriod.startDate)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n FBT period end date should be after the start date.\")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"FBT Rate of Tax (%)\",\"label-for\":\"taxRate\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (!_vm.fbtPeriod.taxRate || _vm.fbtPeriod.taxRate.length == 0) },attrs:{\"id\":\"taxRate\",\"type\":\"text\",\"placeholder\":\"Enter FBT rate of tax\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.fbtPeriod.taxRate.$touch()}},model:{value:(_vm.fbtPeriod.taxRate),callback:function ($$v) {_vm.$set(_vm.fbtPeriod, \"taxRate\", $$v)},expression:\"fbtPeriod.taxRate\"}})],1),(_vm.$v.fbtPeriod.taxRate.$dirty && !_vm.$v.fbtPeriod.taxRate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n FBT rate of tax is required.\")]):_vm._e(),(!_vm.$v.fbtPeriod.taxRate.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n FBT rate of tax is invalid.\")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Type 1 Gross-Up Rate\",\"label-for\":\"type1GrossUpRate\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (!_vm.fbtPeriod.type1GrossUpRate || _vm.fbtPeriod.type1GrossUpRate.length == 0) },attrs:{\"id\":\"type1GrossUpRate\",\"type\":\"text\",\"placeholder\":\"Enter Type 1 Gross-Up Rate\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.fbtPeriod.type1GrossUpRate.$touch()}},model:{value:(_vm.fbtPeriod.type1GrossUpRate),callback:function ($$v) {_vm.$set(_vm.fbtPeriod, \"type1GrossUpRate\", $$v)},expression:\"fbtPeriod.type1GrossUpRate\"}})],1),(_vm.$v.fbtPeriod.type1GrossUpRate.$dirty && !_vm.$v.fbtPeriod.type1GrossUpRate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type 1 gross-up rate is required.\")]):_vm._e(),(!_vm.$v.fbtPeriod.type1GrossUpRate.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type 1 gross-up rate is invalid.\")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Type 2 Gross-Up Rate\",\"label-for\":\"type2GrossUpRate\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",class:{ 'requiredField': (!_vm.fbtPeriod.type2GrossUpRate || _vm.fbtPeriod.type2GrossUpRate.length == 0) },attrs:{\"id\":\"type2GrossUpRate\",\"type\":\"text\",\"placeholder\":\"Enter Type 2 Gross-Up Rate\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.fbtPeriod.type2GrossUpRate.$touch()}},model:{value:(_vm.fbtPeriod.type2GrossUpRate),callback:function ($$v) {_vm.$set(_vm.fbtPeriod, \"type2GrossUpRate\", $$v)},expression:\"fbtPeriod.type2GrossUpRate\"}})],1),(_vm.$v.fbtPeriod.type2GrossUpRate.$dirty && !_vm.$v.fbtPeriod.type2GrossUpRate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type 2 gross-up rate is required.\")]):_vm._e(),(!_vm.$v.fbtPeriod.type2GrossUpRate.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Type 2 gross-up rate is invalid.\")]):_vm._e()],1)],1)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-row',[_c('b-col',[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"submit\",\"size\":\"md\",\"disabled\":(_vm.$v.fbtPeriod.$invalid) || !_vm.isModelDirty()}},[_vm._v(_vm._s(_vm.buttonType))]),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_vm._v(\" Cancel\")])],1)],1),(_vm.fbtRecordId>0)?_c('b-row',{staticClass:\"ml-0 audit-text\"},[_c('b',[_vm._v(\"Created:  \")]),_c('span',[_vm._v(_vm._s(_vm.fbtPeriod.createdByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.fbtPeriod.createdDate))+\")\")]),_vm._v(\"    \\n \"),_c('b',[_vm._v(\"Updated:  \")]),_c('span',[_vm._v(_vm._s(_vm.fbtPeriod.lastUpdateByName)+\" (\"+_vm._s(_vm._f(\"ApexDateTimeFormat\")(_vm.fbtPeriod.lastUpdatedDate))+\")\")])]):_vm._e()],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue, Watch } from \"vue-property-decorator\";\r\nimport { FBTPeriod } from \"@/models/fbtPeriod.model\";\r\nimport { validationMixin } from \"vuelidate\";\r\nimport { required } from \"vuelidate/lib/validators\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport { warn } from \"vue-class-component/lib/util\";\r\nimport dirtyValidatorService from \"@/shared/services/dirtyValidatorService\";\r\nimport lookupService from \"@/shared/services/lookupService\";\r\nimport { CSwitch as cSwitch } from \"@coreui/vue\";\r\nimport moment from \"moment\";\r\nimport Modal from \"@/shared/components/modal/Modal.vue\";\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\n\r\n@Component({\r\n components: {\r\n Modal\r\n },\r\n mixins: [validationMixin],\r\n //validate required fields\r\n validations: {\r\n fbtPeriod: {\r\n startDate: {\r\n required\r\n },\r\n endDate: {\r\n required\r\n },\r\n taxRate: {\r\n required,\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n if(value == 0)\r\n {\r\n return false;\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n },\r\n type1GrossUpRate: {\r\n required,\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '' ) {\r\n return true\r\n }\r\n if(value == 0)\r\n {\r\n return false;\r\n }\r\n return /^\\d+(?:\\.\\d{1,4})?$/.test(value) \r\n }\r\n },\r\n type2GrossUpRate: {\r\n required,\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '' ) {\r\n return true\r\n }\r\n if(value == 0)\r\n {\r\n return false;\r\n }\r\n return /^\\d+(?:\\.\\d{1,4})?$/.test(value) \r\n }\r\n }\r\n }\r\n }\r\n})\r\nexport default class AddEditFBTPeriod extends Vue {\r\n fbtPeriod: FBTPeriod = {\r\n id: 0,\r\n startDate: \"\",\r\n endDate: \"\",\r\n taxRate: \"\",\r\n type1GrossUpRate: \"\",\r\n type2GrossUpRate: \"\",\r\n isActive: true,\r\n concurrencyKey: \"\",\r\n createdByName: \"\",\r\n lastUpdateByName: \"\",\r\n createdDate: new Date(),\r\n lastUpdatedDate: new Date()\r\n };\r\n\r\n dirtyValidatorRefNo: number = 0;\r\n dirtyValidationConfirmation: boolean = false;\r\n fbtRecordId: number = 0;\r\n actionType: string = \"\";\r\n buttonType: string = \"\";\r\n todayDate: any = new Date();\r\n disabledEndDates: any = {};\r\n disabledStartDates: any = {};\r\n todayDateUTC: any = new Date( Date.UTC(this.todayDate.getFullYear(),this.todayDate.getMonth(),this.todayDate.getDate(),0,0, 0) );\r\n\r\n created() {\r\n this.fbtRecordId = this.$route.params.id ? +this.$route.params.id : 0;\r\n if (+this.fbtRecordId > 0) {\r\n this.actionType = \"Edit\";\r\n this.buttonType = \"Update\";\r\n this.loadFBTPeriodDetails();\r\n } else {\r\n this.actionType = \"Add\";\r\n this.buttonType = \"Add\";\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(\r\n this.dirtyValidatorRefNo,\r\n this.fbtPeriod\r\n );\r\n }\r\n }\r\n\r\n loadFBTPeriodDetails() {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n var params = { id: this.fbtRecordId };\r\n apiService.sendGetRequest(\"System\", \"FBTPeriod\", params).then(response => {\r\n if (response.data) {\r\n this.fbtPeriod = response.data;\r\n }\r\n this.dirtyValidatorRefNo = dirtyValidatorService.setInitialModel(\r\n this.dirtyValidatorRefNo,\r\n this.fbtPeriod\r\n );\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n onSubmit() {\r\n if (+this.fbtRecordId > 0) {\r\n this.updateExistingFBTPeriod();\r\n } else {\r\n this.addNewFBTPeriod();\r\n }\r\n }\r\n addNewFBTPeriod() {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n apiService\r\n .sendPutRequest(\"System\", \"FBTPeriod\", this.fbtPeriod)\r\n .then(response => {\r\n if (response.data.isSuccess) {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type:\"success\",\r\n duration: 5000\r\n });\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$router.back();\r\n } else {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type: \"error\",\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n updateExistingFBTPeriod() {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n apiService\r\n .sendPostRequest(\"System\", \"FBTPeriod\", this.fbtPeriod)\r\n .then(response => {\r\n if (response.data.isSuccess) {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type:\"success\",\r\n duration: 5000\r\n });\r\n this.fbtPeriod.concurrencyKey = response.data.concurrencyKey;\r\n dirtyValidatorService.resetModelValidator(this.dirtyValidatorRefNo);\r\n this.$router.back();\r\n } else {\r\n this.$notify({\r\n group: \"growlNotification\",\r\n title: response.data.message,\r\n type: \"error\",\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n onCancel() {\r\n if (dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)) {\r\n this.dirtyValidationConfirmation = true;\r\n } else {\r\n this.navigateBack();\r\n }\r\n }\r\n isModelDirty() {\r\n return dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo);\r\n }\r\n navigateBack() {\r\n this.$router.push({ name: \"FBTRates\" });\r\n }\r\n routerNavigateBack() {\r\n if (dirtyValidatorService.isModelDirty(this.dirtyValidatorRefNo)) {\r\n this.dirtyValidationConfirmation = true;\r\n } else {\r\n this.navigateBack();\r\n }\r\n }\r\n startDateChanged(){\r\n if(fieldValidations.isValidDate(this.fbtPeriod.startDate)){\r\n var start = moment(this.fbtPeriod.startDate).toDate();\r\n this.disabledEndDates = {to:start};\r\n }else{\r\n this.disabledEndDates = {};\r\n }\r\n }\r\n endDateChanged(){\r\n if(fieldValidations.isValidDate(this.fbtPeriod.endDate)){\r\n var end = moment(this.fbtPeriod.endDate).toDate();\r\n this.disabledStartDates = {from:end};\r\n }\r\n else{\r\n this.disabledStartDates = {};\r\n }\r\n }\r\n}\r\n","export enum SystemValuesEnums{\r\n SendGridApiKey = 1,\r\n SendGridAdminTemplateId,\r\n SendGridTenantTemplateId,\r\n ApexAdminEmailSettingsFromAddress,\r\n ApexAdminEmailSettingsFromDisplay,\r\n ApexAdminWebsiteHostedUrl,\r\n ApexEmailSettingsFromAddress,\r\n ApexWebsiteHostedUrl,\r\n StorageConnectionString,\r\n BlobStorageBasePath,\r\n ApexWebsiteVersion,\r\n GstRate,\r\n StatutaryRatePercentage,\r\n DaysInYear,\r\n PublicBlobContainerName,\r\n BankStatementProcessorQueueName,\r\n AllowedBankFileTypes,\r\n DashboardUpdaterQueueName,\r\n DashboardInfoTable,\r\n ApexAdminEmailSettingsBCCAddress,\r\n WebsiteDomain,\r\n SameSitePolicy,\r\n EmailSenderQueueName,\r\n AtoResidualRate,\r\n EffectiveLife,\r\n}","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFBTPeriod.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFBTPeriod.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./AddEditFBTPeriod.vue?vue&type=template&id=eb3fcf5a&scoped=true\"\nimport script from \"./AddEditFBTPeriod.vue?vue&type=script&lang=ts\"\nexport * from \"./AddEditFBTPeriod.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eb3fcf5a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.backNavigationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"NavigateSystemSettingsConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to go back?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"NavigateSystemSettingsConf_CancelButton\"},on:{\"click\":function($event){_vm.backNavigationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"NavigateSystemSettingsConf_OkButton\"},on:{\"click\":_vm.onOkayToGoBack}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('div',{staticClass:\"mt-3\"},[_c('b-container',[_c('b-row',{attrs:{\"align-h\":\"center\"}},[_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"4\"}},[_c('b-form',[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_c('strong',[_vm._v(\"System Values\")]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to Dashboard\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"SendGrid Api Key\",\"label-for\":\"sendGridApiKey\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"sendGridApiKey\",\"type\":\"text\",\"placeholder\":\"Enter SendGrid Api Key\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.sendGridApiKey.$touch()}},model:{value:(_vm.systemValues.sendGridApiKey),callback:function ($$v) {_vm.$set(_vm.systemValues, \"sendGridApiKey\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.sendGridApiKey\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.sendGridApiKey.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.sendGridApiKey,_vm.systemValues.sendGridApiKey,_vm.$v.systemValues.sendGridApiKey.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"SendGrid Admin Template ID\",\"label-for\":\"sendGridAdminTemplateId\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"sendGridAdminTemplateId\",\"type\":\"text\",\"placeholder\":\"Enter SendGrid Admin Template ID\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.sendGridAdminTemplateId.$touch()}},model:{value:(_vm.systemValues.sendGridAdminTemplateId),callback:function ($$v) {_vm.$set(_vm.systemValues, \"sendGridAdminTemplateId\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.sendGridAdminTemplateId\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.sendGridAdminTemplateId.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.sendGridAdminTemplateId,_vm.systemValues.sendGridAdminTemplateId,_vm.$v.systemValues.sendGridAdminTemplateId.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"SendGrid Tenant Template ID\",\"label-for\":\"sendGridTenantTemplateId\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"sendGridTenantTemplateId\",\"type\":\"text\",\"placeholder\":\"Enter SendGrid Tenant Template ID\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.sendGridTenantTemplateId.$touch()}},model:{value:(_vm.systemValues.sendGridTenantTemplateId),callback:function ($$v) {_vm.$set(_vm.systemValues, \"sendGridTenantTemplateId\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.sendGridTenantTemplateId\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.sendGridTenantTemplateId.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.sendGridTenantTemplateId,_vm.systemValues.sendGridTenantTemplateId,_vm.$v.systemValues.sendGridTenantTemplateId.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Admin Email Settings - From Email Address\",\"label-for\":\"apexAdminEmailSettingsFromAddress\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"apexAdminEmailSettingsFromAddress\",\"type\":\"text\",\"placeholder\":\"Enter From Email Address\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.apexAdminEmailSettingsFromAddress.$touch()}},model:{value:(_vm.systemValues.apexAdminEmailSettingsFromAddress),callback:function ($$v) {_vm.$set(_vm.systemValues, \"apexAdminEmailSettingsFromAddress\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.apexAdminEmailSettingsFromAddress\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.apexAdminEmailSettingsFromAddress.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.apexAdminEmailSettingsFromAddress,_vm.systemValues.apexAdminEmailSettingsFromAddress,_vm.$v.systemValues.apexAdminEmailSettingsFromAddress.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Admin Email Settings - From Display Name\",\"label-for\":\"apexAdminEmailSettingsFromDisplay\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"apexAdminEmailSettingsFromDisplay\",\"type\":\"text\",\"placeholder\":\"Enter From Display Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.apexAdminEmailSettingsFromDisplay.$touch()}},model:{value:(_vm.systemValues.apexAdminEmailSettingsFromDisplay),callback:function ($$v) {_vm.$set(_vm.systemValues, \"apexAdminEmailSettingsFromDisplay\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.apexAdminEmailSettingsFromDisplay\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.apexAdminEmailSettingsFromDisplay.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.apexAdminEmailSettingsFromDisplay,_vm.systemValues.apexAdminEmailSettingsFromDisplay,_vm.$v.systemValues.apexAdminEmailSettingsFromDisplay.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Admin Website Hosted Url\",\"label-for\":\"apexAdminWebsiteHostedUrl\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"apexAdminWebsiteHostedUrl\",\"type\":\"text\",\"placeholder\":\"Enter Hosted Url\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.apexAdminWebsiteHostedUrl.$touch()}},model:{value:(_vm.systemValues.apexAdminWebsiteHostedUrl),callback:function ($$v) {_vm.$set(_vm.systemValues, \"apexAdminWebsiteHostedUrl\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.apexAdminWebsiteHostedUrl\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.apexAdminWebsiteHostedUrl.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.apexAdminWebsiteHostedUrl,_vm.systemValues.apexAdminWebsiteHostedUrl,_vm.$v.systemValues.apexAdminWebsiteHostedUrl.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Email Settings - From Email Address\",\"label-for\":\"apexEmailSettingsFromAddress\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"apexEmailSettingsFromAddress\",\"type\":\"text\",\"placeholder\":\"Enter From Email Address\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.apexEmailSettingsFromAddress.$touch()}},model:{value:(_vm.systemValues.apexEmailSettingsFromAddress),callback:function ($$v) {_vm.$set(_vm.systemValues, \"apexEmailSettingsFromAddress\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.apexEmailSettingsFromAddress\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.apexEmailSettingsFromAddress.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.apexEmailSettingsFromAddress,_vm.systemValues.apexEmailSettingsFromAddress,_vm.$v.systemValues.apexEmailSettingsFromAddress.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Apex Website Hosted Url\",\"label-for\":\"apexWebsiteHostedUrl\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"apexWebsiteHostedUrl\",\"type\":\"text\",\"placeholder\":\"Enter Hosted Url\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.apexWebsiteHostedUrl.$touch()}},model:{value:(_vm.systemValues.apexWebsiteHostedUrl),callback:function ($$v) {_vm.$set(_vm.systemValues, \"apexWebsiteHostedUrl\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.apexWebsiteHostedUrl\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.apexWebsiteHostedUrl.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.apexWebsiteHostedUrl,_vm.systemValues.apexWebsiteHostedUrl,_vm.$v.systemValues.apexWebsiteHostedUrl.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Storage Connection String\",\"label-for\":\"storageConnectionString\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"storageConnectionString\",\"type\":\"text\",\"placeholder\":\"Enter Storage Connection String\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.storageConnectionString.$touch()}},model:{value:(_vm.systemValues.storageConnectionString),callback:function ($$v) {_vm.$set(_vm.systemValues, \"storageConnectionString\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.storageConnectionString\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.storageConnectionString.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.storageConnectionString,_vm.systemValues.storageConnectionString,_vm.$v.systemValues.storageConnectionString.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Blob Storage Base Path\",\"label-for\":\"\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"blobStorageBasePath\",\"type\":\"text\",\"placeholder\":\"Enter Base Path\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.blobStorageBasePath.$touch()}},model:{value:(_vm.systemValues.blobStorageBasePath),callback:function ($$v) {_vm.$set(_vm.systemValues, \"blobStorageBasePath\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.blobStorageBasePath\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.blobStorageBasePath.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.blobStorageBasePath,_vm.systemValues.blobStorageBasePath,_vm.$v.systemValues.blobStorageBasePath.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Website Version\",\"label-for\":\"\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"apexWebsiteVersion\",\"type\":\"text\",\"placeholder\":\"Enter Website Version\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.apexWebsiteVersion.$touch()}},model:{value:(_vm.systemValues.apexWebsiteVersion),callback:function ($$v) {_vm.$set(_vm.systemValues, \"apexWebsiteVersion\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.apexWebsiteVersion\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.apexWebsiteVersion.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.apexWebsiteVersion,_vm.systemValues.apexWebsiteVersion,_vm.$v.systemValues.apexWebsiteVersion.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"GST Rate\",\"label-for\":\"gstRate\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"gstRate\",\"type\":\"text\",\"placeholder\":\"Enter GST Rate\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.gstRate.$touch()}},model:{value:(_vm.systemValues.gstRate),callback:function ($$v) {_vm.$set(_vm.systemValues, \"gstRate\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.gstRate\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.gstRate.$dirty && _vm.$v.systemValues.gstRate.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.gstRate,_vm.systemValues.gstRate,_vm.$v.systemValues.gstRate.$dirty,_vm.$v.systemValues.gstRate.isDecimal)}}})])],1)],1),(!_vm.$v.systemValues.gstRate.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid GST rate\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Statutary Rate Percentage\",\"label-for\":\"statutaryRatePercentage\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"statutaryRatePercentage\",\"type\":\"text\",\"placeholder\":\"Enter Statutary Rate Percentage\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.statutaryRatePercentage.$touch()}},model:{value:(_vm.systemValues.statutaryRatePercentage),callback:function ($$v) {_vm.$set(_vm.systemValues, \"statutaryRatePercentage\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.statutaryRatePercentage\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.statutaryRatePercentage.$dirty && _vm.$v.systemValues.statutaryRatePercentage.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.statutaryRatePercentage,_vm.systemValues.statutaryRatePercentage,_vm.$v.systemValues.statutaryRatePercentage.$dirty,_vm.$v.systemValues.statutaryRatePercentage.isDecimal)}}})])],1)],1),(!_vm.$v.systemValues.statutaryRatePercentage.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid statutary rate percentage\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"ATO Residual Rate\",\"label-for\":\"atoResidualRate\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"atoResidualRate\",\"type\":\"text\",\"placeholder\":\"Enter ATO Residual Rate\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.atoResidualRate.$touch()}},model:{value:(_vm.systemValues.atoResidualRate),callback:function ($$v) {_vm.$set(_vm.systemValues, \"atoResidualRate\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.atoResidualRate\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.atoResidualRate.$dirty && _vm.$v.systemValues.atoResidualRate.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.atoResidualRate,_vm.systemValues.atoResidualRate,_vm.$v.systemValues.atoResidualRate.$dirty,_vm.$v.systemValues.atoResidualRate.isDecimal)}}})])],1)],1),(!_vm.$v.systemValues.atoResidualRate.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid ATO residual rate percentage\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Effective Life in Years\",\"label-for\":\"effectiveLife\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"effectiveLife\",\"type\":\"text\",\"placeholder\":\"Enter Effective Life\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.effectiveLife.$touch()}},model:{value:(_vm.systemValues.effectiveLife),callback:function ($$v) {_vm.$set(_vm.systemValues, \"effectiveLife\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.effectiveLife\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.effectiveLife.$dirty && _vm.$v.systemValues.effectiveLife.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.effectiveLife,_vm.systemValues.effectiveLife,_vm.$v.systemValues.effectiveLife.$dirty,_vm.$v.systemValues.effectiveLife.isDecimal)}}})])],1)],1),(!_vm.$v.systemValues.effectiveLife.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Effective Life\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Days In Year\",\"label-for\":\"daysInYear\"}},[_c('b-input-group',[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"daysInYear\",\"type\":\"text\",\"placeholder\":\"Enter Days In Year\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.daysInYear.$touch()}},model:{value:(_vm.systemValues.daysInYear),callback:function ($$v) {_vm.$set(_vm.systemValues, \"daysInYear\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.daysInYear\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.daysInYear.$dirty && _vm.$v.systemValues.daysInYear.isDecimal)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.daysInYear,_vm.systemValues.daysInYear,_vm.$v.systemValues.daysInYear.$dirty,_vm.$v.systemValues.daysInYear.isDecimal)}}})])],1)],1),(!_vm.$v.systemValues.daysInYear.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid days in year\\n \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Public Blob Contatiner Name\",\"label-for\":\"publicBlobContainerName\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"publicBlobContainerName\",\"type\":\"text\",\"placeholder\":\"Enter Blob Container Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.publicBlobContainerName.$touch()}},model:{value:(_vm.systemValues.publicBlobContainerName),callback:function ($$v) {_vm.$set(_vm.systemValues, \"publicBlobContainerName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.publicBlobContainerName\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.publicBlobContainerName.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.publicBlobContainerName,_vm.systemValues.publicBlobContainerName,_vm.$v.systemValues.publicBlobContainerName.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Bank Statement Processor Queue Name\",\"label-for\":\"bankStatementProcessorQueueName\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"\",\"type\":\"text\",\"placeholder\":\"Enter Queue Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.bankStatementProcessorQueueName.$touch()}},model:{value:(_vm.systemValues.bankStatementProcessorQueueName),callback:function ($$v) {_vm.$set(_vm.systemValues, \"bankStatementProcessorQueueName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.bankStatementProcessorQueueName\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.bankStatementProcessorQueueName.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.bankStatementProcessorQueueName,_vm.systemValues.bankStatementProcessorQueueName,_vm.$v.systemValues.bankStatementProcessorQueueName.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Allowed Bank File Types\",\"label-for\":\"allowedBankFileTypes\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"allowedBankFileTypes\",\"type\":\"text\",\"placeholder\":\"Enter Allowed Bank File Types\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.allowedBankFileTypes.$touch()}},model:{value:(_vm.systemValues.allowedBankFileTypes),callback:function ($$v) {_vm.$set(_vm.systemValues, \"allowedBankFileTypes\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.allowedBankFileTypes\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.allowedBankFileTypes.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.allowedBankFileTypes,_vm.systemValues.allowedBankFileTypes,_vm.$v.systemValues.allowedBankFileTypes.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Dashboard Updater Queue Name\",\"label-for\":\"dashboardUpdaterQueueName\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"dashboardUpdaterQueueName\",\"type\":\"text\",\"placeholder\":\"Enter Queue Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.dashboardUpdaterQueueName.$touch()}},model:{value:(_vm.systemValues.dashboardUpdaterQueueName),callback:function ($$v) {_vm.$set(_vm.systemValues, \"dashboardUpdaterQueueName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.dashboardUpdaterQueueName\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.dashboardUpdaterQueueName.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.dashboardUpdaterQueueName,_vm.systemValues.dashboardUpdaterQueueName,_vm.$v.systemValues.dashboardUpdaterQueueName.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Dashboard Info Table\",\"label-for\":\"dashboardInfoTable\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"dashboardInfoTable\",\"type\":\"text\",\"placeholder\":\"Enter Table Name\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.dashboardInfoTable.$touch()}},model:{value:(_vm.systemValues.dashboardInfoTable),callback:function ($$v) {_vm.$set(_vm.systemValues, \"dashboardInfoTable\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.dashboardInfoTable\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.dashboardInfoTable.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.dashboardInfoTable,_vm.systemValues.dashboardInfoTable,_vm.$v.systemValues.dashboardInfoTable.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Admin Email Settings - BCC Address\",\"label-for\":\"apexAdminEmailSettingsBCCAddress\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"apexAdminEmailSettingsBCCAddress\",\"type\":\"text\",\"placeholder\":\"Enter BCC Address\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.apexAdminEmailSettingsBCCAddress.$touch()}},model:{value:(_vm.systemValues.apexAdminEmailSettingsBCCAddress),callback:function ($$v) {_vm.$set(_vm.systemValues, \"apexAdminEmailSettingsBCCAddress\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.apexAdminEmailSettingsBCCAddress\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.apexAdminEmailSettingsBCCAddress.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.apexAdminEmailSettingsBCCAddress,_vm.systemValues.apexAdminEmailSettingsBCCAddress,_vm.$v.systemValues.apexAdminEmailSettingsBCCAddress.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Website Domain\",\"label-for\":\"websiteDomain\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"websiteDomain\",\"type\":\"text\",\"placeholder\":\"Enter Website Domain\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.websiteDomain.$touch()}},model:{value:(_vm.systemValues.websiteDomain),callback:function ($$v) {_vm.$set(_vm.systemValues, \"websiteDomain\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.websiteDomain\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.websiteDomain.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.websiteDomain,_vm.systemValues.websiteDomain,_vm.$v.systemValues.websiteDomain.$dirty)}}})])],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":\"Same Site Policy\",\"label-for\":\"sameSitePolicy\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"\",\"type\":\"text\",\"placeholder\":\"Enter Same Site Policy\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.systemValues.sameSitePolicy.$touch()}},model:{value:(_vm.systemValues.sameSitePolicy),callback:function ($$v) {_vm.$set(_vm.systemValues, \"sameSitePolicy\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"systemValues.sameSitePolicy\"}}),_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-save cursor-pointer\",class:{ 'enabled-button': (_vm.$v.systemValues.sameSitePolicy.$dirty)},attrs:{\"aria-hidden\":\"true\",\"id\":\"\"},on:{\"click\":function($event){return _vm.onSaveSystemValue(_vm.sameSitePolicy,_vm.systemValues.sameSitePolicy,_vm.$v.systemValues.sameSitePolicy.$dirty)}}})])],1)],1)],1)],1)],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n\r\nimport { Component, Prop, Vue,Watch } from 'vue-property-decorator';\r\nimport {SystemValuesModel} from '@/models/systemValues.model'\r\nimport { validationMixin } from 'vuelidate'\r\nimport { required} from 'vuelidate/lib/validators'\r\nimport apiService from '@/shared/services/apiService'\r\nimport { warn } from 'vue-class-component/lib/util';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\nimport lookupService from '@/shared/services/lookupService'\r\nimport { CSwitch as cSwitch } from '@coreui/vue'\r\nimport moment from 'moment'\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport {SystemValuesEnums} from '@/shared/enums/systemValues.enum'\r\n\r\n\r\n@Component({\r\n components: {\r\n cSwitch,\r\n Modal\r\n },\r\n validations: {\r\n systemValues:{\r\n sendGridApiKey:{},\r\n sendGridTenantTemplateId:{},\r\n sendGridAdminTemplateId:{},\r\n apexAdminEmailSettingsFromAddress:{},\r\n apexAdminEmailSettingsFromDisplay:{},\r\n apexAdminWebsiteHostedUrl:{},\r\n apexEmailSettingsFromAddress:{},\r\n apexWebsiteVersion:{},\r\n storageConnectionString:{},\r\n blobStorageBasePath:{},\r\n apexWebsiteHostedUrl:{},\r\n gstRate:{\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n },\r\n statutaryRatePercentage:{\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n },\r\n daysInYear:{\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return true\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n },\r\n publicBlobContainerName:{},\r\n bankStatementProcessorQueueName:{},\r\n allowedBankFileTypes:{},\r\n dashboardUpdaterQueueName:{},\r\n dashboardInfoTable:{},\r\n apexAdminEmailSettingsBCCAddress:{},\r\n websiteDomain:{},\r\n sameSitePolicy:{},\r\n atoResidualRate:{\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false;\r\n }\r\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \r\n }\r\n },\r\n effectiveLife:{\r\n isDecimal : value => \r\n {\r\n if (typeof value === 'undefined' || value === null || value === '') {\r\n return false;\r\n }\r\n return /^\\d+?$/.test(value) \r\n }\r\n }\r\n }\r\n },\r\n mixins:[validationMixin] \r\n})\r\nexport default class SystemValues extends Vue{\r\n \r\n sendGridApiKey:SystemValuesEnums = SystemValuesEnums.SendGridApiKey;\r\n sendGridTenantTemplateId:SystemValuesEnums = SystemValuesEnums.SendGridTenantTemplateId;\r\n sendGridAdminTemplateId:SystemValuesEnums = SystemValuesEnums.SendGridAdminTemplateId;\r\n apexAdminEmailSettingsFromAddress:SystemValuesEnums = SystemValuesEnums.ApexAdminEmailSettingsFromAddress;\r\n apexAdminEmailSettingsFromDisplay:SystemValuesEnums = SystemValuesEnums.ApexAdminEmailSettingsFromDisplay;\r\n apexAdminWebsiteHostedUrl:SystemValuesEnums = SystemValuesEnums.ApexAdminWebsiteHostedUrl;\r\n apexEmailSettingsFromAddress:SystemValuesEnums = SystemValuesEnums.ApexEmailSettingsFromAddress;\r\n apexWebsiteVersion:SystemValuesEnums = SystemValuesEnums.ApexWebsiteVersion;\r\n storageConnectionString:SystemValuesEnums = SystemValuesEnums.StorageConnectionString;\r\n blobStorageBasePath:SystemValuesEnums = SystemValuesEnums.BlobStorageBasePath;\r\n apexWebsiteHostedUrl:SystemValuesEnums = SystemValuesEnums.ApexWebsiteHostedUrl;\r\n gstRate:SystemValuesEnums = SystemValuesEnums.GstRate;\r\n statutaryRatePercentage:SystemValuesEnums = SystemValuesEnums.StatutaryRatePercentage;\r\n daysInYear:SystemValuesEnums = SystemValuesEnums.DaysInYear;\r\n publicBlobContainerName:SystemValuesEnums = SystemValuesEnums.PublicBlobContainerName;\r\n bankStatementProcessorQueueName:SystemValuesEnums = SystemValuesEnums.BankStatementProcessorQueueName;\r\n allowedBankFileTypes:SystemValuesEnums = SystemValuesEnums.AllowedBankFileTypes;\r\n dashboardUpdaterQueueName:SystemValuesEnums = SystemValuesEnums.DashboardUpdaterQueueName;\r\n dashboardInfoTable:SystemValuesEnums = SystemValuesEnums.DashboardInfoTable;\r\n apexAdminEmailSettingsBCCAddress:SystemValuesEnums = SystemValuesEnums.ApexAdminEmailSettingsBCCAddress;\r\n websiteDomain:SystemValuesEnums = SystemValuesEnums.WebsiteDomain;\r\n sameSitePolicy:SystemValuesEnums = SystemValuesEnums.SameSitePolicy;\r\n atoResidualRate:SystemValuesEnums = SystemValuesEnums.AtoResidualRate;\r\n effectiveLife:SystemValuesEnums = SystemValuesEnums.EffectiveLife;\r\n\r\n systemValues:SystemValuesModel = {\r\n sendGridApiKey:\"\",\r\n sendGridTenantTemplateId:\"\",\r\n sendGridAdminTemplateId:\"\",\r\n apexAdminEmailSettingsFromAddress:\"\",\r\n apexAdminEmailSettingsFromDisplay:\"\",\r\n apexAdminWebsiteHostedUrl:\"\",\r\n apexEmailSettingsFromAddress:\"\",\r\n apexWebsiteVersion:\"\",\r\n storageConnectionString:\"\",\r\n blobStorageBasePath:\"\",\r\n apexWebsiteHostedUrl:\"\",\r\n gstRate:\"\",\r\n statutaryRatePercentage:\"\",\r\n daysInYear:\"\",\r\n publicBlobContainerName:\"\",\r\n bankStatementProcessorQueueName:\"\",\r\n allowedBankFileTypes:\"\",\r\n dashboardUpdaterQueueName:\"\",\r\n dashboardInfoTable:\"\",\r\n apexAdminEmailSettingsBCCAddress:\"\",\r\n websiteDomain:\"\",\r\n sameSitePolicy:\"\",\r\n atoResidualRate:\"\",\r\n effectiveLife:\"\"\r\n };\r\n\r\n backNavigationConfirmation:boolean = false;\r\n \r\n created(){\r\n this.loadSystemValues();\r\n }\r\n\r\n routerNavigateBack()\r\n {\r\n if(this.$v.systemValues.$anyDirty){\r\n this.backNavigationConfirmation = true;\r\n }\r\n else{\r\n this.$router.push({name:'Dashboard'});\r\n }\r\n }\r\n\r\n onSaveSystemValue(systemValueType:SystemValuesEnums, value:any, isDirty:boolean, isValid:boolean = true){\r\n if(isDirty && isValid){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {\r\n SystemValueType: systemValueType,\r\n Value: value\r\n }\r\n apiService.sendPostRequest('System','SystemValue',params).then(\r\n response => {\r\n if(response.data.isSuccess){\r\n switch(systemValueType){\r\n case SystemValuesEnums.SendGridApiKey:\r\n this.$v.systemValues.sendGridApiKey.$reset();\r\n break\r\n case SystemValuesEnums.SendGridAdminTemplateId:\r\n this.$v.systemValues.sendGridAdminTemplateId.$reset();\r\n break\r\n case SystemValuesEnums.SendGridTenantTemplateId:\r\n this.$v.systemValues.sendGridTenantTemplateId.$reset();\r\n break\r\n case SystemValuesEnums.ApexAdminEmailSettingsFromAddress:\r\n this.$v.systemValues.apexAdminEmailSettingsFromAddress.$reset();\r\n break\r\n case SystemValuesEnums.ApexAdminEmailSettingsFromDisplay:\r\n this.$v.systemValues.apexAdminEmailSettingsFromDisplay.$reset();\r\n break\r\n case SystemValuesEnums.ApexAdminWebsiteHostedUrl:\r\n this.$v.systemValues.apexAdminWebsiteHostedUrl.$reset();\r\n break\r\n case SystemValuesEnums.ApexEmailSettingsFromAddress:\r\n this.$v.systemValues.apexEmailSettingsFromAddress.$reset();\r\n break\r\n case SystemValuesEnums.ApexWebsiteHostedUrl:\r\n this.$v.systemValues.apexWebsiteHostedUrl.$reset();\r\n break\r\n case SystemValuesEnums.StorageConnectionString:\r\n this.$v.systemValues.storageConnectionString.$reset();\r\n break\r\n case SystemValuesEnums.BlobStorageBasePath:\r\n this.$v.systemValues.blobStorageBasePath.$reset();\r\n break\r\n case SystemValuesEnums.ApexWebsiteVersion:\r\n this.$v.systemValues.apexWebsiteVersion.$reset();\r\n break\r\n case SystemValuesEnums.GstRate:\r\n this.$v.systemValues.gstRate.$reset();\r\n break\r\n case SystemValuesEnums.StatutaryRatePercentage:\r\n this.$v.systemValues.statutaryRatePercentage.$reset();\r\n break\r\n case SystemValuesEnums.DaysInYear:\r\n this.$v.systemValues.daysInYear.$reset();\r\n break\r\n case SystemValuesEnums.PublicBlobContainerName:\r\n this.$v.systemValues.publicBlobContainerName.$reset();\r\n break\r\n case SystemValuesEnums.BankStatementProcessorQueueName:\r\n this.$v.systemValues.bankStatementProcessorQueueName.$reset();\r\n break\r\n case SystemValuesEnums.AllowedBankFileTypes:\r\n this.$v.systemValues.allowedBankFileTypes.$reset();\r\n break\r\n case SystemValuesEnums.DashboardUpdaterQueueName:\r\n this.$v.systemValues.dashboardUpdaterQueueName.$reset();\r\n break\r\n case SystemValuesEnums.DashboardInfoTable:\r\n this.$v.systemValues.dashboardInfoTable.$reset();\r\n break\r\n case SystemValuesEnums.ApexAdminEmailSettingsBCCAddress:\r\n this.$v.systemValues.apexAdminEmailSettingsBCCAddress.$reset();\r\n break\r\n case SystemValuesEnums.WebsiteDomain:\r\n this.$v.systemValues.websiteDomain.$reset();\r\n break\r\n case SystemValuesEnums.SameSitePolicy:\r\n this.$v.systemValues.sameSitePolicy.$reset();\r\n break\r\n case SystemValuesEnums.AtoResidualRate:\r\n this.$v.systemValues.atoResidualRate.$reset();\r\n break;\r\n case SystemValuesEnums.EffectiveLife:\r\n this.$v.systemValues.effectiveLife.$reset();\r\n break;\r\n }\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n }\r\n\r\n loadSystemValues(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('System','SystemValues',{}).then(response=>{\r\n this.systemValues = response.data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onOkayToGoBack(){\r\n this.backNavigationConfirmation = false;\r\n this.$router.push({name:'Dashboard'});\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemValues.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SystemValues.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SystemValues.vue?vue&type=template&id=0f86cffa&scoped=true\"\nimport script from \"./SystemValues.vue?vue&type=script&lang=ts\"\nexport * from \"./SystemValues.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SystemValues.vue?vue&type=style&index=0&id=0f86cffa&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0f86cffa\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_c('DataTable',{ref:\"tenantTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No tenants to display.\",\"customTemplates\":_vm.customTemplateList}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-title primary-text mb-3\"},[_c('strong',[_vm._v(\"Tenants\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue,Watch } from 'vue-property-decorator';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport apiService from '@/shared/services/apiService';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\n\n@Component({\n components: {\n DataTable\n }\n})\nexport default class TenantList extends Vue{\n showEmptyBanner:boolean = false;\n items:any = [];\n fields = [\n {key: 'organisationName', label:'Organisation Name'},\n {key: 'uniqueName', label:'Unique Name', class:'width_20'},\n {key: 'enabled', class:'width_10 text-center',\n formatter:(value, key, item) => {\n return item.enabled ? 'Yes' : 'No';\n }\n },\n ];\n customTemplateList:Array = [];\n\n created(){\n this.loadTenantList();\n }\n loadTenantList(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"System\",\"Tenants\").then(response =>{\n this.items = response.data;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TenantList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./TenantList.vue?vue&type=template&id=6f9741b6&scoped=true\"\nimport script from \"./TenantList.vue?vue&type=script&lang=ts\"\nexport * from \"./TenantList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6f9741b6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showLodgeDateSelectModal)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"500px\",\"maxHeight\":\"1000px\",\"id\":\"lodgePeriod\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Select Lodged On Date \")]),_c('div',{staticClass:\"lodgeDateModalBody\",attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-container',[_c('b-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.onSubmit.apply(null, arguments)}}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"12\",\"lg\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"Lodged On Date\",\"label-for\":\"lodgeDate\"}},[_c('DatePicker',{staticClass:\"mt-4\",attrs:{\"use-utc\":true,\"id\":'lodgeDate',\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Select Lodged On Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true},on:{\"input\":function($event){return _vm.$v.lodgeDate.$touch()}},model:{value:(_vm.lodgeDate),callback:function ($$v) {_vm.lodgeDate=$$v},expression:\"lodgeDate\"}}),(_vm.$v.lodgeDate.$dirty && !_vm.$v.lodgeDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Lodge Date is required\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"LodgePeriod_CloseButton\"},on:{\"click\":_vm.closeLodgeDateSelectModal}},[_vm._v(\"\\n Close\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"disabled\":!_vm.$v.lodgeDate.required,\"id\":\"closeLodgePeriodModal\"},on:{\"click\":_vm.OnLodgeGSTCalculationPeriod}},[_vm._v(\"\\n Lodge Period\\n \")])],1)]):_vm._e(),(_vm.showCancelConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelLodgePeriodConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to cancel?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelLodgedPeriodConf_CancelButton\"},on:{\"click\":function($event){_vm.showCancelConfirmation = false;}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelLodgePeriodConf_okButton\"},on:{\"click\":_vm.onOkayToCancel}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label-cols-sm\":\"3\",\"label-cols-md\":\"3\",\"label-cols-lg\":\"2\",\"label-cols-xl\":\"1\",\"label\":\"Select a Period\",\"label-for\":\"select-a-gst-calculation-period\"}},[_c('b-form-select',{staticClass:\"textInput indentedTextInput mt-1 col-md-4 col-lg-5 col-xl-5\",attrs:{\"id\":\"selectPeriod\",\"plain\":true,\"options\":_vm.GSTCalculationPeriodList,\"size\":\"sm\"},on:{\"change\":_vm.onSelectedPeriodChange},model:{value:(_vm.selectedGSTCalculationPeriodId),callback:function ($$v) {_vm.selectedGSTCalculationPeriodId=$$v},expression:\"selectedGSTCalculationPeriodId\"}})],1)],1)],1),_c('Tabs',{attrs:{\"dirtyValidatorRefNumbers\":_vm.dirtyValidationRefNumbers,\"selectedTabRouterName\":_vm.selectedTabRouteName,\"routeName\":_vm.routeName}},[_c('Tab',{attrs:{\"name\":\"Summary\",\"selected\":true,\"index\":0,\"routerDisplayName\":\"summary\"}},[_c('ActivitySummary',{attrs:{\"GSTCalculationPeriodId\":_vm.selectedGSTCalculationPeriodId}})],1),_c('Tab',{attrs:{\"name\":\"Transactions\",\"index\":1,\"routerDisplayName\":\"transactions\"}},[_c('ActivityTransactionList',{attrs:{\"GSTCalculationPeriodId\":_vm.selectedGSTCalculationPeriodId}})],1),_c('b-row',{staticClass:\"float-right mr-1\",attrs:{\"slot\":\"tabs-buttons\"},slot:\"tabs-buttons\"},[(!_vm.isPeriodLodged)?_c('b-button',{staticClass:\"pull-right primary\",attrs:{\"id\":\"markAsLodgedBtn\"},on:{\"click\":_vm.onClickLodgePeriod}},[_vm._v(\"\\n Mark As Lodged\\n \")]):_vm._e(),(_vm.isPeriodLodged)?_c('div',{staticClass:\"mb-2 mr-3 pull-left lodgedText\"},[_vm._v(\"\\n Lodged on: \"+_vm._s(_vm.periodLodgedDate)+\"\\n \")]):_vm._e()],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',[_c('b-col',{attrs:{\"md\":\"3\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Summary\")])])]),_c('b-col',{staticClass:\"align-center\",attrs:{\"md\":\"9\"}},[_c('b-form-checkbox',{staticClass:\"inline-checkbox\",attrs:{\"id\":\"agentCheckbox\"},on:{\"input\":_vm.loadGSTCalculationSummary},model:{value:(_vm.showAgentData),callback:function ($$v) {_vm.showAgentData=$$v},expression:\"showAgentData\"}},[_c('span',[_vm._v(\"Show Agent Income/Expense\")])])],1)],1),_c('DataTable',{ref:\"applicationSummaryTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"showEmptyBanner\":true,\"emptyBanner\":\"No Summary details to display.\",\"customTemplates\":_vm.customTemplatesList}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Watch, Prop, Vue, Emit } from 'vue-property-decorator';\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport apiService from '@/shared/services/apiService';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport { TableTemplate } from '@/models/tableCustomTemplate.model';\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n DataTable\n }\n }\n)\nexport default class ActivitySummary extends Vue{\n @Prop() GSTCalculationPeriodId:number;\n\n selectedGSTCalculationPeriodId:number = 0;\n GSTCalculationPeriodList:any[] = [];\n items:any [] = [];\n showAgentData = false;\n customTemplatesList: Array = [{slot: 'amount', customTemplate: ApexCurrency}]\n \n @Watch('GSTCalculationPeriodId')\n onGSTCalculationPeriodIdChanged(val: any, oldVal: any)\n {\n this.selectedGSTCalculationPeriodId = val;\n if(this.selectedGSTCalculationPeriodId > 0){\n this.loadGSTCalculationSummary();\n } \n }\n fields = [\n {key: 'description',label:\"Description\",class:'width_50'},\n {key: 'amount', label:\"Amount\", class:'width_50 text-right'}\n ]\n\n loadGSTCalculationSummary(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {gstCalculationPeriodId : this.selectedGSTCalculationPeriodId, includeAgentFields: this.showAgentData}\n apiService.sendGetRequest(\"Finance\",\"GSTPeriodTransactionSummary\", params).then(\n response =>{\n if(response.data){\n this.items = response.data;\n } \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n \n @Emit('onLoadGSTPeriodList') onLoadGSTPeriodList(data:any,selectedId:number){\n\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivitySummary.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivitySummary.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ActivitySummary.vue?vue&type=template&id=3029b5be&scoped=true\"\nimport script from \"./ActivitySummary.vue?vue&type=script&lang=ts\"\nexport * from \"./ActivitySummary.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ActivitySummary.vue?vue&type=style&index=0&id=3029b5be&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3029b5be\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.selectedGSTCalculationPeriodId > 0)?_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",staticClass:\"responsive-search \",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"catagorySelectList\"}},[_c('multiselect',{ref:\"multiselect\",attrs:{\"id\":\"catogorySelect\",\"options\":_vm.transactionCategoryList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onTransactionCategoryChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(_vm._s(_vm.transactionCategoryList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Category\" : \"Categories\")+\"\\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}],null,false,1820081211),model:{value:(_vm.selectedTransactionCategoryList),callback:function ($$v) {_vm.selectedTransactionCategoryList=$$v},expression:\"selectedTransactionCategoryList\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"2\",\"lg\":\"2\",\"cols\":\"12\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"sectionSelectList\"}},[_c('multiselect',{ref:\"multiselect\",attrs:{\"id\":\"sectionSelect\",\"options\":_vm.sectionFilterList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onSectionChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(_vm._s(_vm.sectionFilterList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Section\" : \"Sections\")+\"\\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedSectionList.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}],null,false,2739267482),model:{value:(_vm.selectedSectionFilterList),callback:function ($$v) {_vm.selectedSectionFilterList=$$v},expression:\"selectedSectionFilterList\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-dropdown',{staticClass:\"mb-3 \",attrs:{\"id\":\"generateReportCsv\",\"text\":\"Export As\",\"disabled\":!_vm.items || _vm.items.length <= 0}},[_c('b-dropdown-item',{on:{\"click\":_vm.generateCSVReport}},[_vm._v(\"CSV\")])],1)],1)],1):_vm._e(),_c('DataTable',{ref:\"transactionGSTTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"customTemplates\":_vm.customTemplateList,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No Transactions to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-form-group',[_c('b-form-checkbox',{staticClass:\"ml-1\",attrs:{\"checked\":_vm.isChecked,\"id\":'markTransactionChkBox_' + _vm.item.id,\"disabled\":_vm.item.isInvalid},on:{\"change\":_vm.onClick},model:{value:(_vm.isChecked),callback:function ($$v) {_vm.isChecked=$$v},expression:\"isChecked\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport moment from 'moment'\n\n@Component\nexport default class ActivityStatementSelectRow extends Vue{\n @Prop() item:any;\n isChecked:boolean = false;\n\n created()\n {\n if(this.item && this.item.isChecked)\n {\n this.isChecked = true;\n }\n else{\n this.isChecked = false;\n }\n }\n\n @Watch('item.isChecked')\n onIsCheckedChanged1(val: any, oldVal: any)\n {\n this.isChecked = false\n this.$nextTick(()=>{\n if(this.isChecked != val)\n this.isChecked = val;\n }); \n }\n\n onClick(){\n this.$nextTick(()=>{\n this.item.isChecked = this.isChecked;\n this.onChange({isChecked:this.isChecked,item:this.item},DataTableActionTypes.ItemChecked);\n }); \n }\n\n @Emit('customEvent') onChange(data:any,type:DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivityStatementSelectRow.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivityStatementSelectRow.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ActivityStatementSelectRow.vue?vue&type=template&id=1c8b5cc4&scoped=true\"\nimport script from \"./ActivityStatementSelectRow.vue?vue&type=script&lang=ts\"\nexport * from \"./ActivityStatementSelectRow.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ActivityStatementSelectRow.vue?vue&type=style&index=0&id=1c8b5cc4&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1c8b5cc4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-form-group',[_c('b-form-checkbox',{staticClass:\"ml-1\",attrs:{\"checked\":_vm.isChecked,\"id\":'markTransactionChkBox'},on:{\"change\":_vm.onClick},model:{value:(_vm.isChecked),callback:function ($$v) {_vm.isChecked=$$v},expression:\"isChecked\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit, Watch } from 'vue-property-decorator';\nimport {DataTableActionTypes} from '@/shared/enums/dataTableActionTypes.enum';\nimport moment from 'moment'\n\n@Component\nexport default class SelectAllCustomHeader extends Vue{\n @Prop() data:any;\n isChecked:boolean = false;\n\n created()\n {\n if(this.data.selectAll)\n {\n this.isChecked = true;\n }\n else{\n this.isChecked = false;\n }\n }\n\n\n @Watch('data.selectAll')\n onIsCheckedChanged1(val: any, oldVal: any)\n {\n this.isChecked = false\n this.$nextTick(()=>{\n if(this.isChecked != val)\n this.isChecked = val;\n }); \n }\n\n onClick(){\n this.$nextTick(()=>{\n this.onChange({isChecked:this.isChecked},DataTableActionTypes.RowSelect);\n }); \n }\n\n @Emit('customEvent') onChange(data:any,type:DataTableActionTypes){\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectAllCustomHeader.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectAllCustomHeader.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SelectAllCustomHeader.vue?vue&type=template&id=73702d3c&scoped=true\"\nimport script from \"./SelectAllCustomHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./SelectAllCustomHeader.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SelectAllCustomHeader.vue?vue&type=style&index=0&id=73702d3c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"73702d3c\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Watch, Prop, Vue } from 'vue-property-decorator';\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport apiService from '@/shared/services/apiService';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport lookupService from '@/shared/services/lookupService';\nimport {GSTPeriodTransactionFilterParams} from '@/models/tableFilterParams.model';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport {TableTemplate} from '@/models/tableCustomTemplate.model';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { ActivityStatementCategoryTypes } from '@/shared/enums/activityStatementCategoryTypes.enum';\nimport ActivityStatementSelectRow from '@/components/admin/activityStatment/ActivityStatementSelectRow.vue';\nimport SelectAllCustomHeader from '@/components/admin/activityStatment/SelectAllCustomHeader.vue';\nimport moment from 'moment';\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n FilterTextInput,\n DataTable,\n Modal,\n SelectAllCustomHeader\n }\n }\n)\nexport default class ActivityTransactions extends Vue{\n @Prop() GSTCalculationPeriodId:number;\n items:any = [];\n selectedGSTCalculationPeriodId:number = 0;\n transactionCategoryList:any = [];\n selectedTransactionCategoryList:any[] = [];\n sectionFilterList:any[] = [];\n selectedSectionFilterList:any[] = [];\n selectedSectionFilterIdList:number[] = [];\n isPanelOpen:boolean = false;\n filter:string = \"\";\n sortBy:string = \"date\";\n sortDesc:boolean = true;\n showEmptyBanner:boolean = false;\n includeGSTOnIncome:boolean = true;\n includeGSTFreeIncome:boolean = true;\n includeGSTOnExpenses:boolean = true;\n includeGSTFreeExpenses:boolean = true;\n resetButtonDisabled:boolean = true;\n\n\n @Watch('GSTCalculationPeriodId')\n onGSTCalculationPeriodIdChanged(val: any, oldVal: any)\n {\n this.selectedGSTCalculationPeriodId = val\n if(this.selectedGSTCalculationPeriodId > 0){\n this.includeGSTOnIncome = true;\n this.includeGSTFreeIncome = true;\n this.includeGSTOnExpenses = true;\n this.includeGSTFreeExpenses = true;\n this.loadTransactionCategoryList();\n } else {\n this.showEmptyBanner = true;\n }\n }\n\n fields = [ \n {key: 'clientName',label:\"Client Name\",sortable:'true', class:'width_10'},\n {key: 'vehicleName', label:\"Vehicle\",sortable:'true', class:'width_14'}, \n {key: 'date',label:\"Date\",sortable:'true', class:'width_7',\n formatter: (value, key, item) => {\n return moment(item.date).format(\"DD MMM YYYY\")\n }\n },\n {key: 'description',label:\"Description\", class:'width_15'},\n {key: 'reference', label:\"Reference\",class:'width_11'},\n {key: 'category',label:\"Category\", sortable:'true', class:'width_9'},\n {key: 'fundsReceived',label:\"Funds Received $(incl.GST)\", class:'width_7'},\n {key: 'gstOnIncome',label:\"GST on Income\", class:'width_6'},\n {key: 'expenses',label:\"Expenses $(incl.GST)\", class:'width_6'},\n {key: 'gstOnExpenses',label:\"GST on Expenses\", class:'width_5'}, \n {key: 'categoryType',label:\"Category Type\", sortable:'true', class:'width_5'}, \n {key: 'status',label:\"Status\",sortable:'true', class:'width_6'}, \n ];\n customTemplateList:Array = [ {slot:\"isChecked\",customTemplate:ActivityStatementSelectRow},\n {slot:\"fundsReceived\",customTemplate:ApexCurrency},\n {slot:\"gstOnIncome\",customTemplate:ApexCurrency},\n {slot:\"expenses\",customTemplate:ApexCurrency},\n {slot:\"gstOnExpenses\",customTemplate:ApexCurrency},\n ];\n\n created(){\n this.selectedGSTCalculationPeriodId = this.$store.getters.getGSTCalculationPeriodId;\n if(this.selectedGSTCalculationPeriodId > 0){\n this.loadTransactionCategoryList();\n } else {\n this.showEmptyBanner = true;\n }\n }\n\n refreshGrid(gstPeriodTransactionFilterParams:GSTPeriodTransactionFilterParams){\n this.items = [];\n this.$store.dispatch('storeIsBusyValue',true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Finance\",\"GSTPeriodTransactionsList\", gstPeriodTransactionFilterParams).then(\n response => {\n if(response.data){\n this.items = response.data;\n this.showEmptyBanner = true;\n } \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n loadTransactionCategoryList(){\n lookupService.GetExpenseAndRevenueCategoriesIncludingNoneList().then(data => {\n this.transactionCategoryList = data;\n this.selectedTransactionCategoryList = this.transactionCategoryList;\n this.loadActivityStatementFilterList();\n });\n }\n\n resetFilters(){\n this.filter = \"\";\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.selectedTransactionCategoryList = this.transactionCategoryList;\n this.selectedSectionFilterList = [this.sectionFilterList[0], this.sectionFilterList[1], this.sectionFilterList[2], this.sectionFilterList[3]];\n this.selectedSectionFilterIdList = this.selectedSectionFilterList.map(section => section.value);\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter.length>2?this.filter:\"\", SortBy:\"date\", SortDesc:true,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n }\n\n resetTable(){\n this.sortBy = \"date\";\n (this.$refs.transactionGSTTable as DataTable).reset(true);\n }\n\n loadActivityStatementFilterList() {\n lookupService.GetActivityStatementFilterTypesList().then(data => {\n this.sectionFilterList = data;\n this.sectionFilterList = [this.sectionFilterList[0], this.sectionFilterList[1], this.sectionFilterList[4], this.sectionFilterList[5],\n this.sectionFilterList[2], this.sectionFilterList[3], this.sectionFilterList[6], this.sectionFilterList[7]]\n this.selectedSectionFilterList = [this.sectionFilterList[0], this.sectionFilterList[1], this.sectionFilterList[2], this.sectionFilterList[3]];\n this.selectedSectionFilterIdList = this.selectedSectionFilterList.map(section => section.value);\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter, SortBy:this.sortBy, SortDesc:this.sortDesc,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n });\n }\n\n onTransactionCategoryChanged(){\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter, SortBy:this.sortBy, SortDesc:this.sortDesc,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n this.isPanelOpen = false;\n this.resetButtonDisabled = false;\n }\n\n onSectionChanged() {\n this.selectedSectionFilterIdList = this.selectedSectionFilterList.map(section => section.value);\n this.resetButtonDisabled = false;\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter, SortBy:this.sortBy, SortDesc:this.sortDesc,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n\n }\n\n filterGrid(filterString:string) {\n this.filter = filterString.toLowerCase();\n this.resetButtonDisabled = false;\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter, SortBy:this.sortBy, SortDesc:this.sortDesc,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n }\n\n removeSelectedList(){\n this.selectedTransactionCategoryList = [];\n if(!this.isPanelOpen){\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter, SortBy:this.sortBy, SortDesc:this.sortDesc,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n }\n }\n\n removeSelectedSectionList() {\n this.selectedSectionFilterList = [];\n this.selectedSectionFilterIdList = [0];\n if(!this.isPanelOpen){\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter, SortBy:this.sortBy, SortDesc:this.sortDesc,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n }\n }\n\n generateCSVReport(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,\n ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory,\n OtherCategoryList: this.otherCategoryList,\n RevenueCategoryList:this.revenueCategoryList,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString(),\n SearchByString:this.filter,\n SortBy:this.sortBy, \n SortDesc:this.sortDesc}\n apiService.sendGetRequest(\"Finance\",\"GSTPeriodTransactionsListReport\",params).then(response => \n {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\n }\n else\n {\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onLoadRelatedTransactionList(){\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter, SortBy:this.sortBy, SortDesc:this.sortDesc,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n }\n\n onSortingChange(ctx:any){\n this.sortDesc = ctx.sortDesc;\n this.sortBy = ctx.sortBy;\n this.refreshGrid({GSTCalculationPeriodId:this.selectedGSTCalculationPeriodId,ExpenseClaimCategoryList:this.expenseCalimCategoryList,\n IncludeNullTransactionCategories:this.isIncludeNullTransactionCategory, OtherCategoryList:this.otherCategoryList, RevenueCategoryList:this.revenueCategoryList,\n IncludeGSTOnIncome:this.includeGSTOnIncome, IncludeGSTFreeIncome:this.includeGSTFreeIncome,IncludeGSTOnExpenses:this.includeGSTOnExpenses, \n IncludeGSTFreeExpenses: this.includeGSTFreeExpenses,SearchByString:this.filter, SortBy:this.sortBy, SortDesc:this.sortDesc,\n ActivityStatementFilters: this.selectedSectionFilterIdList.toString()});\n }\n\n resetAllCheckBoxes() {\n this.includeGSTOnIncome = false;\n this.includeGSTFreeIncome = false;\n this.includeGSTOnExpenses = false;\n this.includeGSTFreeExpenses = false;\n }\n \n get expenseCalimCategoryList(){\n return this.selectedTransactionCategoryList.filter(obj => obj.type == ActivityStatementCategoryTypes.Expense)\n .map(a => a.category); \n }\n get revenueCategoryList(){\n return this.selectedTransactionCategoryList.filter(obj => obj.type == ActivityStatementCategoryTypes.Revenue)\n .map(a => a.category); \n }\n\n get otherCategoryList(){\n return this.selectedTransactionCategoryList.filter(obj => obj.type == ActivityStatementCategoryTypes.Other)\n .map(a => a.category); \n }\n\n get isIncludeNullTransactionCategory(){\n return this.selectedTransactionCategoryList.filter(obj => obj.type == ActivityStatementCategoryTypes.None).length == 0 ? false : true\n }\n\n}\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivityTransactionList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivityTransactionList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ActivityTransactionList.vue?vue&type=template&id=68de6e01&scoped=true\"\nimport script from \"./ActivityTransactionList.vue?vue&type=script&lang=ts\"\nexport * from \"./ActivityTransactionList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68de6e01\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\nimport Tabs from '@/shared/components/tabs/Tabs.vue';\nimport Tab from '@/shared/components/tabs/Tab.vue';\nimport apiService from '@/shared/services/apiService';\nimport ActivitySummary from '@/components/admin/activityStatment/ActivitySummary.vue';\nimport lookupService from '@/shared/services/lookupService';\nimport ActivityTransactionList from '@/components/admin/activityStatment/ActivityTransactionList.vue';\nimport { required } from 'vuelidate/lib/validators';\nimport { validationMixin } from 'vuelidate';\nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component(\n {\n components: {\n Tab,\n Tabs,\n Modal,\n ActivitySummary,\n ActivityTransactionList\n },\n mixins:[validationMixin],\n validations:{\n lodgeDate:{ \n required\n }\n }\n }\n)\nexport default class ActivityStatementDetails extends Vue{\n dirtyValidationRefNumbers:number[] =[0,0];\n selectedGSTCalculationPeriodId:number = 0;\n GSTCalculationPeriodList:any[] = [];\n routeName:string = \"Activity Statement\";\n selectedTabRouteName:string = \"summary\"\n lodgeDate:any = \"\";\n showCancelConfirmation:boolean = false;\n showLodgeDateSelectModal:boolean = false;\n isPeriodLodged:boolean = false;\n periodLodgedDate:any = \"\";\n\n created(){\n this.selectedTabRouteName = this.$route.params.routerDisplayName ? this.$route.params.routerDisplayName : this.selectedTabRouteName;\n this.loadGSTCalculationPeriodList()\n }\n\n onSelectedPeriodChange(){\n this.$store.dispatch('storeGSTCalculationPeriodIdValue',this.selectedGSTCalculationPeriodId);\n var selectedPeriod = this.GSTCalculationPeriodList.filter(a => a.value == this.selectedGSTCalculationPeriodId)[0];\n this.isPeriodLodged = selectedPeriod.isLodged;\n this.periodLodgedDate = selectedPeriod.lodgedDate;\n }\n\n loadGSTCalculationPeriodList(clearCache:boolean = false){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetGSTCalculationPeriodList(clearCache).then(res => {\n this.GSTCalculationPeriodList = res;\n this.$store.dispatch('storeIsBusyValue',false);\n if(this.GSTCalculationPeriodList.length > 0){\n if(this.$store.getters.getGSTCalculationPeriodId > 0){\n this.selectedGSTCalculationPeriodId = this.$store.getters.getGSTCalculationPeriodId;\n } else {\n this.selectedGSTCalculationPeriodId = this.GSTCalculationPeriodList[0].value\n this.$store.dispatch('storeGSTCalculationPeriodIdValue',this.selectedGSTCalculationPeriodId);\n }\n var selectedPeriod = this.GSTCalculationPeriodList.filter(a => a.value == this.selectedGSTCalculationPeriodId)[0];\n this.isPeriodLodged = selectedPeriod.isLodged;\n this.periodLodgedDate = selectedPeriod.lodgedDate;\n } \n });\n }\n\n onLodgeGSTPeriod(){ \n this.loadGSTCalculationPeriodList(true);\n }\n\n closeLodgeDateSelectModal() {\n if(this.$v.lodgeDate.$dirty){\n this.showCancelConfirmation = true;\n } else {\n this.showLodgeDateSelectModal = false;\n }\n }\n\n onClickLodgePeriod(){\n this.showLodgeDateSelectModal = true;\n }\n\n onOkayToCancel(){\n this.showCancelConfirmation = false;\n this.showLodgeDateSelectModal = false;\n this.lodgeDate = \"\";\n this.$v.lodgeDate.$reset();\n }\n\n OnLodgeGSTCalculationPeriod(){\n var params = {\n GSTPeriodId : this.selectedGSTCalculationPeriodId,\n LodgeDate : this.lodgeDate\n }\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest(\"Finance\",\"LodgeGSTCalculationPeriod\", params).then(\n response => {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.showLodgeDateSelectModal = false;\n this.onLodgeGSTPeriod()\n } else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n } \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$notify({\n group: 'growlNotification',\n title: \"something went wrong\",\n type: 'error',\n duration: 5000\n });\n this.$store.dispatch('storeIsBusyValue',false);\n });\n this.$v.lodgeDate.$reset();\n }\n\n destroyed(){\n if (this.$route.name != \"Activity Statement\"){\n this.$store.dispatch('storeGSTCalculationPeriodIdValue',0);\n }\n }\n}\n\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivityStatmentDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ActivityStatmentDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ActivityStatmentDetails.vue?vue&type=template&id=1f5f5260&scoped=true\"\nimport script from \"./ActivityStatmentDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./ActivityStatmentDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ActivityStatmentDetails.vue?vue&type=style&index=0&id=1f5f5260&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f5f5260\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"md\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{staticClass:\"header cursor-pointer\",attrs:{\"slot\":\"header\"},on:{\"click\":function($event){return _vm.navigateBackToVehicleDetails()}},slot:\"header\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"text-muted text-uppercase db-item-name displayNameText\"},[_vm._v(_vm._s(_vm.year)+\" \"+_vm._s(_vm.vehicleName)+\" - Lease Details\")]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go to vehicle details\"}},[_c('i',{staticClass:\"cui-chevron-left\"})])])],1)],1),_c('b-card-body',[_c('b-row',[(_vm.isClient)?_c('b-col',{staticClass:\"lease-date-text\"},[_c('span',{staticClass:\"text-nowrap\"},[_c('b',[_vm._v(\"Lease Start Date :\")]),_vm._v(\"\\n \"+_vm._s(_vm._f(\"ApexDateFormat\")(_vm.leaseStartDate))+\"\\n \")])]):_vm._e()],1),_c('b-row',[(_vm.isClient)?_c('b-col',{staticClass:\"lease-date-text\"},[_c('span',{staticClass:\"text-nowrap\"},[_c('b',[_vm._v(\"Lease End Date   :\")]),_vm._v(\"\\n \"+_vm._s(_vm._f(\"ApexDateFormat\")(_vm.leaseEndDate))+\"\\n \")])]):_vm._e()],1),_c('b-row',[_c('b-col',{staticClass:\"pt-3 mt-2\"},[_c('LeasePaymentSchedule',{attrs:{\"leaseID\":_vm.leaseId}})],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport LeasePaymentSchedule from '@/components/admin/vehicleLeaseManagement/LeasePaymentSchdule.vue'\r\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\r\n\r\n@Component({\r\n components: {\r\n LeasePaymentSchedule\r\n }\r\n})\r\nexport default class VehicleLeasePaymentSchedule extends Vue{\r\n vehicleId:number = 0;\r\n leaseId:number = 0;\r\n leaseStartDate:string = \"\";\r\n leaseEndDate:string = \"\";\r\n vehicleName: string = \"\";\r\n year: any = \"\";\r\n isClient: boolean = false;\r\n\r\n created() {\r\n this.vehicleId = +this.$route.params.vehicleID ? +this.$route.params.vehicleID : 0;\r\n this.leaseId = +this.$route.params.leaseID ? +this.$route.params.leaseID : 0;\r\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n this.loadVehicleDetailsByVehicleID();\r\n }\r\n\r\n loadVehicleDetailsByVehicleID() {\r\n var params = { id: this.vehicleId };\r\n apiService.sendGetRequest(\"Vehicle\", \"Vehicle\", params).then(response => {\r\n this.year = response.data.item2.year;\r\n this.vehicleName = \" \" + response.data.item2.make + \" \" + response.data.item2.model + \" \" + response.data.item2.variant;\r\n this.leaseStartDate = response.data.item2.leaseStartDate\r\n this.leaseEndDate = response.data.item2.leaseEndDate\r\n });\r\n }\r\n\r\n navigateBackToVehicleDetails()\r\n {\r\n this.$router.push({name:'Main Vehicle UI',params:{vehicleID:this.vehicleId.toString()}});\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeasePaymentSchedule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeasePaymentSchedule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleLeasePaymentSchedule.vue?vue&type=template&id=7904ef33&scoped=true\"\nimport script from \"./VehicleLeasePaymentSchedule.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleLeasePaymentSchedule.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleLeasePaymentSchedule.vue?vue&type=style&index=0&id=7904ef33&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7904ef33\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"RCTI Invoices\")])]),_c('DataTable',{ref:\"RCTIInvoicesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No RCTI Invoice records to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"customEvent\":_vm.onDataTableCustomEvent,\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange}})],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.isGenerated)?_c('b-btn',{staticClass:\"ml-2 action-btn\",attrs:{\"title\":'Preview Invoice'},on:{\"click\":_vm.onPreviewInvoice}},[_c('i',{staticClass:\"fas fa-lg fa-file-pdf preview-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport apiService from '@/shared/services/apiService'\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport fileViewerService from '@/shared/services/fileViewerService';\n\n@Component({components: {\n Modal\n }\n})\nexport default class RCTIInvoiceListActionButtons extends Vue{\n @Prop() item:any\n\n onPreviewInvoice(){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Report\",\"PreviewRCTIInvoice\",{invoiceID:this.item.id}).then(\n response =>{\n if(response.data.isSuccess)\n {\n fileViewerService.ViewPDF(response.data.reportContentString,response.data.reportName);\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceListActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceListActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RCTIInvoiceListActionButtons.vue?vue&type=template&id=74b701d0&scoped=true\"\nimport script from \"./RCTIInvoiceListActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./RCTIInvoiceListActionButtons.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RCTIInvoiceListActionButtons.vue?vue&type=style&index=0&id=74b701d0&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"74b701d0\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('router-link',{staticClass:\"primary-text\",attrs:{\"to\":{ name: 'RCTI Invoice Lines', params: { invoiceID: _vm.item.id}}}},[_vm._v(_vm._s(_vm.item.invoiceNumber))])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue } from 'vue-property-decorator';\n\n@Component({components: {\n }\n})\nexport default class RCTIInvoiceLineLink extends Vue{\n @Prop() item:any\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceLineLink.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceLineLink.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RCTIInvoiceLineLink.vue?vue&type=template&id=c2f19c44&scoped=true\"\nimport script from \"./RCTIInvoiceLineLink.vue?vue&type=script&lang=ts\"\nexport * from \"./RCTIInvoiceLineLink.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c2f19c44\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport AppSettings from \"@/app.config\";\r\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\r\nimport { TableFilterParams } from \"@/models/tableFilterParams.model\";\r\nimport { DataTableActionTypes } from \"@/shared/enums/dataTableActionTypes.enum\";\r\nimport RCTIInvoiceListActionButtons from \"@/components/admin/RCTIInvoice/RCTIInvoiceListActionButtons.vue\";\r\nimport RCTIInvoiceLineLink from \"@/components/admin/RCTIInvoice/RCTIInvoiceLineLink.vue\";\r\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n },\r\n})\r\nexport default class RCTIInvoiceList extends Vue {\r\n perPage: number = AppSettings.defaultGridSize;\r\n fields = [\r\n {\r\n key: \"invoiceDate\", class: \"width_15\", sortable: \"true\", \r\n formatter: (value, key, item) => {\r\n return item.invoiceDateDisplayText;\r\n },\r\n },\r\n { key: \"invoiceNumber\", label:'Invoice Number', sortable: \"true\"},\r\n {\r\n key: \"amountInclGst\",\r\n label: \"Amount Incl. GST\",\r\n class: \"width_15 text-right\"\r\n },\r\n { key: \"email\", label: \"Email To\"},\r\n {\r\n key: \"emailSendDateTime\",\r\n label: \"Email Sent On\",\r\n class: \"width_15\",\r\n formatter: (value, key, item) => {\r\n return item.emailSendDateDisplayText;\r\n },\r\n },\r\n { key: \"actions\", label: \"\", class: \"text-center width_10\" },\r\n ];\r\n totalRows: number = 0;\r\n sortBy: string = \"invoiceDate\";\r\n sortDesc: boolean = true;\r\n customTemplateList: Array = [\r\n { slot: \"actions\", customTemplate: RCTIInvoiceListActionButtons },\r\n { slot: \"invoiceNumber\", customTemplate: RCTIInvoiceLineLink },\r\n { slot: \"amountInclGst\", customTemplate: ApexCurrency }\r\n ];\r\n showEmptyBanner: boolean = false;\r\n items: any[] = [];\r\n\r\n mounted() {\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: this.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: 0,\r\n Status: 0,\r\n });\r\n }\r\n\r\n onPageChange(sortBy: string, sortDesc: boolean, fromIndex: number) {\r\n this.refreshGrid({\r\n FromIndex: fromIndex,\r\n Count: this.perPage,\r\n SortBy: sortBy,\r\n SortDesc: sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: 0,\r\n Status: 0,\r\n });\r\n }\r\n\r\n onSortingChange(ctx: any) {\r\n var sortBy = ctx.sortBy;\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: sortBy,\r\n SortDesc: ctx.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: 0,\r\n Status: 0,\r\n });\r\n }\r\n\r\n onDataTableCustomEvent(data: any, type: DataTableActionTypes) {\r\n if (type == DataTableActionTypes.ActionButtonSelect) {\r\n (this.$refs.adminFeeRCTIInvoicesTable as DataTable).setLastCustomAction(type);\r\n }\r\n if (type == DataTableActionTypes.ResetActionButtton) {\r\n (this.$refs.adminFeeRCTIInvoicesTable as DataTable).resetLastCustomAction();\r\n }\r\n }\r\n\r\n refreshGrid(tableFilterParams: TableFilterParams) {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n this.showEmptyBanner = false;\r\n apiService\r\n .sendGetRequest(\"Finance\", \"RCTIInvoiceList\", tableFilterParams)\r\n .then((response) => {\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n })\r\n .catch((error) => {\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RCTIInvoiceList.vue?vue&type=template&id=d44777f6&scoped=true\"\nimport script from \"./RCTIInvoiceList.vue?vue&type=script&lang=ts\"\nexport * from \"./RCTIInvoiceList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d44777f6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n RCTI Invoice - Transactions\\n \"),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go Back to RCTI Invoice\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_c('i',{staticClass:\"cui-chevron-left\"})])]),(_vm.showInvoiceData)?_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('span',{staticClass:\"pl-1 text-nowrap \"},[_c('b',[_vm._v(\"RCTI Invoice Number    : \")]),_vm._v(_vm._s(_vm.invoiceNumber))])])],1):_vm._e(),(_vm.showInvoiceData)?_c('b-row',{staticClass:\"mb-2\"},[_c('b-col',[_c('span',{staticClass:\"pl-1 text-nowrap \"},[_c('b',[_vm._v(\"RCTI Invoice Period       : \")]),_vm._v(_vm._s(_vm.getInvoicePeriod()))])])],1):_vm._e(),(_vm.showInvoiceData)?_c('b-row',{staticClass:\"mb-3\"},[_c('b-col',[_c('span',{staticClass:\"pl-1 text-nowrap \"},[_c('b',[_vm._v(\"Total Amount Incl. GST : \")]),_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmount}})],1)])],1):_vm._e(),_c('DataTable',{ref:\"RCTIInvoiceLineTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No RCTI Invoice Line records to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onPageChange\":_vm.onPageChange,\"onSortingChanged\":_vm.onSortingChange}})],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport AppSettings from \"@/app.config\";\r\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\r\nimport { TableFilterParams } from \"@/models/tableFilterParams.model\";\r\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n },\r\n})\r\nexport default class RCTIInvoiceLineList extends Vue {\r\n invoiceId : number = 0;\r\n invoiceNumber: any;\r\n totalAmount: any;\r\n perPage: number = AppSettings.defaultGridSize;\r\n fields = [\r\n { \r\n key: \"itemDescription\", \r\n label: 'Transaction', \r\n class: \"width_15\", \r\n formatter: (value, key, item) => {\r\n return this.getDescriptionWithoutPeriod(item.itemDescription);\r\n },\r\n },\r\n {\r\n key: \"amount\",\r\n label: \"Amount\",\r\n class: \"width_15 text-right\",\r\n },\r\n {\r\n key: \"gstAmount\",\r\n label: \"GST Amount\",\r\n class: \"width_15 text-right\",\r\n },\r\n {\r\n key: \"totalAmount\",\r\n label: \"Amount Incl. GST\",\r\n class: \"width_15 text-right\",\r\n sortable: \"true\",\r\n }\r\n ];\r\n totalRows: number = 0;\r\n sortBy: string = \"totalAmount\";\r\n sortDesc: boolean = true;\r\n customTemplateList: Array = [{ slot: \"amount\", customTemplate: ApexCurrency },\r\n { slot: \"gstAmount\", customTemplate: ApexCurrency },\r\n { slot: \"totalAmount\", customTemplate: ApexCurrency },];\r\n showEmptyBanner: boolean = false;\r\n items: any[] = [];\r\n showInvoiceData: boolean = false;\r\n\r\n created() {\r\n this.invoiceId = +this.$route.params.invoiceID ? +this.$route.params.invoiceID : 0;\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: this.sortBy,\r\n SortDesc: this.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: this.invoiceId,\r\n Status: 0,\r\n });\r\n this.getRCTIInvoiceData();\r\n }\r\n\r\n onPageChange(sortBy: string, sortDesc: boolean, fromIndex: number) {\r\n this.refreshGrid({\r\n FromIndex: fromIndex,\r\n Count: this.perPage,\r\n SortBy: sortBy,\r\n SortDesc: sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: this.invoiceId,\r\n Status: 0,\r\n });\r\n }\r\n\r\n onSortingChange(ctx: any) {\r\n var sortBy = ctx.sortBy;\r\n this.refreshGrid({\r\n FromIndex: 0,\r\n Count: this.perPage,\r\n SortBy: sortBy,\r\n SortDesc: ctx.sortDesc,\r\n SearchByString: \"\",\r\n RelatedId: this.invoiceId,\r\n Status: 0,\r\n });\r\n }\r\n\r\n refreshGrid(tableFilterParams: TableFilterParams) {\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n this.showEmptyBanner = false;\r\n apiService.sendGetRequest(\"Finance\", \"RCTIInvoiceLineList\", tableFilterParams)\r\n .then((response) => {\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n })\r\n .catch((error) => {\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n getRCTIInvoiceData() {\r\n this.showInvoiceData = false;\r\n this.$store.dispatch(\"storeIsBusyValue\", true);\r\n apiService.sendGetRequest(\"Finance\", \"RCTIInvoiceData\", {id: this.invoiceId})\r\n .then((response) => {\r\n this.invoiceNumber = response.data.invoiceNumber;\r\n this.totalAmount = response.data.totalAmount;\r\n this.showInvoiceData = true;\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n })\r\n .catch((error) => {\r\n this.$store.dispatch(\"storeIsBusyValue\", false);\r\n });\r\n }\r\n\r\n getDescriptionWithoutPeriod(itemDescription: string){\r\n return itemDescription.split(' - Admin')[0];\r\n }\r\n\r\n getInvoicePeriod(){\r\n if(this.items != null && this.items.length > 0){\r\n return this.items[0].itemDescription.split('Admin Fee for ')[1];\r\n }\r\n return \"not available\"\r\n }\r\n\r\n navigateBack(){\r\n this.$router.push({name:'RCTI Invoice'});\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceLineList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceLineList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RCTIInvoiceLineList.vue?vue&type=template&id=11bcfe9f&scoped=true\"\nimport script from \"./RCTIInvoiceLineList.vue?vue&type=script&lang=ts\"\nexport * from \"./RCTIInvoiceLineList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11bcfe9f\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Related Entity Ledger Balance\")])]),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 pr-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"1\"}},[_c('div',{staticClass:\"mt-2 d-flex align-items-center\"},[_c('b-form-checkbox',{staticClass:\"mx-1\",attrs:{\"id\":\"GSTStatusFliter\",\"switch\":\"\",\"inline\":\"\",\"size\":\"s\"},on:{\"change\":_vm.onGSTStatusSelected},model:{value:(_vm.isGSTIncluded),callback:function ($$v) {_vm.isGSTIncluded=$$v},expression:\"isGSTIncluded\"}}),_c('label',{staticClass:\"textInput mb-0\",attrs:{\"for\":\"toggle-ckeckbox\"}},[_vm._v(\"\\n Inclusive of GST\\n \")])],1)]),_c('b-form-checkbox',{staticClass:\"mt-2 ml-0 mr-3\",attrs:{\"id\":\"deletedNovations\"},on:{\"input\":_vm.loadDeleted},model:{value:(_vm.isDeletedRelatedEntitiesIncluded),callback:function ($$v) {_vm.isDeletedRelatedEntitiesIncluded=$$v},expression:\"isDeletedRelatedEntitiesIncluded\"}},[_c('span',[_vm._v(\"Include Deleted Related Entities\")])]),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 mr-3 pull-left status-filter-reset-button cursor-pointer\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]),_c('b-dropdown',{staticClass:\"float-right mb-3\",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":false}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.onGenerateCSVReport()}}},[_vm._v(\"CSV\")])],1)],1)],1),_c('DataTable',{ref:\"ledgerBalanceTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"perPage\":_vm.perPage,\"totalRows\":_vm.totalRows,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No ledger balance records to display.\",\"customTemplateSlots\":['availableBalance']},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange},scopedSlots:_vm._u([{key:\"availableBalance\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":slotProps.item.availableBalance,\"customPositiveValueClass\":\"apex-text-success\"}})]}}])})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-form-group',{attrs:{\"rm-group\":\"\",\"label\":\"\",\"label-for\":\"vehicleStatusSelect\"}},[_c('multiselect',{ref:\"multiselect\",staticClass:\"vehicleStatusMultiselect\",attrs:{\"id\":\"vehicleStatusSelect\",\"options\":_vm.vehicleStatusList,\"multiple\":true,\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"label\":\"text\",\"taggable\":false,\"track-by\":\"value\",\"preselect-first\":false},on:{\"open\":function($event){_vm.isPanelOpen=true},\"close\":_vm.onVehicleStatusChanged},scopedSlots:_vm._u([{key:\"selection\",fn:function(ref ){\nvar values = ref.values;\nreturn [(values.length)?_c('span',{staticClass:\"multiselect__single\"},[_vm._v(\"\\n \"+_vm._s(_vm.vehicleStatusList.length == values.length ? \"All\":values.length)+\" \"+_vm._s(values.length == 1 ? \"Status\" : \"Statuses\")+\" \\n \"),_c('span',{staticClass:\"multiselect-remove\",on:{\"mousedown\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.removeSelectedVehicleStatus.apply(null, arguments)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Clear All\"}})])]):_vm._e()]}}]),model:{value:(_vm.selectedVehicleStatusFilterList),callback:function ($$v) {_vm.selectedVehicleStatusFilterList=$$v},expression:\"selectedVehicleStatusFilterList\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No type found.\")])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {Vue, Component,Prop,Watch, Emit} from 'vue-property-decorator';\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\nimport lookupService from '@/shared/services/lookupService';\nimport {VehicleStatuses} from '@/shared/enums/vehicleStatuses.enum'\n\n@Component({})\nexport default class VehicleStatusSelectList extends Vue{\n @Prop() viewMode:any;\n @Watch('viewMode')\n onViewModeChanged(val: any, oldVal: any)\n {\n this.loadVehicleStatuses();\n }\n\n isPanelOpen:boolean = false;\n normalMode:ClientsListViewModes = ClientsListViewModes.Normal;\n selectedVehicleStatusFilterIdList: any = \"\";\n selectedVehicleStatusFilterList: any[] = [];\n vehicleStatusList:any = [];\n\n mounted(){\n if(this.viewMode){\n this.loadVehicleStatuses(); \n }\n }\n\n loadVehicleStatuses(){\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetVehicleStatusList().then(data => \n {\n this.$store.dispatch('storeIsBusyValue',false);\n this.vehicleStatusList = data;\n this.selectedVehicleStatusFilterList = data;\n this.selectedVehicleStatusFilterIdList = this.selectedVehicleStatusFilterList.map(type => type.value).toString();\n this.vehicleStatusChanged(this.selectedVehicleStatusFilterIdList, false);\n }); \n }\n \n onVehicleStatusChanged(){\n this.isPanelOpen = false;\n this.selectedVehicleStatusFilterIdList = this.selectedVehicleStatusFilterList.map(type => type.value).toString();\n this.vehicleStatusChanged(this.selectedVehicleStatusFilterIdList, true); \n }\n\n removeSelectedVehicleStatus(){\n this.selectedVehicleStatusFilterList = [];\n this.selectedVehicleStatusFilterIdList = [0]; \n if(!this.isPanelOpen){\n this.vehicleStatusChanged(this.selectedVehicleStatusFilterIdList, true); \n }\n }\n\n resetActiveFilter(){\n this.selectedVehicleStatusFilterList = this.vehicleStatusList;\n this.selectedVehicleStatusFilterIdList = this.selectedVehicleStatusFilterList.map(status => status.value).toString();\n this.vehicleStatusChanged(this.selectedVehicleStatusFilterIdList,false);\n }\n\n @Emit('onVehicleStatusChanged') vehicleStatusChanged(statusFilter:any[], userChange: boolean){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleStatusSelectList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleStatusSelectList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleStatusSelectList.vue?vue&type=template&id=3af595fc\"\nimport script from \"./VehicleStatusSelectList.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleStatusSelectList.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{class:_vm.item.isActiveClient ?'edit-link' : '',attrs:{\"id\":'selectClientLink_' + _vm.item.clientId},on:{\"click\":_vm.navigateToEditClient}},[_vm._v(_vm._s(this.item.clientName))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n\n@Component\nexport default class NavigateToActiveClient extends Vue{\n @Prop() item:any;\n \n navigateToEditClient(){\n if(this,this.item.isActiveClient){\n let route = this.$router.resolve({name:'Edit Client',params:{id:this.item.clientId,topRouteDisplayName:'profile', routerDisplayName:\"personal\"}});\n window.open(route.href,'_blank');\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToActiveClient.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToActiveClient.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToActiveClient.vue?vue&type=template&id=0f443267&scoped=true\"\nimport script from \"./NavigateToActiveClient.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToActiveClient.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0f443267\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('span',{class:_vm.item.isActiveVehicle ?'edit-link' : '',attrs:{\"id\":'selectVehicleLink_' + _vm.item.vehicleId},on:{\"click\":_vm.navigateToEditVehicle}},[_vm._v(_vm._s(this.item.vehicleName))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n\n@Component\nexport default class NavigateToActiveVehicle extends Vue{\n @Prop() item:any;\n \n navigateToEditVehicle(){\n if(this,this.item.isActiveVehicle){\n let route = this.$router.resolve({name:'Edit Vehicle',params:{vehicleID:this.item.vehicleId,topRouteDisplayName:'vehicles', routerDisplayName:\"details\"}});\n window.location.href = route.href;\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToActiveVehicle.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToActiveVehicle.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToActiveVehicle.vue?vue&type=template&id=c3f33f26&scoped=true\"\nimport script from \"./NavigateToActiveVehicle.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToActiveVehicle.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c3f33f26\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.isActiveRelatedEntity === undefined || _vm.item.isActiveRelatedEntity)?_c('b-button',{staticClass:\"cursor-pointer action-btn\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":\"View Novation Ledger Details\"},on:{\"click\":_vm.navigateToNovationLedger}},[_c('i',{staticClass:\"fa fa-eye\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n \n import { Component, Prop, Vue, } from 'vue-property-decorator';\n @Component({\n})\n export default class NavigateToNovationLedger extends Vue{\n @Prop() item:any;\n navigateToNovationLedger(){\n let route = this.$router.resolve({name:'Edit Novation',params:{novationID:this.item.novationId,topRouteDisplayName:'relatedentitytypes', routerDisplayName:\"ledger\"}});\n window.location.href = route.href;\n }\n }\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToNovationLedger.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToNovationLedger.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToNovationLedger.vue?vue&type=template&id=49ffcc2e&scoped=true\"\nimport script from \"./NavigateToNovationLedger.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToNovationLedger.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"49ffcc2e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport {Vue, Component} from 'vue-property-decorator';\nimport AppSettings from \"@/app.config\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport apiService from \"@/shared/services/apiService\";\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\nimport { LedgerBalanceFilterParams } from \"@/models/tableFilterParams.model\";\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport VehicleStatusSelectList from '@/components/admin/motorVehicleManagement/VehicleStatusSelectList.vue';\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\nimport ApexCurrencyFormat from '@/filters/currencyFilter';\nimport { ApexDateFormat } from '@/filters/dateFilter';\nimport fileViewerService from '@/shared/services/fileViewerService';\nimport NavigateToActiveClient from '@/components/shared/NavigateToActiveClient.vue';\nimport NavigateToActiveVehicle from '@/components/shared/NavigateToActiveVehicle.vue';\nimport SystemTextNotes from '@/components/shared/SystemTextNotes.vue';\nimport moment from 'moment';\nimport NavigateToNovationLedger from \"@/components/shared/NavigateToNovationLedger.vue\";\n\n@Component({\n components:{\n DataTable,\n FilterTextInput,\n VehicleStatusSelectList,\n NavigateToActiveClient,\n NavigateToActiveVehicle,\n SystemTextNotes\n }\n})\nexport default class LedgerBalance extends Vue {\n items:any[] = [];\n fields = [\n {key: 'actions',label:\"\",class:'text-center width_5'},\n { key: \"clientName\",label:'Client Name', class: \"width_15\", sortable:true},\n { key: \"vehicleName\",label:'Vehicle', class: \"width_15\"},\n { key: 'entityType',label:\"Entity Type\", class:'width_8 text-left'},\n { key: 'entityName', label:\"Entity Name\", class:'width_15 text-left'},\n { key: \"relatedEntityStartDate\",label:'Start Date', class: \"width_8 text-left\",\n formatter: (value, key, item) => {\n return moment(item.relatedEntityStartDate).format(\"DD MMM YYYY\")\n }},\n { key: \"relatedEntityEndDate\",label:'End Date', class: \"width_8 text-left\",\n formatter: (value, key, item) => {\n if(item.relatedEntityEndDate != null){\n return moment(item.relatedEntityEndDate).format(\"DD MMM YYYY\")\n }\n }},\n { key: \"availableBalance\",label:'Balance', class: \"width_15 text-right\", sortable:true},\n { key: \"NextLeasePaymentDate\",label:'Next Lease Due', class: \"width_25 text-right\",\n formatter: (value, key, item) => {\n if(item.nextLeasePaymentDate != null){\n return ApexCurrencyFormat(item.nextLeasePaymentAmount) + \" on \" + ApexDateFormat(item.nextLeasePaymentDate);\n }\n else if (item.nextLeaseDueMessage != \"\"){\n return item.nextLeaseDueMessage;\n }\n else{\n return item.leaseTypeText;\n }\n },\n },\n ];\n filter:string = \"\";\n totalRows: number = 0;\n sortBy: string = \"clientName\";\n sortDesc: boolean = false;\n customTemplateList: Array =\n [\n {slot:\"actions\",customTemplate:NavigateToNovationLedger},\n ];\n showEmptyBanner: boolean = false;\n perPage: number = AppSettings.defaultGridSize;\n localViewMode:ClientsListViewModes = ClientsListViewModes.Normal;\n resetButtonDisabled:boolean = true;\n selectedVehicleStatusFilterIdList:any;\n isDeletedRelatedEntitiesIncluded:boolean = false;\n isGSTIncluded: boolean = false;\n fromIndex:number = 0;\n\n created(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, isDeletedRelatedEntitiesIncluded: this.isDeletedRelatedEntitiesIncluded, isGSTIncluded: this.isGSTIncluded});\n }\n\n onSortingChange(ctx:any){\n this.sortBy = ctx.sortBy;\n this.sortDesc = ctx.sortDesc,\n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, isDeletedRelatedEntitiesIncluded: this.isDeletedRelatedEntitiesIncluded, isGSTIncluded: this.isGSTIncluded});\n }\n \n onGSTStatusSelected(){\n this.isGSTIncluded = !this.isGSTIncluded;\n this.resetButtonDisabled = !this.isGSTIncluded? true:false;\n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, isDeletedRelatedEntitiesIncluded: this.isDeletedRelatedEntitiesIncluded, isGSTIncluded: this.isGSTIncluded});\n }\n\n filterGrid(filterString:string){ \n this.resetTable();\n this.filter = filterString;\n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, isDeletedRelatedEntitiesIncluded: this.isDeletedRelatedEntitiesIncluded, isGSTIncluded: this.isGSTIncluded});\n this.resetButtonDisabled = false;\n }\n\n refreshGrid(filterParams: LedgerBalanceFilterParams){\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"GetRelatedEntityLedgerBalanceList\", filterParams).then(response => {\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true;\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n resetTable(){\n this.sortBy = \"clientName\";\n (this.$refs.ledgerBalanceTable as DataTable).reset();\n } \n\n resetFilterParams(){\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n this.isDeletedRelatedEntitiesIncluded = false;\n this.isGSTIncluded = false;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, isDeletedRelatedEntitiesIncluded: this.isDeletedRelatedEntitiesIncluded, isGSTIncluded: this.isGSTIncluded});\n }\n\n loadDeleted(userChange:boolean){\n this.resetButtonDisabled = !userChange;\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, isDeletedRelatedEntitiesIncluded: this.isDeletedRelatedEntitiesIncluded, isGSTIncluded: this.isGSTIncluded});\n }\n\n onGenerateCSVReport(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, isDeletedRelatedEntitiesIncluded: this.isDeletedRelatedEntitiesIncluded ,isGSTIncluded: this.isGSTIncluded};\n apiService.sendGetRequest('Finance', 'GetRelatedEntityLedgerBalanceReport', params).then(\n response => {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\n this.$notify({\n group: 'growlNotification',\n title: 'Report downloaded successfully.',\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n onPageChange(sortBy: string, sortDesc: boolean, fromIndex: number) {\n this.fromIndex = fromIndex;\n this.refreshGrid({FromIndex:this.fromIndex,Count:this.perPage,SortBy:sortBy,SortDesc:sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, isDeletedRelatedEntitiesIncluded: this.isDeletedRelatedEntitiesIncluded, isGSTIncluded: this.isGSTIncluded});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LedgerBalance.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LedgerBalance.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./LedgerBalance.vue?vue&type=template&id=41dd7f34\"\nimport script from \"./LedgerBalance.vue?vue&type=script&lang=ts\"\nexport * from \"./LedgerBalance.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.onShowNovationListModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"ChangeNovationModal\",\"maxWidth\":\"580px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Allocate to Related Entity \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('b-row',[_c('b-col',[(_vm.isNovationListLoaded)?_c('b-form-group',{attrs:{\"label\":\"Select Related Entity\",\"label-for\":\"selectNovation\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"selectNovation\",\"plain\":true,\"options\":_vm.groupedNovationList},on:{\"input\":_vm.onNovationChanged},model:{value:(_vm.selectedNovation.value),callback:function ($$v) {_vm.$set(_vm.selectedNovation, \"value\", $$v)},expression:\"selectedNovation.value\"}},[_c('template',{slot:\"first\"},[(_vm.vehicleNovationList.length > 0)?_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")]):_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\" No Related Entity found. \")])])],2)],1):_vm._e()],1)],1)],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ChangeNovationModal_CancelButton\"},on:{\"click\":_vm.onCloseModel}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"disabled\":!_vm.isModalDirty,\"size\":\"md\",\"id\":\"ChangeNovationModal_updateButton\"},on:{\"click\":_vm.onAllocatedToRelatedEntity}},[_vm._v(\"\\n Update\\n \")])],1)]):_vm._e(),(_vm.dirtyValidationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"CancelChangeNovationConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Do you want to continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"CancelChangeNovationConf_CancelButton\"},on:{\"click\":function($event){_vm.dirtyValidationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"CancelChangeNovationConf_OkButton\"},on:{\"click\":function($event){return _vm.navigateBack()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-row',[_c('b-col',[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Unallocated Transactions to Related Entity \")])])])],1),_c('b-row',{staticClass:\"top-button-row mt-3 mb-3\"},[_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"4\",\"md\":\"6\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",staticClass:\"responsive-search \",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"2\",\"md\":\"4\",\"lg\":\"8\"}},[_c('b-button',{staticClass:\"mb-3 pull-left status-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})])],1),_c('b-col',{staticClass:\"pl-0\",attrs:{\"sm\":\"4\",\"md\":\"2\",\"lg\":\"2\"}},[_c('b-btn',{staticClass:\"primary pull-right\",attrs:{\"size\":\"md\",\"id\":\"onAllocatedToRelatedEntity\",\"disabled\":_vm.selectedTransactionIdList.length == 0},on:{\"click\":function($event){return _vm.loadAllVehicleNovations();}}},[_vm._v(\"\\n Allocate To \\n \")])],1)],1),_c('GroupedDataTable',{ref:\"unAllocatedTransactionTable\",attrs:{\"items\":_vm.items,\"frontHeaderActionSlots\":_vm.frontHeaderActionSlots,\"fields\":_vm.fields,\"perPage\":_vm.perPage,\"showPerPageResizer\":true,\"hidePaginator\":false,\"totalRows\":_vm.totalRows,\"showHeaderTemplate\":_vm.showHeaderTemplate,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No transactions to display.\"},on:{\"onPageChange\":_vm.onPageChange},scopedSlots:_vm._u([{key:\"actions\",fn:function(slotProps){return [_c('b-form-checkbox',{attrs:{\"disabled\":slotProps.data.isCheckBoxDisabled},on:{\"input\":function($event){return _vm.onCheckBoxChanged(slotProps.data, $event)}},model:{value:(slotProps.data.isChecked),callback:function ($$v) {_vm.$set(slotProps.data, \"isChecked\", $$v)},expression:\"slotProps.data.isChecked\"}})]}},{key:\"category\",fn:function(slotProps){return [_c('div',[_vm._v(\" \"+_vm._s(_vm.getCategory(slotProps.data)))])]}},{key:\"headerSlot\",fn:function(slotProps){return [_c('b-row',[_c('b-form-checkbox',{staticClass:\"header-checkbox\",attrs:{\"disabled\":slotProps.data.isCheckBoxDisabled},on:{\"input\":function($event){return _vm.onHeaderCheckBoxChanged(slotProps.data.vehicleId, $event)}},model:{value:(slotProps.data.isChecked),callback:function ($$v) {_vm.$set(slotProps.data, \"isChecked\", $$v)},expression:\"slotProps.data.isChecked\"}}),_c('span',{staticClass:\"primary-text\"},[_vm._v(_vm._s(slotProps.data.clientHeaderName)+\"  \")]),_vm._v(\" |   \\n \"),_c('span',{staticClass:\"primary-text vehicle-details\"},[_vm._v(\" \"+_vm._s(slotProps.data.vehicleHeaderName))])],1)]}},{key:\"credit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getCreditValue(slotProps.data.transactionDirection, slotProps.data.creditAmount),\"defaultReturnValue\":'-'}})]}},{key:\"debit\",fn:function(slotProps){return [_c('ApexCurrency',{attrs:{\"value\":_vm.getDebitValue(slotProps.data.transactionDirection, slotProps.data.debitAmount),\"defaultReturnValue\":'-'}})]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from 'vue-property-decorator';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport GroupedDataTable from '@/shared/components/dataTable/GroupedDataTable.vue';\nimport apiService from '@/shared/services/apiService'\nimport {UnAllocatedTransactionFilterParams} from '@/models/tableFilterParams.model';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport moment from 'moment';\nimport {TransactionDirection} from '@/shared/enums/transaction.enum';\nimport AppSettings from '@/app.config'\nimport lookupService from '@/shared/services/lookupService';\n\n@Component({\n components: {\n Modal,\n FilterTextInput,\n GroupedDataTable,\n }\n})\nexport default class UnAllocatedTransactionList extends Vue{\n items:any = [];\n showEmptyBanner:boolean = false;\n totalRows:number = 0;\n relatedTable = RelatedTables.Vehicle;\n FromIndex:number = 0;\n perPage:number = AppSettings.defaultGridSize;\n Count:number = 10;\n SortBy:string = \"date\";\n paginationColor:any=\"black\";\n SortDesc:boolean = true;\n SearchByString:string = \"\";\n Status:number = 0;\n RelatedId:number = 0;\n showHeaderTemplate:boolean = true;\n fromRowCheckBox:boolean = false;\n isModalDirty:boolean = false;\n dirtyValidationConfirmation:boolean = false;\n categories:any[] = [];\n frontHeaderActionSlots:any[] = [\"\"];\n selectedVehicleId:number = -1;\n selectedTransactionIdList:number[] = [];\n vehicleNovationList:any = [];\n groupedNovationList:any = [];\n selectedNovation:any = {text:'', value:0, novationColor:\"\", type:0};\n isNovationListLoaded:boolean = false;\n onShowNovationListModal:boolean = false;\n resetButtonDisabled:boolean = true;\n\n filter:string = \"\"\n fields:any = [\n {key: 'actions',class:'width_5',label:'',useCustomHeader:false, isAction:true},\n {key: 'date',label:'Date', class:'width_10',useCustomHeader:false, isAction:false,\n formatter: (value, key, item) => {\n return moment(item.displayDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'processedDate', label:' Processed Date',class:'width_10',useCustomHeader:false, isAction:false,\n formatter: (value, key, item) => {\n return moment(item.displayProcessedDate).format(\"DD MMM YYYY\")\n }\n },\n {key: 'description', class:'width_15', label:'Description',useCustomHeader:false, isAction:false},\n {key: 'reference',class:'width_15', label:'Reference',useCustomHeader:false, isAction:false},\n {key:'category', class:'width_10', label:'Category' },\n {key: 'credit',class:'width_10 text-right',label:'Credit'},\n {key: 'debit',class:'width_10 text-right',label:'Debit'},\n {key: 'transactionStatus', class:'width_5', label:'Status',useCustomHeader:false, isAction:false}\n ];\n\n created(){\n lookupService.GetExpenseAndOtherCategoriesList().then(data => {\n this.categories = data;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,\n Status:null, RelatedTable:this.relatedTable});\n });\n }\n\n getCreditValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Credit ? amount : null;\n }\n\n getDebitValue(type:TransactionDirection, amount:any){\n return type == TransactionDirection.Debit ? amount : null;\n }\n\n refreshGrid(filterParams:UnAllocatedTransactionFilterParams) { \n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendGetRequest(\"Finance\",\"UnAllocatedTransactionsList\",filterParams).then(response =>{\n this.items = response.data.resultDto;\n this.totalRows = response.data.totalRows;\n this.showEmptyBanner = true; \n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n loadAllVehicleNovations(){\n var params = { vehicleId: this.selectedVehicleId, onlyActiveNovations:true};\n this.$store.dispatch('storeIsBusyValue',true);\n this.isNovationListLoaded = false;\n apiService.sendGetRequest('Novation','NovationsGroupedByLease',params).then(response => {\n if(response.data){\n this.groupedNovationList = response.data;\n if(this.groupedNovationList.length > 0){\n this.groupedNovationList.forEach(groupList => {\n if (groupList.options != null && groupList.options.length > 0){\n this.vehicleNovationList.push(...groupList.options);\n }\n });\n }\n this.onShowNovationListModal = true;\n this.isNovationListLoaded = true;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onCheckUnCheckTransactionList(vehicleId:number, status:boolean){\n this.items.forEach(element => {\n if(element.vehicleId == vehicleId) {\n element.isChecked = status;\n }\n });\n }\n\n onAllocatedToRelatedEntity(){\n var params = { transactionIdList: this.selectedTransactionIdList.toString(), relatedEntityId:this.selectedNovation.value};\n this.$store.dispatch('storeIsBusyValue',true);\n this.isNovationListLoaded = false;\n apiService.sendGetRequest('Finance','AllocateTransaction',params).then(response => {\n if(response.data.isSuccess){\n this.selectedTransactionIdList = [];\n this.selectedVehicleId = -1;\n this.selectedNovation = {text:'', value:0, novationColor:\"\", type:0};\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,\n Status:null, RelatedTable:this.relatedTable});\n this.navigateBack();\n }\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n\n onHeaderCheckBoxChanged(vehicleId,value){\n if(this.fromRowCheckBox) {\n this.fromRowCheckBox = false;\n return;\n }\n if(value){\n this.selectedVehicleId = vehicleId;\n this.onCheckUnCheckTransactionList(vehicleId, true);\n } else {\n this.selectedVehicleId = -1;\n this.onCheckUnCheckTransactionList(vehicleId, false);\n }\n }\n\n onCheckBoxChanged(item, value) {\n if(item.isChecked) { \n this.selectedTransactionIdList.push(item.id);\n this.onDisableCheckBoxes(item.vehicleId, true);\n this.onCheckUnCheckHeader(item.vehicleId, true);\n this.selectedVehicleId = item.vehicleId;\n } else {\n this.selectedTransactionIdList = this.selectedTransactionIdList.filter(x => x != item.id);\n this.onDisableCheckBoxes(item.vehicleId, false);\n this.onCheckUnCheckHeader(item.vehicleId, false);\n }\n }\n\n onCheckUnCheckHeader(vehicleId:number,status:boolean){\n var count = -1;\n this.fromRowCheckBox = false;\n if(status == true){\n count = this.items.filter(a => a.vehicleId == vehicleId && a.isChecked == !status && a.isHeader == false).length;\n } else {\n count = this.items.filter(a => a.vehicleId == vehicleId && a.isChecked == status && a.isHeader == false).length;\n }\n if((count == 0 && status == true) || (count > 0 && status == false)){\n this.items.forEach(element => {\n if(element.vehicleId == vehicleId && element.isHeader == true && element.isChecked != status){\n this.fromRowCheckBox = true;\n element.isChecked = status;\n }\n });\n }\n }\n\n onCloseModel(){\n if(this.isModalDirty){\n this.dirtyValidationConfirmation = true;\n } else {\n this.onShowNovationListModal = false;\n }\n }\n\n onNovationChanged(){\n this.isModalDirty = true;\n }\n\n navigateBack(){\n this.isModalDirty = false;\n this.selectedNovation = {text:'', value:0, novationColor:\"\", type:0};\n this.dirtyValidationConfirmation = false;\n this.onShowNovationListModal = false;\n }\n\n filterGrid(filterString:string){\n this.filter = filterString;\n this.resetButtonDisabled = false;\n (this.$refs.unAllocatedTransactionTable as GroupedDataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,\n Status:null, RelatedTable:this.relatedTable});\n }\n\n onDisableCheckBoxes(vehicleId:number, isChecked:boolean){\n if(isChecked) {\n this.items.forEach(element => {\n if(element.vehicleId != vehicleId) {\n element.isCheckBoxDisabled = true;\n }\n });\n } else {\n if(this.selectedTransactionIdList.length == 0) {\n this.items.forEach(element => {\n element.isCheckBoxDisabled = false;\n });\n }\n }\n }\n\n onPageChange(fromIndex:number, perPageSize:number) {\n this.perPage = perPageSize;\n this.refreshGrid({FromIndex:fromIndex,Count:perPageSize,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,\n Status:null, RelatedTable:this.relatedTable})\n }\n\n getCategory(item:any){\n var categoryText = \"\";\n if(item.categoryTypeMapping && item.categoryTypeMapping.type && item.categoryTypeMapping.categoryList && item.categoryTypeMapping.categoryList.length > 0){\n for(var j = 0; j < item.categoryTypeMapping.categoryList.length; j++){\n if(j != 0){\n categoryText = categoryText + \", \"\n }\n categoryText = categoryText + this.getCategoryText(item.categoryTypeMapping.categoryList[j],item.categoryTypeMapping.type);\n }\n return categoryText;\n }\n return \"\";\n }\n\n getCategoryText(category:number, type:number){\n if(this.categories.length == 0) {\n lookupService.GetExpenseAndOtherCategoriesList().then(data => {\n this.categories = data;\n var filteredCategory = this.categories.filter(obj => obj.type == type && obj.category == category);\n if(filteredCategory.length > 0){\n return filteredCategory[0].text;\n } \n else {\n return \"\";\n }\n });\n } else {\n var filteredCategory = this.categories.filter(obj => obj.type == type && obj.category == category);\n if(filteredCategory.length > 0){\n return filteredCategory[0].text;\n } \n else {\n return \"\";\n }\n } \n }\n\n resetFilters() {\n this.filter = '';\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n (this.$refs.unAllocatedTransactionTable as GroupedDataTable).resetPaginator();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:\"date\",SortDesc:true,\n SearchByString:this.filter.length>2?this.filter:\"\",RelatedId:0,\n Status:null, RelatedTable:this.relatedTable});\n }\n}\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnAllocatedTransactionList.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UnAllocatedTransactionList.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./UnAllocatedTransactionList.vue?vue&type=template&id=220e7b5f&scoped=true\"\nimport script from \"./UnAllocatedTransactionList.vue?vue&type=script&lang=ts\"\nexport * from \"./UnAllocatedTransactionList.vue?vue&type=script&lang=ts\"\nimport style0 from \"./UnAllocatedTransactionList.vue?vue&type=style&index=0&id=220e7b5f&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"220e7b5f\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Entities without Invoices\")])]),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('ClientStatusSelectList',{ref:\"clientStatusList\",attrs:{\"viewMode\":_vm.localViewMode},on:{\"onClientStatusChanged\":_vm.onClientStatusChanged}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-row',{staticClass:\"ml-1\"},[_c('b-button',{staticClass:\"mb-3 mr-3 pull-left status-filter-reset-button cursor-pointer\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]),_c('b-dropdown',{staticClass:\"mb-3 ml-auto\",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":false}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.onGenerateCSVReport()}}},[_vm._v(\"CSV\")])],1)],1)],1)],1),_c('DataTable',{ref:\"entitiesWithoutInvoicesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No entities without invoices to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:\"cursor-pointer action-btn\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":\"View Novation Invoice Details\"},on:{\"click\":_vm.navigateToNavationInvoices}},[_c('i',{staticClass:\"fa fa-eye\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n@Component\nexport default class NavigateToNovationInvoices extends Vue{\n @Prop() item:any;\n\n navigateToNavationInvoices(){\n if(this.item.isActiveVehicle && this.item.isActiveLease && this.item.isActiveClient && this.item.isActiveNovation){\n let route = this.$router.resolve({name:'Edit Novation',params:{novationID:this.item.novationId,topRouteDisplayName:'relatedentitytypes', routerDisplayName:\"invoices\"}});\n window.location.href = route.href;\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToNovationInvoices.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToNovationInvoices.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToNovationInvoices.vue?vue&type=template&id=42e09426&scoped=true\"\nimport script from \"./NavigateToNovationInvoices.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToNovationInvoices.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"42e09426\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport apiService from \"@/shared/services/apiService\";\nimport { EntitiesRelatedFilterParams } from \"@/models/tableFilterParams.model\";\nimport AppSettings from \"@/app.config\";\nimport moment from \"moment\";\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\nimport ClientStatusSelectList from '@/components/admin/clientManagement/ClientStatusSelectList.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport { ClientsListViewModes } from \"@/shared/enums/viewModes.enum\";\nimport fileViewerService from \"@/shared/services/fileViewerService\";\nimport NavigateToNovationInvoices from \"@/components/shared/NavigateToNovationInvoices.vue\";\n\n@Component({\n components: {\n FilterTextInput,\n DataTable,\n ClientStatusSelectList,\n },\n})\n\nexport default class EntitiesWithoutInvoices extends Vue {\n perPage: number = AppSettings.reducedLedgerGridSize;\n sortBy: string = \"dueDate\";\n filter: string = \"\";\n sortDesc: boolean = false;\n showEmptyBanner: boolean = false;\n items: any = [];\n fields = [\n {key: 'actions',label:\"\",class:'text-center width_5'},\n { key: \"clientName\", label: \"Client Name\", class: \"width_10\" },\n { key: \"vehicleName\", label: \"Vehicle\", class: \"width_20\" },\n { key: \"leaseType\", label: \"Lease Type\", class: \"width_15\" },\n { key: \"entityType\", label: \"Entity Type\", class: \"width_15\"},\n { key: \"entityName\", label: \"Entity Name\", class: \"width_15\"},\n { key: \"dueDate\", label: \"Last Invoice Due Date\", sortable: \"true\", class: \"width_20\",\n formatter: (value, key, item) => {\n return this.getDueDate(item.lastInvoiceDueDate)\n },\n },\n ];\n customTemplateList: Array = \n [\n {slot:\"actions\",customTemplate:NavigateToNovationInvoices}, \n ];\n selectedClientStatusFilterIdList: any;\n resetButtonDisabled:boolean = true;\n localViewMode:ClientsListViewModes = ClientsListViewModes.ModalMode;\n\n refreshGrid(tableFilterParams: EntitiesRelatedFilterParams) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Novation\",\"GetRelatedEntityListWithoutInvoices\",tableFilterParams).then((response) => {\n this.items = response.data;\n this.showEmptyBanner = true;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n })\n .catch((error) => {\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onSortingChange(ctx:any){\n this.sortBy = ctx.sortBy;\n this.sortDesc = ctx.sortDesc,\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n\n filterGrid(filterString:string){ \n this.resetTable();\n this.filter = filterString;\n this.resetButtonDisabled = false;\n (this.$refs.clientStatusList as ClientStatusSelectList).selectAllActiveFilters();\n }\n\n onClientStatusChanged(statusFilter:any[], userChange:boolean) {\n this.resetButtonDisabled = !userChange;\n this.resetTable();\n this.selectedClientStatusFilterIdList = statusFilter;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n\n resetFilterParams(){\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n (this.$refs.clientStatusList as ClientStatusSelectList).resetActiveFilter();\n }\n\n resetTable(){\n this.sortBy = \"clientName\";\n this.sortDesc = false;\n (this.$refs.entitiesWithoutInvoicesTable as DataTable).reset();\n } \n \n onGenerateCSVReport(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList};\n apiService.sendGetRequest('Novation', 'GetEntitiesWithoutInvoicesReport', params).then(\n response => {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\n this.$notify({\n group: 'growlNotification',\n title: 'Report downloaded successfully.',\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n getDueDate(dueDate:any){\n if(dueDate == \"\" || dueDate == undefined || dueDate == null) {\n return \"\";\n } else {\n return moment(dueDate).format(\"DD MMM YYYY\");\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutInvoices.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutInvoices.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EntitiesWithoutInvoices.vue?vue&type=template&id=172497af\"\nimport script from \"./EntitiesWithoutInvoices.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitiesWithoutInvoices.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Entities without Service Agreement\")])]),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('ClientStatusSelectList',{ref:\"clientStatusList\",attrs:{\"viewMode\":_vm.localViewMode},on:{\"onClientStatusChanged\":_vm.onClientStatusChanged}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-row',{staticClass:\"ml-1\"},[_c('b-button',{staticClass:\"mb-3 mr-3 pull-left status-filter-reset-button cursor-pointer\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]),_c('b-dropdown',{staticClass:\"mb-3 ml-auto \",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":false}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.onGenerateCSVReport()}}},[_vm._v(\"CSV\")])],1)],1)],1)],1),_c('DataTable',{ref:\"entitiesWithoutServiceAgreementTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No entities without service agreement to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:\"cursor-pointer action-btn\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":\"View Novation Details\"},on:{\"click\":_vm.navigateToEditActiveNovation}},[_c('i',{staticClass:\"fa fa-eye\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n@Component\nexport default class NavigateToNovationDetails extends Vue{\n @Prop() item:any;\n \n navigateToEditActiveNovation(){\n if(this.item.isActiveVehicle && this.item.isActiveLease && this.item.isActiveClient && this.item.isActiveNovation){\n let route = this.$router.resolve({name:'Edit Novation',params:{novationID:this.item.novationId,topRouteDisplayName:'relatedentitytypes', routerDisplayName:\"details\"}});\n window.location.href = route.href;\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToNovationDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToNovationDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToNovationDetails.vue?vue&type=template&id=68140894&scoped=true\"\nimport script from \"./NavigateToNovationDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToNovationDetails.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"68140894\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport apiService from \"@/shared/services/apiService\";\nimport { EntitiesRelatedFilterParams } from \"@/models/tableFilterParams.model\";\nimport AppSettings from \"@/app.config\";\nimport moment from \"moment\";\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\nimport ClientStatusSelectList from '@/components/admin/clientManagement/ClientStatusSelectList.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport { ClientsListViewModes } from \"@/shared/enums/viewModes.enum\";\nimport fileViewerService from \"@/shared/services/fileViewerService\";\nimport NavigateToNovationDetails from '@/components/shared/NavigateToNovationDetails.vue'\n\n@Component({\n components: {\n FilterTextInput,\n DataTable,\n ClientStatusSelectList,\n },\n})\n\nexport default class EntitiesWithoutServiceAgreement extends Vue {\n perPage: number = AppSettings.reducedLedgerGridSize;\n sortBy: string = \"dueDate\";\n filter: string = \"\";\n sortDesc: boolean = false;\n showEmptyBanner: boolean = false;\n items: any = [];\n fields = [\n {key: 'actions',label:\"\",class:'text-center width_5'},\n { key: \"clientName\", label: \"Client Name\", class: \"width_20\" },\n { key: \"vehicleName\", label: \"Vehicle\", class: \"width_20\" },\n { key: \"leaseType\", label: \"Lease Type\", class: \"width_20\" },\n { key: \"entityType\", label: \"Entity Type\", class: \"width_15\"},\n { key: \"entityName\", label: \"Entity Name\", class: \"width_20\"},\n ];\n customTemplateList: Array = \n [\n {slot:\"actions\",customTemplate:NavigateToNovationDetails},\n ];\n selectedClientStatusFilterIdList: any;\n resetButtonDisabled:boolean = true;\n localViewMode:ClientsListViewModes = ClientsListViewModes.ModalMode;\n\n refreshGrid(tableFilterParams: EntitiesRelatedFilterParams) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Novation\",\"GetRelatedEntityWithoutServiceAgreement\",tableFilterParams).then((response) => {\n this.items = response.data;\n this.showEmptyBanner = true;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n })\n .catch((error) => {\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onSortingChange(ctx:any){\n this.sortBy = ctx.sortBy;\n this.sortDesc = ctx.sortDesc,\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n\n filterGrid(filterString:string){ \n this.resetTable();\n this.filter = filterString;\n this.resetButtonDisabled = false;\n (this.$refs.clientStatusList as ClientStatusSelectList).selectAllActiveFilters();\n }\n\n onClientStatusChanged(statusFilter:any[], userChange:boolean) {\n this.resetButtonDisabled = !userChange;\n this.resetTable();\n this.selectedClientStatusFilterIdList = statusFilter;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n\n resetFilterParams(){\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n (this.$refs.clientStatusList as ClientStatusSelectList).resetActiveFilter();\n }\n\n resetTable(){\n this.sortBy = \"clientName\";\n this.sortDesc = false;\n (this.$refs.entitiesWithoutServiceAgreementTable as DataTable).reset();\n } \n \n onGenerateCSVReport(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList};\n apiService.sendGetRequest('Novation', 'GetEntitiesWithoutServiceAgreementReport', params).then(\n response => {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\n this.$notify({\n group: 'growlNotification',\n title: 'Report downloaded successfully.',\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n getDueDate(dueDate:any){\n if(dueDate == \"\" || dueDate == undefined || dueDate == null) {\n return \"\";\n } else {\n return moment(dueDate).format(\"DD MMM YYYY\");\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutServiceAgreement.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutServiceAgreement.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EntitiesWithoutServiceAgreement.vue?vue&type=template&id=206f5b72\"\nimport script from \"./EntitiesWithoutServiceAgreement.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitiesWithoutServiceAgreement.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Entities with Outstanding Balance\")])]),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('ClientStatusSelectList',{ref:\"clientStatusList\",attrs:{\"viewMode\":_vm.localViewMode,\"initialClientStatusFilterMode\":_vm.initialClientStatusFilterSelectMode},on:{\"onClientStatusChanged\":_vm.onClientStatusChanged}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-row',{staticClass:\"ml-1\"},[_c('b-form-checkbox',{staticClass:\"mt-2 ml-2\",attrs:{\"id\":\"deletedNovations\"},on:{\"input\":_vm.loadDeletedNovations},model:{value:(_vm.isIncludeDeletedNovations),callback:function ($$v) {_vm.isIncludeDeletedNovations=$$v},expression:\"isIncludeDeletedNovations\"}},[_c('span',[_vm._v(\"Include Deleted Novations\")])]),_c('b-button',{staticClass:\"mb-3 ml-3 pull-left status-filter-reset-button cursor-pointer\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]),_c('b-dropdown',{staticClass:\"mb-3 ml-auto\",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":false}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.onGenerateCSVReport()}}},[_vm._v(\"CSV\")])],1)],1)],1)],1),_c('DataTable',{ref:\"entitiesWithOutstandingBalanceTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"trClass\":_vm.trClass,\"emptyBanner\":\"No entities with outstanding balance to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.isActiveClient)?_c('b-button',{staticClass:\"cursor-pointer action-btn\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":\"View Novation Invoice and Payment Summary Report\"},on:{\"click\":_vm.navigateToNovation}},[_c('i',{staticClass:\"fa fa-eye\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n \n import { Component, Prop, Vue, } from 'vue-property-decorator';\n @Component({\n})\n export default class NavigateToNovationReporsts extends Vue{\n @Prop() item:any;\n navigateToNovation(){\n let route = this.$router.resolve({name:'Edit Novation',params:{novationID:this.item.novationId,topRouteDisplayName:'relatedentitytypes', routerDisplayName:\"reports\"},query:{isSelectInvoicePaymentSummary:'true'}});\n window.location.href = route.href;\n }\n }\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToNovationReports.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToNovationReports.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToNovationReports.vue?vue&type=template&id=0fa22a1e&scoped=true\"\nimport script from \"./NavigateToNovationReports.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToNovationReports.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0fa22a1e\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport apiService from \"@/shared/services/apiService\";\nimport { EntitiesOutstandingBalanceFilterParams } from \"@/models/tableFilterParams.model\";\nimport AppSettings from \"@/app.config\";\nimport moment from \"moment\";\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\nimport NavigateToNovationReports from \"@/components/shared/NavigateToNovationReports.vue\";\nimport ClientStatusSelectList from '@/components/admin/clientManagement/ClientStatusSelectList.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport { ClientsListViewModes } from \"@/shared/enums/viewModes.enum\";\nimport { InitialClientStatusFilterSelectModes } from '@/shared/enums/initialClientStatusFilterSelectModes.enum';\nimport fileViewerService from \"@/shared/services/fileViewerService\";\nimport ApexConstants from \"@/shared/constants\";\nimport ApexCurrency from \"@/shared/components/currency/ApexCurrency.vue\";\n\n@Component({\n components: {\n FilterTextInput,\n DataTable,\n ClientStatusSelectList,\n },\n})\n\nexport default class EntitiesWithOutstandingBalance extends Vue {\n perPage: number = AppSettings.reducedLedgerGridSize;\n sortBy:string = \"lastPaymentDate\";\n filter: string = \"\";\n sortDesc: boolean = false;\n showEmptyBanner: boolean = false;\n items: any = [];\n fields = [ \n {key: 'actions',label:\"\",class:'text-center width_5'},\n {key: 'clientName', label:\"Client Name\"},\n {key: 'entityType',label:\"Entity Type\", class:'width_10'},\n {key: 'entityName', label:\"Entity Name\",\n formatter: (value, key, item) => {\n return item.entityType != ApexConstants.CLIENT_ENTITY_TYPE ? item.entityName : \"\";\n }},\n {key: 'lastPaymentDate', label:\"Last Payment Date\", class:'width_10', sortable:'true',\n formatter: (value, key, item) => {\n return item.lastPaymentDateText != \"\" ? moment(item.lastPaymentDateText).format(\"DD MMM YYYY\") : \"No payment made\";\n }},\n {key: 'outstandingAmount', label:\"Outstanding Amount\",sortable:'true', class:'text-right'} \n ];\n customTemplateList: Array = \n [\n {slot:\"actions\",customTemplate:NavigateToNovationReports},\n {slot:\"outstandingAmount\",customTemplate:ApexCurrency}\n ];\n selectedClientStatusFilterIdList: any;\n resetButtonDisabled:boolean = true;\n localViewMode:ClientsListViewModes = ClientsListViewModes.Normal;\n initialClientStatusFilterSelectMode: InitialClientStatusFilterSelectModes = InitialClientStatusFilterSelectModes.All;\n isIncludeDeletedNovations: boolean = false;\n\n refreshGrid(tableFilterParams: EntitiesOutstandingBalanceFilterParams) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Finance\",\"OutstandingPaymentRelatedEntities\",tableFilterParams).then((response) => {\n this.items = response.data;\n this.showEmptyBanner = true;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n })\n .catch((error) => {\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n loadDeletedNovations(userChange:boolean){\n this.resetButtonDisabled = !userChange;\n this.resetTable();\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList, isIncludeDeletedNovations: this.isIncludeDeletedNovations});\n }\n\n onSortingChange(ctx:any){\n this.sortBy = ctx.sortBy;\n this.sortDesc = ctx.sortDesc,\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList, isIncludeDeletedNovations: this.isIncludeDeletedNovations});\n }\n\n filterGrid(filterString:string){ \n this.resetTable();\n this.filter = filterString;\n this.resetButtonDisabled = false;\n (this.$refs.clientStatusList as ClientStatusSelectList).selectAllActiveFilters();\n }\n\n onClientStatusChanged(statusFilter:any[], userChange:boolean) {\n this.resetButtonDisabled = !userChange;\n this.resetTable();\n this.selectedClientStatusFilterIdList = statusFilter;\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList, isIncludeDeletedNovations: this.isIncludeDeletedNovations});\n }\n\n resetFilterParams(){\n this.filter = '';\n this.isIncludeDeletedNovations = false;\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n (this.$refs.clientStatusList as ClientStatusSelectList).resetActiveFilter();\n }\n\n resetTable(){\n this.sortBy = \"lastPaymentDate\";\n this.sortDesc = false;\n (this.$refs.entitiesWithOutstandingBalanceTable as DataTable).reset();\n } \n \n onGenerateCSVReport(){\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList, isIncludeDeletedNovations: this.isIncludeDeletedNovations};\n apiService.sendGetRequest('Finance', 'GetEntitiesWithOutstandingBalanceReport', params).then(\n response => {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\n this.$notify({\n group: 'growlNotification',\n title: 'Report downloaded successfully.',\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n trClass(item,type){\n if(item.isNovationDeleted){\n return 'tr-row-background-color';\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithOutstandingBalance.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithOutstandingBalance.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EntitiesWithOutstandingBalance.vue?vue&type=template&id=51565384\"\nimport script from \"./EntitiesWithOutstandingBalance.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitiesWithOutstandingBalance.vue?vue&type=script&lang=ts\"\nimport style0 from \"./EntitiesWithOutstandingBalance.vue?vue&type=style&index=0&id=51565384&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Active Lease and Novation with no Admin Fee\")])]),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0\"},[_c('b-row',{staticClass:\"ml-1\"},[_c('b-dropdown',{staticClass:\"mb-3 ml-auto\",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":false}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.onGenerateCSVReport()}}},[_vm._v(\"CSV\")])],1)],1)],1)],1),_c('DataTable',{ref:\"entitiesWithoutAdminFeeTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No entities without admin fee to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport apiService from \"@/shared/services/apiService\";\nimport {TableFilterParams } from \"@/models/tableFilterParams.model\";\nimport AppSettings from \"@/app.config\";\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\nimport NavigateToNovationDetails from '@/components/shared/NavigateToNovationDetails.vue'\nimport fileViewerService from \"@/shared/services/fileViewerService\";\n\n@Component({\n components: {\n DataTable,\n },\n})\n\nexport default class EntitiesWithoutAdminFee extends Vue {\n perPage: number = AppSettings.reducedLedgerGridSize;\n sortBy: string = \"clientName\";\n sortDesc: boolean = false;\n showEmptyBanner: boolean = false;\n items: any = [];l\n fields = [\n {key: 'actions',label:\"\",class:'text-center width_5'},\n { key: \"clientName\", label: \"Client Name\", class: \"width_20\"},\n { key: \"vehicleName\", label: \"Vehicle\", class: \"width_20\"},\n { key: \"leasePeriod\", label: \"Lease Period\", class: \"width_20\"},\n { key: \"novationStartDate\", label: \"Novation Period\", class: \"width_20 text-left\"}];\n\n customTemplateList: Array = \n [\n {slot:\"actions\",customTemplate:NavigateToNovationDetails},\n ];\n\n created(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,RelatedId:0,Status:0,SearchByString:\"\"});\n }\n\n refreshGrid(tableFilterParams: TableFilterParams) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Novation\",\"GetRelatedEntityWithoutAdminFee\",tableFilterParams).then((response) => {\n this.items = response.data;\n this.showEmptyBanner = true;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n })\n .catch((error) => {\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onSortingChange(){\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,RelatedId:0,Status:0,SearchByString:\"\"});\n }\n\n onGenerateCSVReport(){\n this.$store.dispatch('storeIsBusyValue',true);\n let params = {FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,RelatedId:0,Status:0,SearchByString:\"\"};\n apiService.sendGetRequest('Novation', 'GetRelatedEntityWithoutAdminFeeReport', params).then(\n response => {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\n this.$notify({\n group: 'growlNotification',\n title: 'Report downloaded successfully.',\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutAdminFee.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutAdminFee.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./EntitiesWithoutAdminFee.vue?vue&type=template&id=413ce2d0\"\nimport script from \"./EntitiesWithoutAdminFee.vue?vue&type=script&lang=ts\"\nexport * from \"./EntitiesWithoutAdminFee.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"md\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{staticClass:\"header cursor-pointer\",attrs:{\"slot\":\"header\"},on:{\"click\":function($event){return _vm.navigateBackToDashboard()}},slot:\"header\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"text-muted text-uppercase db-item-name displayNameText\"},[_vm._v(\"Supplier Locator\")]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":\"Go to dashboard\"}},[_c('i',{staticClass:\"cui-chevron-left\"})])])],1)],1),_c('b-card-body',[_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"md\":\"6\",\"lg\":\"5\",\"xl\":\"4\"}},[(_vm.supplierCategories.length > 0)?_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"tagSelect\"}},[_c('multiselect',{ref:\"multiselect\",staticClass:\"supplier-tags\",attrs:{\"id\":\"tagSelect\",\"options\":_vm.supplierCategories.map(function (type) { return type.value; }),\"custom-label\":function (opt) { return _vm.supplierCategories.find(function (x) { return x.value == opt; }).text; },\"multiple\":\"\",\"required\":\"\",\"close-on-select\":false,\"clear-on-select\":false,\"preserve-search\":false,\"placeholder\":\"Please select supplier categories\",\"selectedLabel\":\"\",\"selectLabel\":\"\",\"deselectLabel\":\"\",\"taggable\":false,\"preselect-first\":false},on:{\"input\":function($event){return _vm.onChangedSupplierCategories()}},model:{value:(_vm.selectedSupplierCategories),callback:function ($$v) {_vm.selectedSupplierCategories=$$v},expression:\"selectedSupplierCategories\"}},[_c('template',{slot:\"noResult\"},[_vm._v(\"No tag found.\")])],2)],1):_vm._e()],1),_c('b-col',{attrs:{\"md\":\"6\",\"lg\":\"4\",\"xl\":\"3\"}},[_c('AutoCompleteAddressSearch',{ref:\"autoCompleteAddressSearch\",on:{\"onSearchAddress\":_vm.onSearchAddress,\"onClearAddress\":_vm.onClearAddress}})],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mb-3 pull-left category-filter-reset-button\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilters()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]),_c('b-button',{staticClass:\"mb-3 ml-3 search-button\",attrs:{\"disabled\":_vm.selectedSupplierCategories.length == 0 || _vm.setSearchAddress == false,\"type\":\"submit\",\"size\":\"md\"},on:{\"click\":function($event){return _vm.onClickSearch()}}},[_c('i',{staticClass:\"fas fa-lg fa-search-location\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"  Search \\n \")])],1)],1),_c('b-row',[(_vm.showMapComponent)?_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('GoogleMap',{attrs:{\"mapMarkers\":_vm.mapMarkers,\"zoomLevel\":_vm.zoomLevel,\"centerCoordinates\":_vm.centerCoordinates}})],1):_vm._e()],1),(_vm.showEmptyBanner)?_c('b-row',{staticClass:\"pt-3\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('DataTable',{ref:\"nearestSupplierDetailsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"showEmptyBanner\":_vm.showEmptyBanner,\"hidePaginator\":true,\"selectable\":false,\"emptyBanner\":\"No nearest suppliers to display.\"}})],1)],1):_vm._e()],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('GmapMap',{staticClass:\"gmap-style\",attrs:{\"center\":_vm.center,\"zoom\":_vm.zoomLevel}},[_vm._l((_vm.mapMarkers),function(m,index){return _c('GmapMarker',{key:index,attrs:{\"clickable\":m.id > 0,\"position\":m.position,\"draggable\":false,\"icon\":_vm.getMarkerIcon(m)},on:{\"click\":function($event){return _vm.openInfoWindowTemplate(index)}}})}),_c('GmapInfoWindow',{attrs:{\"opened\":_vm.infoWindow.open,\"position\":_vm.infoWindow.position,\"options\":{\n maxWidth:300,\n pixelOffset: {\n width: 0,\n height: -45\n }\n }},on:{\"closeclick\":function($event){_vm.infoWindow.open=false}}},[_c('div',{staticClass:\"map-info-window\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('span',{staticClass:\"map-info-window-header\"},[_vm._v(\"Name: \")])]),_c('b-col',[_vm._v(\" \"+_vm._s(_vm.infoWindow.name))])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('span',{staticClass:\"map-info-window-header\"},[_vm._v(\"Address: \")])]),_c('b-col',[_vm._v(\" \"+_vm._s(_vm.infoWindow.address))])],1),(_vm.infoWindow.phone != null && _vm.infoWindow.phone != '')?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('span',{staticClass:\"map-info-window-header\"},[_vm._v(\"Phone: \")])]),_c('b-col',[_vm._v(_vm._s(_vm.infoWindow.phone))])],1):_vm._e(),(_vm.infoWindow.webSiteURL != null && _vm.infoWindow.webSiteURL != '')?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('span',{staticClass:\"map-info-window-header\"},[_vm._v(\"Website: \")])]),_c('b-col',[_vm._v(_vm._s(_vm.infoWindow.webSiteURL))])],1):_vm._e(),(_vm.infoWindow.distance != null && _vm.infoWindow.distance != '')?_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('span',{staticClass:\"map-info-window-header\"},[_vm._v(\"Distance: \")])]),_c('b-col',[_vm._v(_vm._s(_vm.infoWindow.distance))])],1):_vm._e()],1)])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { GeoCoordinatesModel, MapMarkerModel } from '@/models/mapMarker.mdel';\nimport { Component, Prop, Vue, Watch } from 'vue-property-decorator';\n@Component\n\nexport default class GoogleMap extends Vue{\n @Prop({}) mapMarkers : MapMarkerModel[];\n @Prop({}) centerCoordinates : GeoCoordinatesModel;\n @Prop({default:4}) zoomLevel : number;\n center:GeoCoordinatesModel = { lat: 0, lng: 0};\n currentPlace:any = null;\n markers= [];\n places= [];\n infoWindow = {\n position: {lat: 0, lng: 0},\n name:'',\n address:'',\n phone:'',\n webSiteURL:'',\n distance:'',\n open: false\n }\n\n created(){\n this.center = this.centerCoordinates;\n }\n\n openInfoWindowTemplate(index) {\n if(this.mapMarkers[index].id > 0){\n var { name, address, workPhone, webSiteURL, distance } = this.mapMarkers[index]\n this.infoWindow.position = this.mapMarkers[index].position\n this.infoWindow.name = name;\n this.infoWindow.address = address;\n this.infoWindow.phone = workPhone;\n this.infoWindow.webSiteURL = webSiteURL;\n this.infoWindow.distance = distance;\n this.infoWindow.open = true\n }\n }\n\n getMarkerIcon(marker){\n if (marker.id > 0){\n return null\n }else{\n return {\n url: require('@/assets/img/google-map/origin-marker.png'),\n size: {width: 36.6, height: 59.2, f: 'px', b: 'px'},\n scaledSize: {width: 24.3, height: 43.2, f: 'px', b: 'px'}\n }\n }\n }\n}\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleMap.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoogleMap.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./GoogleMap.vue?vue&type=template&id=3ab617f6&scoped=true\"\nimport script from \"./GoogleMap.vue?vue&type=script&lang=ts\"\nexport * from \"./GoogleMap.vue?vue&type=script&lang=ts\"\nimport style0 from \"./GoogleMap.vue?vue&type=style&index=0&id=3ab617f6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ab617f6\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport apiService from \"@/shared/services/apiService\";\nimport lookupService from \"@/shared/services/lookupService\";\nimport { ExpenseCategories } from \"@/shared/enums/expenseClaims.enum\";\nimport {LocationAddressModel} from '@/models/locationAddress.model'\nimport { maxLength, required, numeric } from \"vuelidate/lib/validators\";\nimport { validationMixin } from \"vuelidate\";\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\nimport GoogleMap from '@/shared/components/maps/GoogleMap.vue'\nimport { GeoCoordinatesModel, MapMarkerModel } from '@/models/mapMarker.mdel'\nimport AutoCompleteAddressSearch from '@/shared/components/address/AutoCompleteAddressSearch.vue'\nimport ApexConstants from \"@/shared/constants\";\n\n@Component({\n mixins:[validationMixin],\n components: {\n Modal,\n DataTable,\n GoogleMap,\n AutoCompleteAddressSearch\n },\n validations:{\n locationAddress:{\n postcode:{\n maxLength:maxLength(4),\n required,\n numeric,\n isValid:(value) => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return value >= 200\n }\n }\n },\n }\n})\nexport default class SupplierLocator extends Vue{\n supplierCategories:any = []\n selectedSupplierCategories:any = [];\n locationAddress: LocationAddressModel = {\n addressLine1:\"\",\n addressLine2:\"\",\n suburb:\"\",\n postcode:\"\",\n stateId:0,\n country: ApexConstants.DEFAULT_COUNTRY\n };\n initialObject:LocationAddressModel = Object.assign({},this.locationAddress);\n dirtyValidatorRefNo:number = 0;\n zoomLevel:number = ApexConstants.DEFAULT_MAP_ZOOM_LEVEL;\n showMapComponent:boolean = true;\n resetButtonDisabled:boolean = true;\n showEmptyBanner:boolean = false;\n mapMarkers:MapMarkerModel[] = [];\n items:any = [];\n originCoordinates:any = null;\n setSearchAddress:boolean = false;\n centerCoordinates:GeoCoordinatesModel = {\n lat: ApexConstants.DEFAULT_COUNTRY_CENTER_LATITUDE, \n lng: ApexConstants.DEFAULT_COUNTRY_CENTER_LONGITUDE\n }\n fields = [\n {key: 'name',class:'width_10'},\n {key: 'workPhone',label:'Work Phone', class:'width_5'},\n {key: 'mobilePhone',label:'Mobile Phone', class:'width_5'},\n {key: 'webSiteURL',label:\"Website\",class:'width_5'}, \n {key: 'distanceFromOriginLocalizedText',label:\"Distance\",class:'width_5'} \n ];\n\n created() {\n this.showMapComponent = true;\n this.setSearchAddress = false;\n this.loadSupplierTags();\n }\n\n loadSupplierTags(){\n return new Promise ((resolve,reject) => {\n this.$store.dispatch('storeIsBusyValue',true);\n lookupService.GetExpenseClaimCategoryList().then(data => {\n this.supplierCategories = data.filter(ex => ex.value != ExpenseCategories.Other);\n this.$store.dispatch('storeIsBusyValue',false);\n resolve(this.supplierCategories);\n });\n });\n }\n\n resetFilters(){\n this.resetButtonDisabled = true;\n this.selectedSupplierCategories = [];\n this.items = [];\n this.mapMarkers = [];\n this.showEmptyBanner = false;\n this.zoomLevel = ApexConstants.DEFAULT_MAP_ZOOM_LEVEL;\n this.centerCoordinates.lat = ApexConstants.DEFAULT_COUNTRY_CENTER_LATITUDE;\n this.centerCoordinates.lng = ApexConstants.DEFAULT_COUNTRY_CENTER_LONGITUDE;\n (this.$refs.autoCompleteAddressSearch as AutoCompleteAddressSearch).clearAddress()\n }\n\n onChangedSupplierCategories(){\n if(this.selectedSupplierCategories.length > 0){\n this.resetButtonDisabled = false;\n }else{\n this.resetButtonDisabled = true;\n }\n }\n \n onSearchAddress(address){\n this.locationAddress = address;\n this.setSearchAddress = true;\n }\n\n onClearAddress(){\n this.locationAddress = Object.assign({}, this.initialObject);\n this.setSearchAddress = false;\n }\n\n onClickSearch(){\n var params = {\n locationAddress: this.locationAddress,\n selectedSupplierCategories: this.selectedSupplierCategories\n }\n this.searchLocation(params);\n }\n\n searchLocation(params:any){\n this.resetToInitialState();\n this.$store.dispatch('storeIsBusyValue',true);\n apiService.sendPostRequest('Supplier','NearestSuppliers',params).then(\n response => {\n if(response.data)\n {\n this.showMapComponent = true;\n if (response.data.item1 ){\n this.originCoordinates = response.data.item1;\n this.items = response.data.item2;\n if(this.items && this.items.length > 0){\n this.getMapMarkers();\n }\n this.showEmptyBanner = true;\n }else{\n this.$notify({\n group: 'growlNotification',\n title: 'Unable to locate the origin address.',\n type: 'error',\n duration: 5000\n });\n }\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n resetToInitialState(){\n this.showMapComponent = false;\n this.zoomLevel = ApexConstants.DEFAULT_MAP_ZOOM_LEVEL;\n this.items = [];\n this.mapMarkers = []\n this.centerCoordinates.lat = ApexConstants.DEFAULT_COUNTRY_CENTER_LATITUDE, \n this.centerCoordinates.lng = ApexConstants.DEFAULT_COUNTRY_CENTER_LONGITUDE\n }\n\n getOriginMarker(){\n var marker:MapMarkerModel = {\n id : 0,\n name: '',\n position: {\n lat: this.centerCoordinates.lat,\n lng: this.centerCoordinates.lng\n },\n address:'',\n mobilePhone:'',\n workPhone:'',\n homePhone:'',\n email:'',\n webSiteURL:'',\n distance: ''\n }\n return marker;\n }\n\n getMapMarkers(){\n this.mapMarkers = []\n this.validateCenterCoordinatesAndMapZoomLevel();\n this.mapMarkers.push(this.getOriginMarker())\n this.items.forEach(item => {\n var marker:MapMarkerModel = {\n id : item.id,\n name: item.name,\n position: {\n lat: item.address.latitude,\n lng:item.address.longitude\n },\n address:item.formattedAddress,\n mobilePhone:item.mobilePhone,\n workPhone:item.workPhone != null && item.workPhone != '' ? item.workPhone : item.mobilePhone,\n homePhone:item.homePhone,\n email:item.email,\n webSiteURL:item.webSiteURL,\n distance: item.distanceFromOriginLocalizedText\n }\n this.mapMarkers.push(marker); \n });\n }\n\n validateCenterCoordinatesAndMapZoomLevel(){\n var setFirstZoomLevel = this.setOriginAndZoomLevel(ApexConstants.LEVEL_1_DISTANCE_FROM_ORIGIN, ApexConstants.MAP_RESULTS_ZOOM_LEVEL_1);\n if(!setFirstZoomLevel){\n this.setOriginAndZoomLevel(ApexConstants.LEVEL_2_DISTANCE_FROM_ORIGIN, ApexConstants.MAP_RESULTS_ZOOM_LEVEL_2);\n }\n }\n\n setOriginAndZoomLevel(distanceFromOrigin:any, zoomLevel:any){\n this.items.forEach(item => {\n if(item.distanceFromOriginInMeters <= distanceFromOrigin){\n this.zoomLevel = zoomLevel;\n if(this.originCoordinates){\n this.centerCoordinates.lat = this.originCoordinates.latitude;\n this.centerCoordinates.lng = this.originCoordinates.longitude;\n }\n return true;\n }\n });\n return false;\n }\n\n navigateBackToDashboard(){\n this.$router.push({name:'Dashboard'});\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierLocator.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierLocator.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SupplierLocator.vue?vue&type=template&id=792079d8&scoped=true\"\nimport script from \"./SupplierLocator.vue?vue&type=script&lang=ts\"\nexport * from \"./SupplierLocator.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SupplierLocator.vue?vue&type=style&index=0&id=792079d8&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"792079d8\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\" Residual Due Leases \")])]),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('ClientStatusSelectList',{ref:\"clientStatusList\",attrs:{\"viewMode\":_vm.localViewMode,\"initialClientStatusFilterMode\":_vm.statusFilterMode},on:{\"onClientStatusChanged\":_vm.onClientStatusChanged}})],1),_c('b-col',{staticClass:\"pb-2 pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'From'},on:{\"input\":_vm.onDateChanged},model:{value:(_vm.fromDate),callback:function ($$v) {_vm.fromDate=$$v},expression:\"fromDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0 pb-2 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',[_c('DatePicker',{attrs:{\"highlighted\":{dates: [this.todayDateUTC],includeDisabled: true},\"use-utc\":true,\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'To'},on:{\"input\":_vm.onDateChanged},model:{value:(_vm.toDate),callback:function ($$v) {_vm.toDate=$$v},expression:\"toDate\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-row',{staticClass:\"ml-1\"},[_c('b-button',{staticClass:\"mb-3 mr-3 pull-left status-filter-reset-button cursor-pointer\",attrs:{\"disabled\":_vm.resetButtonDisabled,\"title\":'Reset All Filtrations'},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]),_c('b-dropdown',{staticClass:\"mb-3 ml-auto\",attrs:{\"id\":\"generateReport\",\"text\":\"Export As\",\"disabled\":false}},[_c('b-dropdown-item',{on:{\"click\":function($event){return _vm.onGenerateCSVReport()}}},[_vm._v(\"CSV\")])],1)],1)],1)],1),_c('DataTable',{ref:\"residualDueLeasesTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No residual due leases found.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange}})],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.isActiveClient)?_c('b-button',{staticClass:\"cursor-pointer action-btn\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":\"View Lease Details\"},on:{\"click\":_vm.navigateToEditLease}},[_c('i',{staticClass:\"fa fa-eye\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n\n@Component\nexport default class NavigateToLeasesDetails extends Vue{\n @Prop() item:any;\n\n navigateToEditLease(){\n if(this.item.isActiveLease && this.item.isActiveVehicle && this.item.isActiveClient){\n let route = this.$router.resolve({name:'Edit Lease',params:{leaseID:this.item.leaseId,topRouteDisplayName:'leasetypes', routerDisplayName:\"details\"}});\n window.location.href = route.href;\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToLeasesDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToLeasesDetails.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToLeasesDetails.vue?vue&type=template&id=82eaf800&scoped=true\"\nimport script from \"./NavigateToLeasesDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToLeasesDetails.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"82eaf800\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.item.leaseType != undefined)?_c('span',{class:_vm.item.isActiveLease ?'' : '',attrs:{\"id\":'' + _vm.item.leaseId}},[_vm._v(_vm._s(this.item.leaseType))]):_c('span',{class:_vm.item.isActiveVehicle && _vm.item.isActiveLease && _vm.item.isActiveClient ?'' : '',attrs:{\"id\":'selectLeaseLink_' + _vm.item.leaseId}},[_vm._v(_vm._s(this.getText(_vm.item)))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from 'vue-property-decorator';\nimport moment from \"moment\";\nimport { ApexDateFormat } from '@/filters/dateFilter';\n\n@Component\nexport default class NavigateToLease extends Vue{\n @Prop() item:any;\n\n getText(item:any){\n if(item.leaseStartDate){\n return this.getLeasePeriod(item.leaseStartDate, item.leaseEndDate);\n }else if (item.residualDueDate){\n return this.getDueDate(item.residualDueDate);\n }\n }\n\n getDueDate(dueDate:any){\n if(dueDate == \"\" || dueDate == undefined || dueDate == null) {\n return \"\";\n }else {\n return moment(dueDate).format(\"DD MMM YYYY\");\n }\n }\n\n getLeasePeriod(leaseStartDate, leaseEndDate) {\n return leaseStartDate + (leaseEndDate ? \" - \" + ApexDateFormat(leaseEndDate) : \"\");\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToLease.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToLease.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NavigateToLease.vue?vue&type=template&id=31077c96&scoped=true\"\nimport script from \"./NavigateToLease.vue?vue&type=script&lang=ts\"\nexport * from \"./NavigateToLease.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"31077c96\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport DataTable from \"@/shared/components/dataTable/DataTable.vue\";\nimport apiService from \"@/shared/services/apiService\";\nimport { ResidualDueReportFilterParams } from \"@/models/tableFilterParams.model\";\nimport AppSettings from \"@/app.config\";\nimport moment from \"moment\";\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\nimport ClientStatusSelectList from '@/components/admin/clientManagement/ClientStatusSelectList.vue';\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\nimport { ClientsListViewModes } from \"@/shared/enums/viewModes.enum\";\nimport fileViewerService from \"@/shared/services/fileViewerService\";\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport { InitialClientStatusFilterSelectModes } from '@/shared/enums/initialClientStatusFilterSelectModes.enum';\nimport NavigateToLeasesDetails from '@/components/shared/NavigateToLeasesDetails.vue';\nimport NavigateToLease from \"@/components/shared/NavigateToLease.vue\";\n\n@Component({\n components: {\n FilterTextInput,\n DataTable,\n ClientStatusSelectList,\n },\n})\n\nexport default class ResidualDueReport extends Vue {\n perPage: number = AppSettings.reducedLedgerGridSize;\n sortBy: string = \"residualDueDate\";\n filter: string = \"\";\n sortDesc: boolean = false;\n showEmptyBanner: boolean = false;\n todayDate: any = new Date();\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\n fromDate:any = new Date();\n toDate:any = moment(new Date()).add(60,'days').toDate();\n items: any = [];\n fields = [\n {key: 'actions',label:\"\",class:'text-center width_5'},\n { key: \"clientName\", label: \"Client Name\", class: \"width_20\" },\n { key: \"vehicleName\", label: \"Vehicle\", class: \"width_25\" },\n { key: \"residualDueDate\", label: \"Residual Due Date\", sortable: \"true\", class: \"width_20\"},\n { key: \"isEmailSent\", label: \"Email Sent\", class: \"width_15\", sortable: \"true\",\n formatter:(value, key, item) => {\n if(item.isEmailSent){\n return \"Yes\"\n } else {\n return \"No\"\n }\n }\n },\n ];\n customTemplateList: Array = \n [\n {slot:\"actions\",customTemplate:NavigateToLeasesDetails},\n {slot:\"residualDueDate\", customTemplate:NavigateToLease}\n ];\n selectedClientStatusFilterIdList: any;\n resetButtonDisabled:boolean = true;\n localViewMode:ClientsListViewModes = ClientsListViewModes.Normal;\n statusFilterMode:InitialClientStatusFilterSelectModes = InitialClientStatusFilterSelectModes.All;\n\n refreshGrid(tableFilterParams: ResidualDueReportFilterParams) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"Lease\",\"GetResidualDueReport\",tableFilterParams).then((response) => {\n this.items = response.data;\n this.showEmptyBanner = true;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n })\n .catch((error) => {\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onSortingChange(ctx:any){\n this.sortBy = ctx.sortBy;\n this.sortDesc = ctx.sortDesc\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,FromDate:from, ToDate:to, SortBy:ctx.sortBy,SortDesc:ctx.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n\n filterGrid(filterString:string){ \n this.resetTable();\n this.filter = filterString;\n this.resetButtonDisabled = false;\n (this.$refs.clientStatusList as ClientStatusSelectList).selectAllActiveFilters();\n }\n\n onClientStatusChanged(statusFilter:any[], userChange:boolean) {\n this.resetButtonDisabled = !userChange;\n this.resetTable();\n this.selectedClientStatusFilterIdList = statusFilter;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage,FromDate:from, ToDate:to, SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n\n resetFilterParams(){\n this.fromDate = new Date();\n this.toDate = moment(new Date()).add(60,'days').toDate();\n this.filter = '';\n this.resetTable();\n this.resetButtonDisabled = true;\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\n (this.$refs.clientStatusList as ClientStatusSelectList).resetActiveFilter();\n \n }\n\n resetTable(){\n this.sortBy = \"residualDueDate\";\n this.sortDesc = false;\n (this.$refs.residualDueLeasesTable as DataTable).reset();\n }\n\n onDateChanged(){\n this.resetButtonDisabled = false;\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.refreshGrid({FromIndex:0,Count:this.perPage, FromDate:from, ToDate:to, SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList});\n }\n \n onGenerateCSVReport(){\n var from = fieldValidations.isValidDate(this.fromDate) ? this.fromDate.getTime():null;\n var to = fieldValidations.isValidDate(this.toDate) ? this.toDate.getTime():null;\n this.$store.dispatch('storeIsBusyValue',true);\n var params = {FromIndex:0,Count:this.perPage, FromDate:from, ToDate:to,SortBy:this.sortBy,SortDesc:false,SearchByString:this.filter.length>2?this.filter:\"\",\n RelatedId:0,Status:0, selectedClientStatusFilterList: this.selectedClientStatusFilterIdList};\n apiService.sendGetRequest('Lease', 'GetResidualDueReportCSV', params).then(\n response => {\n if(response.data.isSuccess)\n {\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\n this.$notify({\n group: 'growlNotification',\n title: 'Report downloaded successfully.',\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }\n );\n }\n\n getDueDate(dueDate:any){\n if(dueDate == \"\" || dueDate == undefined || dueDate == null) {\n return \"\";\n } else {\n return moment(dueDate).format(\"DD MMM YYYY\");\n }\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResidualDueReport.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResidualDueReport.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ResidualDueReport.vue?vue&type=template&id=5be6f357\"\nimport script from \"./ResidualDueReport.vue?vue&type=script&lang=ts\"\nexport * from \"./ResidualDueReport.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-2 ml-2\"},[_c('b-row',{staticClass:\"mb-3\"},[_c('b-col',[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Email Remittance Advice\")])])])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[(_vm.onShowAddNewFinancier)?_c('b-button',{staticClass:\"pull-right primary mb-3\",on:{\"click\":_vm.onAddFinancierRemittanceAdviceItem}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\" Add New Financier\\n \")]):_vm._e()],1)],1),_c('div',[(_vm.items.length == 0 && _vm.showEmptyBanner)?_c('div',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"No Remittance Advice records found.\")])])],2)],1)],1)],1):_vm._e(),(_vm.items.length > 0)?_c('b-table',{attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([{key:\"cell(financier)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"grid-financier-textInput\"},[_c('b-form-select',{class:{\n requiredField:\n _vm.items[row.index].financierId == null ||\n _vm.items[row.index].financierId == '',\n },attrs:{\"id\":'financier_' + row.index,\"plain\":true,\"options\":_vm.onGetFinancierList(row.index)},on:{\"change\":function($event){return _vm.onCategoryChanged(_vm.items[row.index].financierId, row.index)}},model:{value:(row.item.financierId),callback:function ($$v) {_vm.$set(row.item, \"financierId\", $$v)},expression:\"row.item.financierId\"}},[_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"\\n -- Select Financier --\\n \")])])],2)],1),(_vm.items[row.index].financierId == null)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Financier is required.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(email)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"grid-textInput\"},[_c('b-form-input',{staticClass:\"textInput\",class:{\n 'form-group--error': _vm.$v.items.$each[row.index].email.$error,\n requiredField:\n _vm.items[row.index].email == null ||\n _vm.items[row.index].email == '',\n },attrs:{\"id\":'financierEmail' + row.index,\"type\":\"text\",\"placeholder\":\"Enter Email\"},on:{\"input\":function($event){_vm.$v.items.$each[row.index].email.$touch()}},model:{value:(row.item.email),callback:function ($$v) {_vm.$set(row.item, \"email\", $$v)},expression:\"row.item.email\"}})],1),(\n _vm.$v.items.$each[row.index].email.$dirty &&\n (_vm.items[row.index].email == null ||\n _vm.items[row.index].email == '')\n )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email is required.\\n \")]):_vm._e(),(\n _vm.$v.items.$each[row.index].email.$dirty &&\n !_vm.$v.items.$each[row.index].email.email\n )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email is invalid.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(emailSubject)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-input-group',{staticClass:\"grid-textInput\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(row.item.emailSubject),expression:\"row.item.emailSubject\"}],staticClass:\"textInput grid-textInput form-control\",class:{\n requiredField:\n _vm.items[row.index].emailSubject == null ||\n _vm.items[row.index].emailSubject == '',\n },attrs:{\"id\":'emailSubject_' + row.index,\"type\":\"text\",\"placeholder\":\"Enter Email Subject\",\"rows\":1},domProps:{\"value\":(row.item.emailSubject)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(row.item, \"emailSubject\", $event.target.value)},function($event){_vm.$v.items.$each[row.index].emailSubject.$touch()}]}})]),(\n _vm.$v.items.$each[row.index].emailSubject.$dirty &&\n (_vm.items[row.index].emailSubject == null ||\n _vm.items[row.index].emailSubject == '')\n )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Email subject is required.\\n \")]):_vm._e()],1)],1)]}},{key:\"cell(remittanceEnabled)\",fn:function(row){return [_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-checkbox',{staticClass:\"mt-1\",attrs:{\"name\":\"check-button\",\"switch\":\"\"},model:{value:(row.item.isEnableRemittanceAdvice),callback:function ($$v) {_vm.$set(row.item, \"isEnableRemittanceAdvice\", $$v)},expression:\"row.item.isEnableRemittanceAdvice\"}})],1)],1)]}},{key:\"cell(action)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"pt-1\",attrs:{\"cols\":\"1\"}},[_c('span',{staticClass:\"save_remittanceinfo\",attrs:{\"title\":\"Save Item\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":'save_remittanceinfo_' + row.index},on:{\"click\":function($event){return _vm.onSaveRemittanceAdvice(row.item)}}},[_c('i',{staticClass:\"fas fa-save\",attrs:{\"aria-hidden\":\"false\"}})])]),_c('b-col',{staticClass:\"pt-1\",attrs:{\"cols\":\"1\"}},[_c('span',{staticClass:\"delete_remittanceinfo\",attrs:{\"title\":\"Delete Item\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":'delete_remittanceinfo_' + row.index},on:{\"click\":function($event){return _vm.onClickDeleteRemittanceAdvice(row.item.id, row.index)}}},[_c('i',{staticClass:\"fas fa-trash-alt\",attrs:{\"aria-hidden\":\"false\"}})])])],1)]}}],null,false,1054916450)}):_vm._e()],1),(_vm.showDeleteConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"deleteFinancierRemittanceConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"\\n Confirmation\\n \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"Are you sure you want to delete ?\")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteRemittanceInfo_CancelButton\"},on:{\"click\":_vm.onClickCancel}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteRemittanceInfo_okButton\"},on:{\"click\":function($event){return _vm.onDeleteRemittanceAdvice(_vm.selectedItemId, _vm.selectedItemIndex)}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Prop, Vue, Emit } from \"vue-property-decorator\";\nimport { DataTableActionTypes } from \"@/shared/enums/dataTableActionTypes.enum\";\nimport { validationMixin } from \"vuelidate\";\nimport { required, numeric, email, url } from \"vuelidate/lib/validators\";\nimport lookupService from \"@/shared/services/lookupService\";\nimport { FinancierRemittanceAdviceModel } from \"@/models/FinancierRemittanceAdvice.model\";\nimport apiService from \"@/shared/services/apiService\";\nimport Modal from \"@/shared/components/modal/Modal.vue\";\n\n@Component({\n mixins: [validationMixin],\n components: {\n Modal,\n },\n validations: {\n items: {\n $each: {\n email: {\n required,\n email,\n },\n financierId: {\n required,\n },\n emailSubject: {\n required,\n },\n },\n },\n },\n})\nexport default class FinancierRemittanceAdvice extends Vue {\n showEmptyBanner: boolean = false;\n items: any[] = [];\n fields: any[] = [\n { key: \"financier\", label: \"Financier\", class: \"width_20 text-left\" },\n { key: \"email\", label: \"Email\", class: \"width_20 text-left\" },\n { key: \"emailSubject\",label: \"Email Subject\", class: \"width_25 text-left\",},\n { key: \"remittanceEnabled\", label: \"Enable Remittance Advice\", class: \"width_15\" },\n { key: \"action\", label: \"\", class: \"width_25\" },\n ];\n financierList: any[] = [];\n filteredFinancierList: any[] = [];\n showDeleteConfirmation: boolean = false;\n selectedItemId: number = 0;\n selectedItemIndex: number = 0;\n selectededCompanyName: string = \"\";\n\n created() {\n this.onLoadRemittanceAdviceList();\n this.loadCompanyDetails();\n this.onLoadFinancierList();\n }\n\n onAddFinancierRemittanceAdviceItem() {\n let financierRemittanceAdvice: FinancierRemittanceAdviceModel = {\n id: 0,\n financierId: 0,\n email: \"\",\n emailSubject: this.selectededCompanyName,\n isEnableRemittanceAdvice: false,\n lastUpdatedDate: new Date(),\n createdDate: new Date(),\n createdByName: \"\",\n concurrencyKey: \"\",\n updatedByName: \"\",\n };\n this.items.push(financierRemittanceAdvice);\n }\n\n onCategoryChanged(financierId: number, index: number) {\n this.onLoadFinancierEmail(financierId, index);\n }\n\n onSaveRemittanceAdvice(remittanceItem: FinancierRemittanceAdviceModel) {\n if (!this.$v.items.$invalid) {\n if (remittanceItem.id == 0) {\n this.onCreateFinanceRemittanceAdvice(remittanceItem);\n } else {\n this.onUpdateFinancierRemittanceAdvice(remittanceItem);\n }\n }\n }\n\n onLoadRemittanceAdviceList() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n this.showEmptyBanner = false;\n apiService.sendGetRequest(\"RemittanceInfo\", \"FinancierRemittanceAdvice\")\n .then((response) => {\n this.items = response.data;\n this.showEmptyBanner = true;\n this.$store.dispatch(\"storeIsBusyValue\", false);\n })\n .catch((error) => {\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onCreateFinanceRemittanceAdvice(remittanceInfoItem: FinancierRemittanceAdviceModel) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n var params = {\n financierId: remittanceInfoItem.financierId,\n email: remittanceInfoItem.email,\n emailSubject: remittanceInfoItem.emailSubject,\n isEnableRemittanceAdvice: remittanceInfoItem.isEnableRemittanceAdvice,\n };\n\n apiService.sendPostRequest(\"RemittanceInfo\", \"FinancierRemittanceAdvice\", params)\n .then((response) => {\n if (response.data.isSuccess) {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"success\",\n duration: 5000,\n });\n this.onLoadRemittanceAdviceList();\n } else {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"error\",\n duration: 5000,\n });\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onUpdateFinancierRemittanceAdvice(remittanceItem) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendPutRequest(\"RemittanceInfo\", \"FinancierRemittanceAdvice\", remittanceItem)\n .then((data) => {\n var response = data.data;\n if (response.isSuccess) {\n this.$notify({\n group: \"growlNotification\",\n title: response.message,\n type: \"success\",\n duration: 5000,\n });\n this.onLoadRemittanceAdviceList();\n } else {\n this.$notify({\n group: \"growlNotification\",\n title: response.message,\n type: \"error\",\n duration: 5000,\n });\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onClickDeleteRemittanceAdvice(id: number, index: number) {\n this.selectedItemId = id;\n this.selectedItemIndex = index;\n this.showDeleteConfirmation = true;\n }\n\n onDeleteRemittanceAdvice(id: number, index: number) {\n if (id == 0) {\n this.items.splice(index, 1);\n this.selectedItemId = 0;\n this.selectedItemIndex = 0;\n this.showDeleteConfirmation = false;\n return;\n }\n\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendDeleteRequest(\"RemittanceInfo\", \"FinancierRemittanceAdvice\", { remittanceInfoId: id})\n .then((response) => {\n if (response.data.isSuccess) {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"success\",\n duration: 5000,\n });\n this.$store.dispatch(\"storeIsBusyValue\", false);\n this.onLoadRemittanceAdviceList();\n } else {\n this.$notify({\n group: \"growlNotification\",\n title: response.data.message,\n type: \"error\",\n duration: 5000,\n });\n this.$store.dispatch(\"storeIsBusyValue\", false);\n }\n this.selectedItemId = 0;\n this.selectedItemIndex = 0;\n this.showDeleteConfirmation = false;\n });\n }\n\n onLoadFinancierList() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n lookupService.GetFinanciersList(false).then((data) => {\n this.$store.dispatch(\"storeIsBusyValue\", false);\n this.financierList = data.filter((obj) => obj.disabled == false);\n });\n }\n\n onLoadFinancierEmail(financierId: number, index: number) {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n var params = { id: financierId };\n apiService\n .sendGetRequest(\"Financier\", \"Financier\", params)\n .then((response) => {\n if (response.data) {\n this.items;\n this.items[index].email = response.data.email;\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n loadCompanyDetails() {\n this.$store.dispatch(\"storeIsBusyValue\", true);\n apiService.sendGetRequest(\"Company\", \"Company\").then((response) => {\n if (response.data) {\n this.selectededCompanyName = response.data.companyName + \" Lease Payments\";\n }\n this.$store.dispatch(\"storeIsBusyValue\", false);\n });\n }\n\n onGetFinancierList(index: number) {\n var selectedFinanciers = this.items.map((a) => a.financierId);\n return this.financierList.filter(\n (obj) =>\n !selectedFinanciers.includes(obj.value) ||\n obj.value == this.items[index].financierId\n );\n }\n\n onClickCancel() {\n this.showDeleteConfirmation = false;\n this.selectedItemId = 0;\n this.selectedItemIndex = 0;\n }\n\n get onShowAddNewFinancier() {\n var selectedFinanciers = this.items.map((a) => a.financierId);\n return this.financierList.length != selectedFinanciers.length;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierRemittanceAdvice.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FinancierRemittanceAdvice.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./FinancierRemittanceAdvice.vue?vue&type=template&id=1cd84242&scoped=true\"\nimport script from \"./FinancierRemittanceAdvice.vue?vue&type=script&lang=ts\"\nexport * from \"./FinancierRemittanceAdvice.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1cd84242\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showPopupDeleteConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteInsuranceScheduleConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Scheduled Recurring Payment(s)\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the scheduled recurring payment(s)?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteInsuranceScheduleConf_CancelButton\"},on:{\"click\":function($event){_vm.showPopupDeleteConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteInsuranceScheduleConf_OkButton\"},on:{\"click\":function($event){return _vm.deleteScheduledPayments()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"md\":\"12\",\"lg\":\"12\"}},[_c('b-card',[_c('div',{staticClass:\"header cursor-pointer\",attrs:{\"slot\":\"header\"},on:{\"click\":function($event){return _vm.navigateBack()}},slot:\"header\"},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"text-muted text-uppercase db-item-name displayNameText\"},[_vm._v(_vm._s(_vm.vehicleName)+\" - Recurring Payment Schedule\")]),_c('span',{staticClass:\"back-navigation\",attrs:{\"title\":_vm.isAdmin ? 'Go to Scheduled Payments' : 'Go to Dashboard'}},[_c('i',{staticClass:\"cui-chevron-left\"})])])],1)],1),_c('b-card-body',[_c('b-row',[_c('b-col',{staticClass:\"lease-date-text\",attrs:{\"lg\":\"6\",\"sm\":\"12\",\"md\":\"12\"}},[_c('h2',{staticClass:\"pb-4\"},[_vm._v(\"Scheduled Recurring Payments\")])]),_c('b-col',{attrs:{\"lg\":\"6\",\"sm\":\"12\",\"md\":\"12\"}},[_c('b-form',{staticClass:\"form-width float-right\"},[_c('b-form-group',[_c('b-input-group',[_c('label',{staticClass:\"mt-2 mr-3\"},[_c('b',[_vm._v(\"All Schedules\")])]),_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"PaymentScheduleSelect\",\"plain\":true,\"options\":_vm.PaymentScheduleList,\"required\":\"\"},on:{\"change\":function($event){return _vm.onChangeSelectedPaymentSchedule()}},model:{value:(_vm.SelectedPaymentSchedule),callback:function ($$v) {_vm.SelectedPaymentSchedule=$$v},expression:\"SelectedPaymentSchedule\"}})],1)],1)],1)],1)],1),_c('b-row',[_c('b-col',{staticClass:\"lease-date-text\",attrs:{\"lg\":\"6\",\"sm\":\"12\",\"md\":\"12\"}},[_c('b-row',[_c('b-col',[_c('span',[_c('b',[_vm._v(\"Schedule Start Date :\")]),_vm._v(\"\\n \"+_vm._s(_vm._f(\"ApexDateFormat\")(_vm.scheduleStartDate))+\"\\n \")])])],1),_c('b-row',[_c('b-col',[_c('span',[_c('b',[_vm._v(\"Schedule End Date :\")]),_vm._v(\"\\n \"+_vm._s(_vm._f(\"ApexDateFormat\")(_vm.scheduleEndDate))+\"\\n \")])])],1)],1),_c('b-col',{staticStyle:{\"z-index\":\"inherit\"}},[(_vm.isAdmin)?_c('VehicleInsuranceScheduleAuditLogs',{staticClass:\"float-right ml-2\",attrs:{\"vehicleInsuranceId\":_vm.vehicleInsuranceId}}):_vm._e(),_c('DocumentUploader',{attrs:{\"relatedTable\":_vm.recurringPaymentRelatedTable,\"relatedID\":_vm.recurringPaymentScheduleId,\"addToolTip\":\"Add Recurring Payment Scheduled Documents\",\"iconToolTip\":\"Recurring Payment Scheduled Documents\",\"modalTitle\":\"Recurring Payment Scheduled Documents\",\"buttonType\":_vm.buttonType,\"useStore\":false,\"isReadOnly\":true,\"acceptedFileTypes\":'*'}}),_c('b-dropdown',{staticClass:\"mb-3 float-right\",attrs:{\"id\":\"downloadInsuranceSchedule\",\"text\":\"Export As\",\"disabled\":_vm.vehicleInsuranceScheduleListCount <= 0}},[_c('b-dropdown-item',{on:{\"click\":_vm.onDownloadInsuranceSchedulePDF}},[_vm._v(\"PDF\")])],1)],1)],1),(_vm.selectedVehicleInsuranceIdList.length > 0 && _vm.isVehicleInsuranceActive && _vm.isAdmin)?_c('b-row',[_c('b-col',{staticClass:\"pl-0\"},[_c('b-button',{staticClass:\"mt-1 ml-3 pull-left primary\",on:{\"click\":_vm.onClickDeleteScheduledPayments}},[_vm._v(\"Delete Record(s)\")])],1)],1):_vm._e(),_c('b-row',[_c('b-col',{staticClass:\"pt-3 mt-2\",attrs:{\"sm\":\"12\",\"md\":\"12\"}},[_c('InsuranceSchedule',{attrs:{\"vehicleInsuranceId\":_vm.vehicleInsuranceId,\"refreshVehicleInsuranceScheduleGrid\":_vm.refreshVehicleInsuranceScheduleGrid},on:{\"onEmitItemCount\":_vm.SetVehicleInsuranceScheduleListCount,\"onSelectInsuranceScheduleItem\":_vm.onSelectInsuranceScheduleItem}})],1)],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.items && _vm.items.length == 0 && _vm.showEmptyBanner)?_c('b-jumbotron',{attrs:{\"bg-variant\":\"secondary\",\"border-variant\":\"secondary\"}},[_c('template',{slot:\"lead\"},[_c('div',[_vm._v(\"\\n\\t\\t\\t\\t\\tNo scheduled payments exist.\\n\\t\\t\\t\\t\")])])],2):_vm._e(),(_vm.items && _vm.items.length > 0)?_c('b-table',{ref:\"scheduled\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"responsive\":\"sm\",\"hover\":\"\",\"striped\":\"\"},scopedSlots:_vm._u([(_vm.isItemSelectable && _vm.showSelectAllCheckBox)?{key:\"head(selected)\",fn:function(){return [_c('b-row',{staticClass:\"select-all\"},[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"selectedAllCheckbox\"}},[_c('b-form-checkbox',{on:{\"change\":_vm.onSelectAll},model:{value:(_vm.isAllSelected),callback:function ($$v) {_vm.isAllSelected=$$v},expression:\"isAllSelected\"}})],1)],1)],1)]},proxy:true}:null,{key:\"cell(selected)\",fn:function(row){return [_c('b-row',[_c('b-col',{staticClass:\"selected-column\",attrs:{\"cols\":\"12\"}},[_c('span',{staticClass:\"selected-checkbox\"},[_c('b-form-group',{attrs:{\"label\":\"\",\"label-for\":\"selectedCheckbox\"}},[_c('b-form-checkbox',{attrs:{\"id\":'selectedCheckbox' + row.index,\"disabled\":_vm.items[row.index].isInvalid || row.item.expenseClaimId > 0},on:{\"change\":_vm.onSelect},model:{value:(_vm.items[row.index].isChecked),callback:function ($$v) {_vm.$set(_vm.items[row.index], \"isChecked\", $$v)},expression:\"items[row.index].isChecked\"}})],1)],1)])],1)]}},{key:\"cell(rowNumber)\",fn:function(row){return [_c('label',[_vm._v(_vm._s(row.item.rowNumber == 0 ? '' : row.item.rowNumber))])]}},{key:\"cell(dueDate)\",fn:function(row){return [_c('label',[_vm._v(_vm._s(_vm._f(\"ApexDateFormat\")(row.item.dueDate)))])]}},{key:\"cell(amount)\",fn:function(row){return [(!_vm.items[row.index].isEditable)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.amount}})],1):_vm._e(),(_vm.items[row.index].isEditable)?_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",attrs:{\"id\":'_Amount' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"placeholder\":\"Amount\"},model:{value:(row.item.amount),callback:function ($$v) {_vm.$set(row.item, \"amount\", $$v)},expression:\"row.item.amount\"}})],1):_vm._e()]}},{key:\"cell(gstAmount)\",fn:function(row){return [(!_vm.items[row.index].isEditable)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.gstAmount}})],1):_vm._e(),(_vm.items[row.index].isEditable)?_c('b-input-group',{attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"grid-text-input textInput\",attrs:{\"id\":'_GSTAmount' + row.index,\"type\":\"text\",\"maxlength\":\"8\",\"placeholder\":\"GST Amount\"},model:{value:(row.item.gstAmount),callback:function ($$v) {_vm.$set(row.item, \"gstAmount\", $$v)},expression:\"row.item.gstAmount\"}})],1):_vm._e()]}},{key:\"cell(totalAmountPayable)\",fn:function(row){return [(!_vm.items[row.index].isEditable)?_c('label',[_c('ApexCurrency',{attrs:{\"value\":row.item.totalAmountPayable}})],1):_vm._e()]}},{key:\"cell(ecrn)\",fn:function(row){return [((!row.item.isActiveExpenseClaim))?_c('span',[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(row.item.ecrn)+\"\\n\\t\\t\\t\\t\")]):_c('span',[_c('router-link',{attrs:{\"to\":{ path: '/expenseClaims', name: 'View Expense Claim', params: { id: row.item.expenseClaimId }},\"target\":\"_blank\"}},[_vm._v(_vm._s(row.item.ecrn))])],1)]}},{key:\"cell(expenseClaimStatus)\",fn:function(row){return [((row.item.isActiveExpenseClaim))?_c('span',[_c('b-badge',{class:[(row.item.expenseClaimStatus == _vm.rejectedStatus || row.item.expenseClaimStatus == _vm.clientRejectedStatus) ? 'backgroundError':\n ((row.item.expenseClaimStatus == _vm.pendingApprovalStatus || row.item.expenseClaimStatus == _vm.pendingClientApprovalStatus ||\n row.item.expenseClaimStatus == _vm.queriedStatus || row.item.expenseClaimStatus == _vm.clientQueriedStatus) ? 'backgroundWarning' : 'backgroundSuccess')]},[_vm._v(\"\\n \"+_vm._s(_vm.setExpenseClaimStatusText(row.item.expenseClaimStatus))+\"\\n \")])],1):_vm._e()]}},{key:\"cell(actions)\",fn:function(row){return [(_vm.isRecordEditDeleteAllowed && row.item.expenseClaimId == 0 && !_vm.items[row.index].isEditable && (row.item.expenseClaimStatus == 0 || row.item.isActiveExpenseClaim))?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Edit Schedule\"},on:{\"click\":function($event){return _vm.onEditRecord(row.item)}}},[_c('i',{staticClass:\"fas fa-edit cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.isRecordEditDeleteAllowed && _vm.items[row.index].isEditable)?_c('span',{staticClass:\"ml-1\",attrs:{\"title\":\"Save Schedule\"},on:{\"click\":function($event){return _vm.onSaveRecord(row.item)}}},[_c('i',{staticClass:\"fas fa-save cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.isRecordEditDeleteAllowed && _vm.items[row.index].isEditable)?_c('span',{staticClass:\"ml-4\",attrs:{\"title\":\"Cancel\"},on:{\"click\":function($event){return _vm.onCancelEditRecord(row.item)}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()]}},{key:\"bottom-row\",fn:function(){return [_c('b-td',{staticClass:\"text-bold color-header-column\",attrs:{\"colspan\":_vm.isRecordEditDeleteAllowed ? 3 : 2}},[_vm._v(\"Total\")]),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmount}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalGstAmount}})],1),_c('b-td',{staticClass:\"text-bold text-right color-header-column\"},[_c('ApexCurrency',{attrs:{\"value\":_vm.totalAmountPayable}})],1),_c('b-td',{staticClass:\"color-header-column\",attrs:{\"colspan\":\"3\"}})]},proxy:true}],null,true)}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { TransactionStatus } from \"@/shared/enums/transaction.enum\";\r\nimport { UserRoles } from \"@/shared/enums/userRoles.enum\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport fieldValidations from \"@/shared/services/fieldValidationService\";\r\nimport { Component, Prop, Vue, Emit, Watch } from \"vue-property-decorator\";\r\nimport { ExpenseClaimStatuses } from '@/shared/enums/expenseClaims.enum';\r\n\r\n@Component({\r\n\tcomponents: {\r\n\t},\r\n})\r\n\r\nexport default class InsuranceSchedule extends Vue{ \r\n @Prop() vehicleInsuranceId:number;\r\n\t@Prop() refreshVehicleInsuranceScheduleGrid:boolean;\r\n\r\n fields: any[] = [\r\n\t\t{ key: \"rowNumber\", label: \"#\", class:'width_5 text-center'},\r\n\t\t{ key: \"dueDate\", label: \"Due Date\", class: \"width_15 text-center\"},\r\n { key: \"amount\", label:\"Amount\", class:\"width_10 text-right\" },\r\n\t\t{ key: \"gstAmount\", label:\"GST\", class:\"width_10 text-right\"},\r\n\t\t{ key: \"totalAmountPayable\", label: \"Total\", class: \"width_20 text-right\"},\r\n\t\t{ key: \"ecrn\", label: \"ECRN\",class: \"width_20 text-center\"},\r\n { key: \"expenseClaimStatus\", label:\"Status\", class:\"width_5 text-center\"},\r\n\t];\r\n\r\n showEmptyBanner:boolean = false;\r\n items:any [] = [];\r\n totalAmountPayable:number = 0;\r\n totalGstAmount:number = 0;\r\n totalAmount:number = 0;\r\n\tselectedInsuranceScheduleIdList:any[] = [];\r\n\tisAllSelected:boolean = false;\r\n\trecordToBeDeleted: any = {};\r\n\trecordToBeEdited: any = {};\r\n \tisRecordEditable: boolean = false;\r\n \tisRecordEditDeleteAllowed: boolean = false;\r\n\tqueriedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.Queried;\r\n clientQueriedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.ClientQueried;\r\n rejectedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.Rejected;\r\n clientRejectedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.ClientRejected;\r\n pendingApprovalStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.PendingApproval; \r\n pendingClientApprovalStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.PendingClientApproval;\r\n paidStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.Paid;\r\n expenseClaimApprovedStatus:ExpenseClaimStatuses = ExpenseClaimStatuses.Approved;\r\n\t \t\r\n\tcreated() {\r\n\t\tthis.isRecordEditable = this.$store.getters.isAuthorized([\r\n\t\t\tUserRoles.SystemAdmin,\r\n\t\t]);\r\n\t\tthis.isRecordEditDeleteAllowed = this.$store.getters.isAuthorized([\r\n\t\t\tUserRoles.TenantAdmin,\r\n\t\t\tUserRoles.StandardUser\r\n\t\t]);\r\n\r\n\t\tif(this.isRecordEditDeleteAllowed){\r\n\t\t\tthis.fields.push({ key: \"actions\", label: \"\", class: \"width_10 text-right\" })\r\n\t\t\tthis.fields.splice(0, 0, {key: 'selected', label:' ', class:'width_2 text-center'});\r\n\t\t}\r\n\r\n\t\tif(this.isRecordEditable){\r\n\t\t\tthis.fields.push({ key: \"actions\", label: \"\", class: \"width_10 text-right\" })\r\n\t\t}\r\n\t\tthis.loadVehicleInsuranceSchedule();\r\n }\r\n\r\n\t@Watch('vehicleInsuranceId')\r\n onVehicleInsuranceIdChanged(val: any, oldVal: any)\r\n {\r\n if(this.vehicleInsuranceId > 0){\r\n this.loadVehicleInsuranceSchedule();\r\n }\r\n }\r\n\r\n\t@Watch('refreshVehicleInsuranceScheduleGrid')\r\n onVehicleInsuranceScheduleGridRefreshed(val: any, oldVal: any)\r\n {\r\n if(this.vehicleInsuranceId > 0){\r\n this.loadVehicleInsuranceSchedule();\r\n }\r\n }\r\n\r\n\tget isItemSelectable(){\r\n\t\tif(this.items != null && this.items.length > 0){\r\n\t\t\tfor(var i =0; i< this.items.length;i++){\r\n\t\t\t\tif(!this.items[i].isInvalid){\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\tget showSelectAllCheckBox(){\t\t\r\n\t\tif(this.items.length > 0 && this.items.some(f => f.expenseClaimId <= 0)){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n\tonSelectAll(){\r\n\t\tthis.$nextTick(() => {\r\n\t\t\tthis.selectedInsuranceScheduleIdList = [];\r\n\t\t\tthis.items.forEach(item =>{\r\n\t\t\t\tif(this.isAllSelected && !item.isInvalid && item.expenseClaimId <= 0){\r\n\t\t\t\t\titem.isChecked = true;\r\n\t\t\t\t\tthis.selectedInsuranceScheduleIdList.push(item.id)\r\n\t\t\t\t}else{\r\n\t\t\t\t\titem.isChecked = false;\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\tthis.onSelectInsuranceScheduleItem(this.selectedInsuranceScheduleIdList, this.isAllSelected);\r\n\t\t})\r\n\t}\r\n\r\n\tonSelect(){\r\n\t\tthis.$nextTick(()=>{\r\n\t\t\tif(this.isAllSelected){\r\n\t\t\t\tthis.isAllSelected = false;\r\n\t\t\t}\r\n\r\n\t\t\tthis.selectedInsuranceScheduleIdList = [];\r\n\t\t\tthis.items.forEach(item =>{\r\n\t\t\t\tif(!item.isInValid && item.isChecked){\r\n\t\t\t\t\tthis.selectedInsuranceScheduleIdList.push(item.id)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t\t\r\n\t\t\tif(this.selectedInsuranceScheduleIdList.length == this.items.filter(i => !i.isInvalid && i.expenseClaimId <= 0).length){\r\n this.isAllSelected = !this.isAllSelected;\r\n }\r\n\r\n\t\t\tthis.onSelectInsuranceScheduleItem(this.selectedInsuranceScheduleIdList, this.isAllSelected);\r\n\t\t}); \r\n\t}\r\n\t\r\n\tonEditRecord(item:any){\r\n\t\tthis.recordToBeEdited = Object.assign({}, item);\r\n\t\titem.isEditable = true;\r\n\t\tif (item.gstAmount != \"\") {\r\n\t\t\titem.gstAmount = (Math.round(item.gstAmount * 100) / 100).toFixed(2);\r\n\t\t}\r\n\r\n\t\tif (item.amount != \"\"){\r\n\t\t\titem.amount = (Math.round(item.amount * 100) / 100).toFixed(2);\r\n\t\t}\r\n\t}\r\n\t\r\n\tonCancelEditRecord(item:any){\r\n\t\titem.amount = this.recordToBeEdited.amount;\r\n\t\titem.gstAmount = this.recordToBeEdited.gstAmount;\r\n\t\titem.isEditable = false;\r\n\t}\r\n\r\n\tonSaveRecord(item:any){\r\n\t\tif(!this.isValidSchedule(item)){\r\n\t\t\tthis.$notify({\r\n\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\ttitle: \"Invalid Schedule values.\",\r\n\t\t\t\ttype: \"error\",\r\n\t\t\t\tduration: 5000,\r\n\t\t\t});\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.$store.dispatch(\"storeIsBusyValue\", true);\r\n\t\tapiService.sendPostRequest(\"RecurringPayment\", \"VehicleInsuranceSchedule\", item).then((response) => {\r\n\t\t\tif(response.data.isSuccess) {\r\n\t\t\t\tthis.$notify({\r\n\t\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\t\ttitle: response.data.message,\r\n\t\t\t\t\ttype: response.data.isWarning ? 'warn' : 'success',\r\n\t\t\t\t\tduration: response.data.isWarning? 10000 : 5000\r\n\t\t\t\t});\r\n\t\t\t}else {\r\n\t\t\t\tthis.$notify({\r\n\t\t\t\t\tgroup: \"growlNotification\",\r\n\t\t\t\t\ttitle: response.data.message,\r\n\t\t\t\t\ttype: \"error\",\r\n\t\t\t\t\tduration: 5000,\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t\tthis.loadVehicleInsuranceSchedule();\r\n\t\t\tthis.$store.dispatch(\"storeIsBusyValue\", false);\r\n\t\t})\r\n\t}\r\n\r\n\tisValidSchedule(schedule: any) {\r\n\t\tif (fieldValidations.isValidDecimal(schedule.amount) && fieldValidations.isValidDecimal(schedule.gstAmount)){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}\r\n\r\n loadVehicleInsuranceSchedule() {\r\n\t\tthis.$store.dispatch(\"storeIsBusyValue\", true);\r\n\t\tapiService.sendGetRequest(\"RecurringPayment\", \"VehicleInsuranceScheduleList\",{vehicleInsuranceId:this.vehicleInsuranceId})\r\n\t\t\t.then((response) => {\r\n\t\t\t\tvar records = response.data;\r\n\t\t\t\tif(records && records.length > 0){\r\n\t\t\t\t\tthis.onEmitItemCount(records.length);\r\n\t\t\t\t\tthis.showEmptyBanner = false;\r\n\t\t\t\t\tthis.calculateTotalAmounts();\r\n\t\t\t\t\tfor (let index = 0; index < records.length; index++) {\r\n\t\t\t\t\t\t// Slice 'Z' from ISO Date strings to avoid affect of the time zone when convert to local\r\n\t\t\t\t\t\trecords[index].dueDate = records[index].dueDate.slice(0, -1);\r\n\t\t\t\t\t\trecords[index].isChecked = false;\r\n\t\t\t\t\t\trecords[index].isInvalid = (records[index].transactionStatus == TransactionStatus.Generated) || (records[index].transactionStatus == TransactionStatus.Matched);\r\n\t\t\t\t\t\trecords[index].isEditable = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tthis.items = records;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.onEmitItemCount(0);\r\n\t\t\t\t\tthis.items = [];\r\n\t\t\t\t\tthis.showEmptyBanner = true;\r\n\t\t\t\t}\r\n\t\t\t\tthis.$store.dispatch(\"storeIsBusyValue\", false);\r\n\t\t\t});\r\n\t}\r\n\r\n\tcalculateTotalAmounts(){\r\n\t\tthis.$nextTick(()=>{\r\n\t\t\tthis.totalAmountPayable = 0;\r\n\t\t\tthis.totalGstAmount = 0;\r\n\t\t\tthis.totalAmount = 0;\r\n\r\n\t\t\tthis.items.forEach((item) => {\r\n\t\t\t\tthis.totalAmountPayable += parseFloat(item.totalAmountPayable);\r\n\t\t\t\tthis.totalGstAmount += parseFloat(item.gstAmount);\r\n\t\t\t\tthis.totalAmount += parseFloat(item.amount);\r\n\t\t\t});\r\n\t\t});\r\n\t}\r\n\r\n\tsetExpenseClaimStatusText(expenseClaimStatus:any) {\r\n \tconst statusText = {\r\n \t\t[this.pendingApprovalStatus]: 'Pending Approval',\r\n \t\t[this.expenseClaimApprovedStatus]: 'Approved',\r\n \t\t[this.queriedStatus]: 'Queried',\r\n \t\t[this.paidStatus]: 'Paid',\r\n \t\t[this.pendingClientApprovalStatus]: 'Pending Client Approval',\r\n \t\t[this.clientQueriedStatus]: 'Client Queried',\r\n \t\t[this.rejectedStatus]: 'Rejected',\r\n \t\t[this.clientRejectedStatus]: 'Client Rejected',\r\n \t};\r\n \treturn statusText[expenseClaimStatus] || null;\r\n \t}\r\n\r\n\t@Emit('onEmitItemCount') onEmitItemCount(itemCount:number){}\r\n\r\n\t@Emit('onSelectInsuranceScheduleItem') onSelectInsuranceScheduleItem(scheduleIdList:any, isAllSelected:boolean){}\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsuranceSchedule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InsuranceSchedule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./InsuranceSchedule.vue?vue&type=template&id=eccbd9fa&scoped=true\"\nimport script from \"./InsuranceSchedule.vue?vue&type=script&lang=ts\"\nexport * from \"./InsuranceSchedule.vue?vue&type=script&lang=ts\"\nimport style0 from \"./InsuranceSchedule.vue?vue&type=style&index=0&id=eccbd9fa&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eccbd9fa\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showVehicleInsuranceScheduleAuditLogsModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"vehicleInsuranceScheduleAuditLogsModal\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":_vm.hideFooter}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap modal-title\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Recurring Payment Schedule Audit Logs\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"vehicleInsuranceScheduleAuditLogsModal_CancelBtn\"},on:{\"click\":_vm.onCloseModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"pt-4\",staticStyle:{\"font-size\":\"11pt\"}},[_c('DataTable',{ref:\"insurnaceScheduleLogsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"totalRows\":_vm.totalRows,\"perPage\":_vm.perPage,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No audit logs to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"onSortingChanged\":_vm.onSortingChange,\"onPageChange\":_vm.onPageChange}})],1)])]):_vm._e(),_c('b-btn',{staticClass:\"mb-3 pull-right primary\",attrs:{\"title\":\"Show recurring Payment Schedule Audit Logs\"},on:{\"click\":_vm.viewVehicleInsuranceAuditLogs}},[_c('i',{staticClass:\"fas fa-history\",attrs:{\"aria-hidden\":\"true\"}})])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\n \r\nimport { Component, Prop, Vue} from 'vue-property-decorator';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport AppSettings from '@/app.config';\r\nimport {TableFilterParams} from '@/models/tableFilterParams.model';\r\nimport moment from 'moment';\r\nimport apiService from '@/shared/services/apiService';\r\n\r\n@Component({\r\n components: {\r\n DataTable,\r\n Modal \r\n }\r\n})\r\nexport default class VehicleInsuranceScheduleAuditLogs extends Vue{\r\n @Prop() vehicleInsuranceId:number;\r\n\r\n items:any[] = [];\r\n showEmptyBanner:boolean = false;\r\n fields = [\r\n {key: 'createdOnUtc',label:'Date', class:'width_25 text-left', sortable:true, \r\n formatter: (value, key, item) => {\r\n return moment(item.createdOnUtc).format(\"DD MMM YYYY HH:mm:ss\");\r\n }, \r\n },\r\n {key: 'updatedBy', label:'Updated By', class:'width_25 text-left'},\r\n {key: 'description', class:'text-left' }\r\n ]; \r\n hideFooter:boolean = true;\r\n showVehicleInsuranceScheduleAuditLogsModal:boolean = false;\r\n perPage:number = AppSettings.defaultGridSize;\r\n sortBy:string = \"createdOnUtc\";\r\n sortDesc:boolean = true;\r\n totalRows:number = 0;\r\n\r\n viewVehicleInsuranceAuditLogs(){\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId:this.vehicleInsuranceId, Status :0});\r\n this.showVehicleInsuranceScheduleAuditLogsModal = true;\r\n }\r\n\r\n refreshGrid(tableFilterParams:TableFilterParams){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"RecurringPayment\",\"VehicleInsuranceScheduleAuditLogs\",tableFilterParams).then(response =>{\r\n this.items = response.data.resultDto;\r\n this.totalRows = response.data.totalRows;\r\n this.showEmptyBanner = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onSortingChange(ctx:any)\r\n {\r\n if(ctx.sortBy){\r\n this.sortDesc = ctx.sortDesc;\r\n this.sortBy = ctx.sortBy;\r\n this.refreshGrid({FromIndex:0,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId:this.vehicleInsuranceId, Status: 0});\r\n }\r\n }\r\n\r\n onPageChange(sortBy:string,sortDesc:boolean,fromIndex:number)\r\n {\r\n this.refreshGrid({FromIndex:fromIndex,Count:this.perPage,SortBy:this.sortBy,SortDesc:this.sortDesc,SearchByString: '',RelatedId:this.vehicleInsuranceId, Status :0});\r\n }\r\n\r\n onCloseModal()\r\n {\r\n this.showVehicleInsuranceScheduleAuditLogsModal = false;\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleInsuranceScheduleAuditLogs.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleInsuranceScheduleAuditLogs.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleInsuranceScheduleAuditLogs.vue?vue&type=template&id=367a64d1&scoped=true\"\nimport script from \"./VehicleInsuranceScheduleAuditLogs.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleInsuranceScheduleAuditLogs.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleInsuranceScheduleAuditLogs.vue?vue&type=style&index=0&id=367a64d1&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"367a64d1\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport InsuranceSchedule from \"@/components/client/scheduledPayments/InsuranceSchedule.vue\";\r\nimport { RelatedTables } from \"@/shared/enums/relatedTables.enum\";\r\nimport DocumentUploader from \"@/shared/components/documentUploader/DocumentUploader.vue\";\r\nimport { NoteAndDocumentButtonTypes } from \"@/shared/enums/buttonTypes.enum\";\r\nimport fileViewerService from \"@/shared/services/fileViewerService\";\r\nimport { UserRoles } from \"@/shared/enums/userRoles.enum\";\r\nimport Modal from \"@/shared/components/modal/Modal.vue\";\r\nimport { required } from \"vuelidate/lib/validators\";\r\nimport { validationMixin } from \"vuelidate\";\r\nimport VehicleInsuranceScheduleAuditLogs from \"../scheduledPayments/VehicleInsuranceScheduleAuditLogs.vue\";\r\n\r\n@Component({\r\n mixins:[validationMixin],\r\n components: {\r\n Modal,\r\n InsuranceSchedule,\r\n DocumentUploader,\r\n VehicleInsuranceScheduleAuditLogs\r\n },\r\n validations:{\r\n vehicleInsuranceDeletedReason:{\r\n required\r\n },\r\n }\r\n})\r\nexport default class VehicleInsuranceSchedule extends Vue {\r\n vehicleId:number = 0;\r\n vehicleInsuranceId:number = 0;\r\n scheduleStartDate:string = \"\";\r\n scheduleEndDate:string = \"\";\r\n vehicleName: string = \"\";\r\n isScheduledInsuranceReimbursement : boolean = false;\r\n expenseClaimLineRelatedTable:RelatedTables = RelatedTables.ExpenseClaimLine;\r\n expenseClaimRelatedTable:RelatedTables = RelatedTables.ExpenseClaim;\r\n recurringPaymentRelatedTable:RelatedTables = RelatedTables.RecurringPaymentSchedule;\r\n expenseClaimId:number = 0;\r\n expenseClaimLineId:number = 0;\r\n buttonType:NoteAndDocumentButtonTypes = NoteAndDocumentButtonTypes.IconButton;\r\n vehicleInsuranceScheduleListCount = 0;\r\n isAdmin:boolean = false;\r\n isClient:boolean = false;\r\n PaymentScheduleList:any[]=[];\r\n SelectedPaymentSchedule:number = 0;\r\n showPopupDeleteConfirmation: boolean = false;\r\n refreshVehicleInsuranceScheduleGrid: boolean = false;\r\n isVehicleInsuranceActive: boolean = true; \r\n vehicleInsuranceDeletedReason: string = \"\";\r\n selectedVehicleInsuranceIdList:any[] = [];\r\n isAllSelected: boolean = false;\r\n recurringPaymentScheduleId: number = 0;\r\n\r\n created() {\r\n this.vehicleId = +this.$route.params.vehicleId ? +this.$route.params.vehicleId : 0;\r\n this.vehicleInsuranceId = +this.$route.params.vehicleInsuranceId ? +this.$route.params.vehicleInsuranceId : 0;\r\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\r\n this.isClient = this.$store.getters.isAuthorized([UserRoles.Client]);\r\n this.loadVehicleInsuranceSelectListByVehicleId();\r\n }\r\n\r\n loadVehicleInsuranceSelectListByVehicleId() {\r\n var params = { vehicleId: this.vehicleId };\r\n apiService.sendGetRequest(\"RecurringPayment\", \"GetScheduledVehicleInsuranceSelectList\", params).then(response => {\r\n this.PaymentScheduleList = response.data;\r\n this.SelectedPaymentSchedule = this.vehicleInsuranceId;\r\n this.loadVehicleInsuranceDetailsByVehicleID();\r\n });\r\n }\r\n\r\n loadVehicleInsuranceDetailsByVehicleID() {\r\n var params = { vehicleInsuranceId: this.vehicleInsuranceId };\r\n apiService.sendGetRequest(\"RecurringPayment\", \"VehicleInsuranceMetaData\", params).then(response => {\r\n this.vehicleName = response.data.vehicleName;\r\n // Slice 'Z' from ISO Date strings to avoid affect of the time zone when convert to local\r\n this.scheduleStartDate = response.data.nextMonthInsuranceDueDate.slice(0, -1);\r\n this.scheduleEndDate = response.data.finalMonthInsuranceDueDate.slice(0, -1);\r\n this.isVehicleInsuranceActive = response.data.isActive;\r\n this.isScheduledInsuranceReimbursement = response.data.isScheduledInsuranceReimbursement;\r\n this.recurringPaymentScheduleId = response.data.recurringPaymentScheduleId;\r\n this.expenseClaimId = response.data.expenseClaimId;\r\n this.expenseClaimLineId = response.data.expenseClaimLineId;\r\n });\r\n }\r\n\r\n onChangeSelectedPaymentSchedule(){\r\n this.vehicleInsuranceId = this.SelectedPaymentSchedule;\r\n this.loadVehicleInsuranceDetailsByVehicleID();\r\n }\r\n\r\n onDownloadInsuranceSchedulePDF(){\r\n const fileExtension = 'pdf';\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('RecurringPayment', 'VehicleInsuranceScheduleReport', {vehicleInsuranceId: this.vehicleInsuranceId, reportType: fileExtension}).then(\r\n response => {\r\n if(response.data.isSuccess)\r\n {\r\n fileViewerService.DownloadDocument(response.data.reportContentString, response.data.reportName, fileExtension, false);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: 'Report downloaded successfully.',\r\n type: 'success',\r\n duration: 5000\t\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n \t}\r\n\r\n navigateBack()\r\n {\r\n if(this.isAdmin) {\r\n this.$router.push({name:'Edit Vehicle',params:{vehicleID: this.vehicleId.toString(), topRouteDisplayName:'vehicles', routerDisplayName:'scheduledpayments'}});\r\n }\r\n if(this.isClient) {\r\n this.$router.push({name:'Main Vehicle UI',params:{vehicleID:this.vehicleId.toString()}});\r\n }\r\n }\r\n\r\n SetVehicleInsuranceScheduleListCount(count:number)\r\n {\r\n this.$nextTick(()=>{\r\n this.vehicleInsuranceScheduleListCount = count;\r\n this.selectedVehicleInsuranceIdList = [];\r\n this.loadVehicleInsuranceDetailsByVehicleID();\r\n });\r\n }\r\n\r\n onSelectInsuranceScheduleItem(itemIdList:any, isAllSelected:boolean){\r\n this.selectedVehicleInsuranceIdList = itemIdList;\r\n this.isAllSelected = isAllSelected;\r\n }\r\n\r\n onClickDeleteScheduledPayments(){\r\n this.showPopupDeleteConfirmation = true;\r\n }\r\n\r\n deleteScheduledPayments() {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var params = {\r\n recurringPaymentScheduleId : this.vehicleInsuranceId,\r\n recurringPaymentIdList : this.selectedVehicleInsuranceIdList,\r\n isAllSelected : this.isAllSelected,\r\n }\r\n apiService.sendDeleteRequest('RecurringPayment', 'VehicleInsuranceSchedule', params).then(\r\n response => {\r\n if(response.data.isSuccess) {\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\t\r\n });\r\n\r\n this.refreshVehicleInsuranceScheduleGrid = !this.refreshVehicleInsuranceScheduleGrid;\r\n }\r\n else {\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.showPopupDeleteConfirmation = false;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleInsuranceSchedule.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleInsuranceSchedule.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./VehicleInsuranceSchedule.vue?vue&type=template&id=6c910771&scoped=true\"\nimport script from \"./VehicleInsuranceSchedule.vue?vue&type=script&lang=ts\"\nexport * from \"./VehicleInsuranceSchedule.vue?vue&type=script&lang=ts\"\nimport style0 from \"./VehicleInsuranceSchedule.vue?vue&type=style&index=0&id=6c910771&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6c910771\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-3\"},[(_vm.backNavigationConfirmation)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"NavigatePaymentConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n There are unsaved changes. Are you sure you want to go back?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"NavigateBackConf_CancelButton\"},on:{\"click\":function($event){_vm.backNavigationConfirmation = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"NavigateBackConf_OkButton\"},on:{\"click\":_vm.onOkayToGoBack}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showSelectClientModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectClientModalId\",\"maxWidth\":\"1890px\",\"minHeight\":\"850px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Client\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":function($event){_vm.showSelectClientModal = false}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"client-select-modal-body\"},[_c('ClientsList',{attrs:{\"viewMode\":_vm.modalModeClientListView},on:{\"onSelectClient\":_vm.onClientSelect}})],1)])]):_vm._e(),(_vm.showSelectVehicleModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"selectVehicleModalId\",\"maxWidth\":\"900px\",\"maxHeight\":\"780px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Select Vehicle\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectVehicleCancelBtn\"},on:{\"click\":function($event){_vm.showSelectVehicleModal = false}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('MotorVehicleSelectList',{on:{\"onSelectVehicle\":_vm.onSelectVehicle}})],1)]):_vm._e(),(_vm.showSetRenewalDatesModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"renewalDatesModalId\",\"maxWidth\":\"550px\",\"minHeight\":\"500px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[(_vm.regoRenewalType && _vm.insuranceRenewalType)?_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Update Rego and Insurance Renewal Dates\\n \")]):_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n \"+_vm._s(_vm.expenseClaim.type == _vm.expenseClaimBillType ? (_vm.expenseClaim.category == _vm.registrationCategory ? 'Update Rego Renewal Date': 'Update Insurance Renewal Date') : _vm.expenseClaim.expenseClaimLines.filter(function (e) { return e.category == _vm.registrationCategory; }).length > 0 ? 'Update Rego Renewal Date' : 'Update Insurance Renewal Date')+\"\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"selectClientCancelBtn\"},on:{\"click\":function($event){_vm.showSetRenewalDatesModal = false}}},[_c('i',{staticClass:\"fas fa-times cursor-pointer\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\",\"centered\":\"\"},slot:\"modal-body\"},[(_vm.showRegoRenewalDatePicker())?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"New Rego Renewal Date\",\"label-for\":\"regoRenewalDate\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"id\":\"regoRenewalDate\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter New Rego Renewal Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [_vm.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){return _vm.$v.expenseClaim.regoRenewalDate.$touch();}},model:{value:(_vm.expenseClaim.regoRenewalDate),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"regoRenewalDate\", $$v)},expression:\"expenseClaim.regoRenewalDate\"}})],1)],1)],1):_vm._e(),(_vm.showInsuranceRenewalDatePicker())?_c('b-row',[_c('b-col',{staticClass:\"ml-0\",attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"New Insurance Renewal Date\",\"label-for\":\"insuranceRenewalDate\"}},[_c('DatePicker',{attrs:{\"use-utc\":true,\"id\":\"insuranceRenewalDate\",\"input-class\":'form-control textInput',\"wrapper-class\":'textInput',\"placeholder\":'Enter New Insurance Renewal Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"disabledDates\":_vm.disabledDates,\"highlighted\":{dates: [_vm.todayDateUTC],includeDisabled: true}},on:{\"input\":function($event){return _vm.$v.expenseClaim.insuranceRenewalDate.$touch();}},model:{value:(_vm.expenseClaim.insuranceRenewalDate),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"insuranceRenewalDate\", $$v)},expression:\"expenseClaim.insuranceRenewalDate\"}})],1)],1)],1):_vm._e()],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[(!_vm.addAnotherBill)?_c('b-btn',{staticClass:\"float-right ml-2 primary\",attrs:{\"disabled\":_vm.disableUpdateAndApproveButton(),\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showRenewalDatesModal_CancelButton\"},on:{\"click\":function($event){return _vm.updateAndOnExpenseClaimAction(true)}}},[_vm._v(\"\\n Update and Approve\\n \")]):_vm._e(),(_vm.addAnotherBill)?_c('b-btn',{staticClass:\"float-right ml-2 primary\",attrs:{\"disabled\":_vm.disableUpdateAndApproveButton(),\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showRenewalDatesModal_CancelButton\"},on:{\"click\":_vm.ingoreAndOnExpenseClaimAction}},[_vm._v(\"\\n Update and Approve\\n \")]):_vm._e()],1)]):_vm._e(),(_vm.showInsuranceSchedulePreview)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"InsuranceSchedulePreview\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\"Insurance Schedule Preview\")]),_c('div',{staticClass:\"insuranceSchedulePreviewContainer\",attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('InsuranceSchedulePreview',{attrs:{\"vehicleInsuranceId\":_vm.expenseClaim.vehicleInsurance.id}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"ml-2 float-right\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ShowInsuranceSchedulePreview_CancelButton\"},on:{\"click\":function($event){_vm.showInsuranceSchedulePreview = false}}},[_vm._v(\"\\n Cancel\\n \")])],1)]):_vm._e(),_c('b-container',[_c('b-row',{attrs:{\"align-h\":\"center\"}},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('b-form',[_c('b-card',[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"\\n \"+_vm._s(_vm.expenseClaim.type == _vm.expenseClaimReImbursementType ? \"Submit Reimbursement Claim\" : \"Submit Bill for Payment\")+\"\\n \"),(_vm.isAdmin)?_c('span',{staticClass:\"spanToLink cursor-pointer\",attrs:{\"title\":\"Go to vehicle\"},on:{\"click\":function($event){return _vm.onVehicleNameClick()}}},[_vm._v(_vm._s(_vm.expenseClaim.vehicleName))]):_vm._e()]),(_vm.isAdmin && _vm.claimNote.length > 0)?_c('b-row',{staticClass:\"px-3 mb-3\"},[_c('div',{staticClass:\"claimNote col-12\",domProps:{\"innerHTML\":_vm._s(_vm.claimNote)}})]):_vm._e(),_c('b-row',{staticClass:\"mt-0\"},[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-card',{staticClass:\"inner-card\",attrs:{\"id\":\"claimInformation\"}},[(_vm.expenseClaim.id == 0)?_c('div',[_c('b-row',{staticClass:\"mt-2\"},[(_vm.isAdmin)?_c('b-col',{attrs:{\"cols\":_vm.expenseClaim.type == _vm.expenseClaimReImbursementType ? '3' : '4'}},[_c('b-form-group',{staticClass:\"custom-input-field\",class:{ 'form-group--error': _vm.$v.expenseClaim.clientId.$error },attrs:{\"label\":\"Client\",\"label-for\":\"client\",\"label-class\":\"custom-input-field-label\"}},[_c('b-input-group',{staticClass:\"textInput\"},[_c('b-form-input',{staticClass:\"cursor-pointer\",class:{ 'requiredField': (_vm.expenseClaim.clientId == 0) },attrs:{\"id\":\"client\",\"type\":\"text\",\"placeholder\":\"Please select a client\",\"required\":\"\",\"plain\":true,\"options\":_vm.clients,\"readonly\":\"\",\"disabled\":_vm.expenseClaim.expenseClaimLines.length > 1},on:{\"click\":_vm.onSelectClientBtnClicked,\"input\":function($event){return _vm.$v.expenseClaim.clientId.$touch()}},model:{value:(_vm.expenseClaim.clientName),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"clientName\", $$v)},expression:\"expenseClaim.clientName\"}}),(_vm.expenseClaim.expenseClaimLines.length == 1)?_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-search cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"id\":\"selectClient\"},on:{\"click\":_vm.onSelectClientBtnClicked}})])],1):_vm._e()],1),(_vm.$v.expenseClaim.clientId.$dirty && !_vm.$v.expenseClaim.clientId.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Client is required.\\n \")]):_vm._e()],1)],1):_vm._e(),(_vm.isSupplier)?_c('b-col',{attrs:{\"cols\":!_vm.isSupplier ? '3' : '6'}},[_c('b-form-group',{staticClass:\"custom-input-field\",class:{ 'form-group--error': _vm.$v.expenseClaim.vehicleId.$error },attrs:{\"label\":\"Vehicle\",\"label-for\":\"vehicle\",\"label-class\":\"custom-input-field-label\"}},[_c('b-input-group',{staticClass:\"mb-3\"},[_c('b-form-input',{staticClass:\"cursor-pointer\",class:{ 'requiredField': (_vm.expenseClaim.vehicleId == 0) },attrs:{\"id\":\"vehicle\",\"type\":\"text\",\"placeholder\":\"Please select a vehicle\",\"required\":\"\",\"plain\":true,\"options\":_vm.clients,\"readonly\":\"\"},on:{\"click\":_vm.onSelectVehicleBtnClicked,\"input\":function($event){return _vm.$v.expenseClaim.vehicleId.$touch()}},model:{value:(_vm.expenseClaim.vehicleName),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"vehicleName\", $$v)},expression:\"expenseClaim.vehicleName\"}}),(!_vm.expenseClaim.expenseClaimLines.length > 0)?_c('b-input-group-append',[_c('b-input-group-text',[_c('i',{staticClass:\"fas fa-search cursor-pointer\",attrs:{\"aria-hidden\":\"true\",\"id\":\"selectVehicle\"},on:{\"click\":_vm.onSelectVehicleBtnClicked}})])],1):_vm._e()],1),(_vm.$v.expenseClaim.vehicleId.$dirty && !_vm.$v.expenseClaim.vehicleId.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle is required.\\n \")]):_vm._e()],1)],1):_vm._e(),(!_vm.isSupplier)?_c('b-col',{attrs:{\"cols\":_vm.expenseClaim.type == _vm.expenseClaimReImbursementType ? '3' : '4'}},[_c('b-form-group',{staticClass:\"custom-input-field\",class:{ 'form-group--error': _vm.$v.expenseClaim.vehicleId.$error },attrs:{\"label\":\"Vehicle\",\"label-for\":\"vehicleSelect\",\"label-class\":\"custom-input-field-label\"}},[_c('b-form-select',{staticClass:\"textInput\",class:{ 'form-group--error': _vm.$v.expenseClaim.vehicleId.$error, 'requiredField': (_vm.expenseClaim.vehicleId == 0)},attrs:{\"id\":\"vehicleSelect\",\"plain\":true,\"options\":_vm.vehicles,\"required\":\"\",\"disabled\":(_vm.isAdmin && _vm.expenseClaim.clientId == 0) || _vm.expenseClaim.id > 0 || _vm.expenseClaim.expenseClaimLines.length > 1},on:{\"change\":_vm.onChangeVehicle},model:{value:(_vm.expenseClaim.vehicleId),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"vehicleId\", $$v)},expression:\"expenseClaim.vehicleId\"}},[(_vm.expenseClaim.vehicleId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.expenseClaim.vehicleId.$dirty && !_vm.$v.expenseClaim.vehicleId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Vehicle is required.\\n \")]):_vm._e()],1)],1):_vm._e(),(_vm.isAdmin)?_c('b-col',{attrs:{\"cols\":_vm.expenseClaim.type == _vm.expenseClaimReImbursementType ? '3' : '4'}},[_c('b-form-group',{staticClass:\"custom-input-field\",class:{ 'form-group--error': _vm.$v.expenseClaim.novationId.$error },attrs:{\"label\":\"Related Entity\",\"label-for\":\"relatedEntitySelect\",\"label-class\":\"custom-input-field-label\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.expenseClaim.novationId.$error, 'requiredField': (_vm.expenseClaim.novationId == 0)},attrs:{\"id\":\"novationSelect\",\"plain\":true,\"options\":_vm.groupedNovationList,\"required\":\"\",\"disabled\":(_vm.isAdmin && _vm.expenseClaim.clientId == 0) || _vm.expenseClaim.id>0 || _vm.expenseClaim.expenseClaimLines.length > 1},on:{\"change\":_vm.onChangeVehicleNovation},model:{value:(_vm.expenseClaim.novationId),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"novationId\", $$v)},expression:\"expenseClaim.novationId\"}},[(_vm.expenseClaim.novationId == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.expenseClaim.novationId.$dirty && !_vm.$v.expenseClaim.novationId.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Related Entity is required.\\n \")]):_vm._e(),(_vm.expenseClaim.novationId > 0)?_c('div',[_c('b',[_vm._v(\"Available Balance : \"),_c('ApexCurrency',{attrs:{\"value\":_vm.relatedEntityLedgerBalance}})],1)]):_vm._e()],1)],1):_vm._e(),(((_vm.expenseClaim.id == 0 && !_vm.isSupplier) || (_vm.expenseClaim.id > 0 && _vm.expenseClaim.submittedByUserRole != _vm.supplierUserRole))\n && _vm.expenseClaim.type == _vm.expenseClaimReImbursementType)?_c('b-col',{attrs:{\"cols\":\"3\"}},[_c('b-form-group',{staticClass:\"custom-input-field\",attrs:{\"label\":\"Reimburse To Account\",\"label-for\":\"reimbursementAccount\",\"label-class\":\"custom-input-field-label\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.bankAccountID.$error, 'requiredField': (_vm.expenseClaim.accountID == 0)},attrs:{\"id\":\"reimbursementAccount\",\"plain\":true,\"options\":_vm.expenseClaimBankAccounts,\"required\":\"\"},on:{\"change\":function($event){return _vm.$v.bankAccountID.$touch()}},model:{value:(_vm.expenseClaim.accountID),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"accountID\", $$v)},expression:\"expenseClaim.accountID\"}},[(_vm.expenseClaim.accountID == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.bankAccountID.$dirty && !_vm.$v.bankAccountID.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reimburse To Account is required.\\n \")]):_vm._e()],1)],1):_vm._e(),(_vm.isClient && _vm.showBalance)?_c('b-col',[_c('div',{staticClass:\"text-balance\"},[_c('b',[_vm._v(\" Available Balance (Incl.GST) : \"),_c('ApexCurrency',{attrs:{\"value\":_vm.ledgerBalance}})],1)])]):_vm._e()],1)],1):_vm._e()])],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},_vm._l((_vm.expenseClaim.expenseClaimLines),function(expenseClaimLine){return _c('div',{key:expenseClaimLine.index},[_c('ExpenseClaimLineCard',{ref:'expenseClaimLineCard' + expenseClaimLine.index,refInFor:true,attrs:{\"expenseClaimCategoryList\":_vm.expenseClaimCategoryList,\"vehicleId\":_vm.expenseClaim.vehicleId,\"vehicleNovationList\":_vm.vehicleNovationList,\"clientId\":_vm.expenseClaim.clientId,\"clientName\":_vm.expenseClaim.clientName,\"novationId\":_vm.expenseClaim.novationId,\"expenseClaimLineIsReadOnly\":false,\"index\":expenseClaimLine.index,\"expenseClaimType\":_vm.expenseClaim.type,\"expenseClaimLine\":expenseClaimLine,\"expenseClaim\":_vm.expenseClaim,\"reimburseToAccountId\":_vm.expenseClaim.accountID},on:{\"onShowLedgerBalance\":_vm.OnShowLedgerBalance,\"deleteExpenseClaimLine\":_vm.deleteExpenseClaimLine,\"onAddInsuranceScheduleExp\":_vm.OnAddInsuranceScheduleExp}})],1)}),0)],1),(!(_vm.expenseClaim.id > 0 && _vm.isClient && _vm.expenseClaim.submittedByUserRole == _vm.supplierUserRole))?_c('b-row',[(_vm.expenseClaim.type != _vm.expenseClaimReImbursementType)?_c('b-col',[_c('b-card',{staticClass:\"inner-card\"},[_c('div',{attrs:{\"slot\":\"header\"},slot:\"header\"},[_vm._v(\"To Account\")]),((_vm.expenseClaim.id == 0 && !_vm.isSupplier) || (_vm.expenseClaim.id > 0 && _vm.expenseClaim.submittedByUserRole != _vm.supplierUserRole))?_c('div',[(_vm.expenseClaim.type == _vm.expenseClaimBillType)?_c('div',{staticClass:\"d-inline-flex mb-4\"},[_c('b-form-radio',{staticClass:\"mr-3\",attrs:{\"disabled\":_vm.expenseClaim.id > 0,\"name\":\"eft-radio\",\"value\":_vm.eftPaymentMethod},model:{value:(_vm.expenseClaim.paymentMethodType),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"paymentMethodType\", $$v)},expression:\"expenseClaim.paymentMethodType\"}},[_vm._v(\"EFT\")]),_c('b-form-radio',{attrs:{\"disabled\":_vm.expenseClaim.id > 0,\"checked\":true,\"name\":\"bpay-radio\",\"value\":_vm.bpayPaymentMethod},model:{value:(_vm.expenseClaim.paymentMethodType),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"paymentMethodType\", $$v)},expression:\"expenseClaim.paymentMethodType\"}},[_vm._v(\"BPay\")])],1):_vm._e(),_c('b-row',[(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.eftPaymentMethod)?_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":\"3\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.accountName.$error },attrs:{\"label\":\"Account Name\",\"label-for\":\"accountName\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bankAccount.accountName.length == 0)},attrs:{\"id\":\"accountName\",\"type\":\"text\",\"placeholder\":\"Enter Account Name\",\"maxlength\":'24',\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.bankAccount.accountName.$touch()}},model:{value:(_vm.bankAccount.accountName),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"accountName\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.accountName\"}}),(_vm.$v.bankAccount.accountName.$dirty && !_vm.$v.bankAccount.accountName.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Account Name is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.accountName.$dirty && !_vm.$v.bankAccount.accountName.isValidAccountName)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Account Name.\\n \")]):_vm._e()],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.eftPaymentMethod)?_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":\"3\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.bankAccountBSB.$error },attrs:{\"label\":\"BSB\",\"label-for\":\"bsb\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.bankAccount.bankAccountBSB || _vm.bankAccount.bankAccountBSB.length == 0) },attrs:{\"id\":\"bsb\",\"type\":\"text\",\"placeholder\":\"Enter BSB\",\"maxlength\":'6',\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.bankAccount.bankAccountBSB.$touch()}},model:{value:(_vm.bankAccount.bankAccountBSB),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"bankAccountBSB\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.bankAccountBSB\"}}),(_vm.$v.bankAccount.bankAccountBSB.$dirty && !_vm.$v.bankAccount.bankAccountBSB.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n BSB is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.bankAccountBSB.$dirty && !_vm.$v.bankAccount.bankAccountBSB.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid BSB number.\\n \")]):_vm._e()],1)],1):_vm._e()],1),_c('b-row',[(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.eftPaymentMethod)?_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":\"3\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bankAccount.accountNumber.$error },attrs:{\"label\":\"Account Number\",\"label-for\":\"accountNumber\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.bankAccount.accountNumber ||_vm.bankAccount.accountNumber.length == 0) },attrs:{\"id\":\"accountNumber\",\"type\":\"text\",\"placeholder\":\"Enter Account Number\",\"maxlength\":'9',\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.bankAccount.accountNumber.$touch()}},model:{value:(_vm.bankAccount.accountNumber),callback:function ($$v) {_vm.$set(_vm.bankAccount, \"accountNumber\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bankAccount.accountNumber\"}}),(_vm.$v.bankAccount.accountNumber.$dirty && !_vm.$v.bankAccount.accountNumber.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Account Number is required.\\n \")]):_vm._e(),(_vm.$v.bankAccount.accountNumber.$dirty && !_vm.$v.bankAccount.accountNumber.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Account Number.\\n \")]):_vm._e()],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.eftPaymentMethod)?_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":\"3\"}},[_c('b-form-group',{ref:\"reference\",class:{ 'form-group--error': _vm.$v.expenseClaim.reference.$error }},[_c('label',{attrs:{\"label-for\":\"reference\"}},[_vm._v(\"\\n Reference \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"The Reference Number in the Invoice.\"}})])]),_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.expenseClaim.reference ||_vm.expenseClaim.reference.length == 0) },attrs:{\"id\":\"reference\",\"type\":\"text\",\"placeholder\":\"Enter Reference\",\"required\":\"\",\"maxlength\":_vm.expenseClaim.paymentMethodType == _vm.bpayPaymentMethod ? 20 : 18},on:{\"input\":function($event){return _vm.$v.expenseClaim.reference.$touch()}},model:{value:(_vm.expenseClaim.reference),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"reference\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaim.reference\"}}),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reference is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.isValidReference)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Reference.\\n \")]):_vm._e()],1)],1):_vm._e()],1),_c('b-row',[(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.bpayPaymentMethod)?_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":\"3\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bPayAccount.name.$error },attrs:{\"label\":\"Name\",\"label-for\":\"bpayname\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bPayAccount.name.length == 0)},attrs:{\"id\":\"bpayname\",\"type\":\"text\",\"placeholder\":\"Enter Name\",\"maxlength\":'24',\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.bPayAccount.name.$touch()}},model:{value:(_vm.bPayAccount.name),callback:function ($$v) {_vm.$set(_vm.bPayAccount, \"name\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bPayAccount.name\"}}),(_vm.$v.bPayAccount.name.$dirty && !_vm.$v.bPayAccount.name.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Name is required.\\n \")]):_vm._e()],1)],1):_vm._e(),(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.bpayPaymentMethod)?_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":\"3\"}},[_c('b-form-group',{class:{ 'form-group--error': _vm.$v.bPayAccount.billerCode.$error },attrs:{\"label\":\"Biller Code\",\"label-for\":\"billercode\"}},[_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (_vm.bPayAccount.billerCode.length == 0)},attrs:{\"id\":\"billercode\",\"type\":\"text\",\"placeholder\":\"Enter Biller Code\",\"maxlength\":'10',\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.bPayAccount.billerCode.$touch()}},model:{value:(_vm.bPayAccount.billerCode),callback:function ($$v) {_vm.$set(_vm.bPayAccount, \"billerCode\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"bPayAccount.billerCode\"}}),(_vm.$v.bPayAccount.billerCode.$dirty && !_vm.$v.bPayAccount.billerCode.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Biller Code is required.\\n \")]):_vm._e(),(_vm.$v.bPayAccount.billerCode.$dirty && !_vm.$v.bPayAccount.billerCode.numeric)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Biller Code.\\n \")]):_vm._e()],1)],1):_vm._e()],1),_c('b-row',[(_vm.expenseClaim.type == _vm.expenseClaimBillType && _vm.expenseClaim.paymentMethodType == _vm.bpayPaymentMethod)?_c('b-col',{attrs:{\"lg\":\"8\",\"xl\":\"6\"}},[_c('b-form-group',{ref:\"reference\",class:{ 'form-group--error': _vm.$v.expenseClaim.reference.$error }},[_c('label',{attrs:{\"label-for\":\"reference\"}},[_vm._v(\"\\n Reference \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"The Reference Number in the Invoice.\"}})])]),_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.expenseClaim.reference ||_vm.expenseClaim.reference.length == 0) },attrs:{\"id\":\"reference\",\"type\":\"text\",\"placeholder\":\"Enter Reference\",\"required\":\"\",\"maxlength\":_vm.expenseClaim.paymentMethodType == _vm.bpayPaymentMethod ? 20 : 18},on:{\"input\":function($event){return _vm.$v.expenseClaim.reference.$touch()}},model:{value:(_vm.expenseClaim.reference),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"reference\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaim.reference\"}}),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reference is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.isValidReference)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Reference.\\n \")]):_vm._e()],1)],1):_vm._e()],1)],1):_vm._e(),((_vm.isSupplier || _vm.expenseClaim.submittedByUserRole == _vm.supplierUserRole) && _vm.expenseClaimBankAccountsLoaded)?_c('div',[_c('b-row',[(_vm.expenseClaimBankAccounts.length > 0)?_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{attrs:{\"label\":\"Payment Account\",\"label-for\":\"paymentAccount\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",class:{ 'form-group--error': _vm.$v.bankAccountID.$error, 'requiredField': (_vm.expenseClaim.accountID == 0)},attrs:{\"id\":\"paymentAccount\",\"plain\":true,\"options\":_vm.expenseClaimBankAccounts,\"required\":\"\"},on:{\"change\":function($event){return _vm.$v.bankAccountID.$touch()}},model:{value:(_vm.expenseClaim.accountID),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"accountID\", $$v)},expression:\"expenseClaim.accountID\"}},[(_vm.expenseClaim.accountID == 0)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.bankAccountID.$dirty && !_vm.$v.bankAccountID.minValue)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Payment account is required.\\n \")]):_vm._e()],1)],1):_c('b-col',{staticClass:\"text-danger\",attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_vm._v(\"\\n No account found. Please contact APEX team.\\n \")])],1),_c('b-row',[_c('b-col',{attrs:{\"sm\":\"12\",\"md\":\"8\",\"lg\":\"7\"}},[_c('b-form-group',{ref:\"reference\",class:{ 'form-group--error': _vm.$v.expenseClaim.reference.$error }},[_c('label',{attrs:{\"label-for\":\"reference\"}},[_vm._v(\"\\n Reference \"),_c('span',[_c('i',{staticClass:\"fas fa-info-circle cursor-pointer text-info\",attrs:{\"aria-hidden\":\"true\",\"title\":\"Reference on recipient's statement.\"}})])]),_c('b-form-input',{staticClass:\"textInput\",class:{'requiredField': (!_vm.expenseClaim.reference ||_vm.expenseClaim.reference.length == 0) },attrs:{\"id\":\"reference\",\"type\":\"text\",\"placeholder\":\"Enter Reference\",\"required\":\"\",\"maxlength\":18},on:{\"input\":function($event){return _vm.$v.expenseClaim.reference.$touch()}},model:{value:(_vm.expenseClaim.reference),callback:function ($$v) {_vm.$set(_vm.expenseClaim, \"reference\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaim.reference\"}}),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Reference is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaim.reference.$dirty && !_vm.$v.expenseClaim.reference.isValidReference)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Invalid Reference.\\n \")]):_vm._e()],1)],1)],1)],1):_vm._e()])],1):_vm._e()],1):_vm._e()],1)],1),_c('b-row',[_c('b-col',{staticClass:\"pr-0\"},[(_vm.expenseClaim.type == _vm.expenseClaimReImbursementType && _vm.expenseClaim.id == 0)?_c('div',{staticClass:\"mt-3 mb-3\"},[_c('b-row',{staticClass:\"mb-3\"},[(_vm.showAddEditReimbursementButton)?_c('b-button',{staticClass:\"primary ml-3 mr-3\",attrs:{\"id\":\"addClaimBtn\",\"disabled\":_vm.isModelDisabled(),\"title\":\"Add new claim record\"},on:{\"click\":_vm.onClickAddReimbursement}},[_c('i',{staticClass:\"fas fa-plus\",attrs:{\"aria-hidden\":\"true\"}}),_vm._v(\"  Add Another\\n \")]):_vm._e()],1)],1):_vm._e()])],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":_vm.isModelDisabled(),\"id\":\"submitExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.onClickedSubmitApprove()}}},[_vm._v(_vm._s(_vm.isAdmin ? 'Submit and Approve' : 'Submit for Review'))]),(_vm.expenseClaim.type == _vm.expenseClaimBillType)?_c('b-button',{staticClass:\"mr-3 primary\",attrs:{\"type\":\"button\",\"size\":\"md\",\"disabled\":_vm.isModelDisabled(),\"id\":\"rejectExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.onClickedSubmitApproveAndAddAnother()}}},[_vm._v(_vm._s(_vm.isAdmin ? 'Submit and Approve and Add another Claim' : 'Submit for Review and Add another Claim'))]):_vm._e(),_c('b-button',{attrs:{\"type\":\"button\",\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"cancelSubmitExpenseClaimBtn\"},on:{\"click\":function($event){return _vm.routerNavigateBack()}}},[_vm._v(\" Cancel\")])],1)],1)],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDeleteExpenseClaimConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteExpenseClaimConf\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Delete Expense Claim\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you sure you want to delete the expense claim record?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteExpenseClaimConf_CancelButton\"},on:{\"click\":function($event){_vm.showDeleteExpenseClaimConfirmationModal = false}}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteExpenseClaimConf_OkButton\"},on:{\"click\":_vm.deleteExpenseClaim}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),((this.isClient || this.isSupplier) && _vm.showInvalidIncurredDateModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"showInvalidIncurredDateModal\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Error \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n We are unable to accept this expense claim due to the incurred date. Please contact the Apex Team to process it.\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"activeOrPendingInsuranceExistsModal_OkButton\"},on:{\"click\":function($event){return _vm.onCloseInvalidIncurredDateModal()}}},[_vm._v(\"\\n OK\\n \")])],1)]):_vm._e(),(_vm.showDocumentsPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"800px\",\"minHeight\":\"350px\",\"id\":\"showDocuments\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.documentsModalTitle)+\" \")]),_c('div',{staticClass:\"modal-doc-control\",attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ExpenseClaimSupportingDocRequirementText'),_c('DragAndDropControl',{ref:\"dragDropControl\",attrs:{\"relatedTable\":_vm.expenseClaimLineRelatedTable,\"relatedID\":_vm.expenseClaimLine.id,\"defaultDocType\":this.expenseClaimLine.docType,\"isFileMandatory\":true,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":true,\"index\":_vm.expenseClaimLine.index,\"modalMode\":false,\"uploaderIdentifier\":\"expenseClaimLineCardUploader\"},on:{\"onDocumentsAdded\":_vm.onDocumentsChanged,\"onDocumentsRemoved\":_vm.onDocumentsChanged}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showDocuments_CloseButton\"},on:{\"click\":function($event){_vm.showDocumentsPopup = false}}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showNotesPopup)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"800px\",\"minHeight\":\"350px\",\"id\":\"showDocuments\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.notesModalTitle)+\" \")]),_c('div',{staticClass:\"modal-doc-control\",attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('div',{staticClass:\"notes-modal-body\"},[_c('NotesCommonControl',{key:'dragDropDocumentControl-' + _vm.expenseClaimLine.index,ref:\"notesControl\",attrs:{\"id\":'dragDropDocumentControl-id' + _vm.expenseClaimLine.index,\"relatedTable\":_vm.expenseClaimLineRelatedTable,\"relatedID\":_vm.expenseClaimLine.id,\"index\":_vm.expenseClaimLine.index,\"fromSubmitApproveExpenseClaim\":true,\"useStore\":true}})],1)]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showDocuments_CloseButton\"},on:{\"click\":function($event){_vm.showNotesPopup = false}}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showClaimHistory)?_c('Modal',{attrs:{\"centered\":\"\",\"maxWidth\":\"800px\",\"minHeight\":\"350px\",\"id\":\"showClaimHistory\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.claimHistoryModalTitle)+\" \")]),_c('div',{staticClass:\"modal-doc-control\",attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ExpenseClaimHistory',{attrs:{\"vehicleId\":_vm.vehicleId,\"toDate\":_vm.expenseClaim.submittedDate,\"claimId\":0,\"catergoryId\":_vm.expenseClaimLine.category}})],1),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showClaimHistory_CloseButton\"},on:{\"click\":function($event){_vm.showClaimHistory = false}}},[_vm._v(\"\\n Close\\n \")])],1)]):_vm._e(),(_vm.showInsuranceScheduleConsentModal && (this.expenseClaimType == this.expenseClaimReImbursementType || _vm.isActiveOrPendingInsuranceExists))?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"insuranceScheduleConsentModal\",\"maxWidth\":\"700px\",\"maxHeight\":\"780px\"}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" \"+_vm._s(_vm.isActiveOrPendingInsuranceExists? \"Warning\": \"Confirmation\")+\" \")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[(_vm.isActiveOrPendingInsuranceExists)?_c('p',{staticClass:\"modal-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-warning cursor-pointer pl-1\"}),_vm._v(\"\\n \"+_vm._s(_vm.getInsuranceScheduleExistText())+\"\\n \")]):_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Are you interested to automate your \"+_vm._s(_vm.expenseClaimType == _vm.expenseClaimReImbursementType ? 'monthly insurance reimbursement' : 'monthly insurance repayment')+\"?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[(this.expenseClaimType == this.expenseClaimReImbursementType)?_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"showInsuranceScheduleConsentModal_NoButton\"},on:{\"click\":function($event){_vm.showInsuranceScheduleConsentModal = false;}}},[_vm._v(\"\\n \"+_vm._s(_vm.isActiveOrPendingInsuranceExists? \"Cancel\": \"No\")+\"\\n \")]):_vm._e(),(this.expenseClaimType == this.expenseClaimReImbursementType)?_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"showInsuranceScheduleConsentModal_YesButton\"},on:{\"click\":function($event){return _vm.onInsuranceScheduleConsentModalYesClick()}}},[_vm._v(\"\\n \"+_vm._s(_vm.isActiveOrPendingInsuranceExists? \"Add Another\": \"Yes\")+\" \\n \")]):_vm._e(),(this.expenseClaimType != this.expenseClaimReImbursementType)?_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"showInsuranceScheduleConsentModal_OkButton\"},on:{\"click\":function($event){_vm.showInsuranceScheduleConsentModal = false;}}},[_vm._v(\"\\n Ok\\n \")]):_vm._e()],1)]):_vm._e(),(_vm.showInsuranceScheduleModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"recurringScheduledPaymentModalId\",\"maxWidth\":\"1890px\",\"minHeight\":\"650px\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Add Recurring Scheduled Payment\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"recurringScheduledPaymentModal_CloseButton\"},on:{\"click\":_vm.onCloseRecurringPaymentModal}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('AddRecurringScheduledPayment',{attrs:{\"clientName\":_vm.clientName,\"novationId\":_vm.novationId,\"reimburseToAccountId\":_vm.reimburseToAccountId,\"clientId\":_vm.clientId,\"vehicleId\":_vm.vehicleId},on:{\"onCloseModal\":function($event){_vm.showInsuranceScheduleModal = false}}})],1)]):_vm._e(),(_vm.showDocumentRequirementModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"supportingDocumentModal\",\"minWidth\":\"35rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Supporting Document/s Requirements:\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ClientMotorVehiclesModalCancelBtn\"},on:{\"click\":function($event){_vm.showDocumentRequirementModal = false;}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ul',[_c('li',[_vm._v(\" The document is intended to be a tax invoice \")]),_c('li',[_vm._v(\" The seller's identity \")]),_c('li',[_vm._v(\" The seller's Australian business number (ABN) \")]),_c('li',[_vm._v(\" The date the invoice was issued \")]),_c('li',[_vm._v(\" A brief description of the items sold, including the quantity (if applicable) and the price \")]),_c('li',[_vm._v(\" The GST amount (if any) payable – this can be shown separately or, if the GST amount is exactly one-eleventh of the total price, such as a statement which says 'Total price includes GST' \")]),_c('li',[_vm._v(\" The extent to which each sale on the invoice is a taxable sale \")]),_c('li',[_vm._v(\" Tax invoices for sales of $1,000 or more need to show the buyer's identity \")]),_c('li',[_vm._v(\" Document needs to be legible \")])])])]):_vm._e(),_c('b-card',{staticClass:\"custom-claim-card\"},[_c('b-badge',{staticClass:\"custom-ec-badge\",attrs:{\"pill\":\"\"}},[_vm._v(\"Claim \"+_vm._s(_vm.expenseClaimType == _vm.expenseClaimReImbursementType ? _vm.index + 1 : ''))]),_c('div',[_c('b-row',[_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":_vm.expenseClaimLine.category == _vm.ctpiCategory || _vm.expenseClaimLine.category == _vm.registrationCategory ? '2' : '3'}},[_c('b-form-group',{ref:\"incurredDatePicker\",staticClass:\"custom-input-field mt-2\",attrs:{\"label\":\"Date Incurred\",\"label-class\":\"custom-input-field-label\",\"label-for\":\"expenseIncurredOnDate\"}},[_c('DatePicker',{class:{ 'form-group--error': _vm.$v.expenseClaimLine.incurredDate.$error, 'requiredField': (_vm.expenseClaimLine.incurredDate == null)},attrs:{\"use-utc\":true,\"id\":\"expenseIncurredOnDate\",\"placeholder\":'Enter Expense Incurred on Date',\"calendar-button\":true,\"calendar-button-icon\":\"far fa-calendar-alt\",\"clear-button\":true,\"bootstrap-styling\":true,\"highlighted\":{dates: [_vm.todayDateUTC],includeDisabled: true},\"disabledDates\":{from: _vm.todayDateUTC},\"disabled\":false},on:{\"input\":function($event){return _vm.onIncurredDateChange()}},model:{value:(_vm.expenseClaimLine.incurredDate),callback:function ($$v) {_vm.$set(_vm.expenseClaimLine, \"incurredDate\", $$v)},expression:\"expenseClaimLine.incurredDate\"}})],1),(_vm.$v.expenseClaimLine.incurredDate.$dirty && !_vm.$v.expenseClaimLine.incurredDate.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Expense Incurred on Date is required.\\n \")]):_vm._e(),((_vm.isAdmin || _vm.isStandardUser) && _vm.showInvalidIncurredDateWarning)?_c('div',{staticClass:\"text-warning\"},[_vm._v(\"\\n The Expense Incurred on Date is outside of the related entity period.\\n \")]):_vm._e()],1),_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":_vm.expenseClaimLine.category == _vm.ctpiCategory || _vm.expenseClaimLine.category == _vm.registrationCategory ? '2' : '3'}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"custom-input-field mt-2\",attrs:{\"label\":\"Category\",\"label-for\":\"CategorySelect\",\"label-class\":\"custom-input-field-label\"}},[_c('b-input-group',[_c('b-form-select',{staticClass:\"textInput\",class:{ 'requiredField': (_vm.expenseClaimLine.category == 0)},attrs:{\"id\":\"CategorySelect\",\"plain\":true,\"options\":_vm.expenseClaimCategoryList},on:{\"change\":_vm.onCategoryChange,\"input\":function($event){_vm.$v.expenseClaimLine.category.$touch();_vm.setNewDocumentType(_vm.expenseClaimLine.category);}},model:{value:(_vm.expenseClaimLine.category),callback:function ($$v) {_vm.$set(_vm.expenseClaimLine, \"category\", $$v)},expression:\"expenseClaimLine.category\"}},[(_vm.expenseClaimLine.category == 0 && !_vm.expenseClaimLine.isReadOnly)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),((_vm.isAdmin || _vm.isClient) && _vm.expenseClaimLine.category == _vm.insuranceCategory && _vm.expenseClaimLine.vehicleInsurance)?_c('div',{staticClass:\"input-group-append\",attrs:{\"title\":\"Edit insurance schedule\"}},[_c('b-button',{staticClass:\"primary\",attrs:{\"id\":\"showInsuranceSchedule\",\"size\":\"md\",\"type\":\"button\"},on:{\"click\":function($event){_vm.showInsuranceScheduleModal = true}}},[_c('i',{staticClass:\"fas fa-pencil-alt\",attrs:{\"aria-hidden\":\"true\"}})])],1):_vm._e()],1)],1)],1)],1)],1),(_vm.expenseClaimLine.category == _vm.ctpiCategory || _vm.expenseClaimLine.category == _vm.registrationCategory)?_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":\"2\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"custom-input-field mt-2\",attrs:{\"label-class\":\"custom-input-field-label\",\"label\":\"CTPI Provider\",\"label-for\":\"ctpiProvider\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"ctpiProvider\",\"type\":\"text\",\"placeholder\":_vm.expenseClaimLine.isReadOnly? '' :'Enter CTPI provider'},model:{value:(_vm.expenseClaimLine.ctpiProvider),callback:function ($$v) {_vm.$set(_vm.expenseClaimLine, \"ctpiProvider\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaimLine.ctpiProvider\"}})],1)],1)],1)],1):_vm._e(),(_vm.expenseClaimLine.category == _vm.ctpiCategory || _vm.expenseClaimLine.category == _vm.registrationCategory)?_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":\"2\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"custom-input-field mt-2\",class:{ 'form-group--error': _vm.$v.expenseClaimLine.period.$error },attrs:{\"label\":\"Period\",\"label-for\":\"period\",\"label-class\":\"custom-input-field-label\"}},[_c('b-form-select',{class:{'textInput': true, 'selectListHeight': true, 'requiredField': (_vm.expenseClaimLine.period == 0)},attrs:{\"id\":\"period\",\"plain\":true,\"options\":_vm.periodsList},on:{\"change\":function($event){return _vm.$v.expenseClaimLine.period.$touch()}},model:{value:(_vm.expenseClaimLine.period),callback:function ($$v) {_vm.$set(_vm.expenseClaimLine, \"period\", $$v)},expression:\"expenseClaimLine.period\"}},[(_vm.expenseClaimLine.period == 0 && !_vm.expenseClaimLine.isReadOnly)?_c('template',{slot:\"first\"},[_c('option',{attrs:{\"disabled\":\"\",\"selected\":\"\"},domProps:{\"value\":0}},[_vm._v(\"-- Please select an option --\")])]):_vm._e()],2),(_vm.$v.expenseClaimLine.period.$dirty && _vm.$v.expenseClaimLine.period.$invalid )?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Period is required.\\n \")]):_vm._e()],1)],1)],1)],1):_vm._e(),_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":_vm.expenseClaimLine.category == _vm.ctpiCategory || _vm.expenseClaimLine.category == _vm.registrationCategory ? '2' : '3'}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"custom-input-field mt-2\",class:{ 'form-group--error': _vm.$v.expenseClaimLine.gstInclusiveAmount.$error },attrs:{\"label\":\"Total Amount (Incl. GST)\",\"label-for\":\"gstInclusiveAmount\",\"label-class\":\"custom-input-field-label\"}},[_c('b-input-group',{class:{ 'requiredField': ((!_vm.expenseClaimLine.gstInclusiveAmount && _vm.expenseClaimLine.gstInclusiveAmount != 0 ) || _vm.expenseClaimLine.gstInclusiveAmount.length == 0) },attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"gstInclusiveAmount\",\"type\":\"text\",\"placeholder\":_vm.expenseClaimLine.isReadOnly? '' :'Enter Amount'},on:{\"input\":function($event){return _vm.$v.expenseClaimLine.gstInclusiveAmount.$touch();},\"focus\":function($event){return $event.target.select()}},model:{value:(_vm.expenseClaimLine.gstInclusiveAmount),callback:function ($$v) {_vm.$set(_vm.expenseClaimLine, \"gstInclusiveAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaimLine.gstInclusiveAmount\"}})],1),(_vm.$v.expenseClaimLine.gstInclusiveAmount.$dirty && !_vm.$v.expenseClaimLine.gstInclusiveAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Inclusive Amount is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaimLine.gstInclusiveAmount.$dirty && !_vm.$v.expenseClaimLine.gstInclusiveAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Inclusive Amount is invalid.\\n \")]):_vm._e()],1)],1)],1)],1),_c('b-col',{attrs:{\"lg\":\"4\",\"xl\":_vm.expenseClaimLine.category == _vm.ctpiCategory || _vm.expenseClaimLine.category == _vm.registrationCategory ? '2' : '3'}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"12\"}},[_c('b-form-group',{staticClass:\"custom-input-field mt-2\",class:{ 'form-group--error': _vm.$v.expenseClaimLine.gstAmount.$error },attrs:{\"label\":\"Total GST Amount\",\"label-for\":\"gstAmount\",\"label-class\":\"custom-input-field-label\"}},[_c('b-input-group',{class:{ 'requiredField': ((!_vm.expenseClaimLine.gstAmount && _vm.expenseClaimLine.gstAmount != 0) || _vm.expenseClaimLine.gstAmount.length == 0) },attrs:{\"prepend\":\"$\"}},[_c('b-form-input',{staticClass:\"textInput\",attrs:{\"id\":\"gstAmount\",\"type\":\"text\",\"placeholder\":_vm.expenseClaimLine.isReadOnly? '' :'Enter Amount'},on:{\"input\":function($event){return _vm.$v.expenseClaimLine.gstAmount.$touch();},\"focus\":function($event){return $event.target.select()}},model:{value:(_vm.expenseClaimLine.gstAmount),callback:function ($$v) {_vm.$set(_vm.expenseClaimLine, \"gstAmount\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"expenseClaimLine.gstAmount\"}}),(!_vm.expenseClaimLine.isReadOnly)?_c('b-input-group-append',[(!_vm.expenseClaimLine.isReadOnly)?_c('b-button',{staticClass:\"primary\",attrs:{\"id\":\"calculateGSTAmountBtn\",\"disabled\":!_vm.isValidTotalAmount(),\"title\":\"Click to calculate GST Amount\"},on:{\"click\":_vm.calculateGSTAmount}},[_c('i',{staticClass:\"fas fa-calculator fa-lg\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1):_vm._e()],1),(_vm.$v.expenseClaimLine.gstAmount.$dirty && !_vm.$v.expenseClaimLine.gstAmount.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Amount is required.\\n \")]):_vm._e(),(_vm.$v.expenseClaimLine.gstAmount.$dirty && !_vm.$v.expenseClaimLine.gstAmount.isDecimal)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n GST Amount is invalid.\\n \")]):_vm._e()],1)],1)],1)],1)],1),_c('b-row',{staticClass:\"mt-2 d-flex align-items-center\"},[_c('b-col',{attrs:{\"lg\":\"6\",\"xl\":\"6\"}},[_c('b-form-group',{ref:\"description\",staticClass:\"custom-input-field mt-2\",class:{ 'form-group--error': _vm.isDescriptionRequired && _vm.$v.expenseClaimLine.description.$error },attrs:{\"label\":\"Description\",\"label-for\":\"description\",\"label-class\":\"custom-input-field-label\"}},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model.trim\",value:(_vm.expenseClaimLine.description),expression:\"expenseClaimLine.description\",modifiers:{\"trim\":true}}],staticClass:\"form-control\",class:{'textInput':true, 'requiredField': (_vm.isDescriptionRequired && _vm.expenseClaimLine.description.length == 0) },attrs:{\"id\":\"description\",\"rows\":\"3\",\"placeholder\":_vm.expenseClaimLine.isReadOnly? '' :'Enter Description'},domProps:{\"value\":(_vm.expenseClaimLine.description)},on:{\"input\":[function($event){if($event.target.composing){ return; }_vm.$set(_vm.expenseClaimLine, \"description\", $event.target.value.trim())},function($event){return _vm.$v.expenseClaimLine.description.$touch()}],\"blur\":function($event){return _vm.$forceUpdate()}}}),(_vm.isDescriptionRequired && _vm.$v.expenseClaimLine.description.$dirty && !_vm.$v.expenseClaimLine.description.required)?_c('div',{staticClass:\"text-danger\"},[_vm._v(\"\\n Description is required.\\n \")]):_vm._e()])],1),(_vm.expenseClaimLine.category > 0)?_c('b-col',{staticClass:\"custom-ec-doc-uploader\",attrs:{\"lg\":\"4\",\"xl\":\"4\"}},[_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please ensure the Supporting Document/s is in focus and meets the \"),_c('b',{staticClass:\"requirementText\",on:{\"click\":function($event){_vm.showDocumentRequirementModal = true;}}},[_vm._v(\" requirements. \")])]),_c('DragAndDropControl',{key:'dragDropDocumentControl-' + _vm.expenseClaimLine.index,ref:'dragDropDocumentControl-' + _vm.expenseClaimLine.index,attrs:{\"id\":'dragDropDocumentControl-id' + _vm.expenseClaimLine.index,\"index\":_vm.expenseClaimLine.index,\"relatedTable\":_vm.expenseClaimLineRelatedTable,\"relatedID\":0,\"defaultDocType\":this.expenseClaimLine.docType,\"isFileMandatory\":true,\"accept\":\".pdf,image/*\",\"uploaderEnabled\":true,\"modalMode\":false,\"uploaderIdentifier\":\"expenseClaimLineCardUploader\",\"isDocumentDownloadButtonEnabled\":true,\"showDocumentGrid\":false},on:{\"onDocumentsAdded\":_vm.onDocumentsChanged}})],1):_vm._e(),(_vm.expenseClaimLine.category > 0)?_c('b-col',{attrs:{\"lg\":\"2\",\"xl\":\"2\"}},[_c('div',{staticClass:\"btn-group custom-action-buttons-group\",attrs:{\"role\":\"group\"}},[_c('b-btn',{staticClass:\"edit-button grid-large-icon action-btn\",attrs:{\"title\":\"Add/View Notes\",\"disabled\":_vm.expenseClaimLineIsReadOnly},on:{\"click\":function($event){return _vm.openNotesPopup()}}},[_c('i',{class:_vm.getNotesCount > 0? 'fas fa-lg fa-comment notes-added' : 'fas fa-lg fa-comment',attrs:{\"aria-hidden\":\"true\"}})]),_c('b-btn',{staticClass:\"edit-button grid-large-icon action-btn\",class:{'pr-2' : (_vm.getDocumentsCount >= 10), 'pr-3' : (_vm.getDocumentsCount >= 100)},attrs:{\"id\":\"documentUploadGridBtn\",\"title\":\"Add/View Documents\"},on:{\"click\":function($event){return _vm.openDocumentsPopup()}}},[_c('i',{staticClass:\"fas fa-lg fa-book\",attrs:{\"aria-hidden\":\"true\"}}),(_vm.getDocumentsCount > 0)?_c('span',{staticClass:\"badge rounded-pill document-count-badge bg-success\"},[_vm._v(_vm._s(_vm.getDocumentsCount))]):_vm._e()]),((_vm.isAdmin || _vm.isStandardUser))?_c('b-btn',{staticClass:\"grid-large-icon action-btn\",attrs:{\"title\":\"View Claim History\"},on:{\"click\":_vm.onViewClaimHistory}},[_c('i',{staticClass:\"fa fa-lg fa-history\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e(),(_vm.expenseClaim.expenseClaimLines.length > 1)?_c('b-btn',{staticClass:\"grid-large-icon action-btn\",attrs:{\"title\":\"Delete Claim\",\"disabled\":_vm.expenseClaimLineIsReadOnly},on:{\"click\":_vm.onDeleteClaim}},[_c('i',{staticClass:\"fas fa-lg fa-trash-alt delete-button action-btn\",attrs:{\"aria-hidden\":\"true\"}})]):_vm._e()],1)]):_vm._e()],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showDocumentRequirementModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"supportingDocumentModal\",\"minWidth\":\"35rem\",\"hideFooter\":true}},[_c('div',{staticClass:\"modal-text font-weight-bold w-100\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_c('b-row',[_c('b-col',{staticClass:\"text-nowrap\",attrs:{\"lg\":\"5\"}},[_vm._v(\"\\n Supporting Document/s Requirements:\\n \")]),_c('b-col',{staticClass:\"float-right\",attrs:{\"offset-lg\":\"4\",\"lg\":\"3\"}},[_c('span',{staticClass:\"float-right ml-2 cursor-pointer\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"ClientMotorVehiclesModalCancelBtn\"},on:{\"click\":function($event){_vm.showDocumentRequirementModal = false;}}},[_c('i',{staticClass:\"fas fa-times\",attrs:{\"aria-hidden\":\"true\"}})])])],1)],1),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('ul',[_c('li',[_vm._v(\" The document is intended to be a tax invoice \")]),_c('li',[_vm._v(\" The seller's identity \")]),_c('li',[_vm._v(\" The seller's Australian business number (ABN) \")]),_c('li',[_vm._v(\" The date the invoice was issued \")]),_c('li',[_vm._v(\" A brief description of the items sold, including the quantity (if applicable) and the price \")]),_c('li',[_vm._v(\" The GST amount (if any) payable – this can be shown separately or, if the GST amount is exactly one-eleventh of the total price, such as a statement which says 'Total price includes GST' \")]),_c('li',[_vm._v(\" The extent to which each sale on the invoice is a taxable sale \")]),_c('li',[_vm._v(\" Tax invoices for sales of $1,000 or more need to show the buyer's identity \")]),_c('li',[_vm._v(\" Document needs to be legible \")])])])]):_vm._e(),_c('p',{staticClass:\"documentReqText\"},[_vm._v(\" Please ensure the Supporting Document/s is in focus and meets the \"),_c('b',{staticClass:\"requirementText\",on:{\"click\":function($event){_vm.showDocumentRequirementModal = true;}}},[_vm._v(\" requirements \")])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\"; \nimport Modal from '@/shared/components/modal/Modal.vue';\n\n@Component({\n components: {\n Modal\n }\n})\nexport default class ExpenseClaimSupportingDocRequirementText extends Vue {\n showDocumentRequirementModal: boolean = false;\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExpenseClaimSupportingDocRequirementText.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ExpenseClaimSupportingDocRequirementText.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ExpenseClaimSupportingDocRequirementText.vue?vue&type=template&id=6cba0c84&scoped=true\"\nimport script from \"./ExpenseClaimSupportingDocRequirementText.vue?vue&type=script&lang=ts\"\nexport * from \"./ExpenseClaimSupportingDocRequirementText.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ExpenseClaimSupportingDocRequirementText.vue?vue&type=style&index=0&id=6cba0c84&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cba0c84\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { ExpenseClaimLinesModel, ExpenseClaimModel } from '@/models/expenseClaim.model';\nimport DragAndDropControl from '@/shared/components/dragAndDropControl/DragAndDropControl.vue';\nimport Modal from '@/shared/components/modal/Modal.vue';\nimport NotesCommonControl from '@/shared/components/notes/NotesCommonControl.vue';\nimport { ExpenseCategories, ExpenseClaimStatuses, ExpenseClaimTypes } from '@/shared/enums/expenseClaims.enum';\nimport { FileTypes } from '@/shared/enums/fileTypes.enum';\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\nimport { UserRoles } from '@/shared/enums/userRoles.enum';\nimport { Component, Emit, Prop, Vue, Watch } from 'vue-property-decorator';\nimport { validationMixin } from 'vuelidate';\nimport { minValue, required } from 'vuelidate/lib/validators';\nimport ExpenseClaimHistory from '@/components/admin/expenseClaims/expenseClaimHistory.vue';\nimport fieldValidations from '@/shared/services/fieldValidationService';\nimport moment from 'moment';\nimport apiService from '@/shared/services/apiService';\nimport { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport ExpenseClaimSupportingDocRequirementText from './ExpenseClaimSupportingDocRequirementText.vue';\nimport { VehicleInsurance } from '@/models/vehicleInsurance.model';\nimport lookupService from '@/shared/services/lookupService';\nimport AddRecurringScheduledPayment from '@/components/admin/recurringScheduledPayment/AddRecurringScheduledPayment.vue';\n\n@Component({\n components:{\n NotesCommonControl,\n DragAndDropControl,\n Modal,\n ExpenseClaimHistory,\n ExpenseClaimSupportingDocRequirementText,\n AddRecurringScheduledPayment\n },\n mixins: [validationMixin],\n validations:\n {\n expenseClaimLine:\n {\n incurredDate:\n {\n required\n },\n category:\n {\n required,\n minValue: minValue(1)\n },\n period:\n {\n isRequired: (value, vm) => {\n if((vm.category == ExpenseCategories.CTPI || vm.category == ExpenseCategories.Registration )) {\n if(value > 0) \n return true;\n else \n return false;\n } else {\n return true;\n }\n }\n },\n description:\n {\n required\n },\n gstInclusiveAmount:\n {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n gstAmount:\n {\n required,\n isDecimal : value => \n {\n if (typeof value === 'undefined' || value === null || value === '') {\n return true\n }\n return /^\\d+(?:\\.\\d{1,2})?$/.test(value) \n }\n },\n },\n }\n})\n\nexport default class ExpenseClaimLineCard extends Vue {\n @Prop() vehicleId: number;\n @Prop({default:0}) novationId: number;\n @Prop({default:0}) reimburseToAccountId: number;\n @Prop({default:\"\"}) clientName: string;\n @Prop() clientId: number;\n @Prop() expenseClaimId: number;\n @Prop({default:ExpenseClaimStatuses.PendingApproval}) expenseClaimStatus: number;\n @Prop({default:false}) expenseClaimLineIsReadOnly: boolean;\n @Prop() expenseClaimCreatedDate: Date;\n @Prop() expenseClaimLine: ExpenseClaimLinesModel;\n @Prop() expenseClaimCategoryList: any[];\n @Prop() vehicleNovationList: any[];\n @Prop() index: number;\n @Prop() expenseClaimType: ExpenseClaimTypes;\n @Prop() expenseClaim: ExpenseClaimModel;\n\n expenseClaimLineRelatedTable: RelatedTables = RelatedTables.ExpenseClaimLine;\n gstInclusiveRequestedAmount:any;\n todayDate: any = new Date();\n todayDateUTC: any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate()));\n isAdmin: boolean = false;\n isClient: boolean = false;\n isStandardUser: boolean = false;\n isSupplier: boolean = false; \n showDocumentsPopup: boolean = false;\n showNotesPopup: boolean = false;\n documentsModalTitle: string = \"Claim Documents\"\n notesModalTitle: string = \"Claim Notes\"\n claimHistoryModalTitle: string = \"Claim History\"\n showDeleteExpenseClaimConfirmationModal: boolean = false; \n showClaimHistory: boolean = false;\n gstRate: number = 0.1;\n\n showInvalidIncurredDateWarning: boolean = false;\n expenseClaimLineId:number = 0;\n ctpiCategory:ExpenseCategories = ExpenseCategories.CTPI;\n registrationCategory:number = ExpenseCategories.Registration;\n insuranceCategory:number = ExpenseCategories.Insurance;\n selectedRelatedEntities:any;\n expenseClaimDeclarationText:string = \"\";\n currentDate: any = new Date().setHours(0,0,0,0);\n showInvalidIncurredDateModal: boolean = false;\n selectedDocType: number = FileTypes.Other;\n currentIndex:number = 0;\n forceUserToResubmit:boolean = false;\n notesChanged:boolean = false;\n documentsChanged:boolean = false;\n relatedTable:RelatedTables = RelatedTables.ExpenseClaim;\n expenseClaimBillType:number = ExpenseClaimTypes.Bill;\n expenseClaimReImbursementType:number = ExpenseClaimTypes.Reimbursement;\n periodsList:number[] = [1,2,3,4,5,6,7,8,9,10,11,12];\n isActiveOrPendingInsuranceExists: boolean = false;\n showInsuranceScheduleConsentModal: boolean = false;\n showAddEditReimbursementButton: boolean = false;\n expenseClaimWithInsuranceSchedule: ExpenseClaimModel = null;\n showInsuranceScheduleModal: boolean = false;\n filteredNovationId: number = 0;\n showDocumentRequirementModal:boolean = false;\n expClientId: number = null;\n novationLedgerBalance: string = \"\";\n\n // validation errors\n readonly percentagePayableInvalidErrorMsg: string = \"Percentage payable value is invalid.\";\n readonly percentagePayableEmptyErrorMsg: string = \"Percentage payable value cannot be empty.\";\n readonly gstInclusiveRequestedAmountInvalidErrorMsg: string = \"Total amount (GST Inclusive) is invalid.\";\n readonly gstInclusiveRequestedAmountEmptyErrorMsg: string = \"Total amount (GST Inclusive) cannot be empty.\";\n\n @Watch('vehicleId')\n onVehileIDChanged(val: any, oldVal: any)\n { \n this.isInsuranceScheduleAvailable();\n this.resetOnFieldChange(); \n }\n \n @Watch('clientId')\n @Watch('novationId')\n onReselectField(val: any, oldVal: any)\n {\n if(this.isAdmin){\n this.resetOnFieldChange();\n }\n }\n\n created(){\n this.documentsModalTitle = \"Claim \" + (this.index + 1) + \" Documents\";\n this.notesModalTitle = \"Claim \" + (this.index + 1) + \" Notes\";\n this.claimHistoryModalTitle = \"Claim \" + (this.index + 1) + \" History\";\n this.isAdmin = this.$store.getters.isAuthorizedRole(UserRoles.TenantAdmin);\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\n this.isSupplier = this.$store.getters.isAuthorizedRole(UserRoles.Supplier);\n this.isStandardUser = this.$store.getters.isAuthorizedRole(UserRoles.StandardUser);\n\n this.isInsuranceScheduleAvailable();\n if(this.expenseClaimType == this.expenseClaimBillType){\n this.resetOnFieldChange();\n this.expenseClaimLine.gstAmount = \"\";\n this.expenseClaimLine.gstInclusiveAmount = \"\";\n }\n\n }\n\n isValidTotalAmount(){\n return fieldValidations.isValidDecimal(this.expenseClaimLine.gstInclusiveAmount); \n }\n\n calculateGSTAmount(){\n if(fieldValidations.isValidDecimal(this.expenseClaimLine.gstInclusiveAmount)){\n this.expenseClaimLine.gstAmount = parseFloat((this.expenseClaimLine.gstInclusiveAmount * (this.gstRate/(1 + this.gstRate))).toFixed(2));\n }\n }\n\n resetOnFieldChange(){\n this.getExpenseClaimsDeclaration();\n this.expenseClaimLine.incurredDate = null;\n this.expenseClaimLine.vehicleInsurance = null;\n this.expenseClaimLine.category = 0;\n this.expenseClaimLine.ctpiProvider = \"\";\n this.expenseClaimLine.period = 0;\n this.$v.expenseClaimLine.category.$reset();\n this.$v.expenseClaimLine.incurredDate.$reset();\n this.showInvalidIncurredDateWarning = false;\n this.$store.dispatch('deleteNotesByIndex', 0);\n this.$store.dispatch('deleteDocumentsByIndex', 0);\n }\n\n onIncurredDateChange(){\n this.selectedRelatedEntities = [];\n this.showInvalidIncurredDateWarning = false;\n if(this.expenseClaimLine.incurredDate && this.vehicleId && this.vehicleNovationList && this.vehicleNovationList.length > 0){\n if(!this.isAdmin){\n this.selectedRelatedEntities = this.getValidNovation();\n } \n\n this.checkIncurredDateIsValid();\n }else{\n this.showInvalidIncurredDateWarning = false;\n this.showInvalidIncurredDateModal = true;\n }\n }\n\n checkIncurredDateIsValid(){\n if(this.novationId != 0){\n this.selectedRelatedEntities = [];\n // Since from backend we send the orderd array sorted by start date in decending order\n this.selectedRelatedEntities = this.vehicleNovationList.filter(n=> n.value == this.novationId);\n }\n\n if(this.selectedRelatedEntities.length == 1 && this.isIncurredDateValid()){\n if(!this.isAdmin){\n this.expenseClaim.novationId = this.selectedRelatedEntities[0].value;\n this.getExpenseClaimsDeclaration();\n this.getRelatedEntityLedgerBalance();\n }\n this.showInvalidIncurredDateWarning = false;\n this.showInvalidIncurredDateModal = false;\n }else{\n this.showInvalidIncurredDateModal = true; \n if ((this.isAdmin || this.isStandardUser) && !this.isIncurredDateValidForAdmin()){\n this.showInvalidIncurredDateWarning = true\n }\n }\n }\n\n getRelatedEntityLedgerBalance(){\n lookupService.GetRelatedEntityLedgerBalance(this.expenseClaim.novationId).then(data =>\n { \n this.novationLedgerBalance = data.inclusiveBalance;\n this.onShowLedgerBalance(data.inclusiveBalance);\n }); \n }\n\n isIncurredDateValid(){ \n return ((!this.selectedRelatedEntities[0].endDate && this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.expenseClaimLine.incurredDate)) ||\n (this.selectedRelatedEntities[0].endDate && this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.currentDate) && \n this.getFormattedDate(this.selectedRelatedEntities[0].endDate) >= this.getFormattedDate(this.currentDate) && \n this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.expenseClaimLine.incurredDate) && \n this.getFormattedDate(this.selectedRelatedEntities[0].endDate) >= this.getFormattedDate(this.expenseClaimLine.incurredDate)));\n }\n\n isIncurredDateValidForAdmin(){\n return ((!this.selectedRelatedEntities[0].endDate && this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.expenseClaimLine.incurredDate)) ||\n (this.selectedRelatedEntities[0].endDate && this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.currentDate) &&\n this.getFormattedDate(this.selectedRelatedEntities[0].startDate) <= this.getFormattedDate(this.expenseClaimLine.incurredDate) && \n this.getFormattedDate(this.selectedRelatedEntities[0].endDate) >= this.getFormattedDate(this.expenseClaimLine.incurredDate)));\n }\n\n onVehicleInsuranceCreate(vehicleInsurance: VehicleInsurance){\n this.expenseClaimLine.vehicleInsurance = vehicleInsurance;\n this.onAddInsuranceScheduleExp(false);\n }\n\n onVehicleInsuranceScheduleUpdate(vehicleInsurance: VehicleInsurance){\n this.expenseClaim.vehicleInsurance = vehicleInsurance;\n this.expenseClaim.vehicleInsurance.finalMonthInsuranceDueYearComponent = moment(vehicleInsurance.finalMonthInsuranceDueYearComponent).toISOString();\n this.expenseClaim.vehicleInsurance.nextMonthInsuranceDueDate = moment(vehicleInsurance.nextMonthInsuranceDueDate).toISOString();\n }\n\n \n onCategoryChange(){\n // When category changes vehicle insurance value should be set to empty\n this.expenseClaimLine.vehicleInsurance = null;\n if(this.expenseClaimLine.category == ExpenseCategories.Insurance){\n if((this.isClient || this.isAdmin || this.isStandardUser)){\n this.showInsuranceScheduleConsentModal = true;\n }\n } else {\n this.expenseClaim.vehicleInsurance = null;\n this.onAddInsuranceScheduleExp(true);\n }\n }\n \n isInsuranceScheduleAvailable(){\n this.$store.dispatch('storeIsBusyValue',true);\n this.isActiveOrPendingInsuranceExists = false;\n this.expClientId = this.isClient ? this.$store.getters.getToken.relatedEntityId : this.clientId;\n apiService.sendGetRequest(\"RecurringPayment\",\"GetActiveRecurringScheduleList\",{vehicleId:this.vehicleId}).\n then(response =>{\n if(response.data.length > 0){\n this.isActiveOrPendingInsuranceExists = true;\n this.expenseClaimWithInsuranceSchedule = response.data\n }else{\n this.isActiveOrPendingInsuranceExists = false;\n }\n \n this.$store.dispatch('storeIsBusyValue',false);\n })\n }\n\n getInsuranceScheduleExistText(){\n if(this.isActiveOrPendingInsuranceExists){\n if(this.isClient){\n return \"You're already enrolled in a monthly insurance reimbursement schedule.\"\n } else {\n return \"The client is already enrolled in a monthly insurance reimbursement schedule.\"\n }\n }\n }\n\n get isDescriptionRequired():boolean\n {\n return this.expenseClaimLine.category == ExpenseCategories.Other\n }\n\n getFormattedDate(date:any) {\n return moment(new Date(date).setHours(0, 0, 0, 0)).toDate();\n }\n\n getValidNovation(){\n return this.vehicleNovationList.filter(novation => (novation != null && (!novation.endDate && moment(novation.startDate).toDate() <= moment(this.expenseClaimLine.incurredDate).toDate())) || \n (novation.endDate && moment(novation.startDate).toDate() <= moment(this.expenseClaimLine.incurredDate).toDate() && \n moment(novation.endDate).toDate() >= moment(this.expenseClaimLine.incurredDate).toDate()));\n }\n\n \n getExpenseClaimsDeclaration(){\n if(this.vehicleId > 0 && this.novationId > 0) {\n this.$store.dispatch('storeIsBusyValue',true);\n var params = { vehicleId:this.vehicleId, novationId: this.novationId }\n apiService.sendGetRequest(\"ExpenseClaim\",\"ExpenseClaimDeclarationText\",params).then(response => {\n if(response.data.isSuccess){\n this.expenseClaimDeclarationText = response.data.message;\n }\n this.$store.dispatch('storeIsBusyValue',false);\n }).catch(error => {\n this.$store.dispatch('storeIsBusyValue',false);\n });\n }\n }\n\n onCloseInvalidIncurredDateModal(){\n this.novationId = 0;\n this.expenseClaimLine.incurredDate = null;\n this.showInvalidIncurredDateModal = false;\n this.onShowLedgerBalance(this.novationLedgerBalance);\n }\n\n onCustomDocumentEvent(type:DataTableActionTypes){\n if(type == DataTableActionTypes.Delete){\n this.onShowGrowlNotification('success',\"Document successfully deleted.\");\n } else if(type == DataTableActionTypes.Save){\n this.onShowGrowlNotification('success',\"Document successfully added.\");\n } else if(type == DataTableActionTypes.Edit){\n this.onShowGrowlNotification('success',\"Document successfully updated.\");\n } \n this.onDocumentChanged();\n }\n \n onInsuranceScheduleConsentModalYesClick(){\n this.showInsuranceScheduleConsentModal = false;\n this.showInsuranceScheduleModal = true;\n } \n \n onCloseRecurringPaymentModal(){\n this.$router.push({name:'Dashboard'});\n this.showInsuranceScheduleModal = false\n }\n \n onDocumentChanged(){\n this.documentsChanged = true;\n this.forceUserToResubmit = true;\n }\n\n onShowGrowlNotification(arg0: string, arg1: string) {\n throw new Error('Method not implemented.');\n }\n\n setNewDocumentType(claimCategory:number){\n switch(claimCategory){\n case ExpenseCategories.Fuel:\n this.selectedDocType= FileTypes.Fuel;\n this.expenseClaimLine.docType = FileTypes.Fuel;\n break;\n case ExpenseCategories.Registration:\n this.selectedDocType= FileTypes.RegistrationPapers;\n this.expenseClaimLine.docType = FileTypes.RegistrationPapers;\n break;\n case ExpenseCategories.CTPI:\n this.selectedDocType= FileTypes.CTPI;\n this.expenseClaimLine.docType = FileTypes.CTPI;\n break;\n case ExpenseCategories.Insurance:\n this.selectedDocType= FileTypes.InsurancePolicy;\n this.expenseClaimLine.docType = FileTypes.InsurancePolicy;\n break;\n case ExpenseCategories.RoadSideAssistance:\n this.selectedDocType= FileTypes.RoadSideAssistance;\n this.expenseClaimLine.docType = FileTypes.RoadSideAssistance;\n break;\n case ExpenseCategories.Washing:\n this.selectedDocType= FileTypes.Washing;\n this.expenseClaimLine.docType = FileTypes.Washing;\n break;\n case ExpenseCategories.TyresAndService:\n this.selectedDocType= FileTypes.TyresAndService;\n this.expenseClaimLine.docType = FileTypes.TyresAndService;\n break;\n case ExpenseCategories.Repairs:\n this.selectedDocType= FileTypes.Repairs;\n this.expenseClaimLine.docType = FileTypes.Repairs;\n break;\n case ExpenseCategories.Other:\n this.selectedDocType= FileTypes.Other;\n this.expenseClaimLine.docType = FileTypes.Other;\n break;\n }\n }\n\n get getDocuments(){\n return this.$store.getters.getDocuments;\n }\n\n get getDocumentsCount(){\n return this.$store.getters.getDocumentsByIndex(this.index).length;\n }\n\n get getNotesCount(){\n return this.$store.getters.getNotesByIndex(this.index).length;\n }\n\n openDocumentsPopup(){\n this.showDocumentsPopup = true;\n }\n\n openNotesPopup(){\n this.showNotesPopup = true;\n }\n\n onDeleteClaim(){\n this.showDeleteExpenseClaimConfirmationModal = true;\n }\n\n onViewClaimHistory(){\n this.showClaimHistory = true;\n }\n\n deleteExpenseClaim(){\n this.showDeleteExpenseClaimConfirmationModal = false;\n this.deleteECLine(this.index);\n }\n\n onDocumentsChanged(){\n this.$nextTick(()=>{\n (this.$refs['dragDropDocumentControl-' + this.expenseClaimLine.index] as DragAndDropControl).setDocumentList();\n })\n }\n\n @Emit('deleteExpenseClaimLine') deleteECLine(deletedIndex: number) {}\n\n @Emit('onAddInsuranceScheduleExp') onAddInsuranceScheduleExp(isShow: boolean) {}\n\n @Emit('onShowLedgerBalance') onShowLedgerBalance(ledgerBalance: string){}\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimLineCard.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimLineCard.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./expenseClaimLineCard.vue?vue&type=template&id=097819e6&scoped=true\"\nimport script from \"./expenseClaimLineCard.vue?vue&type=script&lang=ts\"\nexport * from \"./expenseClaimLineCard.vue?vue&type=script&lang=ts\"\nimport style0 from \"./expenseClaimLineCard.vue?vue&type=style&index=0&id=097819e6&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"097819e6\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from \"vue-property-decorator\";\r\nimport { validationMixin } from 'vuelidate';\r\nimport { required,numeric, minValue} from 'vuelidate/lib/validators';\r\nimport { ExpenseClaimModel, ExpenseClaimLinesModel} from '@/models/expenseClaim.model';\r\nimport {ExpenseClaimTypes, ExpenseClaimStatuses, ExpenseCategories} from '@/shared/enums/expenseClaims.enum';\r\nimport {FileTypes} from '@/shared/enums/fileTypes.enum';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\nimport apiService from \"@/shared/services/apiService\";\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport lookupService from '@/shared/services/lookupService';\r\nimport systemSettingsService from '@/shared/services/systemSettingsService';\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService';\r\nimport Modal from '@/shared/components/modal/Modal.vue';\r\nimport {PaymentMethods} from '@/shared/enums/paymentMethods.enum';\r\nimport moment from 'moment';\r\nimport ClientsList from '@/components/admin/clientManagement/ClientsList.vue';\r\nimport MotorVehicleSelectList from '@/components/admin/motorVehicleManagement/MotorVehicleSelectList.vue';\r\nimport {BankAccount} from '@/models/bankAccount.model';\r\nimport NotesCommonControl from '@/shared/components/notes/NotesCommonControl.vue';\r\nimport DragAndDropControl from '@/shared/components/dragAndDropControl/DragAndDropControl.vue';\r\nimport {BPayAccount} from '@/models/bpayAccount.model';\r\nimport { ClientsListViewModes } from '@/shared/enums/viewModes.enum';\r\nimport fieldValidations from \"@/shared/services/fieldValidationService\";\r\nimport AddEditInsuranceSchedule from '@/components/admin/expenseClaims/AddEditInsuranceSchedule.vue';\r\nimport InsuranceSchedulePreview from \"@/components/admin/expenseClaims/InsuranceSchedulePreview.vue\";\r\nimport ExpenseClaimLineCard from \"./expenseClaimLineCard.vue\";\r\n\r\n@Component({\r\n components:\r\n {\r\n Modal,\r\n ClientsList,\r\n NotesCommonControl,\r\n DragAndDropControl,\r\n MotorVehicleSelectList,\r\n AddEditInsuranceSchedule,\r\n InsuranceSchedulePreview,\r\n ExpenseClaimLineCard\r\n },\r\n mixins:[validationMixin],\r\n validations:\r\n {\r\n expenseClaim:\r\n {\r\n submittedDate:\r\n {\r\n required\r\n },\r\n incurredDate:\r\n {\r\n required\r\n },\r\n clientId:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n vehicleId:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n novationId:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n type:\r\n {\r\n required,\r\n minValue: minValue(1)\r\n },\r\n reference:\r\n {\r\n required,\r\n isValidReference : function(value, vm){\r\n return this.isValidReference(value, vm)\r\n }\r\n },\r\n regoRenewalDate:\r\n {\r\n required\r\n },\r\n insuranceRenewalDate:\r\n {\r\n required\r\n },\r\n },\r\n bankAccount:{\r\n accountName:{\r\n required,\r\n isValidAccountName : value => \r\n {\r\n if(/[,]+/.test(value)){\r\n return false;\r\n }\r\n else{\r\n return true;\r\n }\r\n }\r\n },\r\n accountNumber:{\r\n required,\r\n numeric \r\n },\r\n bankAccountBSB:{\r\n required,\r\n numeric\r\n }\r\n },\r\n bPayAccount:{\r\n name:{\r\n required\r\n },\r\n billerCode:{\r\n required,\r\n numeric\r\n }\r\n },\r\n bankAccountID:\r\n {\r\n minValue: minValue(1)\r\n },\r\n }\r\n})\r\nexport default class SubmitExpenseClaim extends Vue{\r\n expenseClaimId:number;\r\n selectedExpenseClaimLineId:number = 0;\r\n relatedTable:RelatedTables = RelatedTables.ExpenseClaim;\r\n expenseClaimLineRelatedTable:RelatedTables = RelatedTables.ExpenseClaimLine;\r\n vehicles:any = [];\r\n expenseClaimBankAccounts:any = [];\r\n isAdmin:boolean = false;\r\n isTenantAdmin:boolean = false;\r\n isSupplier:boolean = false;\r\n todayDate: any = new Date();\r\n currentDate: any = new Date().setHours(0,0,0,0);\r\n todayDateUTC:any = new Date(Date.UTC(this.todayDate.getFullYear(), this.todayDate.getMonth(), this.todayDate.getDate(), 0, 0, 0));\r\n initialExpenseClaim: ExpenseClaimModel = {\r\n id:0, \r\n eCRN:\"\",\r\n category:0,\r\n description:\"\",\r\n reference:\"\",\r\n gstAmount:0,\r\n gstInclusiveAmount:0,\r\n submittedDate: this.todayDateUTC,\r\n incurredDate: null,\r\n type:0,\r\n paymentMethodType:PaymentMethods.EFT,\r\n accountID:0,\r\n status:ExpenseClaimStatuses.PendingApproval,\r\n clientId:0,\r\n clientName:\"\",\r\n vehicleId:0,\r\n novationId:0,\r\n vehicleName:\"\",\r\n notesList:[],\r\n documentList:[],\r\n expenseClaimLines:[],\r\n bankAccount:null,\r\n bPayAccount:null,\r\n isReadOnly:false,\r\n createdBy:\"\",\r\n createdByUserId:0,\r\n createdDate:new Date(),\r\n updatedBy:\"\",\r\n lastUpdatedDate:new Date(),\r\n concurrencyKey:\"\",\r\n regoRenewalDate:new Date(),\r\n insuranceRenewalDate:new Date(),\r\n ctpiProvider:\"\",\r\n period:0,\r\n updateRenewalDates:false,\r\n submittedByUserRole:0,\r\n supplierId:0,\r\n vehicleInsurance: null,\r\n expenseClaimCreationMethod:0,\r\n vehicleInsuranceId: 0\r\n };\r\n intialBankAccount:BankAccount = {\r\n id:0,bankID:null,\r\n accountName:\"\",\r\n accountNumber:undefined,\r\n bankAccountBSB:undefined,\r\n relatedID:0,\r\n relatedTable:RelatedTables.ExpenseClaim,\r\n bankAccountType:null,\r\n isIncludedForBankAPI:null,\r\n concurrencyKey:\"\",\r\n isActive:true,\r\n createdDate:\"\",\r\n createdBy:\"\",\r\n updatedDate:\"\",\r\n updatedBy:\"\"};\r\n initialBPayAccount:BPayAccount = {\r\n id:0,\r\n name:\"\",\r\n billerCode:\"\",\r\n relatedID:0,\r\n relatedTable:RelatedTables.ExpenseClaim,\r\n concurrencyKey:\"\",\r\n isActive:true,\r\n createdDate:\"\",\r\n createdBy:\"\",\r\n updatedDate:\"\",\r\n updatedBy:\"\"};\r\n\r\n newExpenseClaimLine: ExpenseClaimLinesModel = {\r\n id:0,\r\n rowNo:0,\r\n index:-1,\r\n expenseClaimID:0,\r\n incurredDate: null,\r\n category:0,\r\n description:\"\",\r\n gstInclusiveAmount:\"\",\r\n gstAmount:\"\",\r\n notesList:[],\r\n documentList:[],\r\n isReadOnly:false,\r\n accountID:0,\r\n ctpiProvider:\"\",\r\n period:0,\r\n rejectOrQueryNote:\"\",\r\n vehicleInsurance: null,\r\n docType: FileTypes.Other\r\n }; \r\n bankAccount:BankAccount = Object.assign({}, this.intialBankAccount); \r\n bPayAccount:BPayAccount = Object.assign({}, this.initialBPayAccount); \r\n expenseClaim:ExpenseClaimModel = Object.assign({}, this.initialExpenseClaim);\r\n expenseClaimTypes:any[] = [];\r\n registrationCategory:number = ExpenseCategories.Registration;\r\n insuranceCategory:number = ExpenseCategories.Insurance;\r\n fuelCategory:number = ExpenseCategories.Fuel;\r\n expenseClaimCategoryList:any[] = [];\r\n expenseClaimLinesCategoryList:any[] = [];\r\n expenseClaimStatusList:any[] = [];\r\n expenseClaimReImbursementType:number = ExpenseClaimTypes.Reimbursement;\r\n expenseClaimBillType:number = ExpenseClaimTypes.Bill;\r\n gstRate:number = 0.1;\r\n dirtyValidationRefNo:number = 0;\r\n claimLineDirtyValidationRefNo:number = 0;\r\n clients:any[] = [];\r\n backNavigationConfirmation:boolean = false;\r\n showCancelEditReimbursementLine:boolean = false;\r\n bankAccounts:any[] = [];\r\n showAddEditReimbursementButton:boolean=true;\r\n isDocumentsAndNotesReadOnly:boolean = false;;\r\n showSelectClientModal:boolean = false;\r\n showSelectVehicleModal:boolean = false;\r\n showSetRenewalDatesModal:boolean = false;\r\n selectedClientName:string = \"Selected Client\";\r\n expenseClaimSubTotal:number = 0;\r\n expenseClaimGSTTotal:number = 0;\r\n expenseClaimsTotal:number = 0;\r\n showSubTotalSection:boolean = false;\r\n clientName:string = \"\";\r\n disabledDates:any ={};\r\n bpayPaymentMethod:number = PaymentMethods.BPAY;\r\n eftPaymentMethod:number = PaymentMethods.EFT;\r\n typeDisplayText:string = '';\r\n vehicleId:number = 0;\r\n regoRenewalType:boolean = false;\r\n insuranceRenewalType:boolean = false;\r\n addAnotherBill:boolean = false;\r\n modalModeClientListView:ClientsListViewModes = ClientsListViewModes.ModalMode;\r\n ctpiCategory:ExpenseCategories = ExpenseCategories.CTPI;\r\n selectedDocType:number = 0;\r\n expenseClaimBankAccountsLoaded = false;\r\n isClient = false;\r\n supplierUserRole:UserRoles = UserRoles.Supplier\r\n submittedByUserId = 0;\r\n supplierId:number = 0;\r\n expenseClaimCategories:any[] = [];\r\n vehicleNovationList:any = [];\r\n groupedNovationList:any = [];\r\n forceUserToResubmit:boolean = false;\r\n showInsuranceSchedulePreview:boolean = false;\r\n initialExpenseClaimLinesCount:number = 1;\r\n relatedEntityLedgerBalance: string = \"\";\r\n ledgerBalance: string = '';\r\n showBalance: boolean = false;\r\n claimNote: string = \"\";\r\n\r\n created()\r\n {\r\n if(this.$route.params.type != null && this.$route.params.type == 'bill')\r\n {\r\n this.initialExpenseClaim.type = this.expenseClaim.type = ExpenseClaimTypes.Bill;\r\n this.typeDisplayText = \"Bill\";\r\n }\r\n else if (this.$route.params.type != null && this.$route.params.type == 'reimbursement')\r\n {\r\n this.initialExpenseClaim.type = this.expenseClaim.type = ExpenseClaimTypes.Reimbursement;\r\n this.typeDisplayText = \"Reimbursement\";\r\n }\r\n if(this.$route.query.vehicleId != null && +this.$route.query.vehicleId > 0)\r\n {\r\n this.initialExpenseClaim.vehicleId = this.expenseClaim.vehicleId = this.vehicleId = +this.$route.query.vehicleId;\r\n this.loadClaimCategoryList(this.expenseClaim.vehicleId);\r\n this.loadLatestVehicleNovations(this.expenseClaim.vehicleId);\r\n }\r\n this.expenseClaimId = +this.$route.params.id ? +this.$route.params.id : 0;\r\n this.isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\r\n this.isTenantAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin]);\r\n\r\n this.isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n this.isSupplier = this.$store.getters.isAuthorizedRole(UserRoles.Supplier);\r\n this.loadDropDownLists();\r\n this.loadSystemSettings();\r\n this.$store.dispatch('updateNotes',[]);\r\n this.$store.dispatch('updateDocuments',[]);\r\n\r\n if(this.isSupplier){ \r\n this.supplierId = this.$store.getters.getToken.relatedEntityId \r\n this.expenseClaim.supplierId = this.supplierId; \r\n this.loadExpenseClaimBankAccounts(RelatedTables.Supplier, this.supplierId );\r\n }else{\r\n if(this.isAdmin){\r\n this.loadClients();\r\n }\r\n else\r\n { \r\n this.onClientSelect(null);\r\n }\r\n }\r\n\r\n if(this.isSupplier){\r\n this.GetSubmittedExpenseClaimsCountBySupplierId();\r\n }\r\n\r\n this.setInitialExpenseClaimLines();\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.expenseClaim);\r\n }\r\n\r\n setInitialExpenseClaimLines(){\r\n for(var i = 0; i < this.initialExpenseClaimLinesCount; i++){\r\n let ecLine: ExpenseClaimLinesModel = {\r\n id:0,\r\n rowNo:i+1,\r\n index: i,\r\n expenseClaimID:0,\r\n incurredDate: null,\r\n category:0,\r\n description:\"\",\r\n gstInclusiveAmount:\"\",\r\n gstAmount:\"\",\r\n notesList:[],\r\n documentList:[],\r\n isReadOnly:false,\r\n accountID:0,\r\n ctpiProvider:\"\",\r\n period:0,\r\n rejectOrQueryNote:\"\",\r\n vehicleInsurance: null,\r\n docType: FileTypes.Other\r\n };\r\n this.expenseClaim.expenseClaimLines.push(ecLine);\r\n }\r\n }\r\n\r\n onClickAddReimbursement(){\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n return;\r\n }\r\n\r\n let nextIndex = this.expenseClaim.expenseClaimLines.length;\r\n let ecLine: ExpenseClaimLinesModel = {\r\n id:0,\r\n rowNo: nextIndex+1,\r\n index: nextIndex,\r\n expenseClaimID:0,\r\n incurredDate: null,\r\n category:0,\r\n description:\"\",\r\n gstInclusiveAmount:\"\",\r\n gstAmount:\"\",\r\n notesList:[],\r\n documentList:[],\r\n isReadOnly:false,\r\n accountID:0,\r\n ctpiProvider:\"\",\r\n period:0,\r\n rejectOrQueryNote:\"\",\r\n vehicleInsurance: null,\r\n docType: FileTypes.Other\r\n };\r\n this.expenseClaim.expenseClaimLines.push(ecLine);\r\n }\r\n\r\n calculateGSTAmount(){\r\n if(fieldValidations.isValidDecimal(this.expenseClaim.gstInclusiveAmount)){\r\n this.expenseClaim.gstAmount = parseFloat((this.expenseClaim.gstInclusiveAmount * (this.gstRate/(1 + this.gstRate))).toFixed(2));\r\n }\r\n }\r\n\r\n GetSubmittedExpenseClaimsCountBySupplierId(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var t = this.$store.getters.getToken\r\n apiService.sendGetRequest(\"ExpenseClaim\",\"SupplierSubmittedExpenseClaimsCount\",{supplierId:this.supplierId}).then(response =>{\r\n var expenseClaimsCount = response.data + 1;\r\n this.expenseClaim.reference = (localStorage.loggedInUserName).substr(0,11) + \" \" + expenseClaimsCount.toString().padStart(6,0);\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.expenseClaim);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch(error => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n get isDescriptionRequired():boolean\r\n {\r\n return this.expenseClaim.category == ExpenseCategories.Other\r\n }\r\n\r\n OnAddInsuranceScheduleExp(isShow: boolean){\r\n this.showAddEditReimbursementButton = isShow;\r\n }\r\n\r\n OnShowLedgerBalance(balance: string){\r\n // Will apply this change in the future sprint\r\n // this.showBalance = this.expenseClaim.expenseClaimLines.some(t => t.incurredDate != null);\r\n this.showBalance = false;\r\n this.ledgerBalance = balance;\r\n }\r\n\r\n validateTotalGSTAmount(){\r\n var isValid = true;\r\n this.expenseClaim.expenseClaimLines.forEach(ecLine=>{\r\n var calculatedGstAmount = parseFloat((ecLine.gstInclusiveAmount * (this.gstRate/(1 + this.gstRate))).toFixed(2));\r\n if(calculatedGstAmount < parseFloat(ecLine.gstAmount)){\r\n ecLine.gstAmount = \"\";\r\n return isValid = false;\r\n \r\n }\r\n })\r\n return isValid;\r\n }\r\n\r\n onClickedSubmitApproveAndAddAnother()\r\n {\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(this.isSupplier && this.expenseClaim.novationId == 0) {\r\n this.onShowGrowlNotification('error','The selected vehicle does not have a active novation.');\r\n return;\r\n } \r\n if( this.isAdmin ){\r\n if(this.expenseClaim.expenseClaimLines[0].category == this.registrationCategory || this.expenseClaim.expenseClaimLines[0].category == this.insuranceCategory )\r\n {\r\n this.loadVehicleRenewalDates(this.expenseClaim.vehicleId);\r\n this.addAnotherBill = true; \r\n } \r\n else\r\n {\r\n this.onSubmitAndAddAnother();\r\n }\r\n }\r\n else\r\n {\r\n this.onSubmitAndAddAnother();\r\n }\r\n }\r\n\r\n onSubmitAndAddAnother(){\r\n if(this.expenseClaim.type == ExpenseClaimTypes.Bill && this.expenseClaim.expenseClaimLines[0].gstInclusiveAmount <= 0){\r\n this.onShowGrowlNotification('error',\"GST Inclusive amount cannot be zero.\");\r\n return;\r\n }\r\n this.submitExpenseClaim().then(response => \r\n {\r\n this.showSetRenewalDatesModal = false;\r\n this.expenseClaim.expenseClaimLines = [];\r\n this.expenseClaim = Object.assign({}, this.initialExpenseClaim);\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo,this.expenseClaim)\r\n this.bankAccount = Object.assign({}, this.intialBankAccount); \r\n this.bPayAccount = Object.assign({}, this.initialBPayAccount); \r\n this.expenseClaimSubTotal = 0;\r\n this.expenseClaimGSTTotal = 0;\r\n this.expenseClaimsTotal = 0;\r\n this.$v.expenseClaim.$reset();\r\n this.$v.bankAccount.$reset();\r\n this.$v.bPayAccount.$reset();\r\n this.showBalance = false;\r\n this.ledgerBalance = '';\r\n\r\n if(this.isSupplier){\r\n this.GetSubmittedExpenseClaimsCountBySupplierId(); \r\n }\r\n });\r\n }\r\n\r\n deleteExpenseClaimLine(deletedIndex: number){\r\n this.expenseClaim.expenseClaimLines.splice(deletedIndex, 1);\r\n this.$nextTick(()=>{\r\n let index = 0;\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n element.index = index++;\r\n });\r\n this.$store.dispatch('deleteNotesByIndex',deletedIndex);\r\n this.$store.dispatch('deleteDocumentsByIndex', deletedIndex);\r\n });\r\n\r\n this.OnShowLedgerBalance(this.ledgerBalance);\r\n }\r\n\r\n loadVehicleRenewalDates(vehicleID){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Vehicle\",\"RenewalDates\",{id:vehicleID}).then(response =>{\r\n if( response != null)\r\n {\r\n var isInsuranceCategoryPresent = false;\r\n this.expenseClaim.regoRenewalDate = response.data.regoRenewalDate == null ? \"\" : response.data.regoRenewalDate;\r\n this.expenseClaim.insuranceRenewalDate = response.data.insuranceRenewalDate == null ? \"\" \r\n : moment(response.data.insuranceRenewalDate).toDate() >= new Date() ? response.data.insuranceRenewalDate : \"\";\r\n if (this.expenseClaim.type == this.expenseClaimReImbursementType) {\r\n this.expenseClaim.expenseClaimLines.forEach(el => {\r\n if (el.category == ExpenseCategories.Registration && this.expenseClaim.regoRenewalDate) {\r\n let newDate = moment(this.expenseClaim.regoRenewalDate).add(el.period, 'months');\r\n this.expenseClaim.regoRenewalDate = newDate.toDate();\r\n }\r\n if (el.category == ExpenseCategories.Insurance && this.expenseClaim.insuranceRenewalDate) {\r\n isInsuranceCategoryPresent = true;\r\n let newDate = moment(this.expenseClaim.insuranceRenewalDate);\r\n this.expenseClaim.insuranceRenewalDate = newDate.toDate();\r\n }\r\n });\r\n } else if (this.expenseClaim.type == this.expenseClaimBillType) {\r\n this.expenseClaim.expenseClaimLines.forEach(el => {\r\n if (el.category == ExpenseCategories.Registration && this.expenseClaim.regoRenewalDate) {\r\n let newDate = moment(this.expenseClaim.regoRenewalDate).add(el.period, 'months');\r\n this.expenseClaim.regoRenewalDate = newDate.toDate();\r\n }\r\n if (el.category == ExpenseCategories.Insurance && this.expenseClaim.insuranceRenewalDate) {\r\n let newDate = moment(this.expenseClaim.insuranceRenewalDate)\r\n this.expenseClaim.insuranceRenewalDate = newDate.toDate();\r\n isInsuranceCategoryPresent = true;\r\n }\r\n });\r\n }\r\n if(isInsuranceCategoryPresent && this.expenseClaim.insuranceRenewalDate){\r\n this.showSetRenewalDatesModal = false;\r\n this.updateAndOnExpenseClaimAction(false);\r\n }\r\n else {\r\n this.showSetRenewalDatesModal = true;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n });\r\n }\r\n\r\n updateAndOnExpenseClaimAction(updateRenewalDate:boolean){\r\n this.expenseClaim.updateRenewalDates = updateRenewalDate;\r\n this.onExpenseClaimAction();\r\n }\r\n\r\n ingoreAndOnExpenseClaimAction(){\r\n this.expenseClaim.updateRenewalDates = true;\r\n this.onExpenseClaimAction();\r\n }\r\n\r\n onExpenseClaimAction(){\r\n if(this.expenseClaim.type == ExpenseClaimTypes.Bill && this.expenseClaim.expenseClaimLines[0].gstInclusiveAmount <= 0){\r\n this.onShowGrowlNotification('error',\"GST Inclusive amount cannot be zero.\");\r\n return;\r\n }\r\n if(this.expenseClaimId == 0)\r\n {\r\n if(this.addAnotherBill)\r\n {\r\n this.onSubmitAndAddAnother();\r\n }\r\n else\r\n {\r\n this.submitExpenseClaim().then(response => \r\n {\r\n if(this.isAdmin)\r\n {\r\n this.$router.push({name:'Review Expense Claims'});\r\n }\r\n else\r\n {\r\n this.$router.push({name:'Dashboard'}); \r\n }\r\n });\r\n }\r\n \r\n }\r\n }\r\n\r\n showRegoRenewalDatePicker(){\r\n if (this.expenseClaim.expenseClaimLines.length > 0 && this.expenseClaim.expenseClaimLines.filter(e => e.category == this.registrationCategory).length > 0)\r\n {\r\n return true;\r\n }\r\n }\r\n\r\n showInsuranceRenewalDatePicker(){\r\n if (this.expenseClaim.expenseClaimLines.length > 0 && this.expenseClaim.expenseClaimLines.filter(e => e.category == this.insuranceCategory).length > 0)\r\n {\r\n return true;\r\n }\r\n }\r\n\r\n disableUpdateAndApproveButton(){\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType){\r\n var registrationCount = this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.registrationCategory).length;\r\n var insuaranceCount = this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.insuranceCategory).length;\r\n var countOfRenewal = registrationCount + insuaranceCount;\r\n if(countOfRenewal == 2)\r\n {\r\n if((this.regoRenewalType && this.expenseClaim.regoRenewalDate) && (this.insuranceRenewalType && this.expenseClaim.insuranceRenewalDate))\r\n {\r\n return false;\r\n }\r\n return true;\r\n }\r\n if(countOfRenewal == 1)\r\n {\r\n if((this.regoRenewalType && this.expenseClaim.regoRenewalDate) ||\r\n ( this.insuranceRenewalType && this.expenseClaim.insuranceRenewalDate))\r\n {\r\n return false;\r\n }\r\n if(((this.regoRenewalType && this.$v.expenseClaim.regoRenewalDate.required) || ( this.insuranceRenewalType && this.$v.expenseClaim.insuranceRenewalDate.required ) ) || ((this.regoRenewalType && !this.expenseClaim.regoRenewalDate) || ((this.insuranceRenewalType && !this.expenseClaim.insuranceRenewalDate))))\r\n {\r\n return true;\r\n }\r\n }\r\n }\r\n if(this.expenseClaim.type == this.expenseClaimBillType){\r\n if((this.regoRenewalType && this.expenseClaim.regoRenewalDate) || ( this.insuranceRenewalType && this.expenseClaim.insuranceRenewalDate))\r\n {\r\n return false;\r\n }\r\n if((this.regoRenewalType && !this.expenseClaim.regoRenewalDate) || ( this.insuranceRenewalType && !this.expenseClaim.insuranceRenewalDate))\r\n {\r\n return true;\r\n }\r\n if(this.insuranceRenewalType && (this. $v.expenseClaim.insuranceRenewalDate.required || this.expenseClaim.insuranceRenewalDate == null ))\r\n {\r\n return true;\r\n }\r\n if(this.regoRenewalType && (this.$v.expenseClaim.regoRenewalDate.required || this.expenseClaim.regoRenewalDate == null))\r\n {\r\n return true;\r\n }\r\n }\r\n } \r\n\r\n getCategoryName(id){\r\n var category = this.expenseClaimLinesCategoryList.filter(obj=> obj.value == id);\r\n if(category && category.length > 0)\r\n {\r\n return category[0].text;\r\n }\r\n return \"\";\r\n }\r\n\r\n setNewDocumentType(claimCategory:number){\r\n switch(claimCategory){\r\n case ExpenseCategories.Fuel:\r\n this.selectedDocType= FileTypes.Fuel;\r\n break;\r\n case ExpenseCategories.Registration:\r\n this.selectedDocType= FileTypes.RegistrationPapers;\r\n break;\r\n case ExpenseCategories.CTPI:\r\n this.selectedDocType= FileTypes.CTPI;\r\n break;\r\n case ExpenseCategories.Insurance:\r\n this.selectedDocType= FileTypes.InsurancePolicy;\r\n break;\r\n case ExpenseCategories.RoadSideAssistance:\r\n this.selectedDocType= FileTypes.RoadSideAssistance;\r\n break;\r\n case ExpenseCategories.Washing:\r\n this.selectedDocType= FileTypes.Washing;\r\n break;\r\n case ExpenseCategories.TyresAndService:\r\n this.selectedDocType= FileTypes.TyresAndService;\r\n break;\r\n case ExpenseCategories.Repairs:\r\n this.selectedDocType= FileTypes.Repairs;\r\n break;\r\n case ExpenseCategories.Other:\r\n this.selectedDocType= FileTypes.Other;\r\n break;\r\n }\r\n }\r\n \r\n getClientName(id){\r\n var names = this.clients.filter(obj=> obj.value == id);\r\n if(names && names.length > 0)\r\n {\r\n return names[0].text;\r\n }\r\n return \"\";\r\n }\r\n\r\n isValidReference(value, vm){\r\n if(vm.paymentMethodType == PaymentMethods.EFT){\r\n if(/[,]+/.test(value)){\r\n return false;\r\n }\r\n else{\r\n return true;\r\n }\r\n }\r\n else{\r\n return !isNaN(value) && (value%1 == 0) && !(/[.]+/.test(value));\r\n }\r\n }\r\n\r\n onClientSelect(item:any){\r\n var id = item == null ? 0 : item.id;\r\n this.expenseClaim.clientId = id\r\n this.expenseClaim.clientName = this.getClientName(id);\r\n this.vehicleNovationList = [];\r\n this.$v.expenseClaim.incurredDate.$reset();\r\n this.claimNote = \"\";\r\n this.loadVehicleList(id);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n this.loadExpenseClaimBankAccounts(RelatedTables.Client, id);\r\n }\r\n this.setSelectedClientName();\r\n this.expenseClaim.vehicleId = 0;\r\n this.expenseClaim.novationId = 0;\r\n this.$v.expenseClaim.vehicleId.$reset();\r\n this.showSelectClientModal = false;\r\n }\r\n\r\n onSelectVehicle(item:any){\r\n this.expenseClaim.vehicleId = item.id;\r\n this.vehicleNovationList = [];\r\n this.loadClaimCategoryList(this.expenseClaim.vehicleId);\r\n this.loadLatestVehicleNovations(this.expenseClaim.vehicleId);\r\n this.expenseClaim.clientId = item.clientId;\r\n this.expenseClaim.incurredDate = null;\r\n this.selectedClientName = item.clientName;\r\n this.expenseClaim.vehicleName = item.year + \" \" + item.make + \" \" + item.model;\r\n this.$v.expenseClaim.incurredDate.$reset();\r\n this.expenseClaim.novationId = 0;\r\n this.showSelectVehicleModal = false;\r\n }\r\n\r\n onSelectClientBtnClicked()\r\n {\r\n this.showSelectClientModal = true;\r\n }\r\n\r\n onSelectVehicleBtnClicked()\r\n {\r\n this.showSelectVehicleModal = true;\r\n }\r\n\r\n isModelDisabled(){\r\n if((this.isAdmin && this.expenseClaim.clientId == 0) || this.expenseClaim.vehicleId == 0 || this.expenseClaim.novationId == 0 || \r\n (this.expenseClaim.type == this.expenseClaimReImbursementType && this.expenseClaim.accountID == 0)){\r\n return true;\r\n }else{\r\n for(var ecLine of this.expenseClaim.expenseClaimLines){\r\n if( ecLine.category == 0\r\n || (ecLine.description == \"\" && ecLine.category == ExpenseCategories.Other)\r\n || ecLine.incurredDate == null\r\n || ecLine.gstAmount == \"\"\r\n || (ecLine.gstInclusiveAmount == 0)\r\n || this.$store.getters.getDocumentsByIndex(ecLine.index).length == 0\r\n || !fieldValidations.isValidDecimal(ecLine.gstInclusiveAmount)){\r\n return true;\r\n }\r\n }\r\n\r\n if(this.expenseClaim.type == this.expenseClaimBillType){\r\n if(this.expenseClaim.paymentMethodType == this.eftPaymentMethod){\r\n return this.$v.expenseClaim.reference.$invalid || this.$v.bankAccount.accountName.$invalid || this.$v.bankAccount.accountNumber.$invalid || this.$v.bankAccount.bankAccountBSB.$invalid;\r\n }else if(this.expenseClaim.paymentMethodType == this.bpayPaymentMethod){\r\n return this.$v.expenseClaim.reference.$invalid || this.$v.bPayAccount.name.$invalid || this.$v.bPayAccount.billerCode.$invalid;\r\n }\r\n }\r\n return false;\r\n }\r\n }\r\n\r\n calculateTotalAmounts()\r\n {\r\n var total = 0;\r\n var gstTotal = 0;\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n total = total + parseFloat(element.gstInclusiveAmount);\r\n gstTotal = gstTotal + parseFloat(element.gstAmount);\r\n });\r\n this.expenseClaimSubTotal = total - gstTotal;\r\n this.expenseClaimsTotal = total;\r\n this.expenseClaimGSTTotal = gstTotal;\r\n }\r\n\r\n setSelectedClientName()\r\n {\r\n var client = this.clients.filter(obj => obj.value == this.expenseClaim.clientId);\r\n if(client && client.length > 0)\r\n {\r\n this.selectedClientName = client[0].text;\r\n }\r\n else\r\n {\r\n this.selectedClientName = 'Selected Client';\r\n }\r\n \r\n }\r\n\r\n loadClients(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Client\",\"ClientSelectList\",{}).then(response =>{\r\n this.clients = response.data.filter(obj => obj.disabled == false);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadVehicleList(clientID:number){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest(\"Vehicle\",\"MotorVehicleSelectList\",{clientID:clientID}).then(response =>{\r\n this.vehicles = response.data.filter(obj => obj.disabled == false);\r\n var isDirty = dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo);\r\n if(this.expenseClaimId == 0 && this.vehicles.length == 1 && this.isAdmin)\r\n {\r\n this.expenseClaim.vehicleId = this.vehicles[0].value;\r\n this.loadClaimCategoryList(this.expenseClaim.vehicleId);\r\n this.loadLatestVehicleNovations(this.expenseClaim.vehicleId);\r\n if (!this.isClient) {\r\n this.loadClaimNote(this.expenseClaim.vehicleId);\r\n }\r\n }\r\n if(this.vehicleId > 0) //when the vehicle id is passed from the query.\r\n {\r\n this.expenseClaim.vehicleId = this.vehicleId;\r\n }\r\n if(!isDirty && clientID == 0)\r\n {\r\n dirtyValidatorService.clearChanges(this.dirtyValidationRefNo);\r\n this.dirtyValidationRefNo = dirtyValidatorService.setInitialModel(this.dirtyValidationRefNo, this.expenseClaim);\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadExpenseClaimBankAccounts(relatedTable: RelatedTables, id:number){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n var isExpenseClaimCreated = this.expenseClaimId == 0 ? false : true;\r\n apiService.sendGetRequest(\"BankAccount\",\"BankAccountsSelectList\",{relatedTable:relatedTable, relatedID: id, includeInactiveAccounts: isExpenseClaimCreated}).then(response =>{\r\n if(this.expenseClaimId == 0 )\r\n {\r\n this.expenseClaimBankAccounts = response.data.filter(obj => obj.disabled == false);\r\n if(this.expenseClaimBankAccounts.length == 1)\r\n {\r\n this.expenseClaim.accountID = this.expenseClaimBankAccounts[0].value;\r\n }else{\r\n this.expenseClaim.accountID = 0;\r\n }\r\n }\r\n this.expenseClaimBankAccountsLoaded = true;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n })\r\n }\r\n\r\n loadDropDownLists()\r\n {\r\n lookupService.GetExpenseClaimTypesList().then(data => \r\n {\r\n this.expenseClaimTypes = data;\r\n });\r\n // lookupService.GetExpenseClaimCategoryList().then(data => \r\n // {\r\n // data.forEach(val => this.expenseClaimCategories.push(Object.assign({}, val)));\r\n // if(this.isSupplier){\r\n // this.expenseClaimCategories.forEach(ca => {\r\n // if( ca.value == ExpenseCategories.Washing || ca.value == ExpenseCategories.TyresAndService || ca.value == ExpenseCategories.Repairs || ca.value == ExpenseCategories.Other){\r\n // this.expenseClaimCategoryList.push(Object.assign({}, ca));\r\n // this.expenseClaimLinesCategoryList.push(Object.assign({}, ca));\r\n // }\r\n // })\r\n // }else{\r\n // this.expenseClaimCategoryList = this.expenseClaimCategories.slice();\r\n // this.expenseClaimLinesCategoryList = this.expenseClaimCategories.slice();\r\n // }\r\n\r\n // });\r\n lookupService.GetExpenseClaimStatusWithoutCountList().then(data => \r\n {\r\n this.expenseClaimStatusList = data;\r\n });\r\n }\r\n\r\n loadSystemSettings()\r\n {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n systemSettingsService.LoadAllSystemSettings().then(data => \r\n {\r\n if(data)\r\n {\r\n this.gstRate = parseFloat(data.GSTRate)/100;\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n clearClaimInfoNotesAndDocuments(addAnotherClaim:boolean = false)\r\n {\r\n this.expenseClaim.category = 0;\r\n this.expenseClaim.incurredDate = null;\r\n this.expenseClaim.description = \"\";\r\n this.expenseClaim.gstInclusiveAmount = 0;\r\n this.expenseClaim.gstAmount = 0;\r\n this.expenseClaim.ctpiProvider = \"\";\r\n this.expenseClaim.period = 0;\r\n this.selectedExpenseClaimLineId = 0\r\n if(addAnotherClaim){\r\n (this.$refs.dragDropControl as DragAndDropControl).ClearDocumentListWithoutValidation();\r\n (this.$refs.notesControl as NotesCommonControl).clearNotesWithoutValidation();\r\n }else{\r\n (this.$refs.dragDropControl as DragAndDropControl).ClearDocumentList();\r\n (this.$refs.notesControl as NotesCommonControl).clearNotesList();\r\n }\r\n this.$v.expenseClaim.$reset();\r\n this.$v.bankAccount.$reset();\r\n }\r\n\r\n onClickedSubmitApprove(){\r\n if(!this.validateTotalGSTAmount())\r\n {\r\n this.onShowGrowlNotification('error','The manually input GST amount exceeds the calculated GST.');\r\n this.expenseClaim.gstAmount = null;\r\n return;\r\n }\r\n if(this.isSupplier && this.expenseClaim.novationId == 0) {\r\n this.onShowGrowlNotification('error','The selected vehicle does not have an active novation.');\r\n return;\r\n }\r\n\r\n if(this.isAdmin){\r\n this.onSubmitAndApproveOrApproveEC();\r\n }\r\n else\r\n {\r\n this.onExpenseClaimAction();\r\n } \r\n }\r\n\r\n onSubmitAndApproveOrApproveEC(){\r\n if((this.expenseClaim.type == this.expenseClaimReImbursementType || this.expenseClaim.type == this.expenseClaimBillType) \r\n && (this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.registrationCategory).length > 0 || this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.insuranceCategory).length > 0)) {\r\n \r\n this.insuranceRenewalType = false;\r\n this.regoRenewalType = false;\r\n\r\n if(this.expenseClaim.type == this.expenseClaimBillType){\r\n if(this.expenseClaim.expenseClaimLines[0].category == this.registrationCategory)\r\n {\r\n this.regoRenewalType = true;\r\n }\r\n if(this.expenseClaim.expenseClaimLines[0].category == this.insuranceCategory)\r\n { \r\n this.insuranceRenewalType = true;\r\n }\r\n }\r\n\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType){\r\n if(this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.registrationCategory).length > 0){\r\n this.regoRenewalType = true;\r\n }\r\n\r\n if(this.expenseClaim.expenseClaimLines.filter(obj => obj.category == this.insuranceCategory).length > 0){\r\n this.insuranceRenewalType = true;\r\n }\r\n }\r\n\r\n this.loadVehicleRenewalDates(this.expenseClaim.vehicleId);\r\n }else{\r\n this.onExpenseClaimAction();\r\n }\r\n }\r\n\r\n submitExpenseClaim(){\r\n return new Promise((resolve,reject) => {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n\r\n this.calculateTotalAmounts();\r\n this.expenseClaim.incurredDate = this.expenseClaim.expenseClaimLines[0].incurredDate;\r\n // Reimbuersements use first exp line category as expense claim category & keep exp lines as it is. But bills have only expense claim. no lines.\r\n this.expenseClaim.category = this.expenseClaim.expenseClaimLines[0].category;\r\n this.expenseClaim.gstInclusiveAmount = this.expenseClaimsTotal;\r\n this.expenseClaim.gstAmount = this.expenseClaimGSTTotal;\r\n\r\n \r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType) {\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n element.documentList = this.$store.getters.getDocumentsByIndex(element.index);\r\n element.notesList = this.$store.getters.getNotesByIndex(element.index);\r\n });\r\n }\r\n\r\n if (this.expenseClaim.type == this.expenseClaimBillType)\r\n {\r\n this.expenseClaim.bankAccount = this.expenseClaim.paymentMethodType == this.eftPaymentMethod ? this.bankAccount : null;\r\n this.expenseClaim.bPayAccount = this.expenseClaim.paymentMethodType == this.bpayPaymentMethod ? this.bPayAccount : null;\r\n this.expenseClaim.description = this.expenseClaim.expenseClaimLines[0].description;\r\n\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n this.expenseClaim.documentList = this.$store.getters.getDocumentsByIndex(element.index);\r\n this.expenseClaim.notesList = this.$store.getters.getNotesByIndex(element.index);\r\n\r\n if(element.category == this.ctpiCategory || element.category == this.registrationCategory){\r\n this.expenseClaim.ctpiProvider = element.ctpiProvider;\r\n this.expenseClaim.period = element.period;\r\n }\r\n\r\n this.expenseClaim.vehicleInsurance = element.vehicleInsurance;\r\n });\r\n\r\n this.expenseClaim.expenseClaimLines = [];\r\n }\r\n\r\n var submitExpenseClaim = Object.assign({}, this.expenseClaim);\r\n if(this.expenseClaim.type == this.expenseClaimReImbursementType)\r\n {\r\n submitExpenseClaim.incurredDate = this.todayDateUTC;\r\n submitExpenseClaim.gstInclusiveAmount = this.expenseClaimsTotal;\r\n submitExpenseClaim.gstAmount = this.expenseClaimGSTTotal;\r\n }\r\n\r\n if(submitExpenseClaim.category != this.ctpiCategory && submitExpenseClaim.category != this.registrationCategory && submitExpenseClaim.category != this.insuranceCategory){\r\n submitExpenseClaim.ctpiProvider = \"\";\r\n submitExpenseClaim.period = 0;\r\n }\r\n\r\n this.$store.dispatch('uploadDocuments').then(response => {\r\n apiService.sendPutRequest('ExpenseClaim','ExpenseClaim', submitExpenseClaim).then(\r\n response => { \r\n if(response.data.isSuccess)\r\n {\r\n this.onShowGrowlNotification('success',response.data.message);\r\n this.expenseClaim.status = ExpenseClaimStatuses.PendingApproval;\r\n this.expenseClaim.isReadOnly = this.isDocumentsAndNotesReadOnly = true;\r\n resolve();\r\n }\r\n else\r\n {\r\n this.onShowGrowlNotification('error',response.data.message);\r\n reject();\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }).catch(error => {\r\n console.log(error); // to find error in uploading documents from email app\r\n this.onShowGrowlNotification('error','Error uploading documents.');\r\n reject();\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }); \r\n }\r\n\r\n routerNavigateBack()\r\n {\r\n if(dirtyValidatorService.isModelDirty(this.dirtyValidationRefNo))\r\n {\r\n this.backNavigationConfirmation = true;\r\n }\r\n else\r\n {\r\n this.onOkayToGoBack();\r\n } \r\n }\r\n\r\n onOkayToGoBack()\r\n {\r\n this.backNavigationConfirmation = false;\r\n this.$router.push({name:'Dashboard'});\r\n }\r\n\r\n onVehicleNameClick()\r\n {\r\n let routeData = this.$router.resolve({name:'Edit Vehicle', params:{ vehicleID: this.expenseClaim.vehicleId.toString(),topRouteDisplayName:'vehicles', routerDisplayName:'details'}});\r\n window.open(routeData.href, '_blank');\r\n }\r\n\r\n onChangeVehicle(){\r\n this.$v.expenseClaim.vehicleId.$touch();\r\n this.expenseClaim.novationId = 0;\r\n this.expenseClaim.incurredDate = null;\r\n this.vehicleNovationList = [];\r\n this.$v.expenseClaim.incurredDate.$reset();\r\n this.loadClaimCategoryList(this.expenseClaim.vehicleId);\r\n this.loadLatestVehicleNovations(this.expenseClaim.vehicleId);\r\n if (!this.isClient) {\r\n this.loadClaimNote(this.expenseClaim.vehicleId);\r\n }\r\n }\r\n\r\n loadLatestVehicleNovations(vehicleId){\r\n this.loadGroupedNovations(vehicleId, true);\r\n }\r\n\r\n loadClaimCategoryList(vehicleId: number) {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Vehicle','EnabledExpenseClaimCategories',{vehicleId: vehicleId}).then(response => {\r\n if(this.isSupplier){\r\n this.expenseClaimCategoryList = response.data.filter(obj => obj.value == ExpenseCategories.Washing || obj.value == ExpenseCategories.TyresAndService || obj.value == ExpenseCategories.Repairs || obj.value == ExpenseCategories.Other);\r\n this.expenseClaimLinesCategoryList = this.expenseClaimCategoryList.slice();\r\n } else {\r\n this.expenseClaimCategoryList = response.data;\r\n this.expenseClaimLinesCategoryList = this.expenseClaimCategoryList.slice();\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n loadGroupedNovations(vehicleId : number, isLatest : boolean){\r\n this.vehicleNovationList = [];\r\n return new Promise((resolve, reject)=>{\r\n var params = { vehicleId: vehicleId, onlyActiveNovations: true, getLatestNovations: isLatest };\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Novation','NovationsGroupedByLease',params).then(response => {\r\n if(response.data){\r\n this.groupedNovationList = response.data;\r\n if(this.groupedNovationList.length > 0){\r\n this.groupedNovationList.forEach(groupList => {\r\n if (groupList.options != null && groupList.options.length > 0){\r\n this.vehicleNovationList.push(...groupList.options);\r\n }\r\n });\r\n resolve(this.vehicleNovationList);\r\n }\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n })\r\n }\r\n\r\n loadClaimNote(vehicleId: number) {\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Vehicle', 'ClaimNote', { vehicleId: vehicleId }).then(response => {\r\n this.claimNote = response.data;\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }).catch((error) => {\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n\r\n onChangeVehicleNovation(){\r\n this.expenseClaim.incurredDate = null;\r\n this.$v.expenseClaim.incurredDate.$reset();\r\n\r\n lookupService.GetRelatedEntityLedgerBalance(this.expenseClaim.novationId).then(data =>\r\n { \r\n this.relatedEntityLedgerBalance = data.inclusiveBalance; \r\n }); \r\n }\r\n\r\n get isInvalidDocument() {\r\n if(this.expenseClaim.type == ExpenseClaimTypes.Bill){\r\n return ((this.$refs.dragDropControl as DragAndDropControl).getDocumentCount() <= 0)\r\n } \r\n if(this.expenseClaim.type == ExpenseClaimTypes.Reimbursement && this.expenseClaim.vehicleInsurance){\r\n return ((this.$refs.dragDropControl as DragAndDropControl).getDocumentCount() <= 0)\r\n } \r\n else {\r\n if(this.expenseClaim.id == 0 && this.expenseClaim.expenseClaimLines.length > 0){\r\n var isDocumentAvailable = true;\r\n this.expenseClaim.expenseClaimLines.forEach(element => {\r\n var documentList = this.$store.getters.getDocumentsByIndex(element.index);\r\n if(documentList.length == 0 || documentList == null || documentList == undefined){\r\n isDocumentAvailable = false;\r\n }\r\n });\r\n return !isDocumentAvailable;\r\n }\r\n return true;\r\n }\r\n \r\n }\r\n\r\n onShowGrowlNotification(messageType:string, messageTitle:string){\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: messageTitle,\r\n type: messageType,\r\n duration: 5000\r\n });\r\n } \r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitExpenseClaim.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./submitExpenseClaim.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./submitExpenseClaim.vue?vue&type=template&id=52b0ebb7&scoped=true\"\nimport script from \"./submitExpenseClaim.vue?vue&type=script&lang=ts\"\nexport * from \"./submitExpenseClaim.vue?vue&type=script&lang=ts\"\nimport style0 from \"./submitExpenseClaim.vue?vue&type=style&index=0&id=52b0ebb7&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"52b0ebb7\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-row',{staticClass:\"mt-3\"},[_c('b-col',{attrs:{\"xs\":\"12\",\"lg\":\"12\"}},[_c('div',{staticClass:\"page-title primary-text\"},[_c('strong',[_vm._v(\"Novations Exceeding Four FBT Years\")])])])],1),_c('b-row',{staticClass:\"top-button-row\"},[_c('b-col',{staticClass:\"pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('FilterTextInput',{ref:\"filterTextInput\",attrs:{\"autofocus\":true},on:{\"onOkayToFilter\":_vm.filterGrid}})],1),_c('b-col',{staticClass:\"pb-2 pl-0 filter-input\",attrs:{\"sm\":\"8\",\"md\":\"4\",\"lg\":\"2\"}},[_c('b-form-group',{staticClass:\"textInput\",attrs:{\"label-for\":\"selectFBTyears\"}},[_c('b-form-select',{staticClass:\"textInput selectListHeight\",attrs:{\"id\":\"selectFBTyears\",\"plain\":true,\"options\":_vm.fbtYearsList},on:{\"change\":function($event){return _vm.onSelectedFBTYearsChanged()}},model:{value:(_vm.tableFilterParams.SelectedNumberOfFBTYears),callback:function ($$v) {_vm.$set(_vm.tableFilterParams, \"SelectedNumberOfFBTYears\", $$v)},expression:\"tableFilterParams.SelectedNumberOfFBTYears\"}})],1)],1),_c('b-col',{staticClass:\"pl-0\"},[_c('b-row',{staticClass:\"ml-1\"},[_c('b-button',{staticClass:\"mb-3 mr-3 pull-left status-filter-reset-button cursor-pointer\",attrs:{\"title\":'Reset All Filtrations',\"disabled\":_vm.resetButtonDisabled},on:{\"click\":function($event){return _vm.resetFilterParams()}}},[_c('i',{staticClass:\"fas fa-undo\",attrs:{\"aria-hidden\":\"true\"}})]),_c('b-dropdown',{staticClass:\"mb-3 ml-auto\",attrs:{\"id\":\"ddGenerateReport\",\"text\":\"Export As\",\"disabled\":!_vm.items.length}},[_c('b-dropdown-item',{on:{\"click\":_vm.onGenerateCSVReport}},[_vm._v(\"CSV\")])],1)],1)],1)],1),_c('div',[_c('DataTable',{ref:\"novationsExceedingFourFBTYearsTable\",attrs:{\"items\":_vm.items,\"fields\":_vm.fields,\"sortBy\":_vm.sortBy,\"sortDesc\":_vm.sortDesc,\"customTemplates\":_vm.customTemplateList,\"showEmptyBanner\":_vm.showEmptyBanner,\"emptyBanner\":\"No Novations to display.\"},on:{\"update:sortBy\":function($event){_vm.sortBy=$event},\"update:sort-by\":function($event){_vm.sortBy=$event},\"update:sortDesc\":function($event){_vm.sortDesc=$event},\"update:sort-desc\":function($event){_vm.sortDesc=$event},\"onSortingChanged\":_vm.onSortingChange}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:\"cursor-pointer action-btn\",attrs:{\"type\":\"button\",\"size\":\"md\",\"title\":\"Create New FBT Cost Base record\"},on:{\"click\":function($event){return _vm.onClickCreateNewFBTCostBaserecord()}}},[_c('i',{staticClass:\"fa fa-percent\",attrs:{\"aria-hidden\":\"true\"}})]),(_vm.showConfirmationModal)?_c('Modal',{attrs:{\"centered\":\"\",\"id\":\"DeleteMoterVehicleListConf\",\"maxWidth\":650},on:{\"ok\":function($event){return _vm.CreateNewFBTCostBaserecord()}}},[_c('div',{staticClass:\"modal-text font-weight-bold\",attrs:{\"slot\":\"modal-header\"},slot:\"modal-header\"},[_vm._v(\" Confirmation\")]),_c('div',{attrs:{\"slot\":\"modal-body\"},slot:\"modal-body\"},[_c('p',{staticClass:\"modal-text\"},[_vm._v(\"\\n Confirm to create a new FBT Cost Base period starting today, with the FBT Cost Base reduced by one-third. Continue?\\n \")])]),_c('div',{staticClass:\"w-100\",attrs:{\"slot\":\"modal-footer\"},slot:\"modal-footer\"},[_c('b-btn',{staticClass:\"float-right ml-2\",attrs:{\"size\":\"md\",\"variant\":\"secondary\",\"id\":\"DeleteMoterVehicleListConf_CancelButton\"},on:{\"click\":_vm.onCloseConfirmation}},[_vm._v(\"\\n Cancel\\n \")]),_c('b-btn',{staticClass:\"float-right primary\",attrs:{\"size\":\"md\",\"id\":\"DeleteMoterVehicleListConf_OkButton\"},on:{\"click\":function($event){return _vm.CreateNewFBTCostBaserecord()}}},[_vm._v(\"\\n Create New Record\\n \")])],1)]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { Component, Prop, Vue, Emit } from 'vue-property-decorator';\n import apiService from '@/shared/services/apiService';\n import Modal from '@/shared/components/modal/Modal.vue';\n import { DataTableActionTypes } from '@/shared/enums/dataTableActionTypes.enum';\nimport { ApexDateFormat } from '@/filters/dateFilter';\n \n @Component({\n components: {\n Modal\n }\n })\n export default class NovationsExceedingFourFBTYearsActionButtons extends Vue{\n @Prop() item:any;\n todayDate = new Date();\n showConfirmationModal = false;\n\n onClickCreateNewFBTCostBaserecord(){\n this.showConfirmationModal = true;\n }\n\n onCloseConfirmation(){\n this.showConfirmationModal = false;\n this.onAction(this.item, DataTableActionTypes.ResetActionButtton);\n }\n\n CreateNewFBTCostBaserecord(){\n var newAmount = (this.item.amount*(2/3)).toFixed(2);\n apiService.sendPutRequest('Novation','NovationFBTRecord',{amount: newAmount , novationId : this.item.novationId, startDate: this.todayDate, lastRecordId: this.item.id}).then(\n response => {\n if(response.data.isSuccess){\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'success',\n duration: 5000\n });\n }\n else{\n this.$notify({\n group: 'growlNotification',\n title: response.data.message,\n type: 'error',\n duration: 5000\n });\n }\n }\n );\n let route = this.$router.resolve({name:'Edit Novation',params:{novationID:this.item.novationId,topRouteDisplayName:'relatedentitytypes', routerDisplayName:\"details\"}});\n window.location.href = route.href;\n }\n\n @Emit('customEvent') onAction(_data: any, _type: DataTableActionTypes) {\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsExceedingFourFBTYearsActionButtons.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsExceedingFourFBTYearsActionButtons.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationsExceedingFourFBTYearsActionButtons.vue?vue&type=template&id=d607c300&scoped=true\"\nimport script from \"./NovationsExceedingFourFBTYearsActionButtons.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationsExceedingFourFBTYearsActionButtons.vue?vue&type=script&lang=ts\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d607c300\",\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport moment from 'moment';\r\nimport apiService from '@/shared/services/apiService';\r\nimport AppSettings from '@/app.config';\r\nimport { TableTemplate } from \"@/models/tableCustomTemplate.model\";\r\nimport { NovationsExceedingFourFBTYearsFilterParams } from '@/models/tableFilterParams.model';\r\nimport FilterTextInput from '@/shared/components/filterTextInput/FilterTextInput.vue';\r\nimport DataTable from '@/shared/components/dataTable/DataTable.vue';\r\nimport ApexCurrency from '@/shared/components/currency/ApexCurrency.vue';\r\nimport NovationsExceedingFourFBTYearsActionButtons from './NovationsExceedingFourFBTYearsActionButtons.vue';\r\nimport fileViewerService from '@/shared/services/fileViewerService';\r\nimport NavigateToNovationDetails from '@/components/shared/NavigateToNovationDetails.vue';\r\n\r\n@Component({\r\n components: {\r\n FilterTextInput,\r\n NovationsExceedingFourFBTYearsActionButtons,\r\n DataTable,\r\n NavigateToNovationDetails,\r\n ApexCurrency,\r\n }\r\n})\r\nexport default class NovationsExceedingFourFBTYears extends Vue {\r\n perPage: number = AppSettings.reducedLedgerGridSize;\r\n items: any[] = [];\r\n sortDesc: boolean = false;\r\n sortBy: string = 'dueDate';\r\n fbtYearsList: number[] = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\r\n showEmptyBanner: boolean = false;\r\n resetButtonDisabled: boolean = true;\r\n\r\n tableFilterParams: NovationsExceedingFourFBTYearsFilterParams = {\r\n FromIndex: 0,\r\n Count: 10,\r\n SortBy: 'startDate',\r\n SortDesc: true,\r\n Status: 0,\r\n RelatedId: 0,\r\n SearchByString: '',\r\n SelectedNumberOfFBTYears: 4\r\n };\r\n\r\n fields = [\r\n { key: 'actions', label: '', class: 'text-center width_5' },\r\n { key: 'clientName', class: 'width_20', label: 'Client Name' },\r\n { key: 'vehicle', class: 'width_20', label: 'Vehicle' },\r\n { key: 'novationPeriod', class: 'width_20', label: 'Novation Period' },\r\n { key: 'startDate', label: 'FBT Start Date', class: 'width_15',\r\n formatter: (value, key, item) => {\r\n return this.getStartDate(item.startDate);\r\n }\r\n },\r\n { key: 'amount', class: 'width_10', label: 'FBT Cost Amount' },\r\n { key: 'rightActions', label:\"Reduce FBT\", class: 'width_10 text-center', isAction: true }\r\n ];\r\n\r\n customTemplateList: Array = \r\n [\r\n { slot: 'actions', customTemplate: NavigateToNovationDetails },\r\n { slot: 'amount', customTemplate: ApexCurrency },\r\n { slot: 'rightActions', customTemplate: NovationsExceedingFourFBTYearsActionButtons }\r\n ];\r\n\r\n created() {\r\n this.refreshGrid();\r\n }\r\n\r\n refreshGrid() {\r\n this.showEmptyBanner = false;\r\n this.$store.dispatch('storeIsBusyValue', true);\r\n\r\n apiService.sendGetRequest('Novation', 'ViewNovationFBTRecord', this.tableFilterParams)\r\n .then((response) => {\r\n this.items = response.data;\r\n this.showEmptyBanner = this.items.length === 0;\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n })\r\n .catch(() => {\r\n this.$store.dispatch('storeIsBusyValue', false);\r\n });\r\n }\r\n\r\n onSelectedFBTYearsChanged() {\r\n this.resetTable();\r\n this.resetButtonDisabled = false;\r\n }\r\n\r\n filterGrid(filterString: string) {\r\n this.tableFilterParams.SearchByString = filterString;\r\n this.resetButtonDisabled = !filterString;\r\n this.resetTable();\r\n }\r\n\r\n resetFilterParams() {\r\n this.tableFilterParams.SearchByString = '';\r\n this.tableFilterParams.SelectedNumberOfFBTYears = 4;\r\n this.resetButtonDisabled = true;\r\n (this.$refs.filterTextInput as FilterTextInput).resetFilterString();\r\n this.resetTable();\r\n }\r\n\r\n resetTable() {\r\n this.tableFilterParams.FromIndex = 0;\r\n this.refreshGrid();\r\n }\r\n\r\n onSortingChange(ctx: any) {\r\n this.sortBy = ctx.sortBy;\r\n this.sortDesc = ctx.sortDesc;\r\n this.resetTable();\r\n }\r\n\r\n onGenerateCSVReport(){\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Novation', 'GetNovationsExceedingFourFBTYearsReport', this.tableFilterParams).then(\r\n response => {\r\n if(response.data.isSuccess)\r\n {\r\n fileViewerService.DownloadDocument(response.data.reportContentString,response.data.reportName,\".csv\",true);\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: 'Report downloaded successfully.',\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n else{\r\n this.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n }\r\n );\r\n }\r\n\r\n getStartDate(startDate: any) {\r\n if (!startDate) {\r\n return '';\r\n }\r\n return moment(startDate).format('DD MMM YYYY');\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsExceedingFourFBTYears.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationsExceedingFourFBTYears.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./NovationsExceedingFourFBTYears.vue?vue&type=template&id=6cf01d3d&scoped=true\"\nimport script from \"./NovationsExceedingFourFBTYears.vue?vue&type=script&lang=ts\"\nexport * from \"./NovationsExceedingFourFBTYears.vue?vue&type=script&lang=ts\"\nimport style0 from \"./NovationsExceedingFourFBTYears.vue?vue&type=style&index=0&id=6cf01d3d&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6cf01d3d\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue';\r\nimport Router from 'vue-router';\r\nimport store from '@/store/store'; \r\nimport Dashboard from '@/components/admin/Dashboard.vue';\r\nimport UserDetails from '@/components/admin/userManagement/UserDetails.vue';\r\nimport ClientsList from '@/components/admin/clientManagement/ClientsList.vue';\r\nimport ClientDetails from '@/components/admin/clientManagement/ClientDetails.vue';\r\nimport DefaultContainer from '@/components/containers/DefaultContainer.vue';\r\nimport AuthContainer from '@/components/containers/AuthContainer.vue';\r\nimport Login from '@/components/auth/Login.vue';\r\nimport Register from '@/components/auth/Register.vue';\r\nimport SetPassword from '@/components/auth/SetPassword.vue';\r\nimport Page404 from '@/components/errorPages/Page404.vue';\r\nimport Page500 from '@/components/errorPages/Page500.vue';\r\nimport Page403 from '@/components/errorPages/Page403.vue';\r\nimport ServerNotFound from '@/components/errorPages/ServerNotFound.vue';\r\nimport ServerError from '@/components/errorPages/ServerError.vue';\r\nimport BrowserIncompatiblePage from '@/components/errorPages/BrowserIncompatiblePage.vue';\r\nimport UserList from '@/components/admin/userManagement/UserList.vue';\r\nimport ForgotPassword from '@/components/auth/ForgotPassword.vue';\r\nimport ResetPassword from '@/components/auth/ResetPassword.vue';\r\nimport ChangeEmail from '@/components/auth/ChangeEmail.vue';\r\nimport ManageTheme from '@/components/admin/settings/Theme.vue';\r\nimport UploadReportTemplate from '@/components/admin/TemplatedReport/UploadReportTemplate.vue';\r\nimport MotorVehicleDetails from '@/components/admin/motorVehicleManagement/MotorVehicleDetails.vue';\r\nimport EmployerList from '@/components/admin/employerManagement/EmployerList.vue';\r\nimport EmployerDetails from '@/components/admin/employerManagement/EmployerDetails.vue';\r\nimport CompanyDetails from '@/components/admin/companyDetails/CompanyDetails.vue';\r\nimport FinanceApplicationWizard from '@/components/admin/applicationManagement/financeApplicationManagement/FinanceApplicationWizard.vue';\r\nimport ClientFinanceApplicationWizard from '@/components/admin/applicationManagement/clientFinanceApplicationManagement/ClientFinanceApplicationWizard.vue';\r\nimport BankRecAndUploadBankFile from '@/components/admin/bankReconciliation/BankRecAndUploadBankFile.vue';\r\nimport FinancierList from '@/components/admin/financierManagement/FinancierList.vue';\r\nimport FinancierDetails from '@/components/admin/financierManagement/FinancierDetails.vue';\r\nimport SupplierList from '@/components/admin/supplierManagement/SupplierList.vue';\r\nimport SupplierDetails from '@/components/admin/supplierManagement/SupplierDetails.vue';\r\nimport VehicleLeaseDetails from '@/components/admin/vehicleLeaseManagement/VehicleLeaseDetails.vue';\r\nimport NovationDetails from '@/components/admin/novationManagement/NovationDetails.vue';\r\nimport ClientNovationDetails from '@/components/client/novation/NovationDetails.vue';\r\nimport ScheduleList from '@/components/admin/schedules/ScheduleList.vue';\r\nimport AddEditSchedule from '@/components/admin/schedules/AddEditSchedule.vue';\r\nimport EFTDetails from '@/components/admin/EFTManagement/EFTDetails.vue'\r\nimport PayMoney from '@/components/admin/paymentManagement/PayMoney.vue'\r\nimport MyProfile from '@/components/admin/profile/MyProfile.vue'\r\nimport SubmitApproveExpenseClaim from '@/components/admin/expenseClaims/submitApproveExpenseClaim.vue';\r\nimport ReviewExpenseClaims from '@/components/admin/expenseClaims/reviewExpenseClaims.vue';\r\nimport FinanceApplicationDetails from '@/components/admin/applications/financeApplication/ApplicationDetails.vue'\r\nimport ClientFinanceApplicationDetails from '@/components/admin/applications/clientFinanceApplication/ApplicationDetails.vue'\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport MainVehicleUI from '@/components/client/vehicle/MainVehicleUI.vue';\r\nimport FBTPeriodList from '@/components/admin/FBTPeriod/FBTPeriodList.vue';\r\nimport AddEditFBTPeriod from '@/components/admin/FBTPeriod/AddEditFBTPeriod.vue';\r\nimport SystemValues from '@/components/admin/settings/SystemValues.vue';\r\nimport TenantList from '@/components/admin/tenantManagement/TenantList.vue';\r\nimport ActivityStatementDetails from '@/components/admin/activityStatment/ActivityStatmentDetails.vue';\r\nimport VehicleLeasePaymentSchedule from '@/components/client/vehicle/VehicleLeasePaymentSchedule.vue';\r\nimport NovationUIReport from '@/components/client/novation/NovationUIReport.vue';\r\nimport RCTIInvoiceList from '@/components/admin/RCTIInvoice/RCTIInvoiceList.vue';\r\nimport RCTIInvoiceLineList from '@/components/admin/RCTIInvoice/RCTIInvoiceLineList.vue';\r\nimport LedgerBalance from '@/components/admin/ledgerBalance/LedgerBalance.vue';\r\nimport UnAllocatedTransactionList from '@/components/admin/finance/UnAllocatedTransactionList.vue';\r\nimport EntitiesWithoutInvoices from '@/components/admin/novationManagement/EntitiesWithoutInvoices.vue';\r\nimport EntitiesWithoutServiceAgreement from '@/components/admin/novationManagement/EntitiesWithoutServiceAgreement.vue';\r\nimport EntitiesWithOutstandingBalance from '@/components/admin/finance/EntitiesWithOutstandingBalance.vue';\r\nimport EntitiesWithoutAdminFee from '@/components/admin/novationManagement/EntitiesWithoutAdminFee.vue';\r\nimport SupplierLocator from '@/components/client/supplierLocator/SupplierLocator.vue';\r\nimport ResidualDueReport from '@/components/admin/vehicleLeaseManagement/ResidualDueReport.vue';\r\nimport FinancierRemittanceAdvice from '@/components/admin/financierManagement/FinancierRemittanceAdvice.vue';\r\nimport VehicleInsuranceSchedule from '@/components/client/vehicle/VehicleInsuranceSchedule.vue';\r\nimport SetupAuthenticatorApp from '@/components/auth/SetupAuthenticatorApp.vue';\r\nimport SubmitExpenseClaim from '@/components/admin/expenseClaims/submitExpenseClaim.vue'\r\nimport NovationsExceedingFourFBTYears from '@/components/admin/novationManagement/NovationsExceedingFourFBTYears.vue';\r\n\r\nconst originalPush = Router.prototype.push;\r\nRouter.prototype.push = function push(location) {\r\n return originalPush.call(this, location).catch(err => {\r\n if (err.name !== 'NavigationDuplicated') throw err\r\n });\r\n}\r\n\r\nconst ifAuthenticated = (to:any, from:any, next:any) => {\r\n if(to.meta.AllowAllAuthRoles && store.getters.isAuthenticated)\r\n {\r\n next();\r\n return;\r\n }\r\n else if (store.getters.isAuthorized(to.meta.AuthRoles)) {\r\n next();\r\n return;\r\n }\r\n next('/auth/login');\r\n}\r\n\r\nconst ifAuthenticatedOnLogin = (to:any, from:any, next:any) => {\r\n if (store.getters.isAuthenticated) {\r\n next('/dashboard');\r\n return;\r\n }\r\n next();\r\n}\r\n\r\nVue.use(Router)\r\n\r\nexport default new Router({\r\n mode: 'history',\r\n linkActiveClass: 'open active',\r\n routes: [\r\n {\r\n path: '/',\r\n redirect:'/dashboard',\r\n name: 'Home',\r\n component: DefaultContainer,\r\n children: [\r\n {\r\n path: 'dashboard',\r\n name: 'Dashboard',\r\n component: Dashboard,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AllowAllAuthRoles : true}\r\n },\r\n {\r\n path: 'users',\r\n name: 'Users',\r\n component: UserList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'users/addUser/:id/:routerDisplayName',\r\n name: 'Add User',\r\n component: UserDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'users/editUser/:id/:routerDisplayName',\r\n name: 'Edit User',\r\n component: UserDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'tenants',\r\n name: 'Tenants',\r\n component: TenantList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'clients',\r\n name: 'Clients',\r\n component: ClientsList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'clients/addClient/:id/:routerDisplayName',\r\n name: 'Add Client',\r\n component: ClientDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'clients/editClient/:id/:topRouteDisplayName/:routerDisplayName?',\r\n name: 'Edit Client',\r\n component: ClientDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'clients/:clientID/addVehicle/:topRouteDisplayName/:routerDisplayName?',\r\n name: 'Add Vehicle',\r\n component: MotorVehicleDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'profile/:routerDisplayName',\r\n name: 'My Profile',\r\n component: MyProfile,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser, UserRoles.Client, UserRoles.Supplier]}\r\n },\r\n {\r\n path: 'vehicle/:vehicleID/:topRouteDisplayName/:routerDisplayName?',\r\n name: 'Edit Vehicle',\r\n component: MotorVehicleDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'supplierLocator',\r\n name: 'Supplier Locator',\r\n component: SupplierLocator,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.Client]}\r\n },\r\n {\r\n path: 'client/vehicle/:vehicleID',\r\n name: 'Main Vehicle UI',\r\n component: MainVehicleUI,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.Client]}\r\n },\r\n {\r\n path:'client/vehicle/:vehicleID/lease/:leaseID',\r\n name: 'Client Lease Schedule',\r\n component: VehicleLeasePaymentSchedule,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.Client]}\r\n },\r\n {\r\n path:'client/vehicle/:vehicleId/insuranceSchedule/:vehicleInsuranceId',\r\n name: 'Vehicle Insurance Schedule',\r\n component: VehicleInsuranceSchedule,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.Client, UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'client/vehicle/:vehicleID/novation/:novationID/:routerDisplayName?',\r\n name: 'Client Novation',\r\n component: ClientNovationDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.Client]}\r\n },\r\n {\r\n path: 'settings/theme',\r\n name: 'Themes',\r\n component: ManageTheme,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'settings/schedules',\r\n name: 'Schedules',\r\n component: ScheduleList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'settings/addSchdule',\r\n name: 'Add Schedule',\r\n component: AddEditSchedule,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'settings/editSchdule/:id',\r\n name: 'Edit Schedule',\r\n component: AddEditSchedule,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'settings/systemValues',\r\n name: 'System Values',\r\n component: SystemValues,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: '/settings/uploadReportTemplates',\r\n name: 'Upload Report Templates',\r\n component: UploadReportTemplate,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: '/settings/remittanceAdvice',\r\n name: 'Remittance Advice',\r\n component: FinancierRemittanceAdvice,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'employers',\r\n name: 'Employers',\r\n component: EmployerList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'employers/addEmployer/:routerDisplayName',\r\n name: 'Add Employer',\r\n component: EmployerDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'employers/editEmployer/:id/:routerDisplayName',\r\n name: 'Edit Employer',\r\n component: EmployerDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'companydetails/:routerDisplayName',\r\n name: 'Company Details',\r\n component: CompanyDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'financeApplication/:clientId/:id/:routerDisplayName',\r\n name: 'Edit Finance Application',\r\n component: FinanceApplicationWizard,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'applications/financeApplication/:routerDisplayName',\r\n name: 'Finance Application',\r\n component: FinanceApplicationDetails,\r\n beforeEnter: ifAuthenticated,\r\n props: true,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'applications/clientFinanceApplication/:routerDisplayName',\r\n name: 'Client Finance Application',\r\n component: ClientFinanceApplicationDetails,\r\n beforeEnter: ifAuthenticated,\r\n props: true,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'clientFinanceApplication/:clientId/:id/:routerDisplayName',\r\n name: 'Edit Client Finance Application',\r\n component: ClientFinanceApplicationWizard,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.Client, UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'financiers',\r\n name: 'Financiers',\r\n component: FinancierList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'financiers/addFinancier/:routerDisplayName',\r\n name: 'Add Financier',\r\n component: FinancierDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'financiers/editFinancier/:id/:routerDisplayName',\r\n name: 'Edit Financier',\r\n component: FinancierDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'suppliers',\r\n name: 'Suppliers',\r\n component: SupplierList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'suppliers/addSupplier/:routerDisplayName',\r\n name: 'Add Supplier',\r\n component: SupplierDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'suppliers/editSupplier/:id/:routerDisplayName',\r\n name: 'Edit Supplier',\r\n component: SupplierDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'vehicleLease/:leaseID/:topRouteDisplayName/:routerDisplayName?',\r\n name: 'Edit Lease',\r\n component: VehicleLeaseDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'vehicleLease/addLease/:vehicleID/:topRouteDisplayName/:routerDisplayName?',\r\n name: 'Add Lease',\r\n component: VehicleLeaseDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'novation/addNovation/:leaseID/:topRouteDisplayName/:routerDisplayName?',\r\n name: 'Add Novation',\r\n component: NovationDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'novation/:novationID/:topRouteDisplayName/:routerDisplayName?',\r\n name: 'Edit Novation',\r\n component: NovationDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'eftDetails/:routerDisplayName',\r\n name:'EFT Details',\r\n component: EFTDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'bankRecAndBankFile/:routerDisplayName',\r\n name:'Bank Rec and Upload Bank File',\r\n component: BankRecAndUploadBankFile,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'payMoney',\r\n name:'Pay Money',\r\n component: PayMoney,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path: 'fbtRates',\r\n name: 'FBTRates',\r\n component: FBTPeriodList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'fbtRates/addFBTRate',\r\n name: 'Add FBT Rate',\r\n component: AddEditFBTPeriod,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path: 'fbtRates/editFBTRate/:id',\r\n name: 'Edit FBT Period',\r\n component: AddEditFBTPeriod,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.SystemAdmin]}\r\n },\r\n {\r\n path:'expenseClaims',\r\n name:'expense claims',\r\n component: {\r\n render (c) {return c('router-view')}\r\n },\r\n children : [\r\n {\r\n path:'submit/:type',\r\n name:'Submit Expense Claims',\r\n component: SubmitExpenseClaim,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AllowAllAuthRoles : true}\r\n },\r\n {\r\n path:'reviewExpenseClaims',\r\n name:'Review Expense Claims',\r\n component: ReviewExpenseClaims,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:':id',\r\n name:'View Expense Claim',\r\n component: SubmitApproveExpenseClaim,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AllowAllAuthRoles : true}\r\n }\r\n ]\r\n },\r\n {\r\n path:'reports',\r\n name:'reports',\r\n component: {\r\n render (c) {return c('router-view')}\r\n },\r\n children: [\r\n {\r\n path:'activityStatement/:routerDisplayName',\r\n name:'Activity Statement',\r\n component: ActivityStatementDetails,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'RCTIInvoices',\r\n name:'RCTI Invoice',\r\n component: RCTIInvoiceList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'RCTIInvoices/:invoiceID/transactions',\r\n name:'RCTI Invoice Lines',\r\n component: RCTIInvoiceLineList,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'ledgerbalance',\r\n name:'Ledger Balance',\r\n component: LedgerBalance,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'unallocatedTransactions',\r\n name:'UnAllocated Transactions',\r\n component: UnAllocatedTransactionList,\r\n beforeEnter:ifAuthenticated,\r\n meta: {AuthRoles: [UserRoles.TenantAdmin, UserRoles.StandardUser]} \r\n }, \r\n {\r\n path:'entitiesWithoutInvoices',\r\n name:'Entities without Invoices',\r\n component: EntitiesWithoutInvoices,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'entitiesWithOutstandingBalance',\r\n name:'Entities with Outstanding Balance',\r\n component: EntitiesWithOutstandingBalance,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'entitiesWithoutServiceAgreement',\r\n name:'Entities without Service Agreement',\r\n component: EntitiesWithoutServiceAgreement,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'entitiesWithoutAdminFee',\r\n name:'Entities without Admin Fee',\r\n component: EntitiesWithoutAdminFee,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'residualDue',\r\n name:'Residual Due',\r\n component: ResidualDueReport,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n {\r\n path:'novationsExceedingFourFBTYears',\r\n name:'Novations Exceeding Four FBT Years',\r\n component: NovationsExceedingFourFBTYears,\r\n beforeEnter: ifAuthenticated,\r\n meta: {AuthRoles : [UserRoles.TenantAdmin, UserRoles.StandardUser]}\r\n },\r\n ]\r\n },\r\n ]\r\n },\r\n {\r\n path: '/error',\r\n redirect: '/error/404',\r\n name: 'Errors',\r\n component: {\r\n render (c) { return c('router-view') }\r\n },\r\n children: [\r\n {\r\n path: '404',\r\n name: 'Page404',\r\n component: Page404\r\n },\r\n {\r\n path: '500',\r\n name: 'Page500',\r\n component: Page500\r\n },\r\n {\r\n path: '403',\r\n name: 'Page403',\r\n component: Page403\r\n },\r\n {\r\n path: 'serverNotFound',\r\n name: 'ServerNotFound',\r\n component: ServerNotFound\r\n },\r\n {\r\n path: 'serverError',\r\n name: 'ServerError',\r\n component: ServerError\r\n },\r\n {\r\n path: 'browserIncompatible',\r\n name: 'BrowserIncompatible',\r\n component: BrowserIncompatiblePage\r\n }\r\n ]\r\n },\r\n {\r\n path: '/auth',\r\n redirect: '/auth/login',\r\n name: 'Auth',\r\n component: AuthContainer,\r\n children: [\r\n {\r\n path:'login',\r\n name:'Login',\r\n component:Login,\r\n beforeEnter: ifAuthenticatedOnLogin\r\n },\r\n {\r\n path: 'register',\r\n name: 'Register',\r\n component: Register\r\n },\r\n {\r\n path:'setpassword/:tenantId/:userId',\r\n name: 'Reset Password',\r\n component:SetPassword\r\n },\r\n {\r\n path: 'resetpassword/:tenantId/:userId',\r\n name: 'ResetPassword',\r\n component: ResetPassword\r\n },\r\n {\r\n path: 'forgotpassword',\r\n name: 'ForgotPassword',\r\n component: ForgotPassword\r\n },\r\n {\r\n path: 'changeEmail/:email/:id',\r\n name: 'Change Email',\r\n component: ChangeEmail\r\n },\r\n {\r\n path: 'setupAuthenticator/:id',\r\n name: 'Setup Authenticator',\r\n component: SetupAuthenticatorApp,\r\n },\r\n ]\r\n },\r\n {\r\n path: '*',\r\n redirect: '/error/404'\r\n }\r\n ],\r\n});\r\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { RootState } from '../types';\r\nimport { FinanceApplication } from '@/models/financeApplication.model';\r\nimport { FinanceApplicationStates } from '@/shared/enums/financeApplicationStates.enum';\r\nimport apiService from '@/shared/services/apiService'\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\nimport Vue from 'vue';\r\nimport router from '@/router/router'\r\nimport fieldValidationService from '@/shared/services/fieldValidationService';\r\nimport { ClientApplicationTypes } from '@/shared/enums/applicationTypes.enum';\r\n\r\nconst state: FinanceApplication = {\r\n id:0,\r\n clientId:0,\r\n status:FinanceApplicationStates.InitialDetails,\r\n actionDate:\"\",\r\n brokerageReceivedDate:\"\",\r\n applicationName:\"\",\r\n assigneeId:0,\r\n okayToComplete:false,\r\n okayToCreateVehicleLeaseAndNovation:false,\r\n okayToCreateLeaseAndNovation:false,\r\n motorVehicleId:0,\r\n vehicleLeaseId:0,\r\n novationId:0,\r\n leaseCreatedDate: \"\",\r\n leaseCreatedByName: \"\",\r\n totalInvoiceAmount:0,\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n lastUpdateByName:\"\",\r\n createdDate:\"\",\r\n lastUpdatedDate:\"\",\r\n financierTypes:[],\r\n leaseTypes:[],\r\n generatedFrom: ClientApplicationTypes.Finance,\r\n clientFinanceApplicationARN:null,\r\n mandatoryFieldsFilled:false,\r\n applicationInfo:{\r\n isFinanceOnly:false\r\n },\r\n initialDetails: {\r\n assigneeId:0,\r\n receivedDate:\"\",\r\n submittedDate:\"\",\r\n financier:0,\r\n reference:\"\",\r\n totalFinancedAmount:\"\",\r\n approvedDate:\"\",\r\n saleType:0,\r\n },\r\n vehicleDetails:{\r\n id:0,\r\n mvrn:0,\r\n make:\"\",\r\n model:\"\",\r\n year:null,\r\n yearDateTime:\"\",\r\n plateNumber:\"\",\r\n vehicleIDNumber:\"\",\r\n engineNumber:\"\",\r\n regoRenewalDate:\"\",\r\n insuranceRenewalDate:\"\",\r\n clientid:0,\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n lastUpdateByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdatedDate:new Date(),\r\n isImageChanged:false,\r\n imageInfo:null,\r\n administrationFeeStartDate:\"\",\r\n administrationFeeEndDate:\"\",\r\n administrationFeeAmount:\"\",\r\n administrationFeeChargeFrequency:\"\",\r\n administrationFeeAmountWithFrequency:\"\",\r\n isAdministrationFeeAmountOverridden:false,\r\n status:0,\r\n variant:\"\",\r\n condition:null,\r\n bodyType:null,\r\n transmission:null,\r\n fuelType:null,\r\n colour:null,\r\n isCreatedByFinanceApplication: false,\r\n isImageUploadedByApplication:false,\r\n isPossibleToInactiveVehicle:\"\"\r\n },\r\n requestInvoice:{\r\n invoiceRequestedDate:\"\",\r\n invoiceReceivedDate:\"\"\r\n },\r\n reviseApplication:{\r\n updatedDate:\"\",\r\n generatedDate:\"\",\r\n signedDate:\"\"\r\n },\r\n leaseAndEmployment:{\r\n lease: {\r\n id:0,\r\n type:0,\r\n financier: 0,\r\n leaseBankAccountId: 0,\r\n leaseStartDate:\"\",\r\n leaseEndDate:\"\",\r\n secondPaymentDueDate:null,\r\n finalPaymentDueDate:null,\r\n leaseAmountPaidExternal:null,\r\n term:null,\r\n monthsDeferred:0,\r\n leasePaymentAmount:null,\r\n runningCost: \"\",\r\n residualAmount:null,\r\n residualDueDate:null,\r\n motorVehicleID: 0,\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n lastUpdateByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdatedDate:new Date(),\r\n mvLeaseFBTCostBase:\"\",\r\n mvLeaseEstAnnualKm:\"\",\r\n mvLeasePaymentDate:0,\r\n clientId:0,\r\n accountNumber:\"\",\r\n purchaseType:null,\r\n residualDueNotificationSent:false,\r\n hasScheduleCreated:false,\r\n ResidualDueDateDisplayText:\"\",\r\n ResidualAmountGstInclusive: false,\r\n LeasePaymentGstInclusive: false\r\n },\r\n novation: {\r\n id:0,\r\n rern:\"\",\r\n vehicleLeaseID:0,\r\n relatedID:0,\r\n emailInvoicesTo:\"\",\r\n startDate:\"\",\r\n endDate:\"\",\r\n leaseStartingODO:\"\",\r\n taxCalculationMethod:0,\r\n mvLeaseFBTCostBase:\"\",\r\n fbtMethod:null,\r\n subjectToFBT:null,\r\n concurrencyKey:\"\",\r\n odometerConcurrencyKey:\"\",\r\n createdByName:\"\",\r\n lastUpdateByName:\"\",\r\n createdDate:\"\",\r\n lastUpdatedDate:\"\",\r\n isActive:true,\r\n payCycle:0,\r\n relatedTable: null,\r\n isPayrollReportGenerated: false,\r\n isServiceAgreementDocumentAvailable: false,\r\n oldestFBTExStartDate: null,\r\n latestFBTExEndDate: null,\r\n IsUpdatePendingInvoiceEmailAddress: false,\r\n isFBTExemptionApply: null,\r\n novationDocumentsList:null,\r\n administrationFeeStartDate: \"\",\r\n administrationFeeEndDate: \"\",\r\n administrationFeeAmount:\"\",\r\n administrationFeeChargeFrequency:\"\",\r\n administrationFeeAmountWithFrequency:\"\",\r\n isAdministrationFeeAmountOverridden:false,\r\n }\r\n },\r\n signatureAndSubmission:{\r\n documentSubmittedDate:\"\",\r\n settlementDate:\"\"\r\n },\r\n initialDetailsValidations:\r\n {\r\n showAssigneeErrorMessage:false,\r\n showReceivedDateErrorMessage:false,\r\n showSubmittedDateErrorMessage:false,\r\n showFinancierErrorMessage:false,\r\n showReferenceErorMessage:false,\r\n showApprovedDateErorMessage:false,\r\n showSaleTypeErrorMessage:false,\r\n showTotalFinancedAmountErrorMessage:false\r\n },\r\n requestInvoiceValidations:\r\n {\r\n showInvoiceRequestedDateErrorMessage:false,\r\n showInvoiceReceivedDateErrorMessage:false,\r\n },\r\n reviseApplicationValidations:{\r\n showUpdatedDateErrorMessage:false,\r\n showGeneratedDateErrorMessage:false,\r\n showSignedDateErrorMessage:false\r\n },\r\n signatureAndSubmissionValidations:{\r\n showSettlementDateErrorMessage:false,\r\n showSubmittedDateErrorMessage:false\r\n },\r\n dirtyValidationRefNos : [0,0,0,0,0],\r\n applicationInfoDirtyValidationRefNo : 0,\r\n isLeaseAndEmploymentFilled : false\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n getFinanceApplicationID(state)\r\n {\r\n return state.id;\r\n },\r\n getFinanceApplicationInitialDetails(state)\r\n {\r\n return state.initialDetails;\r\n },\r\n getFinanceApplicationVehicleDetails(state)\r\n {\r\n return state.vehicleDetails;\r\n },\r\n getFinanceApplicationRequestInvoice(state)\r\n {\r\n return state.requestInvoice;\r\n },\r\n getFinanceApplicationReviseApplication(state)\r\n {\r\n return state.reviseApplication;\r\n },\r\n getFinanceApplicationInitialDetailsValidations(state)\r\n {\r\n return state.initialDetailsValidations;\r\n },\r\n getFinanceApplicationRequestInvoiceValidations(state)\r\n {\r\n return state.requestInvoiceValidations;\r\n },\r\n getFinanceApplicationReviseInvoiceValidations(state)\r\n {\r\n return state.reviseApplicationValidations;\r\n },\r\n getFinanceApplicationSignatureAndSubmission(state)\r\n {\r\n return state.signatureAndSubmission;\r\n },\r\n getFinanceApplicationSignatureAndSubmissionValidations(state){\r\n return state.signatureAndSubmissionValidations;\r\n },\r\n getFinanceApplicationLeaseAndEmployment(state)\r\n {\r\n return state.leaseAndEmployment;\r\n },\r\n getFinanceApplication(state)\r\n {\r\n return state;\r\n },\r\n getFinanceApplicationStatus(state)\r\n {\r\n return state.status;\r\n },\r\n getFinanceApplicationActionDate(state){\r\n return state.actionDate\r\n },\r\n getFinanceApplicationApplicationName(state){\r\n return state.applicationName;\r\n },\r\n getFinanceApplicationFinancier(state){\r\n return state.initialDetails.financier;\r\n },\r\n getFinanceApplicationFinancierTypes(state){\r\n return state.financierTypes;\r\n },\r\n getFinanceApplicationLeaseTypes(state){\r\n return state.leaseTypes;\r\n },\r\n getFinanceApplicationDirtyValidationRefNos(state){\r\n return state.dirtyValidationRefNos;\r\n },\r\n getFinanceApplicationInfoDirtyValidationRefNo(state){\r\n return state.applicationInfoDirtyValidationRefNo;\r\n },\r\n getFinanceApplicationReference(){\r\n return state.initialDetails.reference;\r\n },\r\n getFinanceApplicationFinancedAmount(){\r\n return state.initialDetails.totalFinancedAmount;\r\n },\r\n getFinanceApplicationIsLeaseCreated(){\r\n return state.vehicleLeaseId > 0;\r\n },\r\n getFinanceApplicationLeaseId(){\r\n return state.vehicleLeaseId;\r\n },\r\n getFinanceApplicationIsVehicleCreated(){\r\n return state.motorVehicleId > 0;\r\n },\r\n getFinanceApplicationIsVehicleExisted(){\r\n return state.vehicleDetails && state.vehicleDetails.id > 0;\r\n },\r\n getFinanceApplicationVehicleDetailsIsAnExistingVehicle(){\r\n return state.vehicleDetails.isCreatedByFinanceApplication;\r\n },\r\n getFinanceApplicationCreatedByName(){\r\n return state.createdByName;\r\n },\r\n getFinanceApplicationUpdatedByName(){\r\n return state.lastUpdateByName;\r\n },\r\n getFinanceApplicationCreatedDate(){\r\n return state.createdDate;\r\n },\r\n getFinanceApplicationLeaseCreatedByName(){\r\n return state.leaseCreatedByName;\r\n },\r\n getFinanceApplicationLeaseCreatedDate(){\r\n return state.leaseCreatedDate;\r\n },\r\n getFinanceApplicationUpdatedDate(){\r\n return state.lastUpdatedDate;\r\n },\r\n getFinanceApplicationBrokerageReceivedDate(){\r\n return state.brokerageReceivedDate;\r\n },\r\n getFinanceApplicationMandatoryFieldsFilled(){\r\n return state.mandatoryFieldsFilled;\r\n },\r\n getFinanceApplicationTotalInvoiceAmount(){\r\n return state.totalInvoiceAmount;\r\n },\r\n getFinanceApplicationLeaseAndEmploymentLeaseType(state){\r\n return state.leaseAndEmployment.lease.type;\r\n },\r\n getFinanceApplicationLeaseAndEmploymentNovationRelatedId(state){\r\n return state.leaseAndEmployment.novation.relatedID;\r\n },\r\n getFinanceApplicationInfo(state){\r\n return state.applicationInfo;\r\n },\r\n getFinanceApplicationIsFinanceOnly(state){\r\n return state.applicationInfo.isFinanceOnly;\r\n },\r\n getFinanceApplicationIsLeaseAndEmploymentFilled(state){\r\n return state.isLeaseAndEmploymentFilled;\r\n },\r\n getFinanceApplicationIsLeaseAndEmploymentValid(state){\r\n return state.leaseAndEmployment.lease.type > 0 && state.leaseAndEmployment.novation.relatedID > 0;\r\n },\r\n getFinanceApplicationARN(state){\r\n return state.clientFinanceApplicationARN;\r\n },\r\n getIsFinanceApplicationConvertedFromProspect(state){\r\n return state.generatedFrom == ClientApplicationTypes.Prospect;\r\n },\r\n getIsFinanceApplicationConvertedFromCFA(state){\r\n return state.generatedFrom == ClientApplicationTypes.ClientFinance;\r\n },\r\n getIsFinanceApplicationConvertedApplication(state){\r\n return (state.generatedFrom == ClientApplicationTypes.ClientFinance || state.generatedFrom == ClientApplicationTypes.Prospect);\r\n }\r\n}\r\n\r\nconst mutations:MutationTree = {\r\n\r\n setFinanceApplicationInitialDetails(state,initialDetails)\r\n {\r\n state.initialDetails = initialDetails;\r\n },\r\n setFinanceApplicationInitialDetailsValidations(state,validations)\r\n {\r\n state.initialDetailsValidations = validations;\r\n },\r\n setFinanceApplicationVehicleDetails(state,vehicleDetails)\r\n {\r\n state.vehicleDetails = vehicleDetails;\r\n },\r\n setFinanceApplicationRequestInvoice(state,requestInvoice)\r\n {\r\n state.requestInvoice = requestInvoice;\r\n },\r\n setFinanceApplicationRequestInvoiceValidations(state,validations)\r\n {\r\n state.requestInvoiceValidations = validations;\r\n },\r\n setFinanceApplicationReviseApplication(state,reviseApplication)\r\n {\r\n state.reviseApplication = reviseApplication;\r\n },\r\n setFinanceApplicationReviseApplicationValidations(state,validations)\r\n {\r\n state.reviseApplicationValidations = validations;\r\n },\r\n setFinanceApplicationSignatureAndSubmission(state,signatureAndSubmission)\r\n {\r\n state.signatureAndSubmission = signatureAndSubmission;\r\n },\r\n setFinanceApplicationSignatureAndSubmissionValidations(state,validations)\r\n {\r\n state.signatureAndSubmissionValidations = validations\r\n },\r\n setFinanceApplicationLeaseAndEmployment(state,leaseAndEmployment)\r\n {\r\n state.leaseAndEmployment = leaseAndEmployment;\r\n },\r\n setFinanceApplicationStatus(state,status)\r\n {\r\n state.status = status;\r\n },\r\n setFinanceApplicationActionDate(state,actionDate){\r\n state.actionDate = actionDate;\r\n },\r\n setFinanceApplication(state,application){\r\n state.id = application.id;\r\n state.clientId = application.clientId;\r\n state.assigneeId = application.assigneeId;\r\n state.brokerageReceivedDate = application.brokerageReceivedDate;\r\n state.concurrencyKey = application.concurrencyKey;\r\n state.status = application.status;\r\n state.applicationName = application.applicationName;\r\n state.applicationInfo = application.applicationInfo;\r\n state.initialDetails = application.initialDetails;\r\n state.vehicleDetails = application.vehicleDetails;\r\n state.leaseAndEmployment = application.leaseAndEmployment;\r\n state.requestInvoice = application.requestInvoice;\r\n state.reviseApplication = application.reviseApplication;\r\n state.signatureAndSubmission = application.signatureAndSubmission;\r\n state.vehicleLeaseId = application.vehicleLeaseId;\r\n state.motorVehicleId = application.motorVehicleId;\r\n state.novationId = application.novationId;\r\n state.leaseCreatedByName = application.leaseCreatedByName;\r\n state.leaseCreatedDate = application.leaseCreatedDate;\r\n state.createdByName = application.createdByName;\r\n state.lastUpdateByName = application.lastUpdateByName;\r\n state.createdDate = application.createdDate;\r\n state.lastUpdatedDate = application.lastUpdatedDate;\r\n state.mandatoryFieldsFilled = application.mandatoryFieldsFilled;\r\n state.clientFinanceApplicationARN = application.clientFinanceApplicationARN;\r\n state.generatedFrom = application.generatedFrom;\r\n },\r\n \r\n setFinanceApplicationApplicationName(state,applicationName)\r\n {\r\n state.applicationName = applicationName;\r\n },\r\n setFinanceApplicationApplicationAssignee(state,assigneeId)\r\n {\r\n state.assigneeId = assigneeId;\r\n },\r\n setFinanceApplicationState(state,initialState){\r\n state.id = initialState.id;\r\n state.clientId = initialState.clientId;\r\n state.assigneeId = initialState.assigneeId;\r\n state.concurrencyKey = initialState.concurrencyKey;\r\n state.status = initialState.status;\r\n state.brokerageReceivedDate = initialState.brokerageReceivedDate;\r\n state.applicationName = initialState.applicationName;\r\n state.okayToComplete = initialState.okayToComplete;\r\n state.clientFinanceApplicationARN = initialState.clientFinanceApplicationARN;\r\n state.generatedFrom = initialState.generatedFrom;\r\n state.applicationInfo = initialState.applicationInfo;\r\n state.initialDetails = initialState.initialDetails;\r\n state.vehicleDetails = initialState.vehicleDetails;\r\n state.leaseAndEmployment = initialState.leaseAndEmployment;\r\n state.requestInvoice = initialState.requestInvoice;\r\n state.reviseApplication = initialState.reviseApplication;\r\n state.signatureAndSubmission = initialState.signatureAndSubmission;\r\n state.initialDetailsValidations = initialState.initialDetailsValidations;\r\n state.requestInvoiceValidations = initialState.requestInvoiceValidations;\r\n state.signatureAndSubmissionValidations = initialState.signatureAndSubmissionValidations;\r\n state.vehicleLeaseId = initialState.vehicleLeaseId;\r\n state.motorVehicleId = initialState.motorVehicleId;\r\n state.novationId = initialState.novationId;\r\n state.createdByName = initialState.createdByName;\r\n state.lastUpdateByName = initialState.lastUpdateByName;\r\n state.createdDate = initialState.createdDate;\r\n state.lastUpdatedDate = initialState.lastUpdatedDate;\r\n },\r\n setFinanceApplicationClientId(state,clientId){\r\n state.clientId = clientId;\r\n },\r\n setFinanceApplicationFinancierTypes(state,financierTypes){\r\n state.financierTypes = financierTypes;\r\n },\r\n setFinanceApplicationLeaseTypes(state,leaseTypes){\r\n state.leaseTypes = leaseTypes;\r\n },\r\n setFinanceApplicationDirtyValidationRefNos(state,stepNoObj)\r\n {\r\n state.dirtyValidationRefNos[stepNoObj.index] = stepNoObj.dirtyValidationNo;\r\n },\r\n setFinanceApplicationInfoDirtyValidationRefNo(state,dirtyValidationNo)\r\n {\r\n state.applicationInfoDirtyValidationRefNo = dirtyValidationNo;\r\n },\r\n setFinanceApplicationId(state,id){\r\n state.id = id;\r\n },\r\n setFinanceApplicationConcurrencyKey(state,key){\r\n state.concurrencyKey = key;\r\n },\r\n\r\n setFinanceApplicationMotorVehicleID(state,id)\r\n {\r\n state.motorVehicleId = id\r\n },\r\n\r\n setFinanceApplicationLeaseCreatedData(state,data)\r\n {\r\n state.motorVehicleId = data.vehicleID;\r\n state.vehicleLeaseId = data.leaseID;\r\n state.novationId = data.novationID;\r\n state.leaseCreatedByName = data.leaseCreatedByName;\r\n state.leaseCreatedDate = data.leaseCreatedDate;\r\n },\r\n\r\n setFinanceApplicationAuditInfo(state,data){\r\n state.createdByName = data.createdByName;\r\n state.lastUpdateByName = data.lastUpdateByName;\r\n state.createdDate = data.createdDate;\r\n state.lastUpdatedDate = data.lastUpdatedDate;\r\n },\r\n setFinanceApplicationBrokerageReceivedDate(state, data){\r\n state.brokerageReceivedDate = data;\r\n },\r\n setFinanceApplicationMandatoryFieldsFilled(state, data){\r\n state.mandatoryFieldsFilled = data;\r\n },\r\n setFinanceApplicationTotalInvoiceAmount(state, data){\r\n state.totalInvoiceAmount = data;\r\n },\r\n setFinanceApplicationVehicleDetailsImageInfo(state,data){\r\n state.vehicleDetails.isImageChanged = false;\r\n state.vehicleDetails.imageInfo.id = data.vehicleImageId;\r\n state.vehicleDetails.imageInfo.concurrencyKey = data.vehicleImageConcurrencyKey;\r\n },\r\n setFinanceApplicationVehicleDetailsIsAnExistingVehicle(state, data){\r\n state.vehicleDetails.isCreatedByFinanceApplication = data;\r\n },\r\n setFinanceApplicationInfo(state, data){\r\n state.applicationInfo = data;\r\n },\r\n setFinanceApplicationIsLeaseAndEmploymentFilled(state, data){\r\n state.isLeaseAndEmploymentFilled = data;\r\n },\r\n}\r\n\r\nconst actions: ActionTree ={\r\n updateFinanceApplicationInitialDetails(context,initialDetails)\r\n {\r\n context.commit('setFinanceApplicationInitialDetails',initialDetails);\r\n },\r\n updateFinanceApplicationInitialDetailsValidations(context,validations)\r\n {\r\n context.commit('setFinanceApplicationInitialDetailsValidations',validations);\r\n },\r\n updateFinanceApplicationVehicleDetails(context,vehicleDetails)\r\n {\r\n context.commit('setFinanceApplicationVehicleDetails',vehicleDetails);\r\n },\r\n updateFinanceApplicationRequestInvoice(context,requestInvoice)\r\n {\r\n context.commit('setFinanceApplicationRequestInvoice',requestInvoice);\r\n },\r\n updateFinanceApplicationRequestInvoiceValidations(context,validations)\r\n {\r\n context.commit('setFinanceApplicationRequestInvoiceValidations',validations);\r\n },\r\n updateFinanceApplicationReviseApplication(context,reviseApplication)\r\n {\r\n context.commit('setFinanceApplicationReviseApplication',reviseApplication);\r\n },\r\n updateFinanceApplicationReviseApplicationValidations(context,validations)\r\n {\r\n context.commit('setFinanceApplicationReviseApplicationValidations',validations);\r\n },\r\n updateFinanceApplicationSignatureAndSubmission(context,signatureAndSubmission)\r\n {\r\n context.commit('setFinanceApplicationSignatureAndSubmission',signatureAndSubmission);\r\n },\r\n updateFinanceApplicationSignatureAndSubmissionValidations(context,validations)\r\n {\r\n context.commit('setFinanceApplicationSignatureAndSubmissionValidations',validations);\r\n },\r\n updateFinanceApplicationLeaseAndEmployment(context,leaseAndEmployment)\r\n {\r\n context.commit('setFinanceApplicationLeaseAndEmployment',leaseAndEmployment);\r\n },\r\n updateFinanceApplicationLeaseAndEmploymentValidations(context,validations)\r\n {\r\n context.commit('setFinanceApplicationLeaseAndEmploymentValidations',validations);\r\n },\r\n updateFinanceApplicationRequiresInvoiceValidations(context,validations)\r\n {\r\n context.commit('setFinanceApplicationRequiresInvoiceValidations',validations);\r\n },\r\n updateFinanceApplicationStatus(context,data){\r\n context.commit('setFinanceApplicationStatus',data);\r\n },\r\n updateFinanceApplicationActionDate(context,data){\r\n context.commit('setFinanceApplicationActionDate',data);\r\n },\r\n updateFinanceApplication(context,data){\r\n context.commit('setFinanceApplication',data);\r\n },\r\n updateFinanceApplicationApplicationName(context,applicationName)\r\n {\r\n context.commit('setFinanceApplicationApplicationName',applicationName);\r\n },\r\n updateFinanceApplicationApplicationAssignee(context,assigneeId)\r\n {\r\n context.commit('setFinanceApplicationApplicationAssignee',assigneeId);\r\n },\r\n resetFinanceApplicationToInitialState(context,data){\r\n context.commit('setFinanceApplicationState',data)\r\n },\r\n updateFinanceApplicationClientId(context,data){\r\n context.commit('setFinanceApplicationClientId',data);\r\n },\r\n updateFinanceApplicationTotalInvoiceAmount(context,data){\r\n context.commit('setFinanceApplicationTotalInvoiceAmount',data);\r\n },\r\n updateFinanceApplicationFinancierTypesList(context,data){\r\n context.commit('setFinanceApplicationFinancierTypes',data);\r\n },\r\n updateFinanceApplicationLeaseTypesList(context,data){\r\n context.commit('setFinanceApplicationLeaseTypes',data);\r\n },\r\n updateFinanceApplicationDirtyValidatorRefNos(context,data){\r\n context.commit('setFinanceApplicationDirtyValidationRefNos',data);\r\n },\r\n updateFinanceApplicationInfoDirtyValidatorRefNo(context,data){\r\n context.commit('setFinanceApplicationInfoDirtyValidationRefNo',data);\r\n },\r\n updateFinanceApplicationMandatoryFieldsFilled(context,data){\r\n context.commit('setFinanceApplicationMandatoryFieldsFilled',data);\r\n },\r\n updateFinanceApplicationVehicleDetailsIsAnExistingVehicle(context, data){ \r\n context.commit('setFinanceApplicationVehicleDetailsIsAnExistingVehicle', data);\r\n },\r\n saveFinanceApplication(context,data){\r\n context.commit('setIsBusyValue',true);\r\n if(context.state.id == 0){\r\n var params = {\r\n id:context.state.id,\r\n applicationName:context.state.applicationName,\r\n brokerageReceivedDate:context.state.brokerageReceivedDate,\r\n assigneeId:context.state.assigneeId,\r\n clientId:data.clientId,\r\n status:context.state.status,\r\n generatedFrom: ClientApplicationTypes.Finance,\r\n applicationInfo:context.state.applicationInfo,\r\n initialDetails:context.state.initialDetails,\r\n vehicleDetails:context.state.vehicleDetails,\r\n requestInvoice:context.state.requestInvoice,\r\n reviseApplication:context.state.reviseApplication,\r\n signatureAndSubmission:context.state.signatureAndSubmission,\r\n leaseAndEmployment:context.state.leaseAndEmployment\r\n }\r\n apiService.sendPutRequest('Application','FinanceApplication',params).then(response=>{\r\n if(response.data.isSuccess)\r\n {\r\n if(data.isSaveMode){\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n router.push({name:'Edit Finance Application',params:{clientId:data.clientId.toString(),id:response.data.id.toString(), routerDisplayName:\"vehicleDetails\"}}); \r\n context.commit('setIsBusyValue',false);\r\n }else\r\n {\r\n let errorMsgs = response.data.message.split(',');\r\n errorMsgs.forEach(errorMsg => {\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: errorMsg,\r\n type: 'error',\r\n duration: 10000\r\n }); \r\n });\r\n context.commit('setIsBusyValue',false);\r\n }\r\n });\r\n }\r\n else{\r\n var application = Object.assign({},context.getters.getFinanceApplication);\r\n application.okayToCreateVehicleLeaseAndNovation = data.isOkayToCreateVehicle;\r\n application.okayToCreateLeaseAndNovation = data.isOkayToCreateLease;\r\n application.okayToComplete = data.isOkayToComplete;\r\n\r\n if(data.isOkayToComplete && !fieldValidationService.isValidDate(context.getters.getFinanceApplicationBrokerageReceivedDate)){\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: 'Brokerage received date required.',\r\n type: 'error',\r\n duration: 5000\r\n });\r\n context.commit('setIsBusyValue',false);\r\n return;\r\n }\r\n \r\n apiService.sendPostRequest('Application','FinanceApplication',application).then(response=>{\r\n if(response.data.isSuccess)\r\n {\r\n if(data.isSaveMode){\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n if(data.isOkayToComplete){\r\n context.commit('setIsBusyValue',false);\r\n dirtyValidatorService.clearAllChanges();\r\n router.push({name:'Edit Client',params:{id:context.state.clientId.toString(),topRouteDisplayName:'profile', routerDisplayName:'applications'}});\r\n }else{\r\n context.commit(\"setFinanceApplicationConcurrencyKey\",response.data.concurrencyKey);\r\n\r\n var vehicleDetails = Object.assign({},context.getters.getFinanceApplicationVehicleDetails);\r\n if(vehicleDetails != null && vehicleDetails.isImageChanged && vehicleDetails.imageInfo != null ){\r\n context.commit(\"setFinanceApplicationVehicleDetailsImageInfo\",{vehicleImageId:response.data.vehicleImageId, vehicleImageConcurrencyKey:response.data.vehicleImageConcurrencyKey}); \r\n }\r\n \r\n if(data.isOkayToCreateVehicle || data.isOkayToCreateLease ){\r\n context.commit(\"setFinanceApplicationLeaseCreatedData\",response.data);\r\n }\r\n context.state.dirtyValidationRefNos.forEach(num =>{\r\n dirtyValidatorService.resetModelValidator(num);\r\n }) \r\n dirtyValidatorService.resetModelValidator(context.state.applicationInfoDirtyValidationRefNo); \r\n context.commit(\"setFinanceApplicationAuditInfo\",{createdByName:context.state.createdByName, lastUpdateByName:response.data.updatedByName, createdDate:context.state.createdDate, lastUpdatedDate:response.data.lastUpdatedDate}); \r\n context.commit('setIsBusyValue',false);\r\n context.commit('setFinanceApplicationMandatoryFieldsFilled', response.data.mandatoryFieldsFilled);\r\n if(!data.isSaveMode){\r\n var routeNames:string[] = ['initialDetails','vehicleDetails','requestInvoice','reviseApplication','signatureAndSubmission','leaseAndEmployment'];\r\n router.push({name:'Edit Finance Application',params:{clientId:context.state.clientId.toString(),id:context.state.id.toString(), routerDisplayName:routeNames[data.nextStep]}});\r\n }\r\n }\r\n }\r\n else\r\n {\r\n let errorMsgs = response.data.message.split(',');\r\n errorMsgs.forEach(errorMsg => {\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: errorMsg,\r\n type: 'error',\r\n duration: 10000\r\n }); \r\n });\r\n if(response.data.concurrencyKey){\r\n context.commit(\"setFinanceApplicationConcurrencyKey\",response.data.concurrencyKey);\r\n } \r\n context.commit('setIsBusyValue',false);\r\n }\r\n });\r\n } \r\n },\r\n updateFinanceApplicationMotorVehicleID(context,data)\r\n {\r\n context.commit('setFinanceApplicationMotorVehicleID',data);\r\n },\r\n updateFinanceApplicationBrokerageReceivedDate(context, data){\r\n context.commit('setFinanceApplicationBrokerageReceivedDate',data);\r\n },\r\n updateFinanceApplicationInfo(context,applicationInfo){\r\n context.commit('setFinanceApplicationInfo',applicationInfo);\r\n },\r\n updateFinanceApplicationIsLeaseAndEmploymentFilled(context,data){\r\n context.commit('setFinanceApplicationIsLeaseAndEmploymentFilled',data);\r\n }, \r\n}\r\n\r\nexport const FinanceApplicationModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};\r\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { InvoiceState, RootState } from '../types';\r\n\r\nconst state: InvoiceState = {\r\n invoiceServiceLines:[],\r\n serviceTypeList:[],\r\n invoiceList:[],\r\n invoiceID:0,\r\n clientID:0,\r\n relatedID:0,\r\n relatedTable:0,\r\n editMode:false,\r\n invoiceGenerated:false,\r\n totalInvoiceAmount:0\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n getServiceTypeList(state)\r\n {\r\n return state.serviceTypeList;\r\n }, \r\n getInvoiceServiceLines(state)\r\n {\r\n return state.invoiceServiceLines;\r\n },\r\n getInvoiceList(state)\r\n {\r\n return state.invoiceList;\r\n },\r\n getRelatedID(state)\r\n {\r\n return state.relatedID;\r\n },\r\n getRelatedTable(state)\r\n {\r\n return state.relatedTable;\r\n },\r\n getClientID(state)\r\n {\r\n return state.clientID;\r\n },\r\n getInvoiceID(state)\r\n {\r\n return state.invoiceID;\r\n },\r\n getInvoiceLineByID(state)\r\n {\r\n return (id: number) => {\r\n return state.invoiceServiceLines.filter(obj=> obj.id == id)[0];\r\n }\r\n },\r\n getInvoiceServiceEditMode(state)\r\n {\r\n return state.editMode;\r\n },\r\n getInvoiceGeneratedFlag(state)\r\n {\r\n return state.invoiceGenerated;\r\n },\r\n getItemEditMode(state)\r\n {\r\n return (id: number) => {\r\n var result = state.invoiceServiceLines.filter(obj=> obj.id == id)[0];\r\n if(result)\r\n {\r\n return result.onEdit; \r\n }\r\n return false;\r\n }\r\n },\r\n getTotalInvoiceAmount(state)\r\n {\r\n return state.totalInvoiceAmount;\r\n }\r\n}\r\n\r\nconst mutations:MutationTree = {\r\n \r\n setServiceTypeList(state,serviceTypes)\r\n {\r\n state.serviceTypeList = serviceTypes;\r\n },\r\n setInvoiceServiceLineList(state,invoiceLines)\r\n {\r\n state.invoiceServiceLines = invoiceLines;\r\n },\r\n setInvoiceList(state,invoiceList)\r\n {\r\n state.invoiceList = invoiceList;\r\n },\r\n setRelatedID(state,id)\r\n {\r\n state.relatedID = id;\r\n },\r\n setRelatedTable(state,id)\r\n {\r\n state.relatedTable = id;\r\n },\r\n setClientID(state,id)\r\n {\r\n state.clientID = id;\r\n },\r\n setInvoiceID(state,id)\r\n {\r\n state.invoiceID = id;\r\n },\r\n setEditMode(state,value)\r\n {\r\n state.editMode = value;\r\n },\r\n setInvoiceGeneratedFlag(state,value)\r\n {\r\n state.invoiceGenerated = value\r\n },\r\n setQuantity(state,value)\r\n {\r\n var result = state.invoiceServiceLines.filter(obj=> obj.id == value.id)[0];\r\n result.quantity = value.quantity;\r\n result.totalAmount = result.unitCost * value.quantity;\r\n },\r\n setUnitCost(state,value)\r\n {\r\n var result = state.invoiceServiceLines.filter(obj=> obj.id == value.id)[0];\r\n result.unitCost = value.unitCost;\r\n result.totalAmount = result.quantity * value.unitCost;\r\n },\r\n setServiceType(state,value)\r\n {\r\n var result = state.invoiceServiceLines.filter(obj=> obj.id == value.id)[0];\r\n result.type = value.type;\r\n },\r\n setItemEditMode(state,value)\r\n {\r\n var result = state.invoiceServiceLines.filter(obj=> obj.id == value.id)[0];\r\n result.onEdit = value.edit;\r\n },\r\n setInvoiceServiceID(state,value)\r\n {\r\n var result = state.invoiceServiceLines.filter(obj=> obj.id == 0)[0];\r\n result.id = value.id; \r\n },\r\n setInvoiceServiceConcurrencyKey(state,value)\r\n {\r\n var result = state.invoiceServiceLines.filter(obj=> obj.id == value.id)[0];\r\n result.concurrencyKey = value.concurrencyKey;\r\n \r\n },\r\n setTotalInvoiceAmount(state,amount)\r\n {\r\n state.totalInvoiceAmount = amount;\r\n }\r\n}\r\n\r\n\r\nexport const actions: ActionTree ={\r\n \r\n setServiceTypes(context,serviceTypes)\r\n {\r\n context.commit('setServiceTypeList',serviceTypes);\r\n },\r\n setInvoiceServiceLines(context,invoiceLines)\r\n {\r\n context.commit('setInvoiceServiceLineList',invoiceLines);\r\n },\r\n setInvoiceList(context,invoices)\r\n {\r\n context.commit('setInvoiceList',invoices);\r\n },\r\n setRelatedID(context,id)\r\n {\r\n context.commit('setRelatedID',id);\r\n },\r\n setRelatedTable(context,id)\r\n {\r\n context.commit('setRelatedTable',id);\r\n },\r\n setClientID(context,id)\r\n {\r\n context.commit('setClientID',id);\r\n },\r\n setInvoiceID(context,id)\r\n {\r\n context.commit('setInvoiceID',id);\r\n },\r\n setEditMode(context,value)\r\n {\r\n context.commit('setEditMode',value);\r\n },\r\n setInvoiceGeneratedFlag(context,value)\r\n {\r\n context.commit('setInvoiceGeneratedFlag',value);\r\n },\r\n updateQuantity(context,value)\r\n {\r\n context.commit('setQuantity',value);\r\n },\r\n updateUnitCost(context,value)\r\n {\r\n context.commit('setUnitCost',value);\r\n },\r\n updateServiceType(context,value)\r\n {\r\n context.commit('setServiceType',value)\r\n },\r\n setItemEditMode(context,value)\r\n {\r\n context.commit('setItemEditMode',value);\r\n },\r\n updateInvoiceServiceID(context,value)\r\n {\r\n context.commit('setInvoiceServiceID',value);\r\n },\r\n updateInvoiceServiceConcurrencyKey(context,value)\r\n {\r\n context.commit('setInvoiceServiceConcurrencyKey',value);\r\n },\r\n updateTotalInvoiceAmount(context,value)\r\n {\r\n context.commit('setTotalInvoiceAmount',value);\r\n }\r\n\r\n}\r\n\r\nexport const InvoiceModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { PrePaymentState, RootState } from '../types';\r\n\r\nconst state: PrePaymentState = {\r\n prepayments:[],\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n getLeasePrepayments(state)\r\n {\r\n return state.prepayments;\r\n }, \r\n}\r\n\r\nconst mutations:MutationTree = {\r\n \r\n setPrePaymentList(state,prepayments)\r\n {\r\n state.prepayments = prepayments;\r\n }\r\n}\r\n\r\n\r\nexport const actions: ActionTree ={\r\n \r\n setLeasePrePayments(context,prepayments)\r\n {\r\n context.commit('setPrePaymentList',prepayments);\r\n }\r\n}\r\n\r\nexport const LeasePrepaymentModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { TreeViewState, RootState } from '../types';\r\n\r\nconst state: TreeViewState = {\r\n showAllNodes:false\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n showAllNodes(state)\r\n {\r\n return state.showAllNodes;\r\n }, \r\n}\r\n\r\nconst mutations:MutationTree = {\r\n \r\n setShowAllNodes(state,value)\r\n {\r\n state.showAllNodes = value;\r\n }\r\n}\r\n\r\n\r\nexport const actions: ActionTree ={\r\n \r\n showAllNodes(context,value)\r\n {\r\n context.commit('setShowAllNodes',value);\r\n }\r\n}\r\n\r\nexport const TreeViewModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { NotesState, RootState } from '../types';\r\n\r\nconst state: NotesState = {\r\n notesList:[]\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n getNotes(state)\r\n {\r\n return state.notesList;\r\n }, \r\n getNotesByIndex(state)\r\n {\r\n return (index: number) => {\r\n if(state.notesList.length == 0)\r\n {\r\n return [];\r\n }\r\n else if(state.notesList[index])\r\n {\r\n return state.notesList[index];\r\n }\r\n else\r\n {\r\n return [];\r\n }\r\n }\r\n },\r\n getNotesCount(state)\r\n {\r\n var count = 0;\r\n state.notesList.forEach(element => {\r\n element.forEach(note => {\r\n count++;\r\n });\r\n }\r\n );\r\n return count;\r\n } \r\n}\r\n\r\nconst mutations:MutationTree = {\r\n \r\n setNotes(state,value)\r\n {\r\n state.notesList = value;\r\n },\r\n setNotesByIndex(state, data)\r\n {\r\n if(state.notesList[data.index])\r\n {\r\n state.notesList[data.index] = data.notes;\r\n }\r\n else\r\n {\r\n while(state.notesList.length < data.index)\r\n {\r\n state.notesList.push([]);\r\n }\r\n state.notesList.push(data.notes)\r\n }\r\n },\r\n deleteNotesByIndex(state,index)\r\n {\r\n state.notesList.splice(index, 1);\r\n }\r\n}\r\n\r\n\r\nexport const actions: ActionTree ={\r\n \r\n updateNotes(context,notes)\r\n {\r\n context.commit('setNotes',notes);\r\n },\r\n updateNotesByIndex(context,data)\r\n {\r\n context.commit('setNotesByIndex',data);\r\n },\r\n deleteNotesByIndex(context,index)\r\n {\r\n context.commit('deleteNotesByIndex',index);\r\n }\r\n}\r\n\r\nexport const NotesModule : Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { DocumentsState, RootState } from '../types';\r\nimport blobService from '@/shared/services/azureBlobStorageService';\r\nimport apiService from '@/shared/services/apiService'\r\nimport { BlobContainerType } from '@/shared/enums/blobContainerTypes.enum';\r\nimport Vue from 'vue';\r\n\r\nconst state: DocumentsState = {\r\n docsList:[]\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n getDocuments(state)\r\n {\r\n return state.docsList;\r\n }, \r\n getDocumentsByIndex(state)\r\n {\r\n return (index: number) => {\r\n if(state.docsList.length == 0)\r\n {\r\n return [];\r\n }\r\n else if(state.docsList[index])\r\n {\r\n return state.docsList[index];\r\n }\r\n else\r\n {\r\n return [];\r\n }\r\n }\r\n },\r\n getDocumentsCount(state)\r\n {\r\n var count = 0;\r\n state.docsList.forEach(element => {\r\n element.forEach(document => {\r\n count++;\r\n });\r\n }\r\n );\r\n return count;\r\n }\r\n}\r\n\r\nconst mutations:MutationTree = {\r\n \r\n setDocuments(state,value)\r\n {\r\n state.docsList = value;\r\n },\r\n setDocumentsByIndex(state, data)\r\n {\r\n if(state.docsList[data.index])\r\n {\r\n state.docsList[data.index] = data.documents;\r\n }\r\n else\r\n {\r\n while(state.docsList.length < data.index)\r\n {\r\n state.docsList.push([]);\r\n }\r\n state.docsList.push(data.documents)\r\n }\r\n \r\n },\r\n deleteDocumentsByIndex(state,index)\r\n {\r\n state.docsList.splice(index, 1);\r\n }\r\n}\r\n\r\n\r\nexport const actions: ActionTree ={\r\n \r\n updateDocuments(context,docs)\r\n {\r\n context.commit('setDocuments',docs);\r\n },\r\n\r\n uploadDocuments(context)\r\n {\r\n var uploadCount = 0;\r\n return new Promise((resolve,reject) => {\r\n if(state.docsList && state.docsList.length > 0)\r\n {\r\n state.docsList.forEach(element => {\r\n element.forEach(document => {\r\n var params = {\r\n blobContainerType: BlobContainerType.Private,\r\n guid:document.guid\r\n }\r\n uploadCount++;\r\n apiService.sendGetRequest('Utility','CheckForExistingBlob',params).then(response=>{\r\n if(!response.data) {\r\n blobService.uploadFile(document.sasTokenProperties, document.file).then(response => \r\n {\r\n uploadCount--;\r\n if(uploadCount == 0)\r\n {\r\n resolve();\r\n }\r\n });\r\n\r\n } else {\r\n uploadCount--;\r\n if(uploadCount == 0){\r\n resolve();\r\n }\r\n }\r\n });\r\n \r\n });\r\n });\r\n if(uploadCount == 0)\r\n {\r\n resolve();\r\n }\r\n }\r\n else\r\n {\r\n resolve();\r\n }\r\n }); \r\n },\r\n\r\n uploadDocumentsForClientFinanceApplication(context, data)\r\n {\r\n context.commit('setDocuments',data.documentList);\r\n var uploadCount = 0;\r\n return new Promise((resolve,reject) => {\r\n if(state.docsList && state.docsList.length > 0)\r\n {\r\n context.commit('setIsBusyValue',true);\r\n state.docsList.forEach(document => {\r\n var params = {\r\n blobContainerType: BlobContainerType.Private,\r\n guid:document.guid\r\n }\r\n uploadCount++;\r\n apiService.sendGetRequest('Utility','CheckForExistingBlob',params).then(response=>{\r\n if(!response.data) {\r\n document.relatedID = context.getters.getClientFinanceApplicationId;\r\n document.relatedTable = data.relatedTable\r\n blobService.uploadFile(document.sasTokenProperties, document.file).then(response => \r\n {\r\n var docParams = {\r\n fileName:document.fileName,\r\n fileType: document.fileType,\r\n guid: document.guid,\r\n fileExtension: document.fileExtension,\r\n uri: document.uri,\r\n relatedTable:document.relatedTable,\r\n relatedId:data.relatedId,\r\n locked:false,\r\n mimeType:document.file.type,\r\n clientFinanceApplicationState:document.clientFinanceApplicationState,\r\n clientFinanceApplicationId:data.relatedId,\r\n };\r\n apiService.sendPutRequest('Utility','ClientApplicationDocuments',docParams).then( response2 => {\r\n if(response2.data.isSuccess){\r\n document.concurrencyKey = response2.data.concurrencyKey;\r\n document.id = response2.data.id;\r\n uploadCount--;\r\n if(uploadCount == 0){\r\n resolve();\r\n }\r\n }\r\n else{\r\n context.commit('setIsBusyValue',false);\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: response2.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n });\r\n }).catch(error => {\r\n context.commit('setIsBusyValue',false);\r\n reject();\r\n });\r\n } else {\r\n uploadCount--;\r\n if(uploadCount == 0){\r\n resolve();\r\n }\r\n }\r\n });\r\n });\r\n if(uploadCount == 0)\r\n {\r\n context.commit('setIsBusyValue',false);\r\n resolve();\r\n }\r\n }\r\n else\r\n {\r\n resolve();\r\n }\r\n }); \r\n },\r\n\r\n updateDocumentsByIndex(context,data)\r\n {\r\n context.commit('setDocumentsByIndex',data);\r\n },\r\n\r\n deleteDocumentsByIndex(context,index)\r\n {\r\n context.commit('deleteDocumentsByIndex',index);\r\n }\r\n}\r\n\r\nexport const DocumentsModule : Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, StoreOptions, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { ProfileState } from '../types';\r\nimport { RootState } from '../types';\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport apiService from '@/shared/services/apiService'\r\n\r\nexport const state: ProfileState = {\r\n profilePicUri: '',\r\n firstName: '',\r\n lastName: ''\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nexport const getters:GetterTree = {\r\n getProfilePicUrl(state){\r\n return state.profilePicUri? state.profilePicUri : '';\r\n },\r\n getUserDisplayName(state){\r\n return state.firstName + ' ' + state.lastName;\r\n }\r\n}\r\n\r\nexport const mutations:MutationTree = {\r\n setProfilePicUrl(state,value)\r\n {\r\n if(!value || value == \"null\"){\r\n state.profilePicUri = \"../../../../img/avatars/user_img.png\";\r\n }\r\n else{\r\n state.profilePicUri = value;\r\n }\r\n },\r\n setFirstName(state, value){\r\n state.firstName = value;\r\n },\r\n setLastName(state, value){\r\n state.lastName = value;\r\n }\r\n}\r\n\r\nexport const actions: ActionTree ={\r\n changeProfilePicUrl(context,value){\r\n context.commit('setProfilePicUrl',value);\r\n },\r\n changeFirstName(context,value){\r\n context.commit('setFirstName',value);\r\n },\r\n changeLastName(context,value){\r\n context.commit('setLastName',value);\r\n }\r\n}\r\n\r\nexport const ProfileStoreModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, StoreOptions, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { ApplicationListState } from '../types';\r\nimport { RootState } from '../types';\r\n\r\nexport const state: ApplicationListState = {\r\n selectedStatus:0\r\n};\r\n\r\nconst namespaced: boolean = false;\r\nvar count:number = 0;\r\nexport const getters:GetterTree = {\r\n getSelectedStatus(state){\r\n return state.selectedStatus\r\n }\r\n}\r\n\r\nexport const mutations:MutationTree = {\r\n setSelectedStatusValue(state,value)\r\n {\r\n state.selectedStatus = value;\r\n \r\n }\r\n}\r\n\r\nexport const actions: ActionTree ={\r\n storeSelectedStatusValue(context,value)\r\n { \r\n context.commit('setSelectedStatusValue',value)\r\n }\r\n}\r\n\r\nexport const ApplicationListModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, StoreOptions, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { EFTDetailsState } from '../types';\r\nimport { RootState } from '../types';\r\n\r\nexport const state: EFTDetailsState = {\r\n selectedBankAccountId:0\r\n};\r\n\r\nconst namespaced: boolean = false;\r\nexport const getters:GetterTree = {\r\n getSelectedBankAccountId(state){\r\n return state.selectedBankAccountId\r\n }\r\n}\r\n\r\nexport const mutations:MutationTree = {\r\n setSelectedBankAccountId(state,value)\r\n {\r\n state.selectedBankAccountId = value;\r\n \r\n }\r\n}\r\n\r\nexport const actions: ActionTree ={\r\n storeSelectedBankAccountId(context,value)\r\n { \r\n context.commit('setSelectedBankAccountId',value)\r\n }\r\n}\r\n\r\nexport const EFTDetailsModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { ActivityStatementState, RootState } from '../types';\r\nimport blobService from '@/shared/services/azureBlobStorageService';\r\n\r\nexport const state: ActivityStatementState = {\r\n gstCalculationPeriodId:0\r\n};\r\n\r\nconst namespaced: boolean = false;\r\nvar count:number = 0;\r\nexport const getters:GetterTree = {\r\n getGSTCalculationPeriodId(state){\r\n return state.gstCalculationPeriodId\r\n }\r\n}\r\n\r\nexport const mutations:MutationTree = {\r\n setGSTCalculationPeriodIdValue(state,value)\r\n {\r\n state.gstCalculationPeriodId = value;\r\n \r\n }\r\n}\r\n\r\nexport const actions: ActionTree ={\r\n storeGSTCalculationPeriodIdValue(context,value)\r\n { \r\n context.commit('setGSTCalculationPeriodIdValue',value)\r\n }\r\n}\r\n\r\nexport const ActivityStatementStateModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};\r\n\r\n\r\n\r\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { LedgerFilterState, RootState } from '../types';\r\n\r\nexport const state: LedgerFilterState = {\r\n filterDate:null,\r\n reference: \"\",\r\n vehicleId:0,\r\n showUnAllocatedTransactions: false\r\n};\r\n\r\nconst namespaced: boolean = false;\r\nvar count:number = 0;\r\nexport const getters:GetterTree = {\r\n getfilterDate(state){\r\n return state.filterDate;\r\n },\r\n getReference(state){\r\n return state.reference;\r\n },\r\n getVehicleId(state){\r\n return state.vehicleId;\r\n },\r\n getShowUnAllocatedTransactions(state){\r\n return state.showUnAllocatedTransactions;\r\n }\r\n}\r\n\r\nexport const mutations:MutationTree = {\r\n setLedgerFilterDate(state,value)\r\n {\r\n state.filterDate = value;\r\n },\r\n setLedgerFilterReference(state,value)\r\n {\r\n state.reference = value;\r\n },\r\n setLedgerFilterVehicleId(state,value)\r\n {\r\n state.vehicleId = value;\r\n },\r\n setShowUnAllocatedTransactions(state,value)\r\n {\r\n state.showUnAllocatedTransactions = value;\r\n }\r\n}\r\n\r\nexport const actions: ActionTree ={\r\n storeLedgerFilterDate(context,value)\r\n { \r\n context.commit('setLedgerFilterDate',value)\r\n },\r\n storeLedgerFilterReference(context,value)\r\n { \r\n context.commit('setLedgerFilterReference',value)\r\n },\r\n storeLedgerFilterVehicleId(context,value)\r\n { \r\n context.commit('setLedgerFilterVehicleId',value)\r\n },\r\n storeShowUnAllocatedTransactions(context,value)\r\n { \r\n context.commit('setShowUnAllocatedTransactions',value)\r\n }\r\n}\r\n\r\nexport const LedgerFilterStateModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};\r\n\r\n\r\n\r\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { RootState } from '../types';\r\nimport apiService from '@/shared/services/apiService'\r\nimport Vue from 'vue';\r\nimport router from '@/router/router'\r\nimport { AddressAndRelatedEntity } from '@/models/AddressAndRelatedEntity.model';\r\nimport { RelatedTables } from '@/shared/enums/relatedTables.enum';\r\n\r\nconst state: AddressAndRelatedEntity = {\r\n address: { \r\n id:0,\r\n relatedID:0,\r\n relatedTable:0,\r\n addressLine1:\"\",\r\n addressLine2:\"\",\r\n suburb:\"\",\r\n postcode:\"\",\r\n stateId:0,\r\n country:\"\",\r\n latitude:0,\r\n longitude:0,\r\n concurrencyKey:\"\",\r\n addressType:0,\r\n addressTypeText:\"\",\r\n createdBy:\"\",\r\n createdDate:\"\",\r\n updatedBy:\"\",\r\n updatedDate:\"\"\r\n },\r\n copyAddress:false,\r\n isRelatedEntityFailedToCreate:false,\r\n supplier: {\r\n id:0,\r\n name:\"\",\r\n primaryPersonFirstName:\"\",\r\n primaryPersonLastName:\"\",\r\n abn:\"\",\r\n acn:\"\",\r\n mobilePhone:\"\",\r\n workPhone:\"\",\r\n homePhone:\"\",\r\n email:\"\",\r\n webSiteURL:\"\",\r\n isActive:true,\r\n tags:\"\",\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n createdDate:\"\",\r\n lastUpadteByName:\"\",\r\n lastUpdatedDate:\"\"\r\n }\r\n}\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n getSupplierName(state)\r\n {\r\n return state.supplier.name;\r\n },\r\n getIsValidSupplier(state)\r\n {\r\n return state.supplier.name != '';\r\n },\r\n getIsRelatedEntityFailedToCreate(state)\r\n {\r\n return state.isRelatedEntityFailedToCreate;\r\n },\r\n getSupplierDetails(state)\r\n {\r\n return state.supplier;\r\n },\r\n getRelatedEntityAddressDetails(state)\r\n {\r\n return state.address;\r\n },\r\n getRelatedEntityName(state)\r\n {\r\n switch(state.address.relatedTable){\r\n case RelatedTables.Supplier:\r\n return 'Supplier'\r\n default:\r\n return 'Related Entity'\r\n }\r\n },\r\n}\r\n\r\nconst mutations:MutationTree = {\r\n setSupplierDetails(state,supplier){\r\n state.supplier = supplier;\r\n },\r\n setRelatedEntityAddressDetails(state,address){\r\n state.address = address;\r\n state.copyAddress = address.copyAddress;\r\n },\r\n setRelatedEntityAddressState(state,address){\r\n state.address = address;\r\n state.copyAddress = false;\r\n },\r\n setIsRelatedEntityFailedToCreate(state,data){\r\n state.isRelatedEntityFailedToCreate = data;\r\n },\r\n setSupplierDetailsState(state,supplier){\r\n state.supplier = supplier;\r\n }\r\n}\r\n\r\nconst actions: ActionTree ={\r\n updateSupplierDetails(context,data){\r\n context.commit('setSupplierDetails',data);\r\n },\r\n updateRelatedEntityAddressDetails(context,data){\r\n context.commit('setRelatedEntityAddressDetails',data);\r\n },\r\n updateIsRelatedEntityFailedToCreate(context,data){\r\n context.commit('setIsRelatedEntityFailedToCreate',data);\r\n },\r\n resetRelatedEntityAddressDetails(context,data){\r\n context.commit('setRelatedEntityAddressState',data);\r\n },\r\n resetSupplierDetails(context,data){\r\n context.commit('setSupplierDetailsState',data);\r\n },\r\n saveRelatedAddress(context,data){\r\n var params = {\r\n relatedID:data.relatedId,\r\n relatedTable:context.state.address.relatedTable,\r\n addressLine1: context.state.address.addressLine1,\r\n addressLine2: context.state.address.addressLine2,\r\n stateId: context.state.address.stateId,\r\n suburb: context.state.address.suburb,\r\n postcode: context.state.address.postcode,\r\n country: context.state.address.country,\r\n addressType: context.state.address.addressType,\r\n copyAddress:context.state.copyAddress\r\n }\r\n context.commit('setIsBusyValue',true);\r\n apiService.sendPutRequest('Address','Address',params).then(\r\n response => {\r\n let relatedEntityName = context.getters.getRelatedEntityName;\r\n if(response.data.isSuccess)\r\n {\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: relatedEntityName + \" and \" + response.data.message,\r\n type: response.data.isWarning ? 'warn' :'success',\r\n duration: response.data.isWarning? 10000 : 5000\r\n });\r\n }else\r\n {\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: relatedEntityName + \" is successfully created. But failed to create the address.\",\r\n type: 'error',\r\n duration: 5000\r\n });\r\n }\r\n context.commit('setIsBusyValue',false);\r\n if(data.relatedTable == RelatedTables.Supplier){\r\n router.push({name:'Edit Supplier',params:{id:data.relatedId,routerDisplayName:'details'}});\r\n }\r\n }\r\n );\r\n },\r\n saveRelatedEntityAndAddress(context,relatedEntity){\r\n context.commit('setIsBusyValue',true);\r\n if(relatedEntity == RelatedTables.Supplier){\r\n var params = {\r\n name:context.state.supplier.name,\r\n abn:context.state.supplier.abn,\r\n acn:context.state.supplier.acn,\r\n homePhone:context.state.supplier.homePhone,\r\n workPhone: context.state.supplier.workPhone,\r\n mobilePhone:context.state.supplier.mobilePhone,\r\n email:context.state.supplier.email,\r\n primaryPersonFirstName: context.state.supplier.primaryPersonFirstName,\r\n primaryPersonLastName: context.state.supplier.primaryPersonLastName,\r\n webSiteURL:context.state.supplier.webSiteURL,\r\n tags: context.state.supplier.tags,\r\n }\r\n apiService.sendPutRequest('Supplier','Supplier',params).then(response=>{\r\n if(response.data.isSuccess)\r\n {\r\n context.dispatch('saveRelatedAddress',{relatedId:response.data.id, relatedTable: relatedEntity}); \r\n }else\r\n {\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'error',\r\n duration: 5000\r\n });\r\n context.commit('setIsRelatedEntityFailedToCreate',true);\r\n context.commit('setIsBusyValue',false);\r\n router.push({name:'Add Supplier',params:{routerDisplayName:'details'}});\r\n }\r\n });\r\n }\r\n },\r\n}\r\n\r\nexport const AddressAndRelatedEntityModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};\r\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { RootState } from '../types';\r\nimport { ClientFinanceApplication } from '@/models/clientFinanceApplication.model';\r\nimport { ClientFinanceApplicationStates } from '@/shared/enums/clientFinanceApplicationStates.enum';\r\nimport apiService from '@/shared/services/apiService'\r\nimport dirtyValidatorService from '@/shared/services/dirtyValidatorService'\r\nimport Vue from 'vue';\r\nimport ApexConstants from '@/shared/constants';\r\n\r\nconst state: ClientFinanceApplication = {\r\n id:0,\r\n clientId:0,\r\n arn:'',\r\n status:ClientFinanceApplicationStates.PersonalDetails,\r\n isActive:false,\r\n isSubmit:false,\r\n isReadOnly:false,\r\n creditGuideDownloadedDate:null, \r\n editedSteps:[],\r\n personalDetails: {\r\n email:\"\",\r\n homePhone:\"\",\r\n mobilePhone:\"\",\r\n workPhone:\"\",\r\n maritalStatus:0,\r\n dependantsAge:\"\",\r\n driversLicenseNumber:undefined,\r\n residencyStatusDetails:\"\",\r\n licenseIssuingDetails:\"\",\r\n licenseIssuingState:0,\r\n driversLicenseType:0,\r\n residencyStatus:0,\r\n documentList:[],\r\n },\r\n concurrencyKey:\"\",\r\n addressDetails: {\r\n addressLines:[]\r\n },\r\n employment:{\r\n documentList:[],\r\n employmentLines:[]\r\n },\r\n \r\n // TODO: Consider making these null\r\n income:{\r\n grossAnnualIncome:\"\",\r\n monthlyNetIncome:\"\",\r\n spousalGrossAnnualIncome:\"\",\r\n spousalMonthlyNetIncome:\"\",\r\n investmentPropertyIncome:\"\",\r\n superannuationIncome:\"\",\r\n governmentBenefitIncome:\"\",\r\n investmentIncome:\"\",\r\n otherIncome:\"\",\r\n otherIncomeDetails:\"\",\r\n documentList:[]\r\n },\r\n assets:{\r\n maxRowNumber:0,\r\n assetItems:[],\r\n documentList:[]\r\n },\r\n liabilities: {\r\n monthlyRepayments: [],\r\n monthlyExpenses: [],\r\n documentList:[],\r\n maxMonthlyExpensesRowNumber: 0,\r\n maxMonthlyRepaymentsRowNumber: 0,\r\n },\r\n motorVehicleDetailsAndFinancedAmount: {\r\n amountSeekingPreApproval: null,\r\n costVehicleIncludingGST: null,\r\n saleType: null,\r\n sellerDetails: {\r\n name: \"\",\r\n contactPerson: \"\",\r\n contactNumber: \"\",\r\n email: \"\",\r\n id: 0,\r\n relatedID: 0,\r\n relatedTable: 0,\r\n addressLine1: \"\",\r\n addressLine2: \"\",\r\n suburb: \"\",\r\n postcode: null,\r\n stateId: 0,\r\n country: ApexConstants.DEFAULT_COUNTRY,\r\n latitude: 0,\r\n longitude: 0,\r\n concurrencyKey: null,\r\n addressType: 0,\r\n addressTypeText: \"\",\r\n createdBy: \"\",\r\n createdDate: null,\r\n updatedBy: \"\",\r\n updatedDate: null\r\n },\r\n motorVehicleDetails: {\r\n termOfLease: null,\r\n replacementOrAdditionalVehicle: \"\",\r\n id:0,\r\n mvrn:0,\r\n make:\"\",\r\n model:\"\",\r\n year:0,\r\n yearDateTime:\"\",\r\n plateNumber:\"\",\r\n vehicleIDNumber:\"\",\r\n engineNumber:\"\",\r\n regoRenewalDate:\"\",\r\n insuranceRenewalDate:\"\",\r\n clientid:0,\r\n concurrencyKey:\"\",\r\n createdByName:\"\",\r\n lastUpdateByName:\"\",\r\n createdDate:new Date(),\r\n lastUpdatedDate:new Date(),\r\n isImageChanged:false,\r\n imageInfo:null,\r\n administrationFeeStartDate:\"\",\r\n administrationFeeEndDate:\"\",\r\n administrationFeeAmount:\"\",\r\n administrationFeeChargeFrequency:\"\",\r\n administrationFeeAmountWithFrequency:\"\",\r\n isAdministrationFeeAmountOverridden:false,\r\n variant:\"\",\r\n condition:null,\r\n bodyType:null,\r\n transmission:null,\r\n fuelType:null,\r\n colour:null,\r\n isCreatedByFinanceApplication:false,\r\n isImageUploadedByApplication:false,\r\n status:0,\r\n isPossibleToInactiveVehicle:null,\r\n },\r\n \r\n documentList:[], \r\n },\r\n changeInCircumstances:{\r\n changeInCircumstancesAgreement:null,\r\n creditGuideDownloadAndReadComplete:false,\r\n changeInCirumstanceNote:\"\",\r\n },\r\n createdByName: \"\",\r\n createdDate: new Date(),\r\n lastUpdateByName: \"\",\r\n lastUpdatedDate: new Date(),\r\n dirtyValidationRefNos: [0,0,0,0,0],\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n getClientFinanceApplicationId(state)\r\n {\r\n return state.id;\r\n },\r\n getClientFinanceApplicationPersonalDetails(state)\r\n {\r\n return state.personalDetails;\r\n },\r\n getClientFinanceApplicationAddressDetails(state)\r\n {\r\n return state.addressDetails;\r\n },\r\n getClientFinanceApplicationEmploymentDetails(state){\r\n return state.employment;\r\n },\r\n getClientFinanceApplicationIncome(state)\r\n {\r\n return state.income;\r\n },\r\n getClientFinanceApplicationARN(state)\r\n {\r\n return state.arn;\r\n },\r\n getClientFinanceApplicationLiabilities(state)\r\n {\r\n return state.liabilities;\r\n },\r\n getClientFinanceApplicationAssets(state)\r\n {\r\n return state.assets;\r\n },\r\n getClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount(state)\r\n {\r\n return state.motorVehicleDetailsAndFinancedAmount;\r\n },\r\n getClientFinanceApplicationChangeInCircumstance(state){\r\n return state.changeInCircumstances;\r\n },\r\n getClientFinanceApplicationStatus(state)\r\n {\r\n return state.status;\r\n },\r\n getClientFinanceApplicationDirtyValidationRefNos(state){\r\n return state.dirtyValidationRefNos;\r\n },\r\n getClientFinanceApplicationCreatedByName(){\r\n return state.createdByName;\r\n },\r\n getClientFinanceApplicationUpdatedByName(){\r\n return state.lastUpdateByName;\r\n },\r\n getClientFinanceApplicationCreatedDate(){\r\n return state.createdDate;\r\n },\r\n getClientFinanceApplicationUpdatedDate(){\r\n return state.lastUpdatedDate;\r\n },\r\n getClientFinanceApplicationIsSubmit(){\r\n return state.isSubmit;\r\n },\r\n getClientFinanceApplication(state)\r\n {\r\n return state;\r\n },\r\n getClientFinanceApplicationEditedSteps(state){\r\n return state.editedSteps;\r\n },\r\n getClientFinanceApplicationCreditGuideDownloadedDate(state){\r\n return state.creditGuideDownloadedDate;\r\n },\r\n getClientFinanceApplicationConcurrencyKey(){\r\n return state.concurrencyKey;\r\n },\r\n getIsReadOnly(){\r\n return state.isReadOnly;\r\n }\r\n}\r\n\r\nconst mutations:MutationTree = {\r\n\r\n setClientFinanceApplicationPersonalDetails(state,personalDetails)\r\n {\r\n state.personalDetails = personalDetails;\r\n },\r\n setClientFinanceApplicationAddressDetails(state,addressDetails)\r\n {\r\n state.addressDetails = addressDetails;\r\n },\r\n setClientFinanceApplicationIncome(state, income)\r\n {\r\n state.income = income;\r\n },\r\n setClientFinanceApplicationEmploymentDetails(state,employmentDetails)\r\n {\r\n state.employment = employmentDetails;\r\n },\r\n setClientFinanceApplicationAssets(state,assets)\r\n {\r\n state.assets = assets;\r\n },\r\n setClientFinanceApplicationLiabilities(state,liabilities)\r\n {\r\n state.liabilities = liabilities;\r\n },\r\n setClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount(state,motorVehicleDetailsAndFinancedAmount)\r\n {\r\n state.motorVehicleDetailsAndFinancedAmount = motorVehicleDetailsAndFinancedAmount;\r\n },\r\n setClientFinanceApplicationChangeInCircumstance(state, changeInCircumstance){\r\n state.changeInCircumstances = changeInCircumstance;\r\n },\r\n setClientFinanceApplicationStatus(state,status)\r\n {\r\n state.status = status;\r\n },\r\n setClientFinanceApplication(state,application){\r\n state.id = application.id;\r\n state.clientId = application.clientId;\r\n state.arn = application.arn;\r\n state.creditGuideDownloadedDate = application.creditGuideDownloadedDate;\r\n state.concurrencyKey = application.concurrencyKey;\r\n state.status = application.status;\r\n state.isReadOnly = application.isReadOnly,\r\n state.personalDetails = application.personalDetails;\r\n state.addressDetails = application.addressDetails;\r\n state.employment = application.employment;\r\n state.assets = application.assets;\r\n state.income = application.income;\r\n state.liabilities = application.liabilities;\r\n state.motorVehicleDetailsAndFinancedAmount = application.motorVehicleDetailsAndFinancedAmount;\r\n state.editedSteps = application.editedSteps;\r\n state.changeInCircumstances = application.changeInCircumstances;\r\n state.createdByName = application.createdByName;\r\n state.lastUpdateByName = application.lastUpdateByName;\r\n state.createdDate = application.createdDate;\r\n state.lastUpdatedDate = application.lastUpdatedDate;\r\n state.isSubmit = application.isSubmit;\r\n state.isActive = application.isActive;\r\n },\r\n setClientFinanceApplicationClientId(state,clientId){\r\n state.clientId = clientId;\r\n },\r\n setClientFinanceApplicationDirtyValidationRefNos(state,stepNoObj)\r\n {\r\n state.dirtyValidationRefNos[stepNoObj.index] = stepNoObj.dirtyValidationNo;\r\n },\r\n setClientFinanceApplicationId(state,id){\r\n state.id = id;\r\n },\r\n setClientFinanceApplicationConcurrencyKey(state,key){\r\n state.concurrencyKey = key;\r\n },\r\n setClientFinanceApplicationAuditInfo(state,data){\r\n state.createdByName = data.createdByName; \r\n state.lastUpdateByName = data.lastUpdateByName;\r\n state.createdDate = data.createdDate;\r\n state.lastUpdatedDate = data.lastUpdatedDate;\r\n },\r\n setClientFinanceApplicationIsSubmit(state, data){\r\n state.isSubmit = data;\r\n },\r\n setClientFinanceApplicationEditedSteps(state, data){\r\n state.editedSteps = data;\r\n },\r\n setClientFinanceApplicationCreditGuideDownloadedDate(state, data){\r\n state.creditGuideDownloadedDate = data;\r\n }\r\n}\r\n\r\nconst actions: ActionTree ={\r\n updateClientFinanceApplicationPersonalDetails(context,personalDetails)\r\n {\r\n context.commit('setClientFinanceApplicationPersonalDetails',personalDetails);\r\n },\r\n updateClientFinanceApplicationAddressDetails(context,addressDetails)\r\n {\r\n context.commit('setClientFinanceApplicationAddressDetails',addressDetails);\r\n },\r\n updateClientFinanceApplicationEmploymentDetails(context, employmentDetails){\r\n context.commit('setClientFinanceApplicationEmploymentDetails', employmentDetails);\r\n },\r\n updateClientFinanceApplicationAssets(context,assets)\r\n {\r\n context.commit('setClientFinanceApplicationAssets',assets);\r\n },\r\n updateClientFinanceApplicationIncome(context,income)\r\n {\r\n context.commit('setClientFinanceApplicationIncome',income);\r\n },\r\n updateClientFinanceApplicationLiabilities(context,liabilities)\r\n {\r\n context.commit('setClientFinanceApplicationLiabilities',liabilities);\r\n },\r\n updateClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount(context,motorVehicleDetailsAndFinancedAmount)\r\n {\r\n context.commit('setClientFinanceApplicationMotorVehicleDetailsAndFinancedAmount',motorVehicleDetailsAndFinancedAmount);\r\n },\r\n updateClientFinanceApplicationChangeInCircumstance(context, changeInCircumstance)\r\n {\r\n context.commit('setClientFinanceApplicationChangeInCircumstance',changeInCircumstance )\r\n },\r\n updateClientFinanceApplicationStatus(context,data){\r\n context.commit('setClientFinanceApplicationStatus',data);\r\n },\r\n updateClientFinanceApplication(context,data){\r\n context.commit('setClientFinanceApplication',data);\r\n },\r\n updateClientFinanceApplicationClientId(context,data){\r\n context.commit('setClientFinanceApplicationClientId',data);\r\n },\r\n updateClientFinanceApplicationIsSubmit(context,data){\r\n context.commit('setClientFinanceApplicationIsSubmit',data);\r\n },\r\n saveClientFinanceApplication(context,data){\r\n return new Promise((resolve, reject) => {\r\n context.commit('setIsBusyValue',true);\r\n if(context.state.id == 0){\r\n var params = {\r\n id:context.state.id,\r\n clientId:data.clientId,\r\n status:context.state.status,\r\n aRN:'',\r\n editedSteps:context.state.editedSteps,\r\n personalDetails: context.state.personalDetails,\r\n addressDetails: context.state.addressDetails,\r\n employment: context.state.employment,\r\n assets:context.state.assets,\r\n income: context.state.income,\r\n liabilities: context.state.liabilities,\r\n motorVehicleDetailsAndFinancedAmount: context.state.motorVehicleDetailsAndFinancedAmount,\r\n changeInCircumstance: context.state.changeInCircumstances,\r\n }\r\n apiService.sendPutRequest('ClientFinanceApplication','ClientFinanceApplication',params).then(response=>{\r\n if(response.data.isSuccess)\r\n { \r\n if(data.isSaveMode){\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n context.commit('setClientFinanceApplicationId',response.data.id);\r\n context.commit('setIsBusyValue',false);\r\n resolve({applicationId:response.data.id});\r\n } else\r\n {\r\n let errorMsgs = response.data.message.split(',');\r\n errorMsgs.forEach(errorMsg => {\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: errorMsg,\r\n type: 'error',\r\n duration: 10000\r\n }); \r\n });\r\n context.commit('setIsBusyValue',false);\r\n resolve({applicationId:0});\r\n }\r\n });\r\n }\r\n else{\r\n var application = Object.assign({},context.getters.getClientFinanceApplication); \r\n apiService.sendPostRequest('ClientFinanceApplication','ClientFinanceApplication',application).then(response=>{\r\n if(response.data.isSuccess)\r\n {\r\n if(data.isSaveMode){\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: response.data.message,\r\n type: 'success',\r\n duration: 5000\r\n });\r\n }\r\n context.commit(\"setClientFinanceApplicationConcurrencyKey\",response.data.concurrencyKey);\r\n context.state.dirtyValidationRefNos.forEach(num =>{\r\n dirtyValidatorService.resetModelValidator(num);\r\n }) \r\n context.commit(\"setClientFinanceApplicationAuditInfo\",{createdByName:context.state.createdByName, lastUpdateByName:response.data.updatedByName, createdDate:context.state.createdDate, lastUpdatedDate:response.data.lastUpdatedDate}); \r\n context.commit('setIsBusyValue',false);\r\n context.commit('setClientFinanceApplicationIsSubmit', response.data.isSubmit);\r\n resolve({applicationId:response.data.id});\r\n }\r\n else\r\n {\r\n let errorMsgs = response.data.message.split(',');\r\n errorMsgs.forEach(errorMsg => {\r\n Vue.prototype.$notify({\r\n group: 'growlNotification',\r\n title: errorMsg,\r\n type: 'error',\r\n duration: 10000\r\n }); \r\n });\r\n \r\n if(response.data.concurrencyKey){\r\n context.commit(\"setClientFinanceApplicationConcurrencyKey\",response.data.concurrencyKey);\r\n } \r\n context.commit('setIsBusyValue',false);\r\n resolve({applicationId:0});\r\n }\r\n });\r\n }\r\n }); \r\n },\r\n updateClientFinanceApplicationEditedSteps(context, data){\r\n context.commit('setClientFinanceApplicationEditedSteps',data);\r\n },\r\n updateClientFinanceApplicationConcurrencyKey(context, data)\r\n {\r\n context.commit('setClientFinanceApplicationConcurrencyKey', data);\r\n },\r\n updateClientFinanceApplicationCreditGuideDownloadedDate(context, data){\r\n context.commit('setClientFinanceApplicationCreditGuideDownloadedDate', data);\r\n }\r\n}\r\n\r\nexport const ClientFinanceApplicationModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};\r\n","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { RootState, DashboardInfoState } from '../types';\r\n\r\nconst namespaced: boolean = false;\r\n\r\nexport const state: DashboardInfoState = {\r\n isVehiclesFilterTogglerActive : true,\r\n};\r\n\r\nexport const getters:GetterTree = {\r\n getVehiclesFilterToggler(state){\r\n return state.isVehiclesFilterTogglerActive;\r\n }\r\n}\r\n\r\nconst mutations:MutationTree = {\r\n setVehiclesFilterToggler(state, value){\r\n state.isVehiclesFilterTogglerActive = value;\r\n }\r\n}\r\n\r\nexport const actions: ActionTree ={\r\n updateVehiclesFilterToggler(context,value)\r\n { \r\n context.commit('setVehiclesFilterToggler',value);\r\n },\r\n}\r\n\r\nexport const DashboardInfoModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};","import { Module, GetterTree, MutationTree, ActionTree } from 'vuex';\r\nimport { RootState } from '../types';\r\nimport apiService from '@/shared/services/apiService'\r\nimport Vue from 'vue';\r\nimport { RecurringScheduledPayment } from '@/models/recurringScheduledPayment.model';\r\nimport { RecurringScheduledPaymentStates } from '@/shared/enums/recurringScheduledPaymentStates.enum';\r\nimport fieldValidations from '@/shared/services/fieldValidationService';\r\nimport moment from 'moment';\r\n\r\nconst state: RecurringScheduledPayment = {\r\n id:0,\r\n status: RecurringScheduledPaymentStates.Details,\r\n concurrencyKey:null,\r\n createByName: null,\r\n lastUpdateByName:null,\r\n createdDate:null,\r\n lastUpdatedDate:null,\r\n activeRecurringPaymentSchedules:[],\r\n details: {\r\n clientId:0,\r\n clientName:null,\r\n vehicleId:0,\r\n vehicleName:null,\r\n reimburseToAccountId:0,\r\n reimburseToAccountText:null,\r\n relatedEntityId:0,\r\n relatedEntityName:null,\r\n categoryId:0,\r\n categoryText:null,\r\n companyName:null,\r\n startDate:null,\r\n endDateYearComponent:null,\r\n endDateMonthComponent:null,\r\n monthlyDueDate:null,\r\n gstInclusiveAmount:null,\r\n gstAmount:null\r\n },\r\n schedule:{\r\n scheduleLines:[]\r\n },\r\n preview: {},\r\n dirtyValidationRefNos: [0,0,0]\r\n};\r\n\r\nconst namespaced: boolean = false;\r\n\r\nconst getters:GetterTree = {\r\n getRecurringScheduledPaymentID(state)\r\n {\r\n return state.id;\r\n },\r\n getRecurringScheduledPaymentDetails(state)\r\n {\r\n return state.details;\r\n },\r\n getRecurringScheduledPaymentSchedule(state)\r\n {\r\n return state.schedule;\r\n },\r\n getRecurringScheduledPaymentPreview(state)\r\n {\r\n return state.preview;\r\n },\r\n getRecurringScheduledPayment(state)\r\n {\r\n return state;\r\n },\r\n getRecurringScheduledPaymentStatus(state)\r\n {\r\n return state.status;\r\n },\r\n getRecurringScheduledPaymentDirtyValidationRefNos(state){\r\n return state.dirtyValidationRefNos;\r\n },\r\n getRecurringScheduledPaymentCreatedByName(){\r\n return state.createByName;\r\n },\r\n getRecurringScheduledPaymentUpdatedByName(){\r\n return state.lastUpdateByName;\r\n },\r\n getRecurringScheduledPaymentCreatedDate(){\r\n return state.createdDate;\r\n },\r\n getRecurringScheduledPaymentLeaseCreatedByName(){\r\n return state.createByName;\r\n },\r\n getRecurringScheduledPaymentUpdatedDate(){\r\n return state.lastUpdatedDate;\r\n },\r\n getActiveRecurringPaymentSchedules(){\r\n return state.activeRecurringPaymentSchedules;\r\n },\r\n isOverlappingScheduleExist(){\r\n if(state.activeRecurringPaymentSchedules.length > 0 && fieldValidations.isValidDate(state.details.endDateYearComponent) && fieldValidations.isValidNumber(state.details.endDateMonthComponent)\r\n && fieldValidations.isValidNumber(state.details.monthlyDueDate)){\r\n let scheduleEndYear = moment(state.details.endDateYearComponent).year();\r\n let scheduleEndDate = moment(new Date(state.details.endDateMonthComponent + \"/\" + state.details.monthlyDueDate + \"/\" + scheduleEndYear)).toDate();\r\n let scheduleStartDate = state.details.startDate;\r\n return state.activeRecurringPaymentSchedules.some( p => (scheduleStartDate <= moment(p.startDate).toDate() && scheduleEndDate >= moment(p.startDate).toDate()) \r\n || (scheduleStartDate >= moment(p.startDate).toDate() && scheduleStartDate <= moment(p.endDate).toDate()))\r\n }\r\n return false;\r\n }\r\n}\r\n\r\nconst mutations:MutationTree = {\r\n setActiveRecurringPaymentSchedules(state, schedules)\r\n {\r\n state.activeRecurringPaymentSchedules = schedules;\r\n },\r\n setRecurringScheduledPaymentDetails(state, details)\r\n {\r\n state.details = details;\r\n },\r\n setRecurringScheduledPaymentSchedule(state, schedule)\r\n {\r\n state.schedule = schedule;\r\n },\r\n setRecurringScheduledPaymentPreview(state, preview)\r\n {\r\n state.preview = preview;\r\n },\r\n setRecurringScheduledPaymentStatus(state,status)\r\n {\r\n state.status = status;\r\n },\r\n setRecurringScheduledPayment(state, recurringScheduledPayment)\r\n {\r\n state.id = recurringScheduledPayment.id;\r\n state.concurrencyKey = recurringScheduledPayment.concurrencyKey;\r\n state.status = recurringScheduledPayment.status;\r\n state.details = recurringScheduledPayment.details;\r\n state.schedule = recurringScheduledPayment.schedule;\r\n state.preview = recurringScheduledPayment.preview;\r\n state.lastUpdatedDate = recurringScheduledPayment.lastUpdatedDate;\r\n },\r\n setRecurringScheduledPaymentState(state, recurringScheduledPayment)\r\n {\r\n state.id = recurringScheduledPayment.id;\r\n state.concurrencyKey = recurringScheduledPayment.concurrencyKey;\r\n state.status = recurringScheduledPayment.status;\r\n state.details = recurringScheduledPayment.details;\r\n state.schedule = recurringScheduledPayment.schedule;\r\n state.preview = recurringScheduledPayment.preview;\r\n state.lastUpdatedDate = recurringScheduledPayment.lastUpdatedDate;\r\n },\r\n setRecurringScheduledPaymentDirtyValidationRefNos(state, stepNoObj)\r\n {\r\n state.dirtyValidationRefNos[stepNoObj.index] = stepNoObj.dirtyValidationNo;\r\n },\r\n setRecurringScheduledPaymentId(state,id){\r\n state.id = id;\r\n },\r\n setRecurringScheduledPaymentConcurrencyKey(state,key){\r\n state.concurrencyKey = key;\r\n }\r\n}\r\n\r\nconst actions: ActionTree ={\r\n updateActiveRecurringPaymentSchedules(context, schedules)\r\n {\r\n context.commit('setActiveRecurringPaymentSchedules', schedules);\r\n },\r\n updateRecurringScheduledPaymentDetails(context, details)\r\n {\r\n context.commit('setRecurringScheduledPaymentDetails', details);\r\n },\r\n updateRecurringScheduledPaymentSchedule(context, schedule)\r\n {\r\n context.commit('setRecurringScheduledPaymentSchedule', schedule);\r\n },\r\n updateRecurringScheduledPaymentPreview(context, preview)\r\n {\r\n context.commit('setRecurringScheduledPaymentPreview', preview);\r\n },\r\n updateRecurringScheduledPaymentStatus(context, data){\r\n context.commit('setRecurringScheduledPaymentStatus', data);\r\n },\r\n updateRecurringScheduledPayment(context,data){\r\n context.commit('setRecurringScheduledPayment', data);\r\n },\r\n resetRecurringScheduledPaymentToInitialState(context, data){\r\n context.commit('setRecurringScheduledPaymentState', data)\r\n },\r\n updateRecurringScheduledPaymentDirtyValidatorRefNos(context, data){\r\n context.commit('setRecurringScheduledPaymentDirtyValidationRefNos', data);\r\n },\r\n\r\n saveRecurringScheduledPayment(context,data){\r\n var params = {\r\n recurringPaymentScheduleDetails: context.state.details,\r\n recurringPaymentSchedule: context.state.schedule,\r\n recurringPaymentDocumentList: data\r\n }\r\n return apiService.sendPostRequest('RecurringPayment','RecurringScheduledPayment',params);\r\n }, \r\n}\r\n\r\nexport const RecurringScheduledPaymentModule: Module = {\r\n namespaced,\r\n state,\r\n getters,\r\n actions,\r\n mutations\r\n};\r\n","\r\nimport Vue from 'vue'\r\nimport Vuex, {StoreOptions} from 'vuex'\r\nimport { RootState } from '@/store/types';\r\nimport { AuthModule } from '@/store/modules/auth';\r\nimport { BusyIndicatorModule, state } from '@/store/modules/busyIndicator';\r\nimport { ThemeStoreModule } from '@/store/modules/themes';\r\nimport { FinanceApplicationModule } from '@/store/modules/financeApplication';\r\nimport { InvoiceModule } from '@/store/modules/invoice';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {LeasePrepaymentModule} from '@/store/modules/leaseprepayments';\r\nimport {TreeViewModule} from '@/store/modules/treeView';\r\nimport {NotesModule} from '@/store/modules/notes';\r\nimport {DocumentsModule} from '@/store/modules/documents';\r\nimport {ProfileStoreModule} from '@/store/modules/profileInfo';\r\nimport {ApplicationListModule} from '@/store/modules/applicationsList';\r\nimport {EFTDetailsModule} from '@/store/modules/eftDetails';\r\nimport { ActivityStatementStateModule } from '@/store/modules/activityStatement';\r\nimport { LedgerFilterStateModule } from '@/store/modules/ledgerFilters';\r\nimport { AddressAndRelatedEntityModule } from '@/store/modules/addressAndRelatedEntity';\r\nimport { ClientFinanceApplicationModule } from '@/store/modules/clientFinanceApplication';\r\nimport { DashboardInfoModule } from '@/store/modules/dashboardInfo';\r\nimport { RecurringScheduledPaymentModule } from '@/store/modules/recurringScheduledPayment';\r\n\r\nVue.use(Vuex)\r\n\r\nconst store: StoreOptions = {\r\n state: \r\n {\r\n webSiteVersion: sessionStorage.getItem(\"webSiteVersion\") || ''\r\n },\r\n getters: {\r\n getWebSiteVersion(state){\r\n return state.webSiteVersion;\r\n }\r\n },\r\n actions: {\r\n setWebSiteVersion(context)\r\n {\r\n if(this.state.webSiteVersion == '')\r\n {\r\n apiService.sendGetRequest('Public','WebSiteVersion',{}).then(response=>{\r\n if(response.data){\r\n context.commit('storeWebSiteVersion',response.data);\r\n sessionStorage.setItem(\"webSiteVersion\", response.data);\r\n }\r\n });\r\n }\r\n }\r\n },\r\n mutations: {\r\n storeWebSiteVersion(state,version)\r\n {\r\n state.webSiteVersion = version;\r\n }\r\n },\r\n modules: {\r\n AuthModule,\r\n BusyIndicatorModule,\r\n ThemeStoreModule,\r\n FinanceApplicationModule,\r\n InvoiceModule,\r\n LeasePrepaymentModule,\r\n TreeViewModule,\r\n NotesModule,\r\n DocumentsModule,\r\n ProfileStoreModule,\r\n ApplicationListModule,\r\n EFTDetailsModule,\r\n ActivityStatementStateModule,\r\n LedgerFilterStateModule,\r\n AddressAndRelatedEntityModule,\r\n ClientFinanceApplicationModule,\r\n DashboardInfoModule,\r\n RecurringScheduledPaymentModule\r\n }\r\n};\r\n\r\nexport default new Vuex.Store(store)\r\n","import axios, { AxiosInstance } from 'axios'\r\nimport store from '@/store/store'\r\nimport router from '@/router/router'\r\n\r\nclass ApiService {\r\n apiServiceInstance:AxiosInstance;\r\n constructor(){\r\n this.apiServiceInstance = axios.create({\r\n timeout: 1000000,\r\n headers: {\r\n 'Cache-Control': 'no-cache',\r\n 'Pragma': 'no-cache',\r\n 'Expires': 'Sat, 01 Jan 2000 00:00:00 GMT',\r\n 'Content-Type' : 'application/json',\r\n 'Accept' : 'application/json'\r\n },\r\n withCredentials:true,\r\n baseURL: process.env.VUE_APP_WEB_API_URL\r\n });\r\n \r\n this.apiServiceInstance.interceptors.response.use(\r\n (resp) => {\r\n let latestAppVersion = resp.headers['apex-web-app-version'] || 'default'\r\n if(latestAppVersion !== localStorage.getItem('apex-web-app-version') && resp.config.method == 'get'){\r\n localStorage.setItem('apex-web-app-version', latestAppVersion);\r\n window.location.reload();// For new version, simply reload on any get\r\n }\r\n return Promise.resolve(resp)\r\n },\r\n )\r\n }\r\n\r\n sendApiRequest(controller:string,action:string,parameters:any,requestMethod:string,useQueryParams:boolean,contentType:ContentTypes){\r\n var url;\r\n if (action == null || action.length == 0){\r\n url = controller;\r\n }\r\n else{\r\n url = controller + '/' + action;\r\n }\r\n return this.sendHttpRequest(url, parameters, requestMethod, useQueryParams, contentType);\r\n }\r\n sendHttpRequest(url:string,parameters:any,requestMethod:string,useQueryParams:boolean,contentType:ContentTypes):Promise{\r\n var searchParams = new URLSearchParams();\r\n var body = JSON.stringify(parameters);\r\n if(useQueryParams){\r\n for(var property in parameters){\r\n searchParams.append(property,parameters[property]);\r\n }\r\n }\r\n return new Promise((resolve,reject)=>{\r\n this.apiServiceInstance({\r\n method:requestMethod,\r\n url:url,\r\n data:body,\r\n params:useQueryParams?searchParams:null\r\n }).then(response => {\r\n resolve(response)\r\n }).catch(error => {\r\n if(error.response && error.response.status == 400){\r\n reject(error)\r\n }\r\n else{\r\n this.handleErrors(error,resolve)\r\n }\r\n })\r\n })\r\n }\r\n sendGetRequest(controller:string,action:string,parameters:any = null):Promise{\r\n return this.sendApiRequest(controller,action,parameters,'get',true,ContentTypes.jsonencode);\r\n }\r\n sendPostRequest(controller:string,action:string,parameters:any = null):Promise{\r\n return this.sendApiRequest(controller,action,parameters,'post',false,ContentTypes.jsonencode);\r\n }\r\n sendPostRequestWithQueryParams(controller:string,action:string,parameters:any = null):Promise{\r\n return this.sendApiRequest(controller,action,parameters,'post',true,ContentTypes.jsonencode);\r\n }\r\n sendPutRequestWithQueryParams(controller:string,action:string,parameters:any = null):Promise{\r\n return this.sendApiRequest(controller,action,parameters,'put',true,ContentTypes.jsonencode);\r\n }\r\n sendPutRequest(controller:string,action:string,parameters:any = null):Promise{\r\n return this.sendApiRequest(controller,action,parameters,'put',false,ContentTypes.jsonencode);\r\n }\r\n sendDeleteRequest(controller:string,action:string,parameters:any = null):Promise{\r\n return this.sendApiRequest(controller,action,parameters,'delete',true,ContentTypes.jsonencode);\r\n }\r\n handleErrors(error:any,resolve: Function){\r\n if(error.code && error.code == 'ECONNABORTED'){\r\n window.location.replace(process.env.VUE_APP_WEB_APP_URL + 'error/500');\r\n }else if(error.response)\r\n {\r\n if(error.response.config.url.includes('Account/SignOut'))\r\n {\r\n store.dispatch('removeToken');\r\n store.dispatch('storeIsBusyValue', false);\r\n router.push({name:'Auth'});\r\n }\r\n else if (error.response.status == 401)\r\n {\r\n store.dispatch('destroyToken',{})\r\n .then(response => {\r\n store.dispatch('removeToken');\r\n router.push({name:'Auth'});\r\n store.dispatch('storeIsBusyValue',false);\r\n }\r\n )\r\n } \r\n else if (error.response.status == 402){\r\n \r\n }\r\n else if (error.response.status == 403){\r\n window.location.replace(process.env.VUE_APP_WEB_APP_URL + 'error/403');\r\n }\r\n else if (error.response.status == 404){\r\n window.location.replace(process.env.VUE_APP_WEB_APP_URL + 'error/404');\r\n }\r\n else if (error.response.status == 409){\r\n resolve({data:{isSuccess:false,message:\"Record already updated.\"}})\r\n }\r\n else if (error.response.status >= 500){\r\n window.location.replace(process.env.VUE_APP_WEB_APP_URL + 'error/500');\r\n }\r\n }else\r\n {\r\n window.location.replace(process.env.VUE_APP_WEB_APP_URL + 'error/500');\r\n }\r\n \r\n \r\n }\r\n}\r\n\r\nclass ContentTypes{\r\n static urlencode = \"application/x-www-form-urlencoded;charset=UTF-8\";\r\n static jsonencode = \"application/json\";\r\n static multipartformdata = \"multipart/form-data\";\r\n}\r\n\r\nconst apiService = new ApiService();\r\nexport default apiService;\r\n","\n\n\n\n\n\n\n\n\n\r\nimport { Component, Vue } from 'vue-property-decorator';\r\nimport apiService from '@/shared/services/apiService';\r\nimport {UserRoles} from '@/shared/enums/userRoles.enum';\r\nimport lookupService from '@/shared/services/lookupService';\r\n\r\n\r\n@Component\r\nexport default class App extends Vue{\r\n currentTheme:string = \"defaultTheme\";\r\n mounted(){\r\n var browserInfo = this.getBrowserInfo();\r\n if(browserInfo && !(browserInfo.toString().startsWith(\"Edge\") || browserInfo.toString().startsWith(\"Chrome\") || browserInfo.toString().startsWith(\"Firefox\") || browserInfo.toString().startsWith(\"Safari\"))){\r\n var alreadyRedirected = sessionStorage.getItem(\"redirectedToUnsupportedPage\");\r\n if(alreadyRedirected !== \"1\"){\r\n this.$router.push({name:'BrowserIncompatible'})\r\n sessionStorage.setItem(\"redirectedToUnsupportedPage\", \"1\");\r\n }\r\n }\r\n if((!(this.$route.path.startsWith(\"/auth\") || this.$route.path.startsWith(\"/error\"))) && !localStorage.getItem(\"loggedInUserId\")){\r\n this.$store.dispatch('destroyToken',{})\r\n .then(response => {\r\n this.$store.dispatch('removeToken');\r\n this.$router.push({name:'Auth'});\r\n }\r\n )\r\n }\r\n\r\n if((!sessionStorage.getItem(\"logoImageUri\") || sessionStorage.getItem(\"logoImageUri\") == '') && (!sessionStorage.getItem(\"favIconImageUri\") || sessionStorage.getItem(\"favIconImageUri\") == '')){\r\n this.$store.dispatch('changeSystemSettings',{});\r\n }\r\n else{\r\n var params = {\r\n selectedColor: sessionStorage.getItem(\"baseColorCode\"),\r\n selectedSuccessColor: sessionStorage.getItem(\"baseSuccessColorCode\"),\r\n selectedWarningColor: sessionStorage.getItem(\"baseWarningColorCode\"),\r\n selectedErrorColor: sessionStorage.getItem(\"baseErrorColorCode\"),\r\n selectedNoteColor: sessionStorage.getItem(\"baseNoteColorCode\"),\r\n };\r\n this.$store.dispatch('changeBaseColorCodes',params);\r\n }\r\n \r\n //this.$store.dispatch('fetchThemeSettings');\r\n this.$store.dispatch('setWebSiteVersion');\r\n var isAdmin = this.$store.getters.isAuthorized([UserRoles.TenantAdmin, UserRoles.StandardUser]);\r\n var isClient = this.$store.getters.isAuthorizedRole(UserRoles.Client);\r\n var isSupplier = this.$store.getters.isAuthorizedRole(UserRoles.Supplier);\r\n if(isAdmin){\r\n lookupService.LoadAllSelectItemLists();\r\n }else if(isClient && this.$store.getters.getToken){\r\n var clientParams = {id:this.$store.getters.getToken.relatedEntityId}\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Client','ClientBasicDetails',clientParams).then(response=>{\r\n if(response.data.proPicUri){\r\n this.$store.dispatch('changeProfilePicUrl',response.data.proPicUri);\r\n }\r\n this.$store.dispatch('changeFirstName',response.data.firstName);\r\n this.$store.dispatch('changeLastName',response.data.lastName);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }else if(isSupplier && this.$store.getters.getToken){\r\n var supplierId = this.$store.getters.getToken.relatedEntityId\r\n this.$store.dispatch('storeIsBusyValue',true);\r\n apiService.sendGetRequest('Supplier','SupplierName',{id:supplierId}).then(response=>{\r\n this.$store.dispatch('changeFirstName',response.data);\r\n this.$store.dispatch('storeIsBusyValue',false);\r\n });\r\n }\r\n }\r\n\r\n getBrowserInfo(){\r\n var ua=navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\\/))\\/?\\s*(\\d+)/i) || [];\r\n if(/trident/i.test(M[1])){\r\n tem=/\\brv[ :]+(\\d+)/g.exec(ua) || []; \r\n return {name:'IE ',version:(tem[1]||'')};\r\n } \r\n if(M[1]==='Chrome'){\r\n tem=ua.match(/\\bOPR\\/(\\d+)/)\r\n if(tem!=null) {return {name:'Opera', version:tem[1]};}\r\n tem = ua.match(/\\bEdge\\/(\\d+)/)\r\n if(tem!=null) {return 'Edge'+'('+ tem[1] +')'}\r\n } \r\n M=M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];\r\n if((tem=ua.match(/version\\/(\\d+)/i))!=null) {M.splice(1,1,tem[1]);}\r\n return M[0]+'('+ M[1] +')';\r\n }\r\n}\r\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--13-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/ts-loader/index.js??ref--13-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=17d332ff\"\nimport script from \"./App.vue?vue&type=script&lang=ts\"\nexport * from \"./App.vue?vue&type=script&lang=ts\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=17d332ff&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// The Vue build version to load with the `import` command\r\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\r\nimport 'core-js/es6/promise';\r\nimport 'core-js/es6/string';\r\nimport 'core-js/es7/array';\r\n// import cssVars from 'css-vars-ponyfill'\r\nimport Vue from 'vue';\r\nimport BootstrapVue from 'bootstrap-vue';\r\nimport App from './App.vue';\r\nimport router from './router/router';\r\nimport store from './store/store';\r\nimport {ApexDateTimeFormat,ApexDateFormat} from './filters/dateFilter';\r\nimport ApexCurrencyFormat from './filters/currencyFilter';\r\nimport Notifications from 'vue-notification';\r\nimport Datepicker from \"vuejs-datepicker\";\r\nimport VueBootstrapTypeahead from 'vue-bootstrap-typeahead';\r\nimport Multiselect from 'vue-multiselect';\r\nimport * as VueGoogleMaps from 'vue2-google-maps'\r\nimport VueGtag from \"vue-gtag\";\r\nimport ApexCurrency from './shared/components/currency/ApexCurrency.vue';\r\nimport { VueEditor } from \"vue2-editor\";\r\n\r\n// todo\r\n// cssVars()\r\n\r\nVue.use(VueGtag, {\r\n config: { id: process.env.VUE_APP_GOOGLE_ANALYTICS_KEY },\r\n}, router);\r\n\r\nVue.use(BootstrapVue)\r\nVue.use(Notifications)\r\nVue.use(require('vue-moment'));\r\nVue.use(VueGoogleMaps, {\r\n load: {\r\n key: process.env.VUE_APP_GOOGLE_MAP_API_KEY,\r\n libraries: 'places',\r\n }\r\n});\r\nVue.component(\"DatePicker\", Datepicker);\r\nVue.component(\"vue-bootstrap-typeahead\",VueBootstrapTypeahead)\r\nVue.component(\"multiselect\", Multiselect);\r\nVue.component(\"ApexCurrency\", ApexCurrency);\r\nVue.component(\"vue-editor\", VueEditor);\r\nVue.filter(\"ApexDateTimeFormat\",ApexDateTimeFormat)\r\nVue.filter(\"ApexDateFormat\",ApexDateFormat)\r\nVue.filter(\"ApexCurrencyFormat\",ApexCurrencyFormat);\r\n/* eslint-disable no-new */\r\nnew Vue({\r\n el: '#app',\r\n router: router,\r\n store: store,\r\n template: '',\r\n components: {\r\n App\r\n }\r\n})\r\nVue.config.devtools = true;","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditOdometerLogLink.vue?vue&type=style&index=0&id=49105623&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SelectAllCustomHeader.vue?vue&type=style&index=0&id=73702d3c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankTransactions.vue?vue&type=style&index=0&id=875b0ee6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopTabs.vue?vue&type=style&index=0&id=a11e2666&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./InvoiceActionButtons.vue?vue&type=style&index=0&id=78fb24c6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApexCurrency.vue?vue&type=style&index=0&id=9e63d054&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CurrentNovationWidget.vue?vue&type=style&index=0&id=0ea7edcc&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditSignatory.vue?vue&type=style&index=0&id=51bf4812&prod&scoped=true&lang=css\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TableActionButtons.vue?vue&type=style&index=0&id=788450a2&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FBTExemptionRecords.vue?vue&type=style&index=0&id=83ffef26&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankFileUpload.vue?vue&type=style&index=0&id=3cc5dcf2&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientCommunicationLogsActionButtons.vue?vue&type=style&index=0&id=8efd671a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PersonalDetails.vue?vue&type=style&index=0&id=03dd99a3&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EditInvoiceLink.vue?vue&type=style&index=0&id=8fb84836&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditBankAccount.vue?vue&type=style&index=0&id=2d47d728&prod&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=style&index=0&id=08dec35c&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SupplierLocator.vue?vue&type=style&index=0&id=792079d8&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationDetails.vue?vue&type=style&index=0&id=d5e8ea78&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NavigateToLedgerActionButton.vue?vue&type=style&index=0&id=37912fa6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationsListActionButtons.vue?vue&type=style&index=0&id=464af666&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentRecord.vue?vue&type=style&index=0&id=e007059c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CompanyConfig.vue?vue&type=style&index=0&id=3de0c9a0&prod&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataTable.vue?vue&type=style&index=0&id=616648f6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentListActionButtons.vue?vue&type=style&index=0&id=1edf5b6d&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./WidgetBusyIndicator.vue?vue&type=style&index=0&id=6947cf06&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ledger.vue?vue&type=style&index=0&id=bb44c660&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransferLedgerBalanceModal.vue?vue&type=style&index=0&id=93e3a708&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleInsuranceSchedule.vue?vue&type=style&index=0&id=6c910771&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankTransactionActionButtons.vue?vue&type=style&index=0&id=0e514fb2&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleBasicDetailsWidget.vue?vue&type=style&index=0&id=9b128e22&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NovationReports.vue?vue&type=style&index=0&id=7d1e05c9&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainVehicleUI.vue?vue&type=style&index=0&id=7d56dc57&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./expenseClaimsAuditLogsActionButton.vue?vue&type=style&index=0&id=025bd0c5&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduleListActionButtons.vue?vue&type=style&index=0&id=daed2d28&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentListActionButtons.vue?vue&type=style&index=0&id=861145be&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduledPaymentStatusSelectList.vue?vue&type=style&index=0&id=68594f8a&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BusyIndicator.vue?vue&type=style&index=0&id=23c84b56&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddEditFBTCostBase.vue?vue&type=style&index=0&id=5150f0bd&prod&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ApplicationSummary.vue?vue&type=style&index=0&id=e6e970f8&prod&lang=scss\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BankAccountListActionButtons.vue?vue&type=style&index=0&id=ca35c11c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutAdminFeeWidget.vue?vue&type=style&index=0&id=067eb960&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AutoCompleteAddressSearch.vue?vue&type=style&index=0&id=232c3114&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RCTIInvoiceListActionButtons.vue?vue&type=style&index=0&id=74b701d0&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EntitiesWithoutServiceAgreementWidget.vue?vue&type=style&index=0&id=3dee68cd&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientListActionButtons.vue?vue&type=style&index=0&id=996b8e6c&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GroupedAuditHistoryLogs.vue?vue&type=style&index=0&id=ed872254&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./EFTDetails.vue?vue&type=style&index=0&id=903f8f6e&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ClientDetails.vue?vue&type=style&index=0&id=3376bae4&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VehicleLeaseInvoices.vue?vue&type=style&index=0&id=d93871f6&prod&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Signatories.vue?vue&type=style&index=0&id=793089c1&prod&lang=scss&scoped=true\""],"sourceRoot":""}